git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Should `git remote show` display excluded branches as to-be-fetched?
@ 2022-06-10 12:59 Pavel Rappo
  2022-06-10 17:08 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Rappo @ 2022-06-10 12:59 UTC (permalink / raw)
  To: git

Here's a console session:

  % git config --get-all remote.jdk19.fetch
  +refs/heads/*:refs/remotes/jdk19/*
  ^refs/heads/pr/*

  % git remote show jdk19

  * remote jdk19
    Fetch URL: git@github.com:openjdk/jdk19.git
    Push  URL: git@github.com:openjdk/jdk19.git
    HEAD branch: master
    Remote branches:
      master tracked
      pr/1   new (next fetch will store in remotes/jdk19)
      pr/2   new (next fetch will store in remotes/jdk19)
      pr/3   new (next fetch will store in remotes/jdk19)
    Local ref configured for 'git push':
      master pushes to master (fast-forwardable)

I would naively expect the pr/1, pr/2, and pr/3 branches to be either:

- not displayed, or better
- displayed with a hint that they won't be fetched (since they match a
_negative_ refspec, which is the second line in the `git config`
output above)

Thanks,
-Pavel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-25 16:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-10 12:59 Should `git remote show` display excluded branches as to-be-fetched? Pavel Rappo
2022-06-10 17:08 ` Junio C Hamano
2022-06-12  6:36   ` Jacob Keller
2022-06-13 23:20   ` Jacob Keller
2022-06-14  0:34     ` Jacob Keller
2022-06-25 16:06       ` Pavel Rappo

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).