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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: got backout: segfault
To:
Tracey Emery <tracey@traceyemery.net>
Cc:
Sebastien Marie <semarie@online.fr>, gameoftrees@openbsd.org
Date:
Fri, 7 Feb 2020 22:03:31 +0100

Download raw body.

Thread
On Fri, Feb 07, 2020 at 01:51:52PM -0700, Tracey Emery wrote:
> LOL, I think I was just being blind or thick or something (thick). It
> looks like the wrong path is being sent. Based on this output from the
> diff below, is this the desired result? If so, should a test be added?

Yes this fix looks good, and a test would be great :)

Thank you!

> stef$ got update -c 67c4a2936aa4a85b7ddc4ee009241b69e7cfda4f
> U  Makefile
> U  distinfo
> U  patches/patch-src_bootstrap_bootstrap_py
> D  patches/patch-src_librustc_target_spec_i586_unknown_openbsd_rs
> A  patches/patch-src_librustc_target_spec_i686_unknown_openbsd_rs
> D  patches/patch-src_librustc_target_spec_mod_rs
> A  patches/patch-src_test_ui_sse2_rs
> A  patches/patch-vendor_serde_build_rs
> Updated to commit 67c4a2936aa4a85b7ddc4ee009241b69e7cfda4f
> stef$ got backout d4a757173ee4fb1762b1dd373f1d508175846c8f
> G  Makefile
> G  distinfo
> !  patches/patch-src_librustc_target_spec_i586_unknown_openbsd_rs
> G  patches/patch-src_librustc_target_spec_i686_unknown_openbsd_rs
> !  patches/patch-src_librustc_target_spec_mod_rs
> G  patches/patch-src_test_ui_sse2_rs
> G  patches/patch-vendor_serde_build_rs
> Backed out commit d4a757173ee4fb1762b1dd373f1d508175846c8f
> stef$ got up
> U  Makefile
> U  distinfo
> U  patches/patch-src_bootstrap_bootstrap_py
> A  patches/patch-src_librustc_target_spec_i586_unknown_openbsd_rs
> D  patches/patch-src_librustc_target_spec_i686_unknown_openbsd_rs
> A  patches/patch-src_librustc_target_spec_mod_rs
> D  patches/patch-src_test_ui_sse2_rs
> D  patches/patch-vendor_serde_build_rs
> Updated to commit da5165f18934b5e44abe5da2ec2551c95fb959d0
> 
> -- 
> 
> Tracey Emery
> 
> diff 992eb9d8966327c12d7e3812a2cae527f621e4ba /home/basepr1me/src/got
> blob - 17a07a2e89038439f7620a85b41050549a954ea8
> file + lib/worktree.c
> --- lib/worktree.c
> +++ lib/worktree.c
> @@ -2110,7 +2110,7 @@ merge_file_cb(void *arg, struct got_blob_object *blob1
>  		    strlen(path1));
>  		if (ie == NULL)
>  			return (*a->progress_cb)(a->progress_arg,
> -			    GOT_STATUS_MISSING, path2);
> +			    GOT_STATUS_MISSING, path1);
>  
>  		if (asprintf(&ondisk_path, "%s/%s", a->worktree->root_path,
>  		    path1) == -1)
> 
>