Hiltjo Posthuma
543582034e
fix joinpath(): use of global 'repodir', should be 'path'
...
use joinpath for another case.
2016-05-03 20:42:46 +02:00
Hiltjo Posthuma
9328d2690e
code cleanup
2016-05-03 20:18:37 +02:00
Hiltjo Posthuma
069f105725
remove config.h, add options to stagit.c
2016-05-03 00:38:33 +02:00
Hiltjo Posthuma
aa36e0c9b4
add OpenBSD pledge(2) support using -DUSE_PLEDGE
2016-05-03 00:33:56 +02:00
Hiltjo Posthuma
462ba66ee7
fix times (and timezone)
...
- in the index and log show the short time (GMT).
- in the Atom feed use GMT time.
- for commits show the time + offset.
2016-05-01 16:56:58 +02:00
Hiltjo Posthuma
fc60d78d89
fix path join '/'
...
add joinpath() function to handle this.
2016-05-01 14:51:02 +02:00
Hiltjo Posthuma
c13c411950
code cleanup + style, functionally equivalent
2016-05-01 14:42:20 +02:00
Hiltjo Posthuma
28730218c4
fix: check gmtime, can return NULL on error
2016-04-27 19:24:15 +02:00
Hiltjo Posthuma
8df54926f2
resolve absolute paths to repodir, remove basename just use strrchr.
...
- resolve repodir, for example: stagit-index ../ used to use ".." as the name,
now it will resolve to the real directory name.
- just use strrchr(path, '/') instead of basename, '/' path separator is now
used.
2016-04-27 19:19:50 +02:00
Hiltjo Posthuma
70b777831a
stagit-index: remove unused efopen function
2016-04-27 16:40:51 +02:00
lostd
2b50046245
Use the recommended HTML5 document type.
2016-02-26 19:57:15 +01:00
Hiltjo Posthuma
ad22404903
check path truncation
...
be strict about it
2016-02-24 14:47:20 +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
264aef81d5
Be more explicit when stripping the .git suffix
2016-01-06 17:45:57 +00:00
sin
f631d4ce70
stagit-index: Strip per repo .git suffix from generated index
2016-01-06 14:48:50 +00:00
Hiltjo Posthuma
a8943ce1f8
stagit-index: continue making list, but return error code
2016-01-05 22:30:59 +01:00
Hiltjo Posthuma
f17def25be
stagit-index: owner is one line, strip newline
2016-01-05 21:41:03 +01:00
Hiltjo Posthuma
4f318941d0
revert log.html to log/head.html change
2016-01-05 21:04:07 +01:00
Hiltjo Posthuma
00fb6ea2b0
fix link in stagit-index, update documentation, add TODO
2016-01-03 22:42:00 +01:00
Hiltjo Posthuma
81dd454368
rename urmoms to stagit, improve documentation
2015-12-26 21:05:55 +01:00