Re: git ls-files -o under .git/ prints all repository files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthias Kestenholz
Date: Friday, January 19, 2007 - 6:46 am

On Fri, 2007-01-19 at 14:30 +0100, Andreas Ericsson wrote:


Why not check for /.git/ somewhere inside the current working directory
(pwd) ? That's the way mercurial does it currently, and I think that is
a sane thing to do _if_ you want to protect the user from his own
stupidity.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git ls-files -o under .git/ prints all repository files, Yasushi SHOJI, (Thu Jan 18, 6:04 pm)
Re: git ls-files -o under .git/ prints all repository files, Junio C Hamano, (Thu Jan 18, 11:47 pm)
Re: git ls-files -o under .git/ prints all repository files, Simon 'corecode' Sch ..., (Fri Jan 19, 12:51 am)
Re: git ls-files -o under .git/ prints all repository files, Simon 'corecode' Sch ..., (Fri Jan 19, 1:07 am)
Re: git ls-files -o under .git/ prints all repository files, Simon 'corecode' Sch ..., (Fri Jan 19, 2:04 am)
Re: git ls-files -o under .git/ prints all repository files, Simon 'corecode' Sch ..., (Fri Jan 19, 3:10 am)
Re: git ls-files -o under .git/ prints all repository files, Simon 'corecode' Sch ..., (Fri Jan 19, 5:19 am)
Re: git ls-files -o under .git/ prints all repository files, Andreas Ericsson, (Fri Jan 19, 6:30 am)
Re: git ls-files -o under .git/ prints all repository files, Matthias Kestenholz, (Fri Jan 19, 6:46 am)
Re: git ls-files -o under .git/ prints all repository files, Johannes Schindelin, (Fri Jan 19, 8:00 am)
Re: git ls-files -o under .git/ prints all repository files, Junio C Hamano, (Fri Jan 19, 12:03 pm)
[PATCH] Commands requiring a work tree must not run in GIT_DIR, Johannes Schindelin, (Tue Jan 23, 5:30 am)