| Commit message (Expand) | Author |
2018-12-09 | git: update to v2.20.0 | Christian Hesse |
2018-11-25 | ui-blame: set repo for sb | Jason A. Donenfeld |
2018-11-25 | auth-filter: pass url with query string attached | Jason A. Donenfeld |
2018-11-21 | git: use xz compressed archive for download | Christian Hesse |
2018-10-12 | git: update to v2.19.1 | Christian Hesse |
2018-09-11 | ui-ssdiff: ban strcat() | Christian Hesse |
2018-09-11 | ui-ssdiff: ban strncpy() | Christian Hesse |
2018-09-11 | ui-shared: ban strcat() | Christian Hesse |
2018-09-11 | ui-patch: ban sprintf() | Christian Hesse |
2018-09-11 | ui-log: ban strncpy() | Christian Hesse |
2018-09-11 | ui-log: ban strcpy() | Christian Hesse |
2018-09-11 | parsing: ban sprintf() | Christian Hesse |
2018-09-11 | parsing: ban strncpy() | Christian Hesse |
2018-08-28 | filters: generate anchor links from markdown | Christian Hesse |
2018-08-03 | Bump version. | Jason A. Donenfeld |
2018-08-03 | clone: fix directory traversal | Jason A. Donenfeld |
2018-08-03 | config: record repo.snapshot-prefix in the per-repo config | Konstantin Ryabitsev123456': unknown revision or path not in the
> working tree., referer:
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
> [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] Use '--' to
> separate paths from revisions, like this:, referer:
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
> [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] 'git <command>
> [<revision>...] -- [<file>...]', referer:
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
> [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] Premature end
> of script headers: cgit, referer:
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
The cache will kick in, so if you search for the same string again,
it'll show an empty range, so you have to change the bogus strings each
time.
This is because we just pass the arguments straight to Git's revision
parsing machinery which die()s if it cannot parse an argument, printing
the above to stderr and exiting.
The patch below makes it a bit friendlier by just ignoring unhandled
arguments, but I can't see an easy way to report errors when we can't
parse revision arguments without losing the flexibility of supporting
all of the revision specifiers supported by Git.
Reported-by: Konstantin Ryabitsev <mricon@kernel.org>
|
|
prefixcmp() and suffixcmp() have been remove, functionality is now
provided by starts_with() and ends_with(). Retrurn values have been
changed, so instead of just renaming we have to fix logic.
Everything else looks just fine.
|
|
|
|
Everything works just bumping the version in Makefile and commit hash in
submodule. No code changes required.
|
|
For example, if I have two repos (remove-suffix is enabled):
/foo
/foo/bar
http://cgit/foo/bar/ is interpreted as "repository 'foo', command 'bar'"
instead of "repository 'foo/bar'"
|
|
|