aboutsummaryrefslogtreecommitdiffstats
path: root/ui-patch.c
Commit message (Collapse)AuthorAgeLines
* Introduce struct cgit_contextGravatar Lars Hjemli2008-02-16-1/+1
| | | | | | | | | This struct will hold all the cgit runtime information currently found in a multitude of global variables. The first cleanup removes all querystring-related variables. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Check for NULL-subject in patch viewGravatar Lars Hjemli2008-01-10-1/+6
| | | | | | While at it, make sure the commit message ends with a '\n'. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add plain patch viewGravatar Lars Hjemli2007-12-11-0/+105
The new view mimics the output from `git format-patch`, making it possible to cherry-pick directly from cgit with something like `curl $url | git am`. Inspired by a patch to `git-apply` by Mike Hommey: http://thread.gmane.org/gmane.comp.version-control.git/67611/focus=67610 Signed-off-by: Lars Hjemli <hjemli@gmail.com>