]> gitweb.ps.run Git - ps-cgit/commit
Add plain patch view
authorLars Hjemli <hjemli@gmail.com>
Mon, 10 Dec 2007 20:47:29 +0000 (21:47 +0100)
committerLars Hjemli <hjemli@gmail.com>
Tue, 11 Dec 2007 01:43:24 +0000 (02:43 +0100)
commit620bb3e5e4ff87da740fe7232ba74330b5f862d4
tree152cc090cfc56c387393f6aa6666b9d87ad4a23a
parentafcdd083dab81afef744e261d81a452698188c30
Add plain patch view

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>
Makefile
cgit.c
cgit.h
shared.c
ui-patch.c [new file with mode: 0644]
ui-shared.c