[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Heads-up: “pre-push” Git hook updated
From: |
Christopher Baines |
Subject: |
Re: Heads-up: “pre-push” Git hook updated |
Date: |
Fri, 29 May 2020 19:39:41 +0100 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
Ludovic Courtès <ludo@gnu.org> writes:
> Hi!
>
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> I think we should change our pre-push hook as shown below.
>
> I’ve pushed it in e65a44649e8d7698c4a888f1de625a67052520e9.
> To all committers: please do use it from now on:
>
> cp etc/guix/pre-push .git/hooks/
>
> If you never run “make authenticate” before, the first run takes a few
> minutes. You might want to run it before your first ‘git push’.
>
> Please report any issues, slowness, errors, unhappiness, whatever!
So, I think make authenticate dislikes the naming I use for Git remotes,
in particular I don't have an origin remote.
→ make authenticate
Compiling Scheme modules...
Authenticating Git checkout...
Authenticating d68de95 to 776409c (0 commits)...
Backtrace:
In ice-9/boot-9.scm:
1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
9 (apply-smob/0 #<thunk 7f4b2fed8940>)
In ice-9/boot-9.scm:
718:2 8 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 7 (_ #(#(#<directory (guile-user) 7f4b2fafaf00>)))
293:34 6 (_ #(#(#(#(#(#(#(#(#(#(#<…> …) …) …) …) …) …) …) …) …) …))
In guix/progress.scm:
71:36 5 (call-with-progress-reporter _ _)
In ice-9/eval.scm:
619:8 4 (_ #(#(#(#<directory (guile-user) 7f4b2fafaf00>) # …) #))
626:19 3 (_ #(#(#(#<directory (guile-user) 7f4b2fafaf00>) # …) #))
293:34 2 (_ #(#(#<directory (guile-user) 7f4b2fafaf00>) #<git…> …))
In git/branch.scm:
101:8 1 (_ _ _ _)
In git/bindings.scm:
77:2 0 (raise-git-error _)
git/bindings.scm:77:2: In procedure raise-git-error:
Git error: cannot locate remote-tracking branch 'origin/keyring'
make: *** [Makefile:5965: authenticate] Error 1
I tried renaming my savannah remote to origin, and then it seemed to
work. Any ideas?
Thanks,
Chris
signature.asc
Description: PGP signature
- Re: Updating the “pre-push” Git hook, (continued)
Heads-up: “pre-push” Git hook updated, Ludovic Courtès, 2020/05/29