summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-23bump version to 0.9.3Hiltjo Posthuma
2020-02-21atom.xml: improve output format a bitHiltjo Posthuma
2020-02-12improve includes, stagit-index does not need compat.hHiltjo Posthuma
2019-12-29style.css: highlight anchor ids, useful for linking highlighting lines in a diffHiltjo Posthuma
2019-12-22small code-style white-space/newlineHiltjo Posthuma
2019-12-01add OpenBSD unveil supportHiltjo Posthuma
The unveil() system call first appeared in OpenBSD 6.4. For stagit it has the following properties now: - stagit-index: only read-access to the file-system for the specified directories/repositories. - stagit: read-access to the specified directory/repository. read-write and creation access to the current directory for the output files. read-write and creation access to the specified cache file.
2019-12-01some README tweaks and rewording, reorderingHiltjo Posthuma
2019-12-01Makefile improvementsHiltjo Posthuma
- remove double -c in .c.o target. - remove config.mk abstraction. - change LIBS and INCS to LIBGIT_INC and LIBGIT_LIB. - use system cflags and ldflags, but allow the same override rules for porters.
2019-05-05README: works also on NetBSDLeonardo Taccari
2019-04-23bump version to 0.9.2Hiltjo Posthuma
2019-03-16escape HTML in pathsHiltjo Posthuma
- escape paths in diff line. - escape path in anchor href attribute in files.html
2019-03-09pedantic snprintf() improvementHiltjo Posthuma
POSIX says: "If an output error was encountered, these functions shall return a negative value and set errno to indicate the error."
2019-03-01fix issues in example scriptsHiltjo Posthuma
- in case cd fails don't continue (don't write in previous directory). - post-receive: quote $(pwd) in case it has spaces. found by shellcheck tool.
2019-02-22bump version to 0.9.1Hiltjo Posthuma
2019-02-16Makefile: add DOCPREFIX for installing docs in portsHiltjo Posthuma
change installed doc from /usr/local/share/stagit to /usr/local/share/doc/stagit
2019-02-16change order of commits in log from most recent to old to applied orderHiltjo Posthuma
2019-02-16fix compile: libgit2 0.28 changed giterr_last to git_error_lastHiltjo Posthuma
libgit2 commit: https://github.com/libgit2/libgit2/commit/a27a4de6f8003961d38958893c6c637395c7cc04
2018-12-25bump version to 0.9Hiltjo Posthuma
2018-12-25style: keep default browser style for links, except patch chunksHiltjo Posthuma
This is almost always an underline. This improves accessibility. Remove underline for patch chunks for readability.
2018-11-18in the diffstat prefix the type of change, allow CSS stylingHiltjo Posthuma
2018-11-18don't use a heuristic for renames, the content must match exactlyHiltjo Posthuma
this prevents showing files as renames when most (but not all) of the file was changed.
2018-11-18detect filetype changes in diff (for example a normal file to symlink)Hiltjo Posthuma
2018-11-11detect more names for README and LICENSEHiltjo Posthuma
- for license: LICENSE, LICENSE.md, COPYING. - for readme: README, README.md.
2018-11-11detect copies and renames based on the threshold of changesHiltjo Posthuma
2018-08-22simplify range checkHiltjo Posthuma
2018-08-22stagit: log: indicate when using the -l option and there are more commitsHiltjo Posthuma
2018-05-25assume OpenBSD 5.9+, always try pledge(2) on OpenBSDHiltjo Posthuma
2018-05-09Clarify usage regarding -c and -l mutual exclusionQuentin Rameau
2018-04-07bump version to 0.8Hiltjo Posthuma
2018-04-06stagit-index: pledge after git_libgit2_initHiltjo Posthuma
2018-03-26pledge after git_libgit2_initHiltjo Posthuma
this is because libgit uses curl which uses some initialization checks, namely an IPv6 check which creates a socket.
2018-03-18optimization: only diff the tree when it is needed for the diffstat...Hiltjo Posthuma
... also clear all fields in the structure on failure. This is not as big an optimization as stagit-gopher, because the diffstat is displayed in the log, but the difference is still measurable.
2018-01-28README: improve tarball generation by tag exampleHiltjo Posthuma
- set the project name + '-' + tag name as prefix. - allow '/' in the tag name. - allow '-' as suffix in the tag.
2018-01-21stagit: add -l option: limit the amount of commits for the log.html fileHiltjo Posthuma
2018-01-21bump LICENSE to 2018Hiltjo Posthuma
2018-01-20style.css: improve compatibility with older browsers, namely dilloHiltjo Posthuma
2017-12-07Remove a non-portable syntax in MakefileQuentin Rameau
2017-11-25Makefile: bump version to 0.7.2Hiltjo Posthuma
2017-11-25post-receive: fix warning in script for example when pushing deleted tagsHiltjo Posthuma
the "new" variable would be zero: remote: fatal: bad object 0000000000000000000000000000000000000000 NOTE: when pushing new tags the "old" variable would be zero, this was already fixed.
2017-11-25Sort style.css in alphabetical orderAaron Marcher
2017-11-19Makefile: bump version to 0.7.1Hiltjo Posthuma
2017-11-19fix: add "fattr" pledge for chmod(2) for cachefileHiltjo Posthuma
improve checks for when head is NULL (empty repo)
2017-11-18Makefile: bump version to 0.7Hiltjo Posthuma
2017-11-11Makefile: remove unused $SCRIPTSHiltjo Posthuma
2017-11-10fix file permissions for cachefile and respect umask(2)Hiltjo Posthuma
2017-11-10more verbose errors: show which file failed on openHiltjo Posthuma
2017-10-31README: clarify some consHiltjo Posthuma
2017-10-31post-receive hook: force UTF-8 localeHiltjo Posthuma
this fixes encoding errors when the pages are generated in the post-receive hook.
2017-09-04allow umask to handle permissionsHiltjo Posthuma
2017-08-09ignore object 0000000000000000000000000000000000000000Hiltjo Posthuma
remote: fatal: bad object 0000000000000000000000000000000000000000 this can happen on initial repos or when pushing tags etc.