| Commit message (Expand) | Author | Age | Files | Lines |
| * | Add cgit_diff_link()•••This adds a new function used to generate links to the diff page and uses
it everywhere such links appear (expect for single files in the diffstat
displayed on the commit page: this is now a link to the tree page).
The updated diff-page now expects zero, one or two revision specifiers, in
parameters head, id and id2. Id defaults to head unless otherwise specified,
while head (as usual) defaults to repo.defbranch. If id2 isn't specified, it
defaults to the first parent of id1.
The most important change is of course that now all repo pages (summary, log,
tree, commit and diff) has support for passing on the current branch and
revision, i.e. the road is now open for a 'static' menu with links to all
of these pages.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2007-06-17 | 1 | -33/+31 |
| * | ui-diff: close td/tr/table properly•••The previous commit fixed the diff-view when two trees where specified on
the querystring (sha1/sha2) but made the generated html invalid when only
a commit sha1 is specified. This fixes it.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2007-06-06 | 1 | -0/+2 |
| * | ui-diff: emit table/tr/td at better locations•••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>
| Lars Hjemli | 2007-06-05 | 1 | -9/+7 |
| * | Fixed unexpected tags in html output.•••At least those that were catched by tidy.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Ondrej Jirman | 2007-05-31 | 1 | -4/+5 |
| * | Don't die when diffing trees with subprojects•••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>
| Lars Hjemli | 2007-05-16 | 1 | -19/+43 |
| * | Add support for commitdiff via h parameter•••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>
| Lars Hjemli | 2007-05-16 | 1 | -1/+13 |
| * | ui-diff: show /dev/null as filename for add/delete•••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>
| Lars Hjemli | 2007-05-15 | 1 | -1/+4 |
| * | cgit.css: try to make diffs look a little bit nicer•••This makes the diffview look more like 'git-diff' in a terminal.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2007-05-14 | 1 | -6/+26 |
| * | Add commitdiff between commit and each of it's parent•••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>
| Lars Hjemli | 2007-05-13 | 1 | -4/+41 |
| * | Simplify ui-diff.c using the new file-level diff interface•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2007-05-13 | 1 | -86/+2 |
| * | Update to libgit 1.5.2-rc2•••Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2007-05-08 | 1 | -3/+2 |
| * | Layout update | Lars Hjemli | 2007-02-21 | 1 | -1/+0 |
| * | Add basic diff view•••Finally, xdiff is used to show per-file diffs via commit view.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| Lars Hjemli | 2006-12-20 | 1 | -0/+131 |