diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-25 13:53:34 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-25 13:53:34 +0100 |
commit | 9de02f9d56e123144548a556e1ce32e9ced24f0f (patch) | |
tree | 548eff6ba91d7a2c208dd9ff02cf454f75a2db21 /dgit | |
parent | b765388a4cea92f5209e3fd9b59c05e88a278076 (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-x | dgit | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"; |