login
Header Space

 
 

Re: Two crazy proposals for changing git's diff commands

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: J. Bruce Fields <bfields@...>
Cc: <git@...>
Date: Saturday, February 11, 2006 - 11:48 pm

"J. Bruce Fields" <bfields@fieldses.org> writes:


I do not think it is just you.  The real problem, honestly
speaking, is that "git diff" wrapper cheats and avoids doing its
own set of flags.

The low-level is just a mechanism UI is built upon, and as a
mechanism, except perhaps maybe --cached might be now better
spelled as --index, has set of options and semantics that are
consistent with its world model (index centric way of thinking).

Because "git diff" wrapper cheats, it ends up exposing the
low-level flags and arguments to the end user, and to use that
effectively, obviously you need to understand the world model
the low-level is built upon.

It was OK (it could be argued that it was even better than sugar
coating to make it *inconsistent* with the underlying world
model) so far, as long as people who use it are aware of the
index centric world model, but that "consistency with the
underlying world model" makes it harder to approach and causes
confusion.

That is why I these days often mention "welding training
wheels".  Doing half-baked sugarcoating of the UI layer would
break mental model of people who understand the world model
low-level builds and tries to make effective use of low-level
through the UI.


-
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:
Re: Two crazy proposals for changing git's diff commands, Junio C Hamano, (Wed Feb 8, 9:21 pm)
Re: Two crazy proposals for changing git's diff commands, J. Bruce Fields, (Sat Feb 11, 11:15 pm)
Re: Two crazy proposals for changing git's diff commands, Junio C Hamano, (Sat Feb 11, 11:48 pm)
Re: Two crazy proposals for changing git's diff commands, Junio C Hamano, (Thu Feb 9, 8:13 pm)
Re: Two crazy proposals for changing git's diff commands, Junio C Hamano, (Thu Feb 9, 10:24 pm)
Re: Two crazy proposals for changing git's diff commands, Linus Torvalds, (Wed Feb 8, 9:30 pm)
Re: Two crazy proposals for changing git's diff commands, Junio C Hamano, (Fri Feb 10, 5:05 am)
Re: Comments on "status -v", Junio C Hamano, (Fri Feb 10, 5:09 pm)
Re: Comments on "status -v", Petr Baudis, (Fri Feb 10, 6:51 pm)
Re: Comments on "status -v", Junio C Hamano, (Fri Feb 10, 7:26 pm)
Re: Comments on "status -v", Linus Torvalds, (Fri Feb 10, 5:35 pm)
Re: Comments on "status -v", Junio C Hamano, (Fri Feb 10, 6:12 pm)
Re: Two crazy proposals for changing git's diff commands, Junio C Hamano, (Wed Feb 8, 9:37 pm)
Re: Two crazy proposals for changing git's diff commands, Linus Torvalds, (Wed Feb 8, 9:05 pm)
Re: Two crazy proposals for changing git's diff commands, Junio C Hamano, (Wed Feb 8, 9:35 pm)
Re: Two crazy proposals for changing git's diff commands, Linus Torvalds, (Wed Feb 8, 9:21 pm)
Re: Two crazy proposals for changing git's diff commands, Junio C Hamano, (Thu Feb 9, 7:40 pm)
speck-geostationary