git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
DRDamien Robert <damien.olivier.robert@gmail.com>
Date
Apr 15, 2019, 21:04 UTC
Message-ID
<20190415210416.7525-1-damien.olivier.robert+git@gmail.com>
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)
Next: Damien Robert
Message 1 of 8 in “Fix a bug in ref-filter”
  1. 0/1 Fix a bug in ref-filterDamien Robert, Apr 15, 2019
  2. 1/1 Fix %(push:track) in ref-filterDamien Robert, Apr 15, 2019
  3. Jeff KingApr 15, 2019
  4. Damien RobertApr 16, 2019
  5. Christian CouderApr 16, 2019
  6. Jeff KingApr 16, 2019
  7. Damien RobertApr 17, 2019
  8. Junio C HamanoApr 18, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.