Re: [PATCH 0/3] for-each-ref: add :remote-ref and :remote-name specifiers

2017-10-04 Thread Junio C Hamano
Johannes Schindelin writes: > Note: the `%(push:remote-name)` placeholder is only interpolated by the value > of `branch..pushRemote`; unlike `git push`, it does not fall back to > `branch..remote`. Likewise, `%(push:remote-ref)` interpolates to the > empty string

[PATCH 0/3] for-each-ref: add :remote-ref and :remote-name specifiers

2017-10-02 Thread Johannes Schindelin
This introduces support for git for-each-ref \ --format="%(merge:remote-name),%(merge:remote-ref)" git for-each-ref \ --format="%(push:remote-name),%(push:remote-ref)" to figure out the remote nickname as well as the name of the corresponding