From: Junio C Hamano Date: Wed, 25 Jul 2012 21:52:54 GMT Subject: Re: False positive from orphaned_commit_warning() ? Message-ID: <7va9ynbj9l.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120725185343.GA6937@windriver.com> Paul Gortmaker writes: > Has anyone else noticed false positives coming from the > orphan check? Thanks. This should fix it. builtin/checkout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/checkout.c b/builtin/checkout.c index 6acca75..d812219 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -606,7 +606,7 @@ static int add_pending_uninteresting_ref(const char *refname, const unsigned char *sha1, int flags, void *cb_data) { - add_pending_sha1(cb_data, refname, sha1, flags | UNINTERESTING); + add_pending_sha1(cb_data, refname, sha1, UNINTERESTING); return 0; }