Staging
v0.5.2
https://github.com/git/git
Revision 22c67ca88ec65c4f278e8c82b2d98f3bd025238b authored by Junio C Hamano on 13 September 2005, 05:20:02 UTC, committed by Junio C Hamano on 13 September 2005, 05:52:52 UTC
When git-fetch-pack fails, the command does not notice the failure
and instead pretended nothing was fetched and there was nothing wrong.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 365527a
Raw File
Tip revision: 22c67ca88ec65c4f278e8c82b2d98f3bd025238b authored by Junio C Hamano on 13 September 2005, 05:20:02 UTC
Propagate errors from fetch-pack correctly to git-fetch.
Tip revision: 22c67ca
git-whatchanged.sh
#!/bin/sh
rev_list_args=$(git-rev-parse --sq --default HEAD --revs-only "$@") &&
diff_tree_args=$(git-rev-parse --sq --no-revs "$@") &&

eval "git-rev-list $rev_list_args" |
eval "git-diff-tree --stdin --pretty -r $diff_tree_args" |
LESS="$LESS -S" ${PAGER:-less}
back to top