Include ref log detail in commit, reset, etc.
[gitweb.git] / git-branch.sh
index 134e68cf7f0389d73af000c4303c4dda27f89d57..d1e37307617abd6144f36f93decbebd95a97fb32 100755 (executable)
@@ -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