diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-02 19:10:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-02 19:10:55 +0200 |
commit | 5f9441769fab51afc9fc96d1e5f7a9edde586088 (patch) | |
tree | d44f0582d4e5c7ddbcc1322e48e36188bdc71dca /git-add--interactive.perl | |
parent | Merge branch 'jh/partial-clone' (diff) | |
parent | add -p: fix 2.17.0-rc* regression due to moved code (diff) | |
download | git-5f9441769fab51afc9fc96d1e5f7a9edde586088.tar.xz git-5f9441769fab51afc9fc96d1e5f7a9edde586088.zip |
Merge branch 'pw/add-p-single'
Hotfix.
* pw/add-p-single:
add -p: fix 2.17.0-rc* regression due to moved code
Diffstat (limited to 'git-add--interactive.perl')
-rwxr-xr-x | git-add--interactive.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-add--interactive.perl b/git-add--interactive.perl index d190469cd8..c1f52e457f 100755 --- a/git-add--interactive.perl +++ b/git-add--interactive.perl @@ -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) { |