Re: 'git status' is not read-only fs friendly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nicolas Pitre
Date: Saturday, February 10, 2007 - 10:03 am

On Sat, 10 Feb 2007, Junio C Hamano wrote:


You're making assumption about work flows and using that to justify 
command implementation flaws.  This is not exactly "user friendly".


I don't dispute that.  But git-status should certainly not be restricted 
_only_ to that usage pattern.


It is... when the file system lets you write.  Like I said this is a 
technically good thing to do.

But a command that is called "status" should provide a "status" even if 
the file system is read-only nevertheless.  The index updating business 
that is done behind the scene is and should be an opportunistic 
optimization, but it should not prevent status reporting.

It is pretty expected that a "commit" command would fail if the file 
system is ro, but not a "status" command.  And this is true 
irrespectively of whatever workflow you might be most likely to use the 
"status" command for.


Nicolas
-
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 status' is not read-only fs friendly, Marco Costalba, (Fri Feb 9, 12:25 pm)
Re: 'git status' is not read-only fs friendly, Linus Torvalds, (Fri Feb 9, 12:56 pm)
Re: 'git status' is not read-only fs friendly, Marco Costalba, (Fri Feb 9, 1:19 pm)
Re: 'git status' is not read-only fs friendly, Junio C Hamano, (Fri Feb 9, 1:22 pm)
Re: 'git status' is not read-only fs friendly, Junio C Hamano, (Fri Feb 9, 1:27 pm)
Re: 'git status' is not read-only fs friendly, Morten Welinder, (Fri Feb 9, 1:29 pm)
Re: 'git status' is not read-only fs friendly, Marco Costalba, (Fri Feb 9, 1:35 pm)
Re: 'git status' is not read-only fs friendly, Linus Torvalds, (Fri Feb 9, 1:59 pm)
Re: 'git status' is not read-only fs friendly, Theodore Tso, (Fri Feb 9, 4:27 pm)
Re: 'git status' is not read-only fs friendly, Johannes Schindelin, (Sat Feb 10, 7:19 am)
Re: 'git status' is not read-only fs friendly, Marco Costalba, (Sat Feb 10, 7:31 am)
Re: 'git status' is not read-only fs friendly, Johannes Schindelin, (Sat Feb 10, 7:41 am)
Re: 'git status' is not read-only fs friendly, Marco Costalba, (Sat Feb 10, 7:48 am)
Re: 'git status' is not read-only fs friendly, Marco Costalba, (Sat Feb 10, 7:51 am)
Re: 'git status' is not read-only fs friendly, Johannes Schindelin, (Sat Feb 10, 7:59 am)
Re: 'git status' is not read-only fs friendly, Marco Costalba, (Sat Feb 10, 8:45 am)
Re: 'git status' is not read-only fs friendly, Nicolas Pitre, (Sat Feb 10, 8:54 am)
Re: 'git status' is not read-only fs friendly, Junio C Hamano, (Sat Feb 10, 9:27 am)
Re: 'git status' is not read-only fs friendly, Nicolas Pitre, (Sat Feb 10, 9:40 am)
Re: 'git status' is not read-only fs friendly, Junio C Hamano, (Sat Feb 10, 9:46 am)
Re: 'git status' is not read-only fs friendly, Nicolas Pitre, (Sat Feb 10, 10:03 am)
Re: 'git status' is not read-only fs friendly, Linus Torvalds, (Sat Feb 10, 10:37 am)
Re: 'git status' is not read-only fs friendly, Nicolas Pitre, (Sat Feb 10, 11:51 am)
Re: 'git status' is not read-only fs friendly, Johannes Schindelin, (Sat Feb 10, 1:40 pm)
Re: 'git status' is not read-only fs friendly, Junio C Hamano, (Sat Feb 10, 11:33 pm)
Re: 'git status' is not read-only fs friendly, Shawn O. Pearce, (Sun Feb 11, 12:23 am)