From 9de02f9d56e123144548a556e1ce32e9ced24f0f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 25 Aug 2018 13:53:34 +0100 Subject: [PATCH] dgit: branch_is_gdr: Add a cautionary comment Signed-off-by: Ian Jackson --- dgit | 5 +++++ 1 file changed, 5 insertions(+) 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"; -- 2.30.2