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

Full log


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 1 year and 16 days ago.

Previous Next


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