Re: [PATCH 0/6] Introduce pathspec struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/9/28 Junio C Hamano <gitster@xxxxxxxxx>:
> Just a couple of quick notes.
>
>  - I had to eject Bo's "log -L range path" series in order to push this
>   out on 'pu' as the range stuff adds new callsites to the old pathspec
>   API.
>
>   This is tentative and does not mean Bo's series is getting rejected;
>   I'd want to get its command line parsing around the pathnames fixed
>   anyway but I suspect the affected codepath would overlap between the
>   two series.  Help is appreciated.

Ah, it is not very astonished to see this series put into 'pu' since I
am not active these days. :)

Hmm, let me make a summary about the requirement for the pathname
command line options:
1. The syntax now 'git log <rev> -L l:m path1 -L l:m path2' got clash
with current git command line style 'git subcommand dash-option <rev>
path'. Since we support multiple paths with multiple ranges, I think
the best way to comply with git command line style is to change it to
'git log -L l:m path1 -L l:m path2 <rev>'.

2. The way I parse the command line should make a little change, that
in '-L' in callback to parse both range and path arguments.

That's it?

-- 
Regards!
Bo
----------------------------
My blog: http://blog.morebits.org
Why Git: http://www.whygitisbetterthanx.com/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]