Re: Status of all files (was: Re: How can I tell if a file is ignored by git?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthieu Moy
Date: Friday, April 9, 2010 - 7:23 am

Eric Raymond <esr@thyrsus.com> writes:


http://thread.gmane.org/gmane.comp.version-control.git/126516

In short, "git ls-files -t" was written long ago, never tested, and
probably mostly used by no one. It has a very strange behavior, it's
not just the doc. I'd advise against using it.

"git status --porcelain" is probably what you want:

       --porcelain
           Give the output in a stable, easy-to-parse format for
           scripts. Currently this is identical to --short output, but
           is guaranteed not to change in the future, making it safe
           for scripts.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
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:
How can I tell if a file is ignored by git?, Eric Raymond, (Thu Apr 8, 9:04 pm)
Re: How can I tell if a file is ignored by git?, Jacob Helwig, (Thu Apr 8, 9:10 pm)
Re: How can I tell if a file is ignored by git?, Ramkumar Ramachandra, (Thu Apr 8, 9:50 pm)
Re: How can I tell if a file is ignored by git?, =?UTF-8?B?w4Z2YXIgQX ..., (Thu Apr 8, 10:01 pm)
Re: How can I tell if a file is ignored by git?, Eric Raymond, (Fri Apr 9, 3:50 am)
Re: Status of all files (was: Re: How can I tell if a file ..., Randal L. Schwartz, (Fri Apr 9, 5:11 am)
Re: Status of all files (was: Re: How can I tell if a file ..., Matthieu Moy, (Fri Apr 9, 7:23 am)
Re: Status of all files, Paolo Bonzini, (Sat Apr 10, 3:12 pm)
Re: Status of all files, Jeff King, (Sun Apr 11, 3:25 am)