Re: Something wrong with pickaxe?
- From
Andreas Ericsson <ae@op5.se>
- Date
- Jan 19, 2006, 09:12 UTC
- Message-ID
- <43CF5816.1010004@op5.se>
- In-Reply-To
- <7v3bjlt66q.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 10 quoted lines
> Linus Torvalds <torvalds@osdl.org> writes: > >>... Junio would be open to >>more friendly pickaxe semantics if the suggested semantics change was >>accompanied by an actual diff to implement them. > > > True again. It is hard to be "more friendly" without actually > generating a diff ;-). >
I thought generating diffs was fairly cheap. I agree with Linus somewhat though. I've been puzzled more than once with the pickaxe behaviour when I give it a function name to search for and want to know when the calling semantics changed for that function. I usually also end up doing a whatchanged -p and search it.
It would be neat if the current behaviour could be kept with --pickaxe-exact but all commits containing changes to lines matching the string was returned by default. Or possibly --pickaxe-thourough to do the other way around.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231