GNU bug report logs - #72044
Pre-push authentication hook doesn’t cope with ‘git push --tags’

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Wed, 10 Jul 2024 20:27:06 UTC

Severity: normal

To reply to this bug, email your comments to 72044 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#72044; Package guix. (Wed, 10 Jul 2024 20:27:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 10 Jul 2024 20:27:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: Pre-push authentication hook doesn’t cope with
 ‘git push --tags’
Date: Wed, 10 Jul 2024 22:13:05 +0200
Hi,

Just noticed that the pre-push hook installed by ‘guix git authenticate’
fails when running ‘git push --tags’:

--8<---------------cut here---------------start------------->8---
  1 git … push origin --tags
guix git: [1;31merror: [0mGit error: the requested type does not match the type in the ODB
error: failed to push some refs to 'ssh://git.sv.gnu.org/srv/git/shepherd.git'
--8<---------------cut here---------------end--------------->8---

Not sure how the hook can determine it’s pushing tags.

Ludo’.




This bug report was last modified 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.