Commit graph

340 commits

Author SHA1 Message Date
Hiltjo Posthuma
e45eac89b8 LICENSE: whoops its already 2016 2016-01-06 18:58:20 +01:00
Hiltjo Posthuma
94eba1c052 LICENSE: add dimitris to license/shareholder file 2016-01-06 18:55:25 +01:00
Hiltjo Posthuma
650d6c903c old leftover: dont create log dir 2016-01-06 18:53:51 +01:00
Hiltjo Posthuma
aa3b813f14 cleanup code a bit 2016-01-06 18:53:51 +01:00
Hiltjo Posthuma
6a427c75fc style.css: wrap description text, nowrap for rest
vertical align to the top of the cell, this makes it scale better to some smaller screens
2016-01-06 18:53:51 +01:00
sin
264aef81d5 Be more explicit when stripping the .git suffix 2016-01-06 17:45:57 +00:00
sin
cae9950407 No need for -D_POSIX_C_SOURCE=200809L
XOPEN is a superset.
2016-01-06 17:19:48 +00:00
sin
bd854ac71f Always use the compat functions 2016-01-06 17:07:47 +00:00
sin
2809fd3795 Bring in reallocarray() from OpenBSD 2016-01-06 17:03:42 +00:00
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
sin
ee4c340ce6 Change default MANPREFIX to be ${PREFIX}/man 2016-01-06 14:57:54 +00:00
sin
f631d4ce70 stagit-index: Strip per repo .git suffix from generated index 2016-01-06 14:48:50 +00: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