From: Ian Jackson Date: Sat, 17 Feb 2018 11:46:35 +0000 (+0000) Subject: git-debrebase: classify: provide Why for Unknown X-Git-Tag: archive/debian/5.0~188 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=ca03bca3d0443c539de63050693de56c9b2e0c03 git-debrebase: classify: provide Why for Unknown Signed-off-by: Ian Jackson --- diff --git a/git-debrebase b/git-debrebase index 5adbb8fe..32737269 100755 --- a/git-debrebase +++ b/git-debrebase @@ -317,7 +317,6 @@ sub any_fproblems () { # Upstream # AddPatches # Mixed -# Unknown # # Pseudomerge # has additional entres in classification result @@ -331,6 +330,10 @@ sub any_fproblems () { # BreakwaterUpstreamMerge # has additional entry in classification result # OrigParents = [ subset of Parents ] # singleton list +# +# Unknown +# has additional entry in classification result +# Why => "prose" sub parsecommit ($;$) { my ($objid, $p_ref) = @_; @@ -389,7 +392,7 @@ sub classify ($) { }; my $unknown = sub { my ($why) = @_; - $r = { %$r, Type => qw(Unknown) }; + $r = { %$r, Type => qw(Unknown), Why => $why }; printdebug " ** Unknown\n"; return $r; };