[PATCH 0/1] Fix a bug in ref-filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear git developers,

Testing the behaviour of git with respect to pushing and pulling, I noticed
that %(push:track) in git for-each-ref reported the wrong value (ie the
upstream's value rather than the push one).

This patch fixes that.

Please tell me if you would prefer I split this patch in two, one
introducing `stat_push_info` in remote.c and the following one using it in
ref-filter.c


Damien Robert (1):
  Fix %(push:track) in ref-filter

 ref-filter.c            |  7 ++--
 remote.c                | 78 +++++++++++++++++++++++++++++++----------
 remote.h                |  2 ++
 t/t6300-for-each-ref.sh | 12 ++++++-
 4 files changed, 78 insertions(+), 21 deletions(-)

-- 
Patched on top of v2.21.0-196-g041f5ea1cf (git version 2.21.0)




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux