summaryrefslogtreecommitdiff
path: root/pack-check.c
diff options
context:
space:
mode:
authorLibravatar Michael J Gruber <git@drmicha.warpmail.net>2010-03-29 15:05:58 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-03-29 21:18:07 -0700
commitb2e256b0f0980dac6f0761d5bff0b43170022799 (patch)
treed2dbba693321df99aff22f4ba94997836763883b /pack-check.c
parentt3301-notes: Test the creation of reflog entries (diff)
downloadtgif-b2e256b0f0980dac6f0761d5bff0b43170022799.tar.xz
refs.c: Write reflogs for notes just like for branch heads
The notes code intends to write reflog entries, but currently they are not written because log_ref_write() checks for the refname path explicitly. Add refs/notes to the list of allowed paths so that notes references are treated just like branch heads, i.e. according to core.logAllRefUpdates and core.bare. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Acked-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-check.c')
0 files changed, 0 insertions, 0 deletions