]> arthur.barton.de Git - bup.git/commit
Add git.shorten_hash(), printing only the first few bytes of a sha1.
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 18 Feb 2011 07:36:49 +0000 (23:36 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 18 Feb 2011 07:38:07 +0000 (23:38 -0800)
commit18b1504d064220edf169db8738fe561cb16e6d4b
tree2b081f699a407ee8b4d93eaf621f858248532407
parentf2fe0444577ff5e3007b193f785c2588114b3dcf
Add git.shorten_hash(), printing only the first few bytes of a sha1.

The full name is rarely needed and clutters the output.  Let's try this
instead in a few places.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/server-cmd.py
lib/bup/client.py
lib/bup/git.py