all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: guix-devel@gnu.org
Subject: Re: wrt git-exec-path patch
Date: Mon, 20 Feb 2017 20:59:23 +0000	[thread overview]
Message-ID: <20170220205922.2xfb7ghx4y4dhbhv@wasp> (raw)
In-Reply-To: <20170215222648.t55vpdvy6pzulriz@wasp>

On 17-02-15 22:26:48, ng0 wrote:
> Why was this patch necessary? I only face troubles with it.
> 
> Fixed is now "git rebase" after someone in IRC told me to unset
> GIT_EXEC_PATH, but git send-email is now "not a git command".
> 
> This is on GuixSD.
> 
> 
> commit 82de2655a16dcc7a8e3b992b4afd34ec32c244a6
> Author: David Craven <david@craven.ch>
> Date:   Fri Feb 10 12:21:08 2017 +0100
> 
>     gnu: git: Add GIT_EXEC_PATH search-path-specification.
>     
>     Enables git plugins to be found when in they're in the system profile.
>     
>     * gnu/packages/version-control.scm (git)[native-search-paths]: Add
>       GIT_EXEC_PATH.  Remove git wrapper and outdated comment.
> 

The recommendation was to export this:

export GIT_EXEC_PATH="/home/ng0/.guix-profile/libexec/git-core${GIT_EXEC_PATH:+:}$GIT_EXEC_PATH"

Afterwards, this is what leads to my error:

ng0@wasp ~> cd src/guix/guix/
ng0@wasp ~/s/g/guix> torify git pull upstream master --rebase
From git://git.savannah.gnu.org/guix
 * branch                master     -> FETCH_HEAD
/home/ng0/.guix-profile/libexec/git-core/git-sh-setup: line 46: /home/ng0/.guix-profile/libexec/git-core:/gnu/store/bbirr7a14463ahl3m378rwv5px4h2lk0-profile/libexec/git-core:/home/ng0/.guix-profile/libexec/git-core:/gnu/store/bbirr7a14463ahl3m378rwv5px4h2lk0-profile/libexec/git-core:/home/ng0/.guix-profile/libexec/git-core/git-sh-i18n: No such file or directory



And when I unset GIT_EXEC_PATH, I can at least use --rebase, but I can't
use git send-email.

If there's no solution or explanation, my advice is to revert this.

  reply	other threads:[~2017-02-20 20:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-15 22:26 wrt git-exec-path patch ng0
2017-02-20 20:59 ` ng0 [this message]
2017-02-20 21:07   ` Leo Famulari
2017-02-20 21:47     ` ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170220205922.2xfb7ghx4y4dhbhv@wasp \
    --to=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.