summaryrefslogtreecommitdiff
path: root/git-whatchanged
AgeCommit message (Collapse)Author
2005-07-23[PATCH] Help scripts that use git-rev-parse to grok args with SP/TAB/LFJunio C Hamano
The git-rev-parse command uses LF to separate each argument it parses, so its users at least need to set IFS to LF to be able to handle filenames with embedded SPs and TABs. Some commands, however, can take and do expect arguments with embedded LF, notably, "-S" (pickaxe) of diff family, so even this workaround does not work for them. When --sq flag to git-rev-parse is given, instead of showing one argument per line, it outputs arguments quoted for consumption with "eval" by the caller, to remedy this situation. As an example, this patch converts git-whatchanged to use this new feature. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-13git-whatchanged: use the git-rev-parse helperLinus Torvalds
So now you can say git-whatchanged -p v2.6.12-rc5.. drivers/usb and it will show you what changed (as a patch) in drivers/usb since the v2.6.12-rc5 release.
2005-06-13git-whatchanged: make default output format be pretty.Linus Torvalds
If you want the raw stuff, just do git-whatchanged --pretty=raw and it wil act like it used to.
2005-05-21git-whatchanged: allow other pagersLinus Torvalds
(but still try to use '-S' if using less)
2005-05-19git-whatchanged: use 'less -S' on the output to make it more user friendlyLinus Torvalds
2005-05-17Add silly "git-whatchanged" script.Linus Torvalds
It's a one-liner, but it's useful as documentation if nothing else.