[PATCH] Use --abbrev in git-whatchanged

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>, <junkio@...>
Date: Wednesday, December 21, 2005 - 6:37 pm

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
-
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.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Use --abbrev in git-whatchanged, Johannes Schindelin, (Wed Dec 21, 6:37 pm)
[PATCH] whatchanged: customize diff-tree output, Junio C Hamano, (Thu Dec 22, 2:21 am)
Re: [PATCH] whatchanged: customize diff-tree output, Linus Torvalds, (Thu Dec 22, 2:48 am)
Re: [PATCH] whatchanged: customize diff-tree output, Johannes Schindelin, (Thu Dec 22, 7:16 am)
Re: [PATCH] whatchanged: customize diff-tree output, Alex Riesen, (Thu Dec 22, 5:06 pm)
Re: [PATCH] whatchanged: customize diff-tree output, Johannes Schindelin, (Thu Dec 22, 6:24 pm)
Re: [PATCH] whatchanged: customize diff-tree output, Alex Riesen, (Fri Dec 23, 2:12 pm)