Johannes Sixt [off-list ref] writes:
The configured refspecs are printed almost verbatim, i.e. both the local
and the remote branch name separated by a colon are printed; only the
prefix 'refs/heads/' is removed, like this:
Local branch(es) pushed with 'git push'
master refs/tags/*:refs/tags/* next:next
Signed-off-by: Johannes Sixt <redacted>
---
[Resent; I don't see the patch applied nor were there any comments.]
The hunk that reads the 'Push'es from the .git/remotes file is taken
almost verbatim from the corresponding 'Pull' clause and is untested.
Maybe while waiting for application nor comments you could have
tested and removed that comment?