Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-30 Thread Florian Achleitner
Sorry for reacting so late, I didn't read the list carefully in the last weeks and my gmail filter somehow didn't trigger on that. On Tuesday 02 October 2012 16:20:22 Junio C Hamano wrote: * fa/remote-svn (2012-09-19) 16 commits - Add a test script for remote-svn - remote-svn: add

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-05 Thread Andreas Schwab
Junio C Hamano gits...@pobox.com writes: When we require x/**/y, I think we still want it to match x/y. FWIW, in bash (+extglob), ksh and zsh it doesn't. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-05 Thread Matthieu Moy
Andreas Schwab sch...@linux-m68k.org writes: Junio C Hamano gits...@pobox.com writes: When we require x/**/y, I think we still want it to match x/y. FWIW, in bash (+extglob), ksh and zsh it doesn't. You're right about bash, but I see the opposite for zsh and ksh: zsh$ echo x/**/y x/y x/z/y

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-05 Thread Nguyen Thai Ngoc Duy
On Thu, Oct 04, 2012 at 09:39:02AM -0700, Junio C Hamano wrote: Assuming that we do want to match x/y with x/**/y, I suspect that '**' matches anything including a slash would not give us that semantics. Is it something we can easily fix in the wildmatch code? Something like this may suffice.

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-05 Thread Andreas Schwab
Matthieu Moy matthieu@grenoble-inp.fr writes: Andreas Schwab sch...@linux-m68k.org writes: Junio C Hamano gits...@pobox.com writes: When we require x/**/y, I think we still want it to match x/y. FWIW, in bash (+extglob), ksh and zsh it doesn't. You're right about bash, but I see the

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-04 Thread David Michael Barr
On Wednesday, 3 October 2012 at 9:20 AM, Junio C Hamano wrote: * fa/remote-svn (2012-09-19) 16 commits - Add a test script for remote-svn - remote-svn: add marks-file regeneration - Add a svnrdump-simulator replaying a dump file for testing - remote-svn: add incremental import -

Re: fa/remote-svn (Re: What's cooking in git.git (Oct 2012, #01; Tue, 2))

2012-10-04 Thread Jonathan Nieder
David Michael Barr wrote: On Wednesday, 3 October 2012 at 9:20 AM, Junio C Hamano wrote: * fa/remote-svn (2012-09-19) 16 commits - Add a test script for remote-svn - remote-svn: add marks-file regeneration - Add a svnrdump-simulator replaying a dump file for testing - remote-svn: add

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-04 Thread Michael Haggerty
On 10/03/2012 08:17 PM, Junio C Hamano wrote: Nguyen Thai Ngoc Duy pclo...@gmail.com writes: There's an interesting case: **foo. According to our rules, that pattern does not contain slashes therefore is basename match. But some might find that confusing because ** can match slashes,...

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-04 Thread Nguyen Thai Ngoc Duy
On Thu, Oct 4, 2012 at 4:34 PM, Michael Haggerty mhag...@alum.mit.edu wrote: On Thu, Oct 4, 2012 at 4:34 PM, Michael Haggerty mhag...@alum.mit.edu wrote: Given that there is no obvious interpretation for what a construct like x**y would mean, and many plausible guesses (most of which sound

Re: fa/remote-svn (Re: What's cooking in git.git (Oct 2012, #01; Tue, 2))

2012-10-04 Thread Stephen Bash
- Original Message - From: Jonathan Nieder jrnie...@gmail.com Sent: Thursday, October 4, 2012 4:30:01 AM Subject: Re: fa/remote-svn (Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)) * fa/remote-svn (2012-09-19) 16 commits - Add a test script for remote-svn - remote

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-04 Thread Junio C Hamano
David Michael Barr b...@rr-dav.id.au writes: On Wednesday, 3 October 2012 at 9:20 AM, Junio C Hamano wrote: * fa/remote-svn (2012-09-19) 16 commits ... A GSoC project. Waiting for comments from mentors and stakeholders. I have reviewed this topic and am happy with the design and

Re: fa/remote-svn (Re: What's cooking in git.git (Oct 2012, #01; Tue, 2))

2012-10-04 Thread Junio C Hamano
Stephen Bash b...@genarts.com writes: I seemed to have missed the GSoC wrap up conversation... (links happily accepted). I also seem to have missed such conversation, if anything like that happened. It certainly would have been nice for the mentors and the student for each project to give us

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-04 Thread Junio C Hamano
Michael Haggerty mhag...@alum.mit.edu writes: On 10/03/2012 08:17 PM, Junio C Hamano wrote: What is the semantics of ** in the first place? Is it described to a reasonable level of detail in the documentation updates? For example does **foo match afoo, a/b/foo, a/bfoo, a/foo/b, a/bfoo/c?

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-03 Thread Junio C Hamano
Nguyen Thai Ngoc Duy pclo...@gmail.com writes: There's an interesting case: **foo. According to our rules, that pattern does not contain slashes therefore is basename match. But some might find that confusing because ** can match slashes,... By our rules, if you mean if a pattern has slash,

Re: What's cooking in git.git (Oct 2012, #01; Tue, 2)

2012-10-03 Thread Nguyen Thai Ngoc Duy
On Thu, Oct 4, 2012 at 1:17 AM, Junio C Hamano gits...@pobox.com wrote: For the double-star at the beginning, you should just turn it into **/ if it is not followed by a slash internally, I think. What is the semantics of ** in the first place? Is it described to a reasonable level of detail