summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-25 13:53:34 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-25 13:53:34 +0100
commit9de02f9d56e123144548a556e1ce32e9ced24f0f (patch)
tree548eff6ba91d7a2c208dd9ff02cf454f75a2db21 /dgit
parentb765388a4cea92f5209e3fd9b59c05e88a278076 (diff)
dgit: branch_is_gdr: Add a cautionary comment
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit5
1 files changed, 5 insertions, 0 deletions
diff --git a/dgit b/dgit
index 1f42dd3..3962134 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";