Make apply --binary a no-op.
Historically we did not allow binary patch applied without an explicit permission from the user, and this flag was the way to do so. This makes the flag a no-op by always allowing binary patch application. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@ -94,11 +94,11 @@ test_expect_failure 'apply binary diff (copy) -- should fail.' \
|
||||
'do_reset
|
||||
git-apply --index C.diff'
|
||||
|
||||
test_expect_failure 'apply binary diff without replacement -- should fail.' \
|
||||
test_expect_success 'apply binary diff without replacement.' \
|
||||
'do_reset
|
||||
git-apply BF.diff'
|
||||
|
||||
test_expect_failure 'apply binary diff without replacement (copy) -- should fail.' \
|
||||
test_expect_success 'apply binary diff without replacement (copy).' \
|
||||
'do_reset
|
||||
git-apply CF.diff'
|
||||
|
||||
|
Reference in New Issue
Block a user