From: Sean Whitton Date: Thu, 5 Sep 2019 16:08:48 +0000 (-0700) Subject: dgit-maint-{merge,debrebase}(7): Use git fetch --all --tags X-Git-Tag: archive/debian/9.8~9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=612beece6df32e68c70d04284280601f7a7825ca dgit-maint-{merge,debrebase}(7): Use git fetch --all --tags `git remote update` doesn't fetch tags unless remote branches include the commits at which those tags point. Thus, if upstream pushes their release tag but fails to push their master branch, `git remote update` will not fetch the release tag. I've been in this situation more than once when following the workflows detailed in these manpages, so let's just recommend a command which will definitely try to fetch the latest release tag. Closes: #939504 Signed-off-by: Sean Whitton Acked-by: Ian Jackson --- diff --git a/dgit-maint-debrebase.7.pod b/dgit-maint-debrebase.7.pod index 9c9598bb..27c97aa3 100644 --- a/dgit-maint-debrebase.7.pod +++ b/dgit-maint-debrebase.7.pod @@ -353,7 +353,7 @@ release, and importing that release using git-debrebase(1). =over 4 - % git remote update + % git fetch --all --tags =back diff --git a/dgit-maint-merge.7.pod b/dgit-maint-merge.7.pod index 0ccd8c7e..37a02613 100644 --- a/dgit-maint-merge.7.pod +++ b/dgit-maint-merge.7.pod @@ -362,7 +362,7 @@ to git), you can just run dpkg-buildpackage(1) or debuild(1) instead. =over 4 - % git remote update + % git fetch --all --tags =back