From: Ian Jackson Date: Mon, 27 Jul 2015 11:04:04 +0000 (+0100) Subject: Rename `git-build' operation to `gbp-build' to make it clearer what it's for. Keep... X-Git-Tag: debian/1.1~17 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7bd0174f7d5a68f77bec94cd64baa5752cf0188a;p=dgit.git Rename `git-build' operation to `gbp-build' to make it clearer what it's for. Keep the old name as an alias. --- diff --git a/debian/changelog b/debian/changelog index b40be534..bb95fec3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -53,6 +53,8 @@ dgit (1.1~~) unstable; urgency=low trailer line. Closes:#793423. * Honour --git= (mostly). * Test suite: More automatic enumeration of tests. + * Rename `git-build' operation to `gbp-build' to make it clearer what + it's for. Keep the old name as an alias. -- diff --git a/dgit b/dgit index b7c6d9ac..7377accf 100755 --- a/dgit +++ b/dgit @@ -2954,7 +2954,7 @@ sub cmd_build { printdone "build successful\n"; } -sub cmd_git_build { +sub cmd_gbp_build { build_prep(); my @dbp = @dpkgbuildpackage; massage_dbp_args \@dbp; @@ -2969,6 +2969,7 @@ sub cmd_git_build { runcmd_ordryrun_local @cmd, @ARGV; printdone "build successful\n"; } +sub cmd_git_build { cmd_gbp_build(); } # compatibility with <= 1.0 sub build_source { build_prep(); diff --git a/dgit.1 b/dgit.1 index d73d5b9f..88e98128 100644 --- a/dgit.1 +++ b/dgit.1 @@ -134,10 +134,10 @@ in the parent directory will be removed; the output is left in Tagging, signing and actually uploading should be left to dgit push. .TP -\fBdgit git-build\fR ... +\fBdgit gbp-build\fR ... Runs .B git-buildpackage -with some suitable options. Options and arguments after git-build +with some suitable options. Options and arguments after gbp-build will be passed on to git-buildpackage. Tagging, signing and actually uploading should be left to dgit push.