Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add -p: allow line selection to be inverted
[gitweb.git]
/
t
/
t3701-add-interactive.sh
diff --git
a/t/t3701-add-interactive.sh
b/t/t3701-add-interactive.sh
index 6d8f17c61a2ee81d6323324f2f0e482107ad0ce7..c1703725f23926cd17a0621503d99b3fc42a328d 100755
(executable)
--- a/
t/t3701-add-interactive.sh
+++ b/
t/t3701-add-interactive.sh
@@
-410,7
+410,7
@@
test_expect_success 'setup expected diff' '
'
test_expect_success 'can reset individual lines of patch' '
- printf "%s\n" l
2
|
+ printf "%s\n" l
"-1 3"
|
EDITOR=: git reset -p 2>error &&
test_must_be_empty error &&
git diff --cached HEAD >actual &&