summaryrefslogtreecommitdiff
path: root/t/t4137-apply-submodule.sh
diff options
context:
space:
mode:
authorLibravatar David Turner <dturner@twopensource.com>2015-07-21 17:04:55 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-21 14:08:35 -0700
commit144c76fa39254903cb1e8e2d6d159603077356a7 (patch)
tree14c41558ef0aa09cb1088a2cf78b9116dbe73c0c /t/t4137-apply-submodule.sh
parentrefs: add REF_FORCE_CREATE_REFLOG flag (diff)
downloadtgif-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 't/t4137-apply-submodule.sh')
0 files changed, 0 insertions, 0 deletions