aboutsummaryrefslogtreecommitdiff
path: root/git-remote-testgit.py
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2011-10-06 18:50:06 +0200
committerJunio C Hamano <gitster@pobox.com>2011-10-07 15:46:13 -0700
commit5d176fb6b6a22f19f7a15fc344dfb08af1e29ed7 (patch)
tree3d8ff7042434d0131c9d73545d772b85eca1c9de /git-remote-testgit.py
parent15dafaf80dda8e90114ae178569b9600ebd07109 (diff)
downloadgit-5d176fb6b6a22f19f7a15fc344dfb08af1e29ed7.tar.gz
git-5d176fb6b6a22f19f7a15fc344dfb08af1e29ed7.tar.xz
pickaxe: pass diff_options to contains and has_changes
Remove the unused parameter needle from contains() and has_changes(). Also replace the parameter len with a pointer to the diff_options. We can use its member pickaxe to check if the needle is an empty string and use the kwsmatch structure to find out the length of the match instead. This change is done as a preparation to unify the signatures of has_changes() and diff_grep(), which will be used in the patch after the next one to factor out common code. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-remote-testgit.py')
0 files changed, 0 insertions, 0 deletions