<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-patch.c, branch v0.9.1</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/ui-patch.c?h=v0.9.1</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/ui-patch.c?h=v0.9.1'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2012-11-14T23:56:20Z</updated>
<entry>
<title>Format git diff headers correctly when adding or removing files.</title>
<updated>2012-11-14T23:56:20Z</updated>
<author>
<name>Michael Halstead</name>
<email>michael@yoctoproject.org</email>
</author>
<published>2012-11-14T20:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=62a40c78fed772e795eca8d4e7d6f6ead4d9a125'/>
<id>urn:sha1:62a40c78fed772e795eca8d4e7d6f6ead4d9a125</id>
<content type='text'>
Copying the output of cgit and using it in patches now works when adding
files to or removing files from the repository. This is helpful for people
who use cgit in their patch workflow.
</content>
</entry>
<entry>
<title>Add URL parameter 'ignorews' for optionally ignoring whitespace in diffs</title>
<updated>2010-07-18T08:53:48Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-24T15:52:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=2cc8b99f083014c58d8937bfa4dcd2bc47cd7e58'/>
<id>urn:sha1:2cc8b99f083014c58d8937bfa4dcd2bc47cd7e58</id>
<content type='text'>
The new ctx.qry.ignorews variable is passed via cgit_diff_files() and
cgit_diff_tree() to Git's diff machinery. This is equivalent to passing
--ignore-all-space to 'git diff'.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
</content>
</entry>
<entry>
<title>Add URL parameter 'context' for changing the number of context lines in diffs</title>
<updated>2010-06-19T11:00:07Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-10T18:15:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=6180e6169d6e87a3bea7e4da835dca17f93e5cfd'/>
<id>urn:sha1:6180e6169d6e87a3bea7e4da835dca17f93e5cfd</id>
<content type='text'>
The new ctx.qry.context variable is picked up by cgit_print_diff(), and
passed via cgit_diff_files() to Git's diff machinery.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-patch: Apply path limit to generated patch</title>
<updated>2010-06-19T08:40:23Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-09T23:09:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=eac1b675414722ae90df75abc727b2795bc096f0'/>
<id>urn:sha1:eac1b675414722ae90df75abc727b2795bc096f0</id>
<content type='text'>
Also indicate in the comment section of the patch that a path limit was
applied, too easily see when a generated patch is only partial.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Introduce noplainemail option to hide email adresses from spambots</title>
<updated>2009-08-08T12:23:28Z</updated>
<author>
<name>Martin Szulecki</name>
<email>opensuse@sukimashita.com</email>
</author>
<published>2009-08-07T12:05:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=2f56e390f04fe6975b75e512c1436ef173e4aafe'/>
<id>urn:sha1:2f56e390f04fe6975b75e512c1436ef173e4aafe</id>
<content type='text'>
Signed-off-by: Martin Szulecki &lt;opensuse@sukimashita.com&gt;
</content>
</entry>
<entry>
<title>Handle binary files in diffs</title>
<updated>2009-01-31T09:40:40Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-01-31T09:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=c495cf02bac16e459f7c9e1740798646f12c00c5'/>
<id>urn:sha1:c495cf02bac16e459f7c9e1740798646f12c00c5</id>
<content type='text'>
This teaches all diff-related operations (i.e. ui-log, ui-diff and ui-patch)
how to handle binary files.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-patch: whitespace changes in the patch generation code</title>
<updated>2008-12-30T10:16:25Z</updated>
<author>
<name>Tomas Carnecky</name>
<email>tom@dbservice.com</email>
</author>
<published>2008-12-30T10:14:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=03afc5fe1fe70b6e44b60708c89708060e6d5a90'/>
<id>urn:sha1:03afc5fe1fe70b6e44b60708c89708060e6d5a90</id>
<content type='text'>
Add a space between the committer name and email, and remove
superfluous spaces in the date header.

This makes cgit-generated patches match the output from git-format-patch
almost exactly, at least as far as the email headers go.

Signed-off-by: Tomas Carnecky &lt;tom@dbservice.com&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Added `local-time` option to cgitrc</title>
<updated>2008-08-01T20:09:13Z</updated>
<author>
<name>Stefan Naewe</name>
<email>stefan.naewe@atlas-elektronik.com</email>
</author>
<published>2008-08-01T12:54:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=0f0ab148c6d444316af10e6b4c7a60630fed45d3'/>
<id>urn:sha1:0f0ab148c6d444316af10e6b4c7a60630fed45d3</id>
<content type='text'>
When `local-time` is set, commit, tag and patch timestamps will be printed
in the servers timezone. Also, regardless of the value of `local-time`,
these timestamps will now always show the timezone.

Signed-off-by: Stefan Naewe &lt;stefan.naewe@atlas-elektronik.com&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lh/cleanup'</title>
<updated>2008-04-08T19:29:21Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-04-08T19:29:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=23296ad648c0e2a9e3cf40a3de322b10ad25cce3'/>
<id>urn:sha1:23296ad648c0e2a9e3cf40a3de322b10ad25cce3</id>
<content type='text'>
* lh/cleanup: (21 commits)
  Reset ctx.repo to NULL when the config parser is finished
  Move cgit_parse_query() from parsing.c to html.c as http_parse_querystring()
  Move function for configfile parsing into configfile.[ch]
  Add cache.h
  Remove global and obsolete cgit_cmd
  Makefile: copy the QUIET constructs from the Makefile in git.git
  Move cgit_version from shared.c to cgit.c
  Makefile: autobuild dependency rules
  Initial Makefile cleanup
  Move non-generic functions from shared.c to cgit.c
  Add ui-shared.h
  Add separate header-files for each page/view
  Refactor snapshot support
  Add command dispatcher
  Remove obsolete cacheitem parameter to ui-functions
  Add struct cgit_page to cgit_context
  Introduce html.h
  Improve initialization of git directory
  Move cgit_repo into cgit_context
  Add all config variables into struct cgit_context
  ...
</content>
</entry>
<entry>
<title>Add ui-shared.h</title>
<updated>2008-03-24T15:50:57Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-24T15:50:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=a4d1ca1dc6ff8171694d9e2280b6075a1beced0c'/>
<id>urn:sha1:a4d1ca1dc6ff8171694d9e2280b6075a1beced0c</id>
<content type='text'>
This is finally a proper headerfile for the shared ui-functions which
used to reside in cgit.h

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
