Re: 'git status' is not read-only fs friendly
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 10, 2007, 14:19 UTC
- Message-ID
- <Pine.LNX.4.63.0702101517360.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <e5bfff550702091125j202620cfqb2450a3ee69ed421@mail.gmail.com>
Hi,
On Fri, 9 Feb 2007, Marco Costalba wrote:
> I just need to know if current working directory is clean and report > back to qgit user, so read-only access would be ok for me.
So, why don't you just do a
git diff --name-only HEAD
and check for an empty output???
No need for a patch to Git (so late in the -rc phase), or backwards incompatibility...
Ciao, Dscho