Re: 'git status' is not read-only fs friendly
- From
Theodore Tso <tytso@mit.edu>
- Date
- Feb 10, 2007, 18:43 UTC
- Message-ID
- <20070210184313.GF25607@thunk.org>
- In-Reply-To
- <7v1wkxki4a.fsf@assigned-by-dhcp.cox.net>
On Sat, Feb 10, 2007 at 10:00:37AM -0800, Junio C Hamano wrote:
Show 15 quoted lines
> (1) We keep the current "git-status [-v] [-a] [[-i|-o] <paths...>]" > command line and do the necessary index manipulation > in-core without writing it out (see git-commit.sh for > details of what it involves). > > (2) We drop the support for any command line parameter from > "git-status", apply my two patches for Marco to > "git-runstatus", and rename "git-runstatus" to > "git-status". > > If I have to pick between the two, I would probably pick (2). > While (1) would essentially mean doing "git-commit" entirely > in-core without writing the index out until we really make the > commit, which is a good thing in itself in the longer term, it > is out of the question this late in the game for 1.5.0.
If you end up doing (2), may I suggest making the functionality of "git-status" today available as "git-commit -n"? It is something useful, so we shouldn't lose it, and -n meaning --no-action is a well accepted convention for Unix commands.
- Ted