Skip to content

Commit 1f83e75

Browse files
pks-tgitster
authored andcommitted
t1301: mark test for core.sharedRepository as reffiles specific
In t1301 we verify whether reflog files written by the "files" ref backend correctly honor permissions when "core.sharedRepository" is set. The test logic is thus specific to the reffiles backend and will not work with any other backends. Mark the test accordingly with the REFFILES prereq. Signed-off-by: Patrick Steinhardt <[email protected]> Reviewed-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 91c5a5e commit 1f83e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1301-shared-repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ test_expect_success POSIXPERM 'info/refs respects umask in unshared repo' '
137137
test_cmp expect actual
138138
'
139139

140-
test_expect_success POSIXPERM 'git reflog expire honors core.sharedRepository' '
140+
test_expect_success REFFILES,POSIXPERM 'git reflog expire honors core.sharedRepository' '
141141
umask 077 &&
142142
git config core.sharedRepository group &&
143143
git reflog expire --all &&

0 commit comments

Comments
 (0)