about summary refs log tree commit diff
path: root/ui-patch.c (follow)
Commit message (Expand)AuthorAge
* ui-patch: ban sprintf()Christian Hesse2018-09-11
* cache: flush stdio before restoring FDsJohn Keeping2017-10-03
* git: update to v2.14Jeff Smith2017-08-10
* ui-patch: fix crash when using path limitLukas Fleischer2017-01-23
* patch: reapply path limitJohn Keeping2016-10-12
* ui-patch: replace 'unsigned char sha1[20]' with 'struct object_id oid'Christian Hesse2016-10-04
* git: update to v2.7.0Christian Hesse2016-01-13
* patch: use cgit_print_error_page() for HTTP status codesJohn Keeping2015-08-14
* ui-patch: make sure to send http headersChristian Hesse2015-08-14
* ui-patch: match git-format-patch(1) outputJohn Keeping2014-12-28
* ui-patch: Flush stdout after outputting dataJohn Keeping2014-06-28
* Switch to exclusively using global ctxLukas Fleischer2014-01-17
* Update copyright informationLukas Fleischer2014-01-08
* ui-patch.c: Add additional newline after each patchLukas Fleischer2013-08-26
* ui-patch.c: Fix signature delimiterLukas Fleischer2013-08-26
* ui-patch.c: Fix formatting for merge commitsLukas Fleischer2013-08-22
* ui-patch: Rename variablesLukas Fleischer2013-08-20
* Allow for creating patch seriesLukas Fleischer2013-08-20
* ui-patch.c: Use log_tree_commit() to generate diffsLukas Fleischer2013-08-20
* Extract filepair_cb from ui-patch.cLukas Fleischer2013-08-16
* Convert cgit_print_error to a variadic functionJohn Keeping2013-04-08
* Always #include corresponding .h in .c filesJohn Keeping2013-04-08
* ui-patch: use cgit_version not CGIT_VERSIONJohn Keeping2013-03-20
* Format git diff headers correctly when adding or removing files.Michael Halstead2012-11-15
* Add URL parameter 'ignorews' for optionally ignoring whitespace in diffsJohan Herland2010-07-18
* Add URL parameter 'context' for changing the number of context lines in diffsJohan Herland2010-06-19
* ui-patch: Apply path limit to generated patchJohan Herland2010-06-19
* Introduce noplainemail option to hide email adresses from spambotsMartin Szulecki2009-08-08
* Handle binary files in diffsLars Hjemli2009-01-31
* ui-patch: whitespace changes in the patch generation codeTomas Carnecky2008-12-30
* Added `local-time` option to cgitrcStefan Naewe2008-08-01
* Merge branch 'lh/cleanup'Lars Hjemli2008-04-08
|\
| * Add ui-shared.hLars Hjemli2008-03-24
| * Remove obsolete cacheitem parameter to ui-functionsLars Hjemli2008-03-24
| * Add struct cgit_page to cgit_contextLars Hjemli2008-03-24
| * Introduce html.hLars Hjemli2008-03-18
| * Introduce struct cgit_contextLars Hjemli2008-02-16
* | Fix segfault in patch view for root commitLars Hjemli2008-03-17
|/
* Check for NULL-subject in patch viewLars Hjemli2008-01-10
* Add plain patch viewLars Hjemli2007-12-11
entsJohn Keeping If you search for a bogus range string here: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/ Using something like "range" and "qwerty123456", it returns an "Internal Server Error" and the following in the logs: > [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] fatal: > ambiguous argument 'qwerty123456': 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> 2014-06-28git: update for git 2.0Christian Hesse 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. 2014-04-17remove trailing whitespaces from source filesChristian Hesse 2014-04-12git: update to 1.9.2Christian Hesse Everything works just bumping the version in Makefile and commit hash in submodule. No code changes required. 2014-04-05Fix cgit_parse_url when a repo url is contained in another repo urlJulian Maurice 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'" 2014-03-20Makefile: use more reliable git tarball mirrorJason A. Donenfeld 2014-03-20git: update to 1.9.1Christian Hesse