From 612beece6df32e68c70d04284280601f7a7825ca Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 5 Sep 2019 09:08:48 -0700 Subject: 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 --- dgit-maint-debrebase.7.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit-maint-debrebase.7.pod') diff --git a/dgit-maint-debrebase.7.pod b/dgit-maint-debrebase.7.pod index 9c9598b..27c97aa 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 -- cgit v1.2.3 From 538b7a3606aa9fd3e39b08c4ee1bad6c1030985d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 7 Sep 2019 09:32:21 -0700 Subject: dgit-maint-{merge,debrebase}(7): Use git fetch --tags upstream We recommend using a remote called 'upstream' and so we can recommend a command which will be faster and less likely to error out. Closes: #939679 Suggested-by: Ian Jackson Signed-off-by: Sean Whitton --- dgit-maint-debrebase.7.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit-maint-debrebase.7.pod') diff --git a/dgit-maint-debrebase.7.pod b/dgit-maint-debrebase.7.pod index 27c97aa..4a0b5a5 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 fetch --all --tags + % git fetch --tags upstream =back -- cgit v1.2.3