Commit graph

354 commits

Author SHA1 Message Date
Hiltjo Posthuma
8983c802c1 example.sh: fix go to appropriate dir 2016-01-08 21:27:22 +01:00
Hiltjo Posthuma
934980659a implify and restructure code
- remove commit message and lines changed from refs page.
- resolve HEAD once.
- dont make filepath in writeblob()
2016-01-08 20:08:40 +01:00
Hiltjo Posthuma
efe16db1e5 stagit-index: clarify order of the list 2016-01-08 13:44:22 +01:00
Hiltjo Posthuma
fd66a29d3a example.sh: add index-time.html, list sorted by time, fix reposdir '/' 2016-01-08 13:44:22 +01:00
Hiltjo Posthuma
9a78132882 premature version bumperation (0.3) for git 2016-01-08 10:24:50 +01:00
Hiltjo Posthuma
3cc1509656 atom: add newline after date and before message 2016-01-07 17:37:25 +01:00
Hiltjo Posthuma
12a96d466d update man pages: document stripping of .git suffix 2016-01-06 20:06:06 +01:00
Hiltjo Posthuma
ede4982f67 strip .git suffix from name
also free stripped_name in the case of stagit-index
2016-01-06 20:06:06 +01:00
Hiltjo Posthuma
db02820a17 extra whitespace 2016-01-06 20:06:06 +01:00
sin
73f259f255 Update README - it also works on FreeBSD 2016-01-06 18:36:34 +00:00
Hiltjo Posthuma
c576a7ae6e style: vertical-align header text 2016-01-06 19:19:20 +01:00
Hiltjo Posthuma
3aa8ac2a1e update TODO 2016-01-06 19:14:59 +01:00
Hiltjo Posthuma
9978fecb18 refs: only make commit link work for tags 2016-01-06 19:13:51 +01:00
Hiltjo Posthuma
512a31e81f free obj 2016-01-06 19:11:11 +01:00
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