From: Ian Jackson Date: Sat, 25 Aug 2018 12:53:34 +0000 (+0100) Subject: dgit: branch_is_gdr: Add a cautionary comment X-Git-Tag: archive/debian/6.10~40 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9de02f9d56e123144548a556e1ce32e9ced24f0f;p=dgit.git dgit: branch_is_gdr: Add a cautionary comment Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 1f42dd33..39621347 100755 --- a/dgit +++ b/dgit @@ -322,6 +322,11 @@ sub branch_is_gdr ($) { # We have our own implementation because: # - our algorighm can do fewer tests so is faster # - it saves testing to see if gdr is installed + + # NB we use this jsut for deciding whether to run gdr make-patches + # Before reusing this algorithm for somthing else, its + # suitability should be reconsidered. + my $walk = $head; local $Debian::Dgit::debugcmd_when_debuglevel = 3; printdebug "branch_is_gdr $head...\n";