diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-01-24 16:35:10 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-06-16 12:25:49 +0100 |
commit | cc83099c8a469266014d330ff7556013fbf7def8 (patch) | |
tree | 121e40d71cf6b21130d2c0cf17945c57e2f36bb2 | |
parent | 53c494f6bfc85d83914a9e7b3703f47d3fabfb7c (diff) |
git-debrebase: add --force option (no users, so nfc)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | git-debrebase | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-debrebase b/git-debrebase index 01595c4..40bf5d4 100755 --- a/git-debrebase +++ b/git-debrebase @@ -117,6 +117,8 @@ use POSIX; use Data::Dumper; use Getopt::Long qw(:config posix_default gnu_compat bundling); +our ($opt_force); + sub badusage ($) { my ($m) = @_; die "bad usage: $m\n"; @@ -937,7 +939,8 @@ sub cmd_downstream_rebase_launder_v0 () { } } -GetOptions("D+" => \$debuglevel) or die badusage "bad options\n"; +GetOptions("D+" => \$debuglevel, + 'force!') or die badusage "bad options\n"; initdebug('git-debrebase '); enabledebug if $debuglevel; |