Thread (7 messages) 7 messages, 4 authors, 2016-06-15

Re: What's cooking in git.git (Nov 2008, #06; Wed, 26)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:46

"Nguyen Thai Ngoc Duy" [off-list ref] writes:
On 12/12/08, Johannes Sixt [off-list ref] wrote:
...
quoted
But what if the same persion notices a #define in a kdeutils header file
 and want's to know whether it is unused in order to remove it:

    $ git grep FOO
    kdeutils/foo.h:#define FOO bar
"git grep --cached FOO" ?
That should behave identically when the work tree does not have change
since the index, and by definition paths outside the checkout area in the
"sparse" mode cannot have changes, so "git grep FOO" should behave the
same and should find it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help