diff options
author | Shawn Pearce <spearce@spearce.org> | 2006-05-19 11:16:18 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-20 00:03:21 +0200 |
commit | 67644a4d77f55cd1c960d046079d26719f1e7cd6 (patch) | |
tree | d7b35c3a18c53c7b1fbf9991561edfaf0b5158f0 /git-branch.sh | |
parent | Change order of -m option to update-ref. (diff) | |
download | git-67644a4d77f55cd1c960d046079d26719f1e7cd6.tar.xz git-67644a4d77f55cd1c960d046079d26719f1e7cd6.zip |
Include ref log detail in commit, reset, etc.
When updating a ref at the direction of the user include a reason why
head was changed as part of the ref log (assuming it was enabled).
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-branch.sh')
-rwxr-xr-x | git-branch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-branch.sh b/git-branch.sh index 134e68cf7f..d1e3730761 100755 --- a/git-branch.sh +++ b/git-branch.sh @@ -117,4 +117,4 @@ then die "cannot force-update the current branch." fi fi -git update-ref "refs/heads/$branchname" $rev +git update-ref -m "branch: Created from $head" "refs/heads/$branchname" $rev |