chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984a356
)
add --force option (no users, so nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 24 Jan 2018 16:35:10 +0000
(16:35 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 24 Jan 2018 16:35:10 +0000
(16:35 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase
patch
|
blob
|
history
diff --git
a/git-debrebase
b/git-debrebase
index 01595c45a116b333eb0cd4af55f66c5da4dc60c4..40bf5d464a0f9b1aa589d476ff837b89906b6cc0 100755
(executable)
--- 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;