From: SZEDER Gábor Date: Sat, 10 Jun 2017 11:41:01 +0000 (+0200) Subject: revision.h: turn rev_info.early_output back into an unsigned int X-Git-Tag: v2.13.2~4^2~4 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e35b6ac56f6582f85319ebc86d4a9b42ca5a21cb;p=git-core%2Fgit.git revision.h: turn rev_info.early_output back into an unsigned int rev_info.early_output started out as an unsigned int in cdcefbc97 (Add "--early-output" log flag for interactive GUI use, 2007-11-03), but later it was turned into a single bit in a bit field in cc243c3ce (show: --ignore-missing, 2011-05-18) without explanation, though the code using it still expects it to be a regular integer type and uses it as a counter. Consequently, any even number given via '--early-output=', or indeed a plain '--early-output' defaulting to 100 effectively disabled the feature. Turn rev_info.early_output back into its origin unsigned int data type, making '--early-output' work again. Signed-off-by: SZEDER Gábor Reviewed-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/revision.h b/revision.h index 9fac1a607..f801118e1 100644 --- a/revision.h +++ b/revision.h @@ -74,8 +74,9 @@ struct rev_info { /* topo-sort */ enum rev_sort_order sort_order; - unsigned int early_output:1, - ignore_missing:1, + unsigned int early_output; + + unsigned int ignore_missing:1, ignore_missing_links:1; /* Traversal flags */