]>
git.cameronkatri.com Git - cgit.git/log
Lars Hjemli [Fri, 4 Jan 2008 12:43:40 +0000 (13:43 +0100)]
Handle missing default branch and error out on invalid branch names
When no branch is specified and the repository does not have a default branch,
use the first branch.
Also, print sensible errormessages when the repository does not contain any
branches and when invalid branchnames are specified.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 10 Dec 2007 20:47:29 +0000 (21:47 +0100)]
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>
Lars Hjemli [Mon, 3 Dec 2007 00:49:38 +0000 (01:49 +0100)]
Add support for automatic and custom clone urls
This adds support for two new parameters to cgitrc: clone-prefix and
repo.clone-url.
If clone-prefix is specified, all repos will get a clone url printed in the
sidebar; the url is generated by clone-prefix + repo.url.
Additionally, each repo can specify repo.clone-url which will override any
such auto-generated url.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 2 Dec 2007 23:39:20 +0000 (00:39 +0100)]
Compare string lengths when parsing the snapshot mask
We used to rely on the result from strncmp() without comparing the length of
the strings involved. Even worse, any single-character format specifier would
enable zip-format due to the optional '.'-prefix since the length of the
mask then would become zero.
Noticed-by: Evan Martin <sys@neugierig.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Evan Martin [Sun, 2 Dec 2007 22:39:30 +0000 (14:39 -0800)]
Default repo description to "[no description]"
Otherwise, when you leave out a description for a repository, the NULL
default causes cgit to print out titles like "cgit - (null)".
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 2 Dec 2007 21:28:37 +0000 (22:28 +0100)]
Merge branch 'stable'
* stable:
Handle missing timestamp in commit/tag objects
Set commit date on snapshot contents
Lars Hjemli [Sun, 2 Dec 2007 21:11:35 +0000 (22:11 +0100)]
Handle missing timestamp in commit/tag objects
When a commit or tag lacks author/committer/tagger timestamp, do not skip
the next line in the commit/tag object.
Also, do not bother to print timestamps with value 0 as it is close to certain
to be bogus.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Fri, 16 Nov 2007 09:28:29 +0000 (10:28 +0100)]
Add cell-spacing in html
There are some browsers which don't support the border-spacing property
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Fri, 16 Nov 2007 08:52:03 +0000 (09:52 +0100)]
Use tables for page layout
It feels like the Right Thing, and it fixes some rendering problems in a
much used webbrowser.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Fri, 16 Nov 2007 08:51:35 +0000 (09:51 +0100)]
Gimp my logo
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 11 Nov 2007 20:57:21 +0000 (21:57 +0100)]
Add support for "robots" meta-tag
With this change, cgit will start to generate the "robots" meta-tag, using
a default value of "index, nofollow".
The default value can be modified with a new cgitrc variable, "robots".
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 11 Nov 2007 12:44:39 +0000 (13:44 +0100)]
Generate valid html for "downloads" menu header
Noticed-by: http://validator.w3.org
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 11 Nov 2007 12:17:13 +0000 (13:17 +0100)]
Merge branch 'lh/testsuite'
* lh/testsuite:
Set commit date on snapshot contents
Fix html error detected by test-suite
Create initial testsuite
Lars Hjemli [Sun, 11 Nov 2007 12:14:15 +0000 (13:14 +0100)]
Set commit date on snapshot contents
The testsuite revealed that cgit snapshots don't set any useful timestamp on
the files contained in the snapshot.
Cherry-picked-from:
2ff33a8a0405b420cd75e0e207c7efeecd6f130b
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 11 Nov 2007 12:14:15 +0000 (13:14 +0100)]
Set commit date on snapshot contents
The testsuite revealed that cgit snapshots don't set any useful timestamp on
the files contained in the snapshot.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 11 Nov 2007 12:04:28 +0000 (13:04 +0100)]
Fix html error detected by test-suite
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 10 Nov 2007 23:40:58 +0000 (00:40 +0100)]
Create initial testsuite
This creates a simple testsuite, heavily inspired by the testsuite in git.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Fri, 9 Nov 2007 12:52:48 +0000 (13:52 +0100)]
Merge branch 'stable'
* stable:
CGIT 0.7.1
Makefile install: include cgit.png, do not empty cache
Conflicts:
Makefile
Lars Hjemli [Fri, 9 Nov 2007 12:51:00 +0000 (13:51 +0100)]
CGIT 0.7.1
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Fri, 9 Nov 2007 12:47:58 +0000 (13:47 +0100)]
Makefile install: include cgit.png, do not empty cache
The cache-cleaning is potentially dangerous, so lets move it away from the
install target. A special emptycache target can be used to run the rm -rf.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Fri, 9 Nov 2007 12:19:56 +0000 (13:19 +0100)]
Minor css tweaks
Don't specify border and background color for input controls, reduce font-
size of heading in sidebar.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Thu, 8 Nov 2007 11:22:39 +0000 (12:22 +0100)]
Merge branch 'stable'
* stable:
Support "/" as virtual-root
Lars Hjemli [Thu, 8 Nov 2007 11:20:05 +0000 (12:20 +0100)]
Support "/" as virtual-root
When the virtual-root was a single "/", it would be normalized to NULL due
to removal of trailing slashes, which in turn would fool us to belive that
we shouldn't generate virtual urls.
This makes the "/" normalize to "", effectively allowing virtual urls like
http://example.com/projectname to be generated without specifying the
full domain name as the virtual root.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Tue, 6 Nov 2007 08:35:07 +0000 (09:35 +0100)]
Makefile: link with libiconv if NEEDS_LIBICONV is defined
This seems to be needed to compile on cygwin.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 5 Nov 2007 23:38:18 +0000 (00:38 +0100)]
Merge branch 'iconv-rebased' of http://x2a.org/pub/git/cgit
* 'iconv-rebased' of http://x2a.org/pub/git/cgit:
Use utf8::reencode_string from git
Convert subject and message with iconv_msg.
Add iconv_msg function.
Set msg_encoding according to the header.
Add commit->msg_encoding, allocate msg dynamicly.
Lars Hjemli [Mon, 5 Nov 2007 23:35:12 +0000 (00:35 +0100)]
Show lines changed as -n/+m in shortlogs
This is way more informative than the total number of changed lines.
Suggested-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 5 Nov 2007 21:27:43 +0000 (22:27 +0100)]
Use utf8::reencode_string from git
This replaces the iconv-support in cgit with similar functions already
existing in git.
Signed-off-by: Lars Hjemli <hjemli@gmai.com>
Jonathan Bastien-Filiatrault [Fri, 26 Oct 2007 22:13:41 +0000 (18:13 -0400)]
Convert subject and message with iconv_msg.
Jonathan Bastien-Filiatrault [Fri, 26 Oct 2007 22:11:26 +0000 (18:11 -0400)]
Add iconv_msg function.
Jonathan Bastien-Filiatrault [Fri, 26 Oct 2007 22:10:26 +0000 (18:10 -0400)]
Set msg_encoding according to the header.
Jonathan Bastien-Filiatrault [Fri, 26 Oct 2007 22:09:06 +0000 (18:09 -0400)]
Add commit->msg_encoding, allocate msg dynamicly.
Lars Hjemli [Sat, 3 Nov 2007 13:17:58 +0000 (14:17 +0100)]
Don't show the the branch selector button if javascript is enabled
Suggested-by: Olivier Ramonat <olivier@ramonat.fr>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 3 Nov 2007 13:05:12 +0000 (14:05 +0100)]
Do not require javascript-enabled clients
A simple submit-button is all that's required to make the branch selector
drop-down work on any client, so lets add one.
Noticed-by: Olivier Ramonat <olivier@ramonat.fr>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 3 Nov 2007 10:35:55 +0000 (11:35 +0100)]
CGIT 0.7
Lars Hjemli [Sat, 3 Nov 2007 10:33:54 +0000 (11:33 +0100)]
Use GIT-1.5.3.5
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 3 Nov 2007 10:33:28 +0000 (11:33 +0100)]
Don't include current SHA1 in 'log' menu-item
This ensures that the menu-item always prints the log for the active branch.
Predictability is good.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 3 Nov 2007 10:23:47 +0000 (11:23 +0100)]
Don't include current path in menu links
The menu-links are a lot more predictable this way.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 3 Nov 2007 10:15:56 +0000 (11:15 +0100)]
Fix search form action/hidden fields
The search form didn't properly honor the current path, so this commit
fixes cgit_fileurl() and add_hidden_formfields() to make the issue go
away.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 3 Nov 2007 09:42:37 +0000 (10:42 +0100)]
Add search parameters to cgit_log_link
This makes the [prev] and [next] links work correctly on search results.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Shunichi Fuji [Sat, 3 Nov 2007 08:36:09 +0000 (09:36 +0100)]
Fix typo in css
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Tue, 30 Oct 2007 09:47:38 +0000 (10:47 +0100)]
Change the cgit layout
This modifies and hopefully improves the layout of all cgit pages:
* Remove the header from all pages and replace it with a sidebar;
most pages have sufficient width but many needs more height.
* Add a dropdown-box to switch between branches, using a one-liner
javascript to reload the current page in context of the selected branch.
* Include refs found below refs/archives in the sidebar, appearing as a
set of menuitems below a 'download' heading.
* Include the brand new cgit logo
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Tue, 30 Oct 2007 09:39:59 +0000 (10:39 +0100)]
Add config param 'index-info'
This parameter will be used to include a html file in the upcoming sidebar
on the index page.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 28 Oct 2007 14:40:47 +0000 (15:40 +0100)]
Teach cgit_object_link() about tag objects
This makes random tag links more helpfull, e.g. when a branch head references
a tag object, link to the tag page.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 28 Oct 2007 14:36:18 +0000 (15:36 +0100)]
Make print_branch() handle refs not pointing at commits
The master branch of stable/linux-2.6.20 currently references a tag
object, which makes print_branch() die with a segfault. This teaches
print_branch() to handle such cases more gracefully.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 28 Oct 2007 14:23:00 +0000 (15:23 +0100)]
Teach log search about --grep, --author and --committer
This makes the log searching more explicit, using a dropdown box to specify
the commit field to match against.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sun, 28 Oct 2007 11:08:45 +0000 (12:08 +0100)]
Add html_option() function
This is a generic function used to output html "option" tags.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 11:55:44 +0000 (13:55 +0200)]
Merge branch 'stable'
* stable:
cgit_parse_commit(): Add missing call to xstrdup()
Lars Hjemli [Sat, 27 Oct 2007 11:50:18 +0000 (13:50 +0200)]
cgit_parse_commit(): Add missing call to xstrdup()
It's rather silly to point into random memory-locations. Also, remove a
call to strdup() used on a literal char *.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 11:34:17 +0000 (13:34 +0200)]
Cleanup code introduced by the filter-refs topic
The functions used to print branches and tags were only half-done and
somewhat confused. Fix it.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 08:55:10 +0000 (10:55 +0200)]
Merge branch 'filter-refs'
* filter-refs:
Add links to the new refs page from summary page
Add support for refs view
Make cgit_print_branches()/cgit_print_tags() external
Add descriptions of summary-branches and summary-tags to cgitrc
Add support for config param summary-branches
Move logic for age comparision from cmp_tag_age into cmp_age()
Add support for config param summary-tags
Sort tags by age
Use reflist to print tag info
Use reflist to print branch info
Add functions and types for ref lists
Lars Hjemli [Sat, 27 Oct 2007 08:47:44 +0000 (10:47 +0200)]
Add links to the new refs page from summary page
If either branches or tags are filtered on the summary page, add a link to
refs/heads and/or refs/tags right below the last branch/tag.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 08:36:53 +0000 (10:36 +0200)]
Add support for refs view
This enables the new urls $repo/refs, $repo/refs/heads and $repo/refs/tags,
which can be used to print _all_ branches and/or tags.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 08:25:40 +0000 (10:25 +0200)]
Make cgit_print_branches()/cgit_print_tags() external
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 08:15:54 +0000 (10:15 +0200)]
Add descriptions of summary-branches and summary-tags to cgitrc
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 08:13:42 +0000 (10:13 +0200)]
Add support for config param summary-branches
This parameter can be used to specify max number of branches to show
on the summary page (if not all branches will be displayed, the "most
idle" branches are the ones to be pruned). The default value for this
parameter is 0, which disables the pruning.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 08:06:03 +0000 (10:06 +0200)]
Move logic for age comparision from cmp_tag_age into cmp_age()
Simple refactoring to enable later filtering of branches based on age.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Thu, 25 Oct 2007 08:40:16 +0000 (10:40 +0200)]
Add support for config param summary-tags
This parameter can be used to specify max number of tags to show on
the summary page. If not specified, all tags are printed.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Thu, 25 Oct 2007 18:33:04 +0000 (20:33 +0200)]
Sort tags by age
This adds a function to compare timestamps and then uses it as callback
for qsort() before printing out tags.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Thu, 25 Oct 2007 08:28:15 +0000 (10:28 +0200)]
Use reflist to print tag info
This updates ui-summary.c to use a reflist instead of for_each_tag_ref(),
as a step towards more flexible tag handling (filtering/sorting).
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Thu, 25 Oct 2007 08:13:25 +0000 (10:13 +0200)]
Use reflist to print branch info
This updates ui-summary.c to use a reflist instead of for_each_branch_ref(),
as a step towards more flexible branch handling (filtering/sorting).
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Thu, 25 Oct 2007 07:30:06 +0000 (09:30 +0200)]
Add functions and types for ref lists
This adds two structs, refinfo and reflist, and functions for building
a list of refs.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 27 Oct 2007 07:15:41 +0000 (09:15 +0200)]
Merge branch 'stable'
* stable:
Skip unknown header fields when parsing tags and commits
Lars Hjemli [Wed, 24 Oct 2007 19:14:44 +0000 (21:14 +0200)]
Skip unknown header fields when parsing tags and commits
Both the commit- and tagparser failed to handle unexpected header fields.
This adds futureproofing by simply skipping any header we don't know/care
about.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Fri, 5 Oct 2007 14:20:13 +0000 (16:20 +0200)]
Merge branch 'stable'
* stable:
correct typo in CSS
Michael Krelin [Thu, 4 Oct 2007 22:21:30 +0000 (00:21 +0200)]
correct typo in CSS
Lars Hjemli [Mon, 1 Oct 2007 10:51:04 +0000 (12:51 +0200)]
Merge branch 'stable'
* stable:
Use git-1.5.3.3
Lars Hjemli [Mon, 1 Oct 2007 10:50:07 +0000 (12:50 +0200)]
Use git-1.5.3.3
Lars Hjemli [Mon, 1 Oct 2007 10:41:29 +0000 (12:41 +0200)]
cgit.css: make diff headers more visible
This modifies the background color of diff headers to make them easier to
spot.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 1 Oct 2007 10:30:29 +0000 (12:30 +0200)]
ui-diff: add links to pre- and postversion of blobs
Each diff header now links to the old and new version of each file
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 1 Oct 2007 10:01:51 +0000 (12:01 +0200)]
gen-version.sh: don't sed the output from git describe
Replacing '-' with '.' makes the version name slightly confusing, so lets
stick with the unmodified output of git describe.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 1 Oct 2007 10:09:07 +0000 (12:09 +0200)]
css: remove the annoying tr:hover rule for diffstat
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 1 Oct 2007 09:54:01 +0000 (11:54 +0200)]
ui-commit.c: link to diff instead of tree from diffstat
This makes each entry in the diffstat link to a path-restricted diff.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 1 Oct 2007 09:46:38 +0000 (11:46 +0200)]
Add prefix parameter to cgit_print_diff()
This allows a diff to be restricted to the path prefix specified in the url.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 1 Oct 2007 09:42:19 +0000 (11:42 +0200)]
Add prefix parameter to cgit_diff_tree()
This paramter can be used to restrict a diff to the specified path prefix.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 24 Sep 2007 21:52:30 +0000 (23:52 +0200)]
Add support for a renamelimit option in cgitrc
This option can be used to override the default rename-limit in git.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Wed, 19 Sep 2007 23:04:54 +0000 (01:04 +0200)]
cgit v0.6.3
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Wed, 19 Sep 2007 23:03:25 +0000 (01:03 +0200)]
Upgrade to GIT 1.5.3.2
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Wed, 19 Sep 2007 22:56:53 +0000 (00:56 +0200)]
Use trim_end() to remove trailing slashes
All urls and paths read from cgitrc needs to be 'normalized', i.e. get any
trailing slashes removed, and the trim_end() function works out nice for
this purpose.
Removing the trailing slashes also happens to fix the case where the virtual
root should be a single slash; that case used to require specifying the full
hostname (including the http:// prefix), but now it can simply be specified
as /.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Wed, 19 Sep 2007 22:21:47 +0000 (00:21 +0200)]
Remove a few compiler warnings
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Wed, 19 Sep 2007 22:11:03 +0000 (00:11 +0200)]
Add cgit.conf to .gitignore, remove *~
Not having cgit.conf in .gitignore is a bug, while having *~ is a personal
preference.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Wed, 19 Sep 2007 22:00:06 +0000 (00:00 +0200)]
ui-tree: show last line of blob
The last line in a blob was never printed by ui-tree::print_object(), which
was particularly annoying when the blob missed a final newline. This fixes
the issue.
Noticed-by: <mkraai@beckman.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Wed, 19 Sep 2007 21:46:59 +0000 (23:46 +0200)]
ui-tree: specify parameter position for all htmlf formats
The GNU C library manual tells us that behavior is undefined if only
some formats has a specification for the parameter position.
Noticed-by: <mkraai@beckman.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Michael Krelin [Fri, 14 Sep 2007 17:28:09 +0000 (19:28 +0200)]
fixed typo in cgitrc
Signed-off-by: Michael Krelin <hacker@klever.net>
Chris Pickel [Sat, 8 Sep 2007 23:37:43 +0000 (19:37 -0400)]
Improve the sample cgitrc file
Added and documented missing cgitrc parameters, improved documentation
for virtual-root, added examples for repositories with a working
directory.
[lh:sligthly modified/extended]
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 8 Sep 2007 17:10:37 +0000 (19:10 +0200)]
cgit v0.6.2
Lars Hjemli [Sat, 8 Sep 2007 16:42:55 +0000 (18:42 +0200)]
Revert part of "Makefile: add support for DESTDIR"
This removes my editing on the patch received by Chris Pickel, as I didn't
understand the purpose of DESTDIR.
Noticed-by: Chris Pickel <sfiera@macports.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 8 Sep 2007 16:38:10 +0000 (18:38 +0200)]
Revert "Makefile: add missing references to DESTDIR"
This reverts commit
fa31c5ed4839575c3ef3f6f0823fc2b4af47dbfd , as I
totally misunderstood the purpose of DESTDIR.
Noticed-by: Chris Pickel <sfiera@macports.org>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Sat, 8 Sep 2007 13:53:02 +0000 (15:53 +0200)]
cgit v0.6.1
Lars Hjemli [Sat, 8 Sep 2007 09:59:04 +0000 (11:59 +0200)]
Makefile: add missing references to DESTDIR
When cgit is built it needs to get CGIT_CONFIG and CGIT_CACHE_ROOT prefix
with DESTDIR.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Chris Pickel [Sat, 8 Sep 2007 09:39:44 +0000 (11:39 +0200)]
Make cgit honor CACHE_ROOT as defined in Makefile
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Chris Pickel [Sat, 8 Sep 2007 09:34:11 +0000 (11:34 +0200)]
Makefile: add support for DESTDIR
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Tue, 4 Sep 2007 09:54:37 +0000 (11:54 +0200)]
cgit v0.6
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Tue, 4 Sep 2007 09:49:40 +0000 (11:49 +0200)]
Update README
Add new build instructions, extend the "Missing features" section and add
a note about patches/email address of the author.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Tue, 4 Sep 2007 09:04:47 +0000 (11:04 +0200)]
Set xdemitconf_t.findfunc=NULL
This function-pointer was introduced in git
v1.5.3-rc0-42-gf258475 . It
needs to have a value, and setting it to NULL triggers the old behaviour
for selecting hunk headers.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 3 Sep 2007 21:00:06 +0000 (23:00 +0200)]
Merge branch 'jo/dirlink'
* jo/dirlink:
Rename dirlink to gitlink.
Conflicts:
ui-tree.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 3 Sep 2007 20:58:02 +0000 (22:58 +0200)]
Use git-1.5.3 as submodule
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 3 Sep 2007 20:54:51 +0000 (22:54 +0200)]
Delete submodules.sh and prepare for using git-submodule
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 3 Sep 2007 20:42:54 +0000 (22:42 +0200)]
Makefile: add target "get-git"
The new target downloads a suitable git.git tarball from kernel.org and
unpacks it in the git directory.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 3 Sep 2007 19:52:14 +0000 (21:52 +0200)]
Rewrite the makefile + gen-version.sh
The old files were simply broken, hopefully the new ones will work out
somewhat better.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli [Mon, 23 Jul 2007 20:51:45 +0000 (22:51 +0200)]
ui-snapshot: whitespace/formatting cleanup
Introduce a #define for number of snapshot archive entries, move all decls
to function entrypoint, remove some trailing whitespace and reformat a few
lines.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>