Re: [PATCH 2/2] fetch: add tweak-fetch hook

2018-02-09 Thread Junio C Hamano
Leo Gaspard writes: > +tweak-fetch > +~~~ > + > +This hook is invoked by 'git fetch' (commonly called by 'git pull'), after > refs > +have been fetched from the remote repository. It is not executed, if nothing > was > +fetched. Need to tighten explanation of "nothing

[PATCH 2/2] fetch: add tweak-fetch hook

2018-02-09 Thread Leo Gaspard
From: Léo Gaspard The tweak-fetch hook is fed lines on stdin for all refs that were fetched, and outputs on stdout possibly modified lines. Its output is then parsed and used when `git fetch` updates the remote tracking refs, records the entries in FETCH_HEAD, and produces its