Commit graph

210 commits

Author SHA1 Message Date
z3bra
9693d1d1a9 use 'dirname' as error message for xdirname 2016-01-18 10:31:52 +00:00
Quentin Rameau
4f56d5dec6 fix file size byte unit suffix
Correct suffix for byte is B, b is for bit.
2016-01-13 21:58:08 +01:00
Quentin Rameau
d8bad43b3c stop glibc complaining about _BSD_SOURCE being deprecated 2016-01-13 21:58:08 +01:00
Quentin Rameau
79fab7c6fa replace file size with line count for text files
Keep the number of line when writing text blobs and print it in the
index file tree instead of the size. Still print the size otherwise.
2016-01-13 21:58:08 +01:00
sin
50dccf0e3b Rename Refs/branches to Refs 2016-01-13 18:57:18 +00:00
Hiltjo Posthuma
2296f5167c example.sh: fix: remove error mode, would stop if a dir was invalid
mkdir -p makes the directory always, so no need to check.
2016-01-08 22:17:54 +01:00
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