summaryrefslogtreecommitdiff
path: root/builtin/init-db.c
diff options
context:
space:
mode:
authorDavid Turner <dturner@twopensource.com>2016-09-04 16:08:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-09 22:28:14 (GMT)
commit0c09ec07d1e617be5f2d7b5c937b60e77a30ede2 (patch)
treef069f2a0fd432529018dd7747baea8475236097e /builtin/init-db.c
parent7d618264394a17e6ecd83d9412ac9ddb4609a2e5 (diff)
downloadgit-0c09ec07d1e617be5f2d7b5c937b60e77a30ede2.zip
git-0c09ec07d1e617be5f2d7b5c937b60e77a30ede2.tar.gz
git-0c09ec07d1e617be5f2d7b5c937b60e77a30ede2.tar.bz2
refs: implement iteration over only per-worktree refs
Alternate refs backends might still use files to store per-worktree refs. So provide a way to iterate over only the per-worktree references in a ref_store. The other backend can set up a files ref_store and iterate using the new DO_FOR_EACH_PER_WORKTREE_ONLY flag when iterating. Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/init-db.c')
0 files changed, 0 insertions, 0 deletions