3 #=======================================================================
5 # File ID: eb111220-d914-11e1-baa5-00c0a8deee11
6 # Create "commit-*" branches on the specified refs
7 # License: GNU General Public License version 2 or later.
8 #=======================================================================
10 progname
=git-savecommit
12 test -z "$revs" && revs
=HEAD
16 s
=$
(git log
-1 --format=%H
$f)
17 git branch
--no-track commit-
$s $f && echo $progname: saved
$f to commit-
$s