git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Next: Junio C Hamano
Message 1 of 9 in “Use --abbrev in git-whatchanged”
  1. Use --abbrev in git-whatchangedJohannes Schindelin, Dec 21, 2005
  2. whatchanged: customize diff-tree outputJunio C Hamano, Dec 22, 2005
  3. Linus TorvaldsDec 22, 2005
  4. Johannes SchindelinDec 22, 2005
  5. Alex RiesenDec 22, 2005
  6. Johannes SchindelinDec 22, 2005
  7. Alex RiesenDec 23, 2005
  8. Junio C HamanoDec 23, 2005
  9. Junio C HamanoDec 24, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.