Skip to content

Commit eab3081

Browse files
Pete Wyckoffgitster
authored andcommitted
git-p4: one test missing config git-p4.skipSubmitEditCheck
Add this missing line in one of the tests. Otherwise, on fast machines, the following git-p4 commit will complain that nobody edited the submission message. Signed-off-by: Pete Wyckoff <[email protected]> Acked-by: Luke Diamand <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 83cf0fe commit eab3081

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t9800-git-p4.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ test_expect_success 'refuse to preserve users without perms' '
191191
"$GITP4" clone --dest="$git" //depot &&
192192
test_when_finished cleanup_git &&
193193
cd "$git" &&
194+
git config git-p4.skipSubmitEditCheck true &&
194195
echo "username-noperms: a change by alice" >> file1 &&
195196
git commit --author "Alice <alice@localhost>" -m "perms: a change by alice" file1 &&
196197
! P4EDITOR=touch P4USER=bob P4PASSWD=secret "$GITP4" commit --preserve-user &&

0 commit comments

Comments
 (0)