Browse Source

Merge branch 'pw/add-p-single'

Hotfix.

* pw/add-p-single:
  add -p: fix 2.17.0-rc* regression due to moved code
maint
Junio C Hamano 7 years ago
parent
commit
5f9441769f
  1. 2
      git-add--interactive.perl

2
git-add--interactive.perl

@ -1564,7 +1564,7 @@ sub patch_update_file { @@ -1564,7 +1564,7 @@ sub patch_update_file {
error_msg __("No other hunks to search\n");
next;
}
if ($1 eq "") {
if ($regex eq "") {
print colored $prompt_color, __("search for regex? ");
$regex = <STDIN>;
if (defined $regex) {

Loading…
Cancel
Save