aboutsummaryrefslogtreecommitdiff
path: root/git-stash.sh
diff options
context:
space:
mode:
authorDavid Turner <dturner@twopensource.com>2015-07-21 17:04:55 -0400
committerJunio C Hamano <gitster@pobox.com>2015-07-21 14:08:35 -0700
commit144c76fa39254903cb1e8e2d6d159603077356a7 (patch)
tree14c41558ef0aa09cb1088a2cf78b9116dbe73c0c /git-stash.sh
parent0f2a71d9923b4cf010ad0801eb71ee3666798204 (diff)
downloadgit-144c76fa39254903cb1e8e2d6d159603077356a7.tar.gz
git-144c76fa39254903cb1e8e2d6d159603077356a7.tar.xz
update-ref and tag: add --create-reflog arg
Allow the creation of a ref (e.g. stash) with a reflog already in place. For most refs (e.g. those under refs/heads), this happens automatically, but for others, we need this option. Currently, git does this by pre-creating the reflog, but alternate ref backends might store reflogs somewhere other than .git/logs. Code that now directly manipulates .git/logs should instead use git plumbing commands. I also added --create-reflog to git tag, just for completeness. In a moment, we will use this argument to make git stash work with alternate ref backends. Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
0 files changed, 0 insertions, 0 deletions