Hiltjo Posthuma
87360fe252
use git_reference for tags and branches, sort branches also
...
this removes some lines and somewhat simplifies it
2016-01-06 17:45:02 +01:00
Hiltjo Posthuma
c750958b95
fix cast to uintmax_t
2016-01-06 16:04:37 +01:00
Hiltjo Posthuma
d045340ea0
lookup commits of annotated tags
...
NOTE: as described in the TODO this will be rewritten more cleanly
later using git_reference_*.
2016-01-06 15:35:34 +01:00
Hiltjo Posthuma
9128782aa8
fix warning, use intmax_t %ju, thanks stateless!
2016-01-06 15:19:26 +01:00
Hiltjo Posthuma
824526a656
premature version bumperation
2016-01-06 11:56:52 +01:00
Hiltjo Posthuma
e2b6fa11fc
improve README
2016-01-06 11:56:43 +01:00
Hiltjo Posthuma
e451b0bf1d
improve Makefile
...
dist: add favicon.png, config.def.h and example.sh
install: install favicon.png and example.sh
2016-01-06 11:24:29 +01:00
Hiltjo Posthuma
6f7d23c5ea
tiny whitespace fix
2016-01-05 22:32:11 +01:00
Hiltjo Posthuma
a8943ce1f8
stagit-index: continue making list, but return error code
2016-01-05 22:30:59 +01:00
Hiltjo Posthuma
35a3d9b3fc
fix relpath for log
2016-01-05 21:43:26 +01:00
Hiltjo Posthuma
f373cc7235
clone url is one line, strip newline
2016-01-05 21:43:14 +01:00
Hiltjo Posthuma
e51ec34dbe
refs: fix table id for tags
2016-01-05 21:42:51 +01:00
Hiltjo Posthuma
48a09a0f10
refs: remove link, it may be broken for non-HEAD
2016-01-05 21:42:34 +01:00
Hiltjo Posthuma
a6b29cbbd9
make hunk line itself a link
2016-01-05 21:42:10 +01:00
Hiltjo Posthuma
99a8b8a296
style: darkblue for hunk like cgit, hunk line is now a link
2016-01-05 21:41:49 +01:00
Hiltjo Posthuma
f17def25be
stagit-index: owner is one line, strip newline
2016-01-05 21:41:03 +01:00
Hiltjo Posthuma
289ecda4aa
example.sh: make symlinks to style, icons and index by default
2016-01-05 21:40:26 +01:00
Hiltjo Posthuma
4f318941d0
revert log.html to log/head.html change
2016-01-05 21:04:07 +01:00
Hiltjo Posthuma
200ccad8b5
fix newline after header
2016-01-05 21:03:39 +01:00
Hiltjo Posthuma
444e41b315
fix link to commit from log page
2016-01-04 23:55:39 +01:00
Hiltjo Posthuma
a89e756c9e
stagit: fix hunk header, thanks uggedal for reporting!
2016-01-04 23:41:40 +01:00
Hiltjo Posthuma
122af5015d
update TODO
2016-01-03 22:44:05 +01:00
Hiltjo Posthuma
00fb6ea2b0
fix link in stagit-index, update documentation, add TODO
2016-01-03 22:42:00 +01:00
Hiltjo Posthuma
f96ac27087
no log per branch
...
rename log.html to log/HEAD.html, small code cleanup
2016-01-03 22:36:48 +01:00
Hiltjo Posthuma
043609742f
rename refs to refs/branches
2016-01-03 21:45:53 +01:00
Hiltjo Posthuma
a83a75bb18
refs: add link to log per branch
2016-01-03 21:21:30 +01:00
Hiltjo Posthuma
465d72a6d2
refs: dont make a table when there are no tags, add spacing between
2016-01-03 21:15:13 +01:00
Hiltjo Posthuma
e10f79ad2a
add refs page (branches and tags)
...
quite some code is added, this will be cleaned up in a following code iteration.
- make sure to free some more allocated git objects.
- use fputs() asmuch as possible instead of fprintf().
- code cleanup
2016-01-03 21:06:03 +01:00
Hiltjo Posthuma
c226554b64
improve README
2015-12-27 19:05:45 +01:00
Hiltjo Posthuma
ef3f1ef854
add stagit.c
2015-12-26 21:07:47 +01:00
Hiltjo Posthuma
81dd454368
rename urmoms to stagit, improve documentation
2015-12-26 21:05:55 +01:00
Hiltjo Posthuma
8c58750b63
nvm, dont strip .git from bare repos
2015-12-26 20:58:28 +01:00
Hiltjo Posthuma
781beb4950
add example script to make repo index and files per dir
2015-12-26 20:46:33 +01:00
Hiltjo Posthuma
114899a22d
rename EXTRAOBJ to COMPATOBJ
2015-12-26 20:11:59 +01:00
Hiltjo Posthuma
664e60ede5
Makefile: link for COMPAT
2015-12-26 13:08:41 +01:00
Hiltjo Posthuma
597e3cdbed
add compat.h
2015-12-26 13:01:41 +01:00
Hiltjo Posthuma
e4e03b3bf9
strip suffix .git used typically for bare repos
2015-12-26 12:57:33 +01:00
Hiltjo Posthuma
3da41fa5dd
humanreadable filemodes (code from sbase ls)
2015-12-26 12:57:14 +01:00
Hiltjo Posthuma
a7dd8c5f08
align filesize header right, minor code-style
2015-12-26 12:56:56 +01:00
Hiltjo Posthuma
9c7e2c5678
fix dirname for glibc
2015-12-26 12:56:23 +01:00
Hiltjo Posthuma
1778cba979
allow to specify clone url, displayed in header
2015-12-26 12:55:59 +01:00
Hiltjo Posthuma
955c3779ef
update TODO
2015-12-26 12:54:44 +01:00
Hiltjo Posthuma
63a71643d0
index: highlight row on mouseover
2015-12-26 12:54:09 +01:00
Hiltjo Posthuma
9295d3f190
remove TODO from code, see TODO file
2015-12-25 17:49:54 +01:00
Hiltjo Posthuma
1cc9f5fcb1
README: atleast libgit2 v0.22 is required (API)
...
update TODO
2015-12-25 17:49:03 +01:00
Hiltjo Posthuma
55556b66bc
compat: add strlcpy, strlcat, for glibc
2015-12-25 17:48:46 +01:00
Hiltjo Posthuma
543e74e64f
fix libgit2 include, it is in the include path
2015-12-24 20:58:22 +01:00
Hiltjo Posthuma
ae620515b0
remove double newline bloat
2015-12-20 21:49:23 +01:00
Hiltjo Posthuma
b8fc56187e
update README and improve man pages
2015-12-20 21:34:40 +01:00
Hiltjo Posthuma
2e4ed81390
urmoms-index: kill some lines
2015-12-20 21:13:54 +01:00
Hiltjo Posthuma
75cba4e6fd
rewrite writefiles, now works with bare repos
...
dont use the index but get the tree by the last commit id (revparse HEAD).
2015-12-20 20:42:53 +01:00
Hiltjo Posthuma
09e1377c68
README: add install and dependencies instructions
2015-12-20 20:42:31 +01:00
Hiltjo Posthuma
304c896bd4
style.css: maximize contrast for text
2015-12-20 20:42:16 +01:00
Hiltjo Posthuma
5436dd7892
update TODO
2015-12-20 17:11:34 +01:00
Hiltjo Posthuma
7102cfd3f7
add urmoms-index, initial version
2015-12-20 17:11:25 +01:00
Hiltjo Posthuma
372fe8d86e
writelog: remove return value, it was unused
2015-12-20 17:11:06 +01:00
Hiltjo Posthuma
e01336e656
improve fopen flag: remove b and r+ in some case
...
don't require rw rights for just reading
2015-12-20 17:10:07 +01:00
Hiltjo Posthuma
2ab268d5b1
use relative url in header, escape name and description too
2015-12-20 17:09:51 +01:00
Hiltjo Posthuma
6414c8b212
set diff options
2015-12-17 22:59:19 +01:00
Hiltjo Posthuma
8ea5831438
free the tree
2015-12-17 22:56:32 +01:00
Hiltjo Posthuma
d073ffa0a2
file_size is uint32_t on latest libgit2, thanks uggedal for reporting it!
2015-12-17 19:53:07 +01:00
Hiltjo Posthuma
3f77fb211d
fix warning
2015-12-10 19:51:15 +01:00
Hiltjo Posthuma
23fdbb0c8c
fix warning + minor style
2015-12-09 23:56:42 +01:00
Hiltjo Posthuma
a0e2be52c1
update TODO
2015-12-09 23:02:43 +01:00
Hiltjo Posthuma
0f5deec0a2
open repo: dont try to detect repos above the specified dir
2015-12-09 22:55:59 +01:00
Hiltjo Posthuma
e489408b99
walk revision by time and only "flat"
2015-12-09 22:55:34 +01:00
Hiltjo Posthuma
21ffbb062e
also free objects for haslicense and hasreadme checks, cleanup
2015-12-09 21:02:49 +01:00
Hiltjo Posthuma
52520a4289
prettification
2015-12-07 23:54:31 +01:00
Hiltjo Posthuma
f69f33eb3c
log: reorder time as first column
2015-12-07 23:23:00 +01:00
Hiltjo Posthuma
1d9324a87e
truncate message in log, shorter time format
2015-12-07 23:22:45 +01:00
Hiltjo Posthuma
c5c6741b0a
simplify time format
2015-12-07 23:22:18 +01:00
Hiltjo Posthuma
b1ad5e2633
update TODO
2015-12-07 23:01:09 +01:00
Hiltjo Posthuma
9c1862ccda
rework code, "cache" commit data in struct commitinfo
2015-12-07 23:00:07 +01:00
Hiltjo Posthuma
1b4f30ba2e
cleanup + some better error handling
2015-12-07 21:35:18 +01:00
Hiltjo Posthuma
a0dbff9161
performance tweak: check if commit file exists, if so skip
2015-12-07 21:34:53 +01:00
Hiltjo Posthuma
8de7a32f07
logo is 32x32
2015-12-07 21:20:59 +01:00
Hiltjo Posthuma
86c970e1ec
style: center menu and make title smaller
2015-12-07 21:19:30 +01:00
Hiltjo Posthuma
55b823b226
fix when commit has no parent
...
also dont show parent when there is no id for it.
2015-12-07 21:16:28 +01:00
Hiltjo Posthuma
a523491d6c
update README with basic usage
2015-12-07 20:53:48 +01:00
Hiltjo Posthuma
437d99fb0f
update TODO
2015-12-07 20:46:59 +01:00
Hiltjo Posthuma
fe5855546a
detect binary diff, comment index + delta header for now (broken)
2015-12-07 20:46:51 +01:00
Hiltjo Posthuma
18e6c1beda
dont use reverse diff
2015-12-07 20:00:33 +01:00
Hiltjo Posthuma
a73ca0483c
simplify + style fixes
2015-12-07 19:58:19 +01:00
Hiltjo Posthuma
673122b0d5
highlight/make bold some fields
2015-12-07 19:46:07 +01:00
Hiltjo Posthuma
a20e271f93
escape commit msg, dont indent it
2015-12-07 19:34:13 +01:00
Hiltjo Posthuma
9d26489084
fix relpath for files, small cleanup
2015-12-07 19:01:40 +01:00
Hiltjo Posthuma
9b10046464
fix: check readme and license before writing header
2015-12-07 19:00:53 +01:00
Hiltjo Posthuma
0808028312
improve HTML code
2015-12-07 19:00:30 +01:00
Hiltjo Posthuma
53d6b47cc2
make file in diff a link, make hunk and link anchor
2015-12-07 19:00:16 +01:00
Hiltjo Posthuma
ded9719afd
commit: use simple shortstat
2015-12-07 18:59:30 +01:00
Hiltjo Posthuma
17f9f53ea0
make author e-mail a link
2015-12-07 18:59:13 +01:00
Hiltjo Posthuma
51ecd71d5f
improve Atom feed
2015-12-07 18:58:39 +01:00
Hiltjo Posthuma
e3006c9373
improve header and footer
2015-12-07 18:57:46 +01:00
Hiltjo Posthuma
d16e00a72b
style.css: improve style, add highlight colors for diff
2015-12-07 18:57:03 +01:00
Hiltjo Posthuma
02989361fe
update README with some features and update TODO
2015-12-07 18:56:41 +01:00
Hiltjo Posthuma
5215103888
print file as table, add link
2015-12-07 16:40:45 +01:00
Hiltjo Posthuma
45d8d2f430
add atom feed support + some fixes
2015-12-07 16:14:03 +01:00
Hiltjo Posthuma
77260d21f1
improve log, fix warnings
2015-12-07 15:22:47 +01:00
Hiltjo Posthuma
87f3a5a8a8
add favicon
2015-12-07 14:41:54 +01:00
Hiltjo Posthuma
beb7a3b29d
add diffstat
2015-12-07 14:26:35 +01:00