diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2010-03-29 15:05:58 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-29 21:18:07 -0700 |
commit | b2e256b0f0980dac6f0761d5bff0b43170022799 (patch) | |
tree | d2dbba693321df99aff22f4ba94997836763883b /t/t4013/diff.format-patch_--attach_--stdout_initial..side | |
parent | t3301-notes: Test the creation of reflog entries (diff) | |
download | tgif-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 't/t4013/diff.format-patch_--attach_--stdout_initial..side')
0 files changed, 0 insertions, 0 deletions