Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ls-files: correct index argument to get_convert_attr_ascii()
[gitweb.git]
/
git-add--interactive.perl
diff --git
a/git-add--interactive.perl
b/git-add--interactive.perl
index 36f38ced902e1902a626933bdcda09819acf39a7..20eb81cc92f947d872b31a179d43d97772ff25e4 100755
(executable)
--- a/
git-add--interactive.perl
+++ b/
git-add--interactive.perl
@@
-1062,7
+1062,7
@@
sub recount_edited_hunk {
$o_cnt++;
} elsif ($mode eq '+') {
$n_cnt++;
- } elsif ($mode eq ' ') {
+ } elsif ($mode eq ' '
or $mode eq "\n"
) {
$o_cnt++;
$n_cnt++;
}