Codebase list commit-patch / d59d17e
debian/patches: Add patch that uses editor instead of vi for the fallback program David Caldwell 5 years ago
2 changed file(s) with 14 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 makefile-install_el_files_to_correct_dir.patch
1 use-editor-instead-of-vi.patch
0 Index: commit-patch/commit-patch
1 ===================================================================
2 --- commit-patch.orig/commit-patch 2019-02-13 23:18:12.007932991 -0800
3 +++ commit-patch/commit-patch 2019-02-13 23:18:35.996431443 -0800
4 @@ -178,7 +178,7 @@
5
6 run([split(/ /,$vc{diff}), @ARGV], '>>', $patch);
7 }
8 - system(($ENV{VISUAL} || $ENV{EDITOR} || 'vi')." ".$patch);
9 + system(($ENV{VISUAL} || $ENV{EDITOR} || 'editor')." ".$patch);
10 my $last_patch = "#last-comit-partial.patch";
11 unlink "$last_patch.3";
12 rename "$last_patch.2", "$last_patch.3";