git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: False positive from orphaned_commit_warning() ?

From
PGPaul Gortmaker <paul.gortmaker@windriver.com>
Date
Jul 26, 2012, 13:22 UTC
Message-ID
<50114485.80309@windriver.com>
In-Reply-To
<7va9ynbj9l.fsf@alter.siamese.dyndns.org>
On 12-07-25 05:52 PM, Junio C Hamano wrote:
Show 6 quoted lines
> Paul Gortmaker <paul.gortmaker@windriver.com> writes:
> 
>> Has anyone else noticed false positives coming from the
>> orphan check?
> 
> Thanks.  This should fix it.
Indeed it does.  Thanks for the fix (and git in general).

Paul. --

Show 18 quoted lines
> 
>  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;
>  }
>  
> 
Previous: Jeff King
Message 7 of 7 in “False positive from orphaned_commit_warning() ?”
  1. Paul GortmakerJul 25, 2012
  2. Dan JohnsonJul 25, 2012
  3. Junio C HamanoJul 25, 2012
  4. Jeff KingJul 25, 2012
  5. Junio C HamanoJul 25, 2012
  6. Jeff KingJul 25, 2012
  7. Paul GortmakerJul 26, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.