All of lore.kernel.org
 help / color / mirror / Atom feed
From: Damien Robert <damien.olivier.robert@gmail.com>
To: git@vger.kernel.org
Cc: Damien Robert <damien.olivier.robert+git@gmail.com>
Subject: [PATCH 0/1] Fix a bug in ref-filter
Date: Mon, 15 Apr 2019 23:04:15 +0200	[thread overview]
Message-ID: <20190415210416.7525-1-damien.olivier.robert+git@gmail.com> (raw)

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)


             reply	other threads:[~2019-04-15 21:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15 21:04 Damien Robert [this message]
2019-04-15 21:04 ` [PATCH 1/1] Fix %(push:track) in ref-filter Damien Robert
2019-04-15 22:01   ` Jeff King
2019-04-16 12:39     ` Damien Robert
2019-04-16 14:13       ` Christian Couder
2019-04-16 21:48       ` Jeff King
2019-04-17  8:17         ` Damien Robert
2019-04-18  0:23           ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190415210416.7525-1-damien.olivier.robert+git@gmail.com \
    --to=damien.olivier.robert@gmail.com \
    --cc=damien.olivier.robert+git@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.