aboutsummaryrefslogtreecommitdiff
path: root/ui-diff.c
AgeCommit message (Collapse)Author
2007-06-05ui-diff: emit table/tr/td at better locationsGravatar Lars Hjemli
This fixes a bug which made the diff-link for each parent of a commit output a diff without correct styles. It also adds an error-message if the head commit specified on the querystring isn't a valid commit object. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-31Fixed unexpected tags in html output.Gravatar Ondrej Jirman
At least those that were catched by tidy. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-16Don't die when diffing trees with subprojectsGravatar Lars Hjemli
The subprojects needs special handling, since they refer to objects which normally won't exist in the refering repository. Fix some extended header bugs and missing features while at it. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-16Add support for commitdiff via h parameterGravatar Lars Hjemli
The commitdiff will be generated against the first parent, and the diff page also gets the benefit of repo.defbranch. Cleaned up some bad whitespace in cgit.h while at it. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-15ui-diff: show /dev/null as filename for add/deleteGravatar Lars Hjemli
The diff headers showed an invalid filename when a patch created or deleted a file. Fix it. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-14cgit.css: try to make diffs look a little bit nicerGravatar Lars Hjemli
This makes the diffview look more like 'git-diff' in a terminal. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-13Add commitdiff between commit and each of it's parentGravatar Lars Hjemli
A link is added next to each parent of a commit, leading to the new diff-functionality in ui-diff.c. Also added support for a path-parameter to filelevel diffs accessed via the diffstat. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-13Simplify ui-diff.c using the new file-level diff interfaceGravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-08Update to libgit 1.5.2-rc2Gravatar Lars Hjemli
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-02-21Layout updateGravatar Lars Hjemli
2006-12-20Add basic diff viewGravatar Lars Hjemli
Finally, xdiff is used to show per-file diffs via commit view. Signed-off-by: Lars Hjemli <hjemli@gmail.com>