"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: make tog tree -c stick to current branch
To:
gameoftrees@openbsd.org
Date:
Sun, 6 Dec 2020 16:38:08 +0100

Download raw body.

Thread
Stefan Sperling:

> > Remaining problem in this area: branch/tag information is losing
> > stickiness on the tree -> log transition.
> 
> Fixed below.

> diff 56738456fd3d5c1928406bd347baedab29ce674a f039bcf33a8f964e16c59e2e66675bb6bb481658

> @@ -5546,6 +5566,7 @@ done:
>  	free(repo_path);
>  	free(cwd);
>  	free(commit_id);
> +	free(label);
>  	if (commit)
>  		got_object_commit_close(commit);
>  	if (tree)

Here at the end of cmd_tree(), is there

+       if (ref)
+               got_ref_close(ref);

missing?

Otherwise, ok.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de