Merge branch 'dt/refs-backend-preamble'
commitb6d323f1646d7204fc6693071e5be84377ece70b
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 18:01:29 +0000 (3 11:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 18:01:29 +0000 (3 11:01 -0700)
treebb917f3763b586c34dc8fb03fb4bc9c8132e4632
parent8348bf1b6957e8e75fbfc988ce4e7802ce408d6b
parent89dea973349769efa8facc6f7b11095958205d4d
Merge branch 'dt/refs-backend-preamble'

In preparation for allowing different "backends" to store the refs
in a way different from the traditional "one ref per file in $GIT_DIR
or in a $GIT_DIR/packed-refs file" filesystem storage, reduce
direct filesystem access to ref-like things like CHERRY_PICK_HEAD
from scripts and programs.

* dt/refs-backend-preamble:
  git-stash: use update-ref --create-reflog instead of creating files
  update-ref and tag: add --create-reflog arg
  refs: add REF_FORCE_CREATE_REFLOG flag
  git-reflog: add exists command
  refs: new public ref function: safe_create_reflog
  refs: break out check for reflog autocreation
  refs.c: add err arguments to reflog functions
Documentation/git-tag.txt
builtin/checkout.c
builtin/update-ref.c
refs.c
refs.h