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

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

From
EWEric Wong <normalperson@yhbt.net>
Date
Jan 26, 2009, 01:18 UTC
Message-ID
<20090126011847.GA8703@dcvr.yhbt.net>
In-Reply-To
<497CEC56.3020900@tut.by>
public_vi <public_vi@tut.by> wrote:
Show 20 quoted lines
> Eric Wong wrote:
>> Thomas Rast <trast@student.ethz.ch> wrote:
>>   
>>
>> Also, indentation is always done with tabs in git-svn (and the vast
>> majority of git as well).
>>
>>   
> Whitespace is invisible for me now, I only checked according to  
> Documentation/SubmittingPatches about extra lines adds or removes caused  
> just by whitespace difference.
>>
>>
>> Vitaly: thank you for the patch.  Can you also provide a testcase to
>> ensure this functionality doesn't break during refactorings?  Thanks.
>>
>>   
> Already done it with testcase. There are two new packs of patches sent  
> to git@vger.kernel.org, the first is outdated too, the second is current.
> (I don't yet completely know how things should be done).

Thanks Vitaly, acked and pushed out with minor fixes to git://git.bogomips.org/git-svn.git

git-svn: Add test for --ignore-paths parameter
    [ew: replaced 'echo -e' with printf so it works on POSIX shells]
    [ew: added Vitaly to copyright even though it's based on my test]
git-svn: documented --ignore-paths
    [ew: trailing whitespace removed]
git-svn: add --ignore-paths option for fetching
    [ew: replaced 4-space indent with tabs]
    [ew: prefixed $ignore_regex with an underscore to be consistent
         with other globals in git-svn]
    [ew: rearranged functions to minimize diff and removed prototype
         usage to be consistent with the rest of git-svn (and other
         Perl code in git (and they're ugly to me)]
-- 
Eric Wong
Previous: public_viNext: Junio C Hamano
Message 6 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.