On Sat, 15 Apr 2006, Junio C Hamano wrote: > > Pain > > "git log" wants default abbrev (to show Merge: lines and > "whatchanged -r" output compactly) while "git diff-tree -r" by > default wants to show full SHA1 unless asked, which means > "memset(revs, 0, sizeof(*revs))" in revision.c::init_revisions() > needs to be defeated by the caller. I'd suggest just moving the call to "init_revisions()" out from "setup_revisions()" entirely. So the calling sequence would be something like this: init_revisions(&rev); .. any localized setup .. setup_revisions(&rev); which isn't really all that painful, and allows us maximal flexibility for different defaults etc. 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 Sun Apr 16 03:00:29 2006
This archive was generated by hypermail 2.1.8 : 2006-04-16 03:00:45 EST