]> git.ipfire.org Git - thirdparty/git.git/commit - diffcore-pathspec.c
[PATCH] Use pathspec array correctly
authorJunio C Hamano <junkio@cox.net>
Wed, 25 May 2005 06:35:38 +0000 (23:35 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 25 May 2005 16:12:12 +0000 (09:12 -0700)
commitf4d89f26cec4e2de3abde7fb2ab3aed8840d5435
tree95f29bec135aaea5f56630d9ab184129e31d38f5
parentea84480f01406a0779d2932bb53f35f366ca0e6c
[PATCH] Use pathspec array correctly

Oh, I am an idiot.  Repeating the same check against the first
element of pathspec array as many times as the pathspec array
has elements in it would not do us any good.

This patch allows you to specify more than one pathspec to
diff-tree family and have them actually used.

Signed-off-by: Junio C Hamano <junkio@cox.net>
;)
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diffcore-pathspec.c