On Tue, 25 Oct 2005, Linus Torvalds wrote: > > This actually does three things: > > - make "--dense" the default for git-rev-list. Since dense is a no-op if > no filenames are given, this doesn't actually change any historical > behaviour, but it's logically the right default (if we want to prune on > filenames, do it fully. The sparse "merge-only" thing may be useful, > but it's not what you'd normally expect) > > - make "git-rev-parse" show the default revision control before it shows > any pathnames. Btw, if it wasn't obvious, this has some subtle (and very nice) side effects. For example, try this: git log git-fetch.sh and notice how "git log" automagically became able to give per-file logs. With _zero_ changes to git-log.sh itself ;) And same old rev-confusion-avoidance: git log -- gitk to make clear that you want to get the log of "gitk the file", rather than "gitk the branch". Magic. Linus - 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.htmlReceived on Wed Oct 26 08:30:23 2005
This archive was generated by hypermail 2.1.8 : 2005-10-26 08:30:27 EST