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

[announce+patch] git-forest 20080402

From
JEJan Engelhardt <jengelh@computergmbh.de>
Date
Apr 2, 2008, 20:58 UTC
Message-ID
<1207169895-25949-1-git-send-email-jengelh@computergmbh.de>
Hi,

here is the current snapshot of git-forest, a text-based tree visualizer, as a patch to the git.git/contrib/ directory.

What's new since the last posting is that it now displays [HEAD]
along with a commit, since HEAD does not always need to be the
first commit that is graphed.
    The --all option now includes graphing a detached HEAD, as can
happen on switching to a non-branch and during rebases.
    Speaking of rebases, git-forest will now also show where you are in 
a rebase operation -- quite handy if you forget whether you actually are 
in one (happened to me time and again and when you finally notice, you 
need to play with HEAD@{x} to restore it) -- it can be suppressed 
with --no-rebase.

I updated the screenshot at http://jengelh.hopto.org/images/git-forest.png (URL unchanged). Color-agnostic people may use the --no-color option. (Tag colors follow gitk as far as the 16 colors permit.)

The direct grab URL for the script is still http://dev.computergmbh.de/gitweb.cgi?p=hxtools;a=blob_plain;f=bin/git-forest but of course a patch is provided below with the intent of getting it into contrib/ at least.

thanks, Jan

N.B.: This was a ridiculous command to get it right... can't this be done easier? `git-format-patch -C -M --stat=72 --summary -p --thread -n HEAD^..HEAD && git-send-email --suppress-from --no-chain --compose --to git@xxx 00*`

Next: Jan Engelhardt
Message 1 of 8 in “git-forest 20080402”
  1. git-forest 20080402Jan Engelhardt, Apr 2, 2008
  2. 1/1 Import git-forestJan Engelhardt, Apr 2, 2008
  3. Junio C HamanoApr 2, 2008
  4. Jan EngelhardtApr 3, 2008
  5. Junio C HamanoApr 3, 2008
  6. Jan EngelhardtApr 3, 2008
  7. Jeff KingApr 3, 2008
  8. Jeff KingApr 3, 2008

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.