diff options
author | Linus Torvalds <torvalds@osdl.org> | 2005-11-27 11:32:03 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-28 23:11:38 -0800 |
commit | b3cfd939c330211c9812f814094aa1dbe9531bdc (patch) | |
tree | afa5d0e13f83afecf3b0810eba29eaf3ad3e531e /ident.c | |
parent | 9ef2b3cbf62d15aa0312bde349347873d7c0f399 (diff) | |
download | git-b3cfd939c330211c9812f814094aa1dbe9531bdc.tar.gz git-b3cfd939c330211c9812f814094aa1dbe9531bdc.tar.xz |
bisect: limit the searchspace by pathspecs
It was surprisingly easy to do.
git bisect start <pathspec>
followed by all the normal "git bisect good/bad" stuff.
Almost totally untested, and I guarantee that if your pathnames have
spaces in them (or your GIT_DIR has spaces in it) this won't work. I don't
know how to fix that, my shell programming isn't good enough.
This involves small changes to make "git-rev-list --bisect" work in the
presense of a pathspec limiter, and then truly trivial (and that's the
broken part) changes to make "git bisect" save away and use the pathspec.
I tried one bisection, and a "git bisect visualize", and it all looked
correct. But hey, don't be surprised if it has problems.
Linus
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'ident.c')
0 files changed, 0 insertions, 0 deletions