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

Re: [PATCH] git-svn: Allow certain refs to be ignored

From
Michael Olson <mwolson@gnu.org>
Date
Oct 7, 2011, 23:33 UTC
Message-ID
<CAN4ruPgRed=dK8PuHCvKRBVvpSK5iDYmprZ1p_Yu8Kqyvu8sfg@mail.gmail.com>
In-Reply-To
<7vvcs0s7xa.fsf@alter.siamese.dyndns.org>
On Fri, Oct 7, 2011 at 4:23 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> Asking Eric to comment when he has time to do so.
>
> I find these pattern matches that are not anchored on either side
> somewhat disturbing (e.g. --ignore-refs=master would ignore master2)
> but ignore-paths codepath seems to follow the same pattern, so perhaps it
> is in line with what git-svn users want. I dunno.

My own personal use of this takes a list of patterns, concatenates them into one giant pattern, adds '^', '$', and writes it out to .gitconfig. So I don't really have a preference, other than to make both options consistent.

-- 
Michael Olson  |  http://mwolson.org/
Previous: Junio C HamanoNext: Eric Wong
Message 3 of 5 in “git-svn: Allow certain refs to be ignored”
  1. git-svn: Allow certain refs to be ignoredMichael Olson, Oct 7, 2011
  2. Junio C HamanoOct 7, 2011
  3. Michael OlsonOct 7, 2011
  4. Eric WongOct 10, 2011
  5. Piotr KrukowieckiOct 14, 2011

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.