[PATCH] Use --abbrev in git-whatchanged
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 21, 2005, 22:37 UTC
- Message-ID
- <Pine.LNX.4.63.0512212336230.18908@wbgn013.biozentrum.uni-wuerzburg.de>
The output is much nicer on standard 80 columns. If you want the old behaviour, you can still do
git-whatchanged --abbrev=40
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
git-whatchanged.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
5d0a4d9aedc8af48666744ab240cdc30b9c6cae3
diff --git a/git-whatchanged.sh b/git-whatchanged.sh index b170f74..a30f64d 100755 --- a/git-whatchanged.sh +++ b/git-whatchanged.sh @@ -8,5 +8,5 @@ rev_list_args=$(git-rev-parse --sq --def 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" | +eval "git-diff-tree --stdin --pretty -r --abbrev $diff_tree_args" | LESS="$LESS -S" ${PAGER:-less}
-- 0.99.9.GIT