From: Ian Jackson Date: Fri, 3 Aug 2018 06:59:34 +0000 (+0100) Subject: dgit: Rename --dgit-view-save to --save-dgit-view, leaving an alias. X-Git-Tag: archive/debian/6.5~27 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=12948968b9a6e48898a5a704a524930da170cd75 dgit: Rename --dgit-view-save to --save-dgit-view, leaving an alias. This name makes more sense. Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index cb9f3df9..4ea57ef2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ dgit (6.5~) unstable; urgency=medium * test suite: Add t-tstunt-parsechangelog to many gdr tests. * test suite: editing a test script overrides DGIT_TESTS_PROGRESSIVE. + * dgit: Rename --dgit-view-save to --save-dgit-view, leaving an alias. -- diff --git a/dgit b/dgit index 0da0c7f1..a5745a55 100755 --- a/dgit +++ b/dgit @@ -6953,7 +6953,10 @@ sub parseopts () { } elsif (m/^--delayed=(\d+)$/s) { push @ropts, $_; push @dput, $_; - } elsif (my ($k,$v) = m/^--(dgit-view)-save=(.+)$/s) { + } elsif (my ($k,$v) = + m/^--save-(dgit-view)=(.+)$/s || + m/^--(dgit-view)-save=(.+)$/s + ) { push @ropts, $_; $v =~ s#^(?!refs/)#refs/heads/#; $internal_object_save{$k} = $v; diff --git a/dgit.1 b/dgit.1 index a4b16943..4ea34da5 100644 --- a/dgit.1 +++ b/dgit.1 @@ -661,7 +661,7 @@ Also, it can mean that dgit fails to find necessary git commits. .TP -.BR --dgit-view-save= \fIbranch\fR|\fIref\fR +.BR --save-dgit-view= \fIbranch\fR|\fIref\fR Specifies that when a split view quilt mode is in operation, and dgit calculates (or looks up in its cache) @@ -681,6 +681,10 @@ And it is only effective with If ref does not start with refs/ it is taken to to be a branch - i.e. refs/heads/ is prepended. + +.B --dgit-view-save +is a deprecated alias for +--save-dgit-view. .TP .BI --deliberately- something Declare that you are deliberately doing