diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-02-16 22:44:13 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-06-16 16:03:11 +0100 |
commit | 0ec2b529f2c6579ee279666b079d9b91c393365a (patch) | |
tree | bcb7693231c1b3dcb23c72e1009845b88e90e0d7 | |
parent | d980524cd66e12eda58f9df6bc8410454febd3aa (diff) |
git-debrebase: slight message improvements etc.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | git-debrebase | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/git-debrebase b/git-debrebase index acf4c85..5adbb8f 100755 --- a/git-debrebase +++ b/git-debrebase @@ -32,8 +32,7 @@ # git-debrebase [<options>] stitch [--prose=<for commit message>] # git-debrebase [<options>] downstream-rebase-launder-v0 # experimental # -# git-debrebase [<options>] convert-from-gbp \ -# <upstream> +# git-debrebase [<options>] convert-from-gbp <upstream-git-rev> # problems / outstanding questions: # @@ -1164,7 +1163,8 @@ END } sub cmd_convert_from_gbp () { - badusage "needs 1 optional argument, the upstream" unless @ARGV<=1; + badusage "needs 1 optional argument, the upstream git rev" + unless @ARGV<=1; my ($upstream_spec) = @ARGV; $upstream_spec //= 'refs/heads/upstream'; my $upstream = git_rev_parse $upstream_spec; @@ -1210,9 +1210,9 @@ sub cmd_convert_from_gbp () { runcmd @git, qw(checkout -q gdr-internal~0); rm_subdir_cached 'debian/patches'; $work = make_commit ['HEAD'], [ - 'git-debrebase convert-from-gbp: drop patch queue', + 'git-debrebase convert-from-gbp: drop patches from tree', 'Delete debian/patches, as part of converting to git-debrebase format.', - '[git-debrebase convert-from-gbp: drop patches]' + '[git-debrebase convert-from-gbp: drop patches from tree]' ]; # make the breakwater pseudomerge # the tree is already exactly right |