You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pushing tickets to a git server that uses git hooks, ti does not forward remote hook stdout and stderr.
In addition to that, ti does not account for failed hook related pushes.
Example
ti output when syncing to remote with a hook that denies push :
$ ti sync
Remote: origin
Ref: refs/meta/main
URL: http://localhost:8010/test-repo
Pull: no new tickets.
Push: 1 ticket(s) synced.
Done.
Git push output with the same hook :
$ git push
Énumération des objets: 8, fait.
Décompte des objets: 100% (8/8), fait.
Compression par delta en utilisant jusqu'à 12 fils d'exécution
Compression des objets: 100% (6/6), fait.
Écriture des objets: 100% (6/6), 1.45 KiO | 1.45 MiO/s, fait.
Total 6 (delta 3), réutilisés 0 (delta 0), réutilisés du paquet 0 (depuis 0)
remote: error: hook declined to update refs/heads/main
To http://localhost:8010/test-repo
! [remote rejected] main -> main (hook declined)
erreur : impossible de pousser des références vers 'http://localhost:8010/test-repo'
Cause
This probably has to do with the following line in git-meta-lib.
Note
The failing hook does not contain any of the expressions used in this line.
Context
When pushing tickets to a git server that uses git hooks,
tidoes not forward remote hook stdout and stderr.In addition to that,
tidoes not account for failed hook related pushes.Example
tioutput when syncing to remote with a hook that denies push :Git push output with the same hook :
Cause
This probably has to do with the following line in git-meta-lib.
Note
The failing hook does not contain any of the expressions used in this line.