summaryrefslogtreecommitdiff
path: root/gitk-git/po/.gitignore
diff options
context:
space:
mode:
authorLibravatar David Turner <dturner@twopensource.com>2015-07-21 17:04:52 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-21 14:07:59 -0700
commitabd0cd3a3018e1c4e9e4437fb3911d6658e99fec (patch)
treef6d25ec6ea6d7ee8897f0f2b45fe7cfecbd47285 /gitk-git/po/.gitignore
parentrefs: break out check for reflog autocreation (diff)
downloadtgif-abd0cd3a3018e1c4e9e4437fb3911d6658e99fec.tar.xz
refs: new public ref function: safe_create_reflog
The safe_create_reflog function creates a reflog, if it does not already exist. The log_ref_setup function becomes private and gains a force_create parameter to force the creation of a reflog even if log_all_ref_updates is false or the refname is not one of the special refnames. The new parameter also reduces the need to store, modify, and restore the log_all_ref_updates global before reflog creation. In a moment, we will use this to add reflog creation commands to git-reflog. Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitk-git/po/.gitignore')
0 files changed, 0 insertions, 0 deletions