Merge branch 'js/for-each-ref-remote-name-and-ref'
commit093048b22913be23fe45635e8723d3aa3a185ff3
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Nov 2017 03:14:32 +0000 (15 12:14 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Nov 2017 03:14:32 +0000 (15 12:14 +0900)
tree06a0911c433afb298a50329663c6c1a4fb3a8e8f
parent1eb2bd939aa535e9b87f5a13e7bdb5616ce86030
parent1b586867dba322c911cc9b4441e2be130ba76cd5
Merge branch 'js/for-each-ref-remote-name-and-ref'

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
Documentation/git-for-each-ref.txt
ref-filter.c
remote.c
t/t6300-for-each-ref.sh