[announce+patch] git-forest 20080402
- From
- Jan 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*`