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

Re: [PATCH] git-svn: add --ignore-paths option for fetching

From
public_vi <public_vi@tut.by>
Date
Jan 25, 2009, 16:29 UTC
Message-ID
<497C9354.5050902@tut.by>
In-Reply-To
<200901251521.15591.trast@student.ethz.ch>

It is useful for me, but I think I can be useful for others too. May be it's better to make in inclusive, i.e. "--only-matching=<regex>"?

> This would be a good place to explain why this is useful, and (if
> applicable) why you chose to implement it the way you did.
>   
OK, fixing them.
Show 13 quoted lines
> You put the --ignore-paths explanation in the middle of the
> --localtime documentation (the last paragraph quoted still talks about
> --localtime).
>   
> This is the first function in git-svn.perl using camelCase.  Consider
> sticking to the current style and spelling it is_path_ignored().
>
> You broke the symmetry here, while all other hunks just add an
> equivalent check to the existing in_dot_git().
>
> However, the latter makes me wonder if it would be cleaner to move the
> in_dot_git() test to isPathIgnored (er, is_path_ignored) too?
>   
Previous: Thomas RastNext: Eric Wong
Message 3 of 7 in “git-svn: add --ignore-paths option for fetching”
  1. git-svn: add --ignore-paths option for fetchingVitaly "_Vi" Shukela, Jan 25, 2009
  2. Thomas RastJan 25, 2009
  3. public_viJan 25, 2009
  4. Eric WongJan 25, 2009
  5. public_viJan 25, 2009
  6. Eric WongJan 26, 2009
  7. Junio C HamanoJan 26, 2009

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.