aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | parsing.c: enable builds with NO_ICONV definedGravatar Lars Hjemli2008-12-06-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| | * | ui-repolist: avoid build warning for strcasestr(3)Gravatar Lars Hjemli2008-12-06-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-standard function strcasestr is only defined if _GNU_SOURCE has also been defined. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| | * | Makefile: allow cgit.conf to override platform-specific tweaksGravatar Lars Hjemli2008-12-06-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the makefile doesn't automatically define the correct build variables it is nice to be able to define them explicitly. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| | * | Extra cygwin-specific changesGravatar Ramsay Jones2008-12-04-6/+23
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | | ui-log: try to disambiguate ref namesGravatar Lars Hjemli2008-12-04-2/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'h' querystring parameter in cgit is normally used to specify a branch (i.e. a ref below refs/heads/), but if a repository contains a tag with the same name as a branch the output from ui-log would use the tag as start-revision. This patch tries to fix the issue by checking if the specified ref is valid as a branch name; if so, the full refname is used in the call to setup_revisions(). Noticed-by: Takamori Yamaguchi <akschar@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | | Merge branch 'stable'Gravatar Lars Hjemli2008-11-14-1/+2
|\ \ \ | |/ /
| * | ui-repolist: handle empty agefilesGravatar Lars Hjemli2008-11-14-1/+2
| | | | | | | | | | | | | | | | | | | | | When the agefile was empty the old code would happily reuse the static buffer filled by a previous call to read_agefile(). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | | Merge branch 'stable'Gravatar Lars Hjemli2008-11-07-2/+2
|\ \ \ | |/ /
| * | Use mode 0644 for non-executable filesGravatar Karl Chen2008-11-07-2/+2
| | | | | | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | | Merge branch 'stable'Gravatar Lars Hjemli2008-11-07-6/+8
|\ \ \ |