# git pickaxe - more confusion

2 messages from 2007-04-17 to 2007-04-17. Participants: Martin Langhoff.
Thread: https://gitlist.dev/t/7721

## Martin Langhoff, 2007-04-17 23:31

Subject: git pickaxe - more confusion
Message-ID: <46a038f90704171631k3f8acb5aoc4337ab8a8639aaf@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90704171631k3f8acb5aoc4337ab8a8639aaf%40mail.gmail.com

```
Call me blunt, I cannot figure out how to use git pickaxe on a subdir.
As it's aliased to blame it really wants a file, but I have a couple
of top-level directories I want it to scan for a constant.

In short,

     git pickaxe -L '/CURLOPT_SSL/' origin/cvshead -- mnet lib/mnet

doesn't want to play with me. I initially tried with -S but the new
way of doing it is -L, it seems -- passing the regex where the line
numbers should be ;-)

cheers,



martin

```

## Martin Langhoff, 2007-04-17 23:42

Subject: Re: git pickaxe - more confusion
Message-ID: <46a038f90704171642h2c6ce7e1hdcc33443656bd8d7@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90704171642h2c6ce7e1hdcc33443656bd8d7%40mail.gmail.com
In-Reply-To: <46a038f90704171631k3f8acb5aoc4337ab8a8639aaf@mail.gmail.com>

```
On 4/18/07, Martin Langhoff <martin.langhoff@gmail.com> wrote:
> In short,
>
>      git pickaxe -L '/CURLOPT_SSL/' origin/cvshead -- mnet lib/mnet
>
> doesn't want to play with me. I initially tried with -S but the new

And I was trying the new pickaxe because oldstyle git-whatchanged was
messing up with my head because the space after the -S parameter is
not valid syntax.

Doesn't work:
        git whatchanged -p -S 'CURLOPT_' cvshead -- mnet lib/mnet

Works:
        git whatchanged -p -S'CURLOPT_' cvshead -- mnet lib/mnet

So -- I'm sorted with this but it's not actually described anywhere I
can see :-/ -- I only realised that reading Linus' old posts showing
off pickaxe there was no space after the -S and gave it a go.

Weird semantics!


martin

```
