git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Use --abbrev in git-whatchanged
@ 2005-12-21 22:37 Johannes Schindelin
  2005-12-22  6:21 ` [PATCH] whatchanged: customize diff-tree output Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Schindelin @ 2005-12-21 22:37 UTC (permalink / raw)
  To: git, junkio


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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-12-24  9:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-21 22:37 [PATCH] Use --abbrev in git-whatchanged Johannes Schindelin
2005-12-22  6:21 ` [PATCH] whatchanged: customize diff-tree output Junio C Hamano
2005-12-22  6:48   ` Linus Torvalds
2005-12-22 11:16     ` Johannes Schindelin
2005-12-22 21:06       ` Alex Riesen
2005-12-22 22:24         ` Johannes Schindelin
2005-12-23 18:12           ` Alex Riesen
2005-12-23  4:19         ` Junio C Hamano
     [not found]           ` <20051223182047.GB3165@steel.home>
2005-12-24  9:44             ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).