| Age | Commit message (Collapse) | Author |
|
The ref pickers can only select the exact ref that is shown.
Add an offset input next to each picker (idoff and id2off), whose
value is the number of commits to step back, so any ancestor of a
branch or tag can be compared without typing a rev into the url by
hand. An apply button submits the values typed there, since text
inputs cannot be auto-submitted on their own; the flip link swaps
the offsets along with the refs, and the file-level links carry
them through.
By default both offsets are empty, meaning the selected refs
themselves. An empty ref submitted from the form is likewise
treated as no ref instead of triggering a bad object name error.
|
|
The from and to refs of a diff can only be swapped by editing the
url by hand. Add a flip link to the refs panel that opens the same
diff with the refs swapped, carrying the current head and options.
|
|
The diff controls panel mixed the from/to ref pickers with the
rendering options (context, space, mode). Split it into two panels,
stacked vertically: one for the refs and one for the other options,
so each groups related controls.
|
|
Beforehand the choice between two refs in diff could not be changed from
web ui (only via url query), and by default it was current and previous
commit. Now it is doable with dropdown menus.
|
|
This allows tests to run in parallel as well as letting us use "prove"
or another TAP harness to run the tests.
Git's test framework requires Git to be fully built before letting any
tests run, so add a new target to the top-level Makefile which builds
all of Git instead of just libgit.a and make the "test" target depend on
that.
Signed-off-by: John Keeping <john@keeping.me.uk>
|
|
The "-e" option to grep is not needed unless specifying more than one
pattern, which we don't do. Remove it to avoid restricting the tests on
platforms that do not have a grep that recognises "-e".
Signed-off-by: John Keeping <john@keeping.me.uk>
|
|
This creates a simple testsuite, heavily inspired by the testsuite in git.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|