[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrt git-exec-path patch
From: |
ng0 |
Subject: |
Re: wrt git-exec-path patch |
Date: |
Mon, 20 Feb 2017 20:59:23 +0000 |
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 <address@hidden>
> 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:
address@hidden ~> cd src/guix/guix/
address@hidden ~/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.