Re: [PATCH v9a 3/5] Implement line-history search (git log -L)

2013-03-23 Thread Antoine Pelisse
> You should probably add some failing tests I guess it should be "failure" tests, not failing tests. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v9a 3/5] Implement line-history search (git log -L)

2013-03-23 Thread Antoine Pelisse
> diff --git a/t/t4211-line-log.sh b/t/t4211-line-log.sh > new file mode 100755 > index 000..286390d > --- /dev/null > +++ b/t/t4211-line-log.sh > @@ -0,0 +1,38 @@ > +#!/bin/sh > + > +test_description='test log -L' > +. ./test-lib.sh > + > +test_expect_success 'setup (import history)' ' > +

[PATCH v9a 3/5] Implement line-history search (git log -L)

2013-03-22 Thread Thomas Rast
This is a rewrite of much of Bo's work, mainly in an effort to split it into smaller, easier to understand routines. The algorithm is built around the struct range_set, which encodes a series of line ranges as intervals [a,b). This is used in two contexts: * A set of lines we are tracking (which