Merge branch 'js/for-each-ref-remote-name-and-ref'
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Nov 2017 03:14:32 +0000 (12:14 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Nov 2017 03:14:32 +0000 (12:14 +0900)
The "--format=..." option "git for-each-ref" takes learned to show
the name of the 'remote' repository and the ref at the remote side
that is affected for 'upstream' and 'push' via "%(push:remotename)"
and friends.

* js/for-each-ref-remote-name-and-ref:
for-each-ref: test :remotename and :remoteref
for-each-ref: let upstream/push report the remote ref name
for-each-ref: let upstream/push optionally report the remote name

1  2 
Documentation/git-for-each-ref.txt
ref-filter.c
remote.c
t/t6300-for-each-ref.sh
Simple merge
diff --cc ref-filter.c
Simple merge
diff --cc remote.c
Simple merge
Simple merge