stagit, branch HEAD[fork] customized build of stagit, the static git page generator
ad4f39870db9f6b93865f4e46dfda175e87c1f532021-11-16T17:17:45Z2021-11-17T08:15:37ZPrint the number of remaining commitsQuentin Rameauquinq@fifth.spacecommit ad4f39870db9f6b93865f4e46dfda175e87c1f53
parent ba27f14e8534a17b383c09c63d509aa5a5655f20
Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 16 Nov 2021 18:17:45 +0100
Print the number of remaining commits
ba27f14e8534a17b383c09c63d509aa5a5655f202021-11-16T13:24:30Z2021-11-17T08:15:37Zignore '\r' in writing the blob aswellHiltjo Posthumahiltjo@codemadness.orgcommit ba27f14e8534a17b383c09c63d509aa5a5655f20
parent 5b88f7cee4ac2e79072fd7c31e5dafbdfd527faa
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Nov 2021 14:24:30 +0100
ignore '\r' in writing the blob aswell
Follow-up on commit 295e4b8cb95114bb74b582c7332bc4c171f36dd3 which changed it
for diffs.
5b88f7cee4ac2e79072fd7c31e5dafbdfd527faa2021-11-16T13:16:46Z2021-11-17T08:15:37Zpercent encode characters in path namesHiltjo Posthumahiltjo@codemadness.orgcommit 5b88f7cee4ac2e79072fd7c31e5dafbdfd527faa
parent 937dd3bc3e623be46b4795afc71aa28134919911
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Nov 2021 14:16:46 +0100
percent encode characters in path names
Paths could contain characters like # (fragment), '?', control-characters, etc.
937dd3bc3e623be46b4795afc71aa281349199112021-11-16T10:44:23Z2021-11-17T08:15:37Zencode the name, it could contain XML entitiesHiltjo Posthumahiltjo@codemadness.orgcommit 937dd3bc3e623be46b4795afc71aa28134919911
parent c427ffbe3ade2ddb38b14b1b2847123de204ab39
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Nov 2021 11:44:23 +0100
encode the name, it could contain XML entities
Like ", which would unquote the attribute value. Crazy but true.
c427ffbe3ade2ddb38b14b1b2847123de204ab392021-08-03T17:22:50Z2021-11-17T08:15:37Zman pages: add EXAMPLES sectionHiltjo Posthumahiltjo@codemadness.orgcommit c427ffbe3ade2ddb38b14b1b2847123de204ab39
parent d9f8594dcc13525bb087627e8b192da72be2aa4b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 3 Aug 2021 19:22:50 +0200
man pages: add EXAMPLES section
d9f8594dcc13525bb087627e8b192da72be2aa4b2021-07-30T23:09:45Z2021-11-17T08:15:36Zsmall typo fixes and url -> URLHiltjo Posthumahiltjo@codemadness.orgcommit d9f8594dcc13525bb087627e8b192da72be2aa4b
parent 03339e412d370488b49d6671bbdf0f03f14c18a3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 31 Jul 2021 01:09:45 +0200
small typo fixes and url -> URL
03339e412d370488b49d6671bbdf0f03f14c18a32021-05-27T10:41:43Z2021-11-17T08:15:36Zbump version to 0.9.6Hiltjo Posthumahiltjo@codemadness.orgcommit 03339e412d370488b49d6671bbdf0f03f14c18a3
parent 5eb65614f4f40b73e89a6c698f24b8bdb3b52824
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 27 May 2021 12:41:43 +0200
bump version to 0.9.6
5eb65614f4f40b73e89a6c698f24b8bdb3b528242021-05-18T09:42:41Z2021-11-17T08:15:32Zman page: codemadness is the primary server. make logo brandless (not 2f30)Hiltjo Posthumahiltjo@codemadness.orgcommit 5eb65614f4f40b73e89a6c698f24b8bdb3b52824
parent eea5375568152d254adb70f9931456ac5aea9a10
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 18 May 2021 11:42:41 +0200
man page: codemadness is the primary server. make logo brandless (not 2f30)
eea5375568152d254adb70f9931456ac5aea9a102021-05-18T08:38:54Z2021-11-17T08:15:19ZREADME: improve a bit the usage examplesQuentin Rameauquinq@fifth.spacecommit eea5375568152d254adb70f9931456ac5aea9a10
parent 245a2703031b9c400d39dedbfc03de09bd2b17a5
Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 18 May 2021 10:38:54 +0200
README: improve a bit the usage examples
245a2703031b9c400d39dedbfc03de09bd2b17a52021-05-05T17:15:58Z2021-11-17T08:15:19Zdo not simplify the history by first-parentHiltjo Posthumahiltjo@codemadness.orgcommit 245a2703031b9c400d39dedbfc03de09bd2b17a5
parent 63e6c2badf4e0c915b75ccbbeee30778f0efac7c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 5 May 2021 19:15:58 +0200
do not simplify the history by first-parent
Reference:
https://libgit2.org/libgit2/#HEAD/group/revwalk/git_revwalk_simplify_first_parent
Noticed on merge commits on:
https://git.simple-cc.org/scc/
Reported by quinq, thanks!
63e6c2badf4e0c915b75ccbbeee30778f0efac7c2021-03-25T17:17:34Z2021-11-17T08:15:19Ztiny comment changeHiltjo Posthumahiltjo@codemadness.orgcommit 63e6c2badf4e0c915b75ccbbeee30778f0efac7c
parent d87119b82df29649c7dae1569af4777cfbaea236
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 25 Mar 2021 18:17:34 +0100
tiny comment change
d87119b82df29649c7dae1569af4777cfbaea2362021-03-25T17:13:13Z2021-11-17T08:15:19Zadd function to print a single line, ignoring \r and \nHiltjo Posthumahiltjo@codemadness.orgcommit d87119b82df29649c7dae1569af4777cfbaea236
parent 3ac65c5b4288740388815867ad0d2d2997ec3c7a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 25 Mar 2021 18:13:13 +0100
add function to print a single line, ignoring \r and \n
This can happen when there is no newline at end of file in the diff which is
served by libgit2 as:
"\n\ No newline at end of file\n".
3ac65c5b4288740388815867ad0d2d2997ec3c7a2021-03-19T10:29:53Z2021-11-17T08:15:19Zadd meta viewport on stagit-index tooHiltjo Posthumahiltjo@codemadness.orgcommit 3ac65c5b4288740388815867ad0d2d2997ec3c7a
parent 2a6bc0855af174fe5825e7df4967a79a6dfd9234
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 19 Mar 2021 11:29:53 +0100
add meta viewport on stagit-index too
Patch by Oscar Benedito, thanks!
2a6bc0855af174fe5825e7df4967a79a6dfd92342021-03-14T15:23:58Z2021-11-17T08:15:19Zbump version to 0.9.5Hiltjo Posthumahiltjo@codemadness.orgcommit 2a6bc0855af174fe5825e7df4967a79a6dfd9234
parent e25c311bf144bbe36fc3ab5c59f9d421dbbaa3b8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 14 Mar 2021 16:23:58 +0100
bump version to 0.9.5
e25c311bf144bbe36fc3ab5c59f9d421dbbaa3b82021-03-05T11:44:48Z2021-11-17T08:14:59Zchange STAGIT_BASEURL to an -u option and also update the example scriptHiltjo Posthumahiltjo@codemadness.orgcommit e25c311bf144bbe36fc3ab5c59f9d421dbbaa3b8
parent 266c623668ec1b9be5878043a81c4e37209d6a2e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 12:44:48 +0100
change STAGIT_BASEURL to an -u option and also update the example script
266c623668ec1b9be5878043a81c4e37209d6a2e2021-03-05T10:51:21Z2021-11-17T08:14:59Zadd $STAGIT_BASEURL environment variable to make Atom links absoluteHiltjo Posthumahiltjo@codemadness.orgcommit 266c623668ec1b9be5878043a81c4e37209d6a2e
parent d8600b4268a10008719ff573344d3d0096a4a276
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 11:51:21 +0100
add $STAGIT_BASEURL environment variable to make Atom links absolute
With feedback from adc, thanks!
d8600b4268a10008719ff573344d3d0096a4a2762021-03-05T10:50:16Z2021-11-17T08:14:59ZREADME: mention tags.xml featureHiltjo Posthumahiltjo@codemadness.orgcommit d8600b4268a10008719ff573344d3d0096a4a276
parent b81b80893595bc24d430af080fa9468496f8ecee
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 11:50:16 +0100
README: mention tags.xml feature
b81b80893595bc24d430af080fa9468496f8ecee2021-01-09T13:59:53Z2021-11-17T08:14:59Zmicro-optimization: fputc (function) -> putc (macro/inline function)Hiltjo Posthumahiltjo@codemadness.orgcommit b81b80893595bc24d430af080fa9468496f8ecee
parent da7bceb1f713c13163c017ef1713e2912a3283dc
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Jan 2021 14:59:53 +0100
micro-optimization: fputc (function) -> putc (macro/inline function)
da7bceb1f713c13163c017ef1713e2912a3283dc2021-01-08T13:32:33Z2021-11-17T08:14:55ZLICENSE: bump yearHiltjo Posthumahiltjo@codemadness.orgcommit da7bceb1f713c13163c017ef1713e2912a3283dc
parent 212f9201f3b87e33130313f13fb0dbae593fa0c2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 8 Jan 2021 14:32:33 +0100
LICENSE: bump year
212f9201f3b87e33130313f13fb0dbae593fa0c22020-11-28T11:28:05Z2021-11-17T08:14:28Zfix warning with libgit2 v0.99+, remain compatible with older versionsHiltjo Posthumahiltjo@codemadness.orgcommit 212f9201f3b87e33130313f13fb0dbae593fa0c2
parent 2262b0ac3d6ddfd692903acb555166c016721fe8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 28 Nov 2020 12:28:05 +0100
fix warning with libgit2 v0.99+, remain compatible with older versions
git_blob_rawsize now returns with git_object_size_t (unsigned). This was
git_off_t (signed).
In my current version 1.1.0:
types.h:typedef uint64_t git_object_size_t;
v0.28.5:
https://libgit2.org/libgit2/#v0.28.5/group/blob/git_blob_rawsize
changed from v0.99 onwards:
https://libgit2.org/libgit2/#v0.99.0/group/blob/git_blob_rawsize
Fix: use size_t to remain compatible (with a possible warning in older
versions), since git_object_size_t is a new defined type.
This assumes size_t is atleast uint32_t / uint64_t size.
Adapted from a patch by Augustin Fabre <augustin@augfab.fr>, thanks!
2262b0ac3d6ddfd692903acb555166c016721fe82020-11-16T22:24:32Z2021-11-17T08:14:28Zadd abbreviated commit hash to submodule fileOscar Beneditooscar@oscarbenedito.comcommit 2262b0ac3d6ddfd692903acb555166c016721fe8
parent 4a4c9d316e3643219a7225668c955dd262d666fc
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Mon, 16 Nov 2020 23:24:32 +0100
add abbreviated commit hash to submodule file
4a4c9d316e3643219a7225668c955dd262d666fc2020-11-28T00:02:58Z2020-11-28T00:02:58Zpost-receive.sh: fix fetch of http bare repoAnders Damsgaardanders@adamsgaard.dkcommit 4a4c9d316e3643219a7225668c955dd262d666fc
parent 2f7c96a6b73240a0bc6063e437df6bbd7ac069c3
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 01:02:58 +0100
post-receive.sh: fix fetch of http bare repo
2f7c96a6b73240a0bc6063e437df6bbd7ac069c32020-11-28T00:00:08Z2020-11-28T00:00:08Zpost-receive.sh: do fetch instead of pull on bare http repoAnders Damsgaardanders@adamsgaard.dkcommit 2f7c96a6b73240a0bc6063e437df6bbd7ac069c3
parent 405e3a2e7452e0a09a9e0947b2381715890b3954
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 01:00:08 +0100
post-receive.sh: do fetch instead of pull on bare http repo
405e3a2e7452e0a09a9e0947b2381715890b39542020-11-27T23:58:48Z2020-11-27T23:58:48Zpost-receive.sh: update http bare repo upon pushAnders Damsgaardanders@adamsgaard.dkcommit 405e3a2e7452e0a09a9e0947b2381715890b3954
parent 603ac9c1b962636abca16b4f000e8ef5b591c219
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 00:58:48 +0100
post-receive.sh: update http bare repo upon push
603ac9c1b962636abca16b4f000e8ef5b591c2192020-11-27T23:57:00Z2020-11-27T23:57:00Zfix creation and update of http bare cloneAnders Damsgaardanders@adamsgaard.dkcommit 603ac9c1b962636abca16b4f000e8ef5b591c219
parent a7da01a6eb60e5ad6fa61da82e50babb57aadcf7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 00:57:00 +0100
fix creation and update of http bare clone
a7da01a6eb60e5ad6fa61da82e50babb57aadcf72020-11-27T23:50:55Z2020-11-27T23:50:55Zcreate-repo.sh: add post-update hook for preparing bare repo for static httpAnders Damsgaardanders@adamsgaard.dkcommit a7da01a6eb60e5ad6fa61da82e50babb57aadcf7
parent 907ac1bf0ed6720185fdfb55c14363fd50909e09
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 00:50:55 +0100
create-repo.sh: add post-update hook for preparing bare repo for static http
907ac1bf0ed6720185fdfb55c14363fd50909e092020-11-27T23:47:45Z2020-11-27T23:47:45Zpost-receive.sh: create bare dir for https cloneAnders Damsgaardanders@adamsgaard.dkcommit 907ac1bf0ed6720185fdfb55c14363fd50909e09
parent 308c83741eabd65b8d4362b81fe6ab5ac5011e81
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 00:47:45 +0100
post-receive.sh: create bare dir for https clone
308c83741eabd65b8d4362b81fe6ab5ac5011e812020-11-27T23:42:08Z2020-11-27T23:42:08Zcreate-repo.sh: create https alternate urlAnders Damsgaardanders@adamsgaard.dkcommit 308c83741eabd65b8d4362b81fe6ab5ac5011e81
parent a2d4b09c789089503396bae1f1206d06f35cdc70
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 00:42:08 +0100
create-repo.sh: create https alternate url
a2d4b09c789089503396bae1f1206d06f35cdc702020-11-27T23:40:06Z2020-11-27T23:40:06Zstagit.c: add fast/slow hints to clone urlsAnders Damsgaardanders@adamsgaard.dkcommit a2d4b09c789089503396bae1f1206d06f35cdc70
parent 7e58463ae5df8c8ff71767d71257388c9f8a11c3
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 00:40:06 +0100
stagit.c: add fast/slow hints to clone urls
7e58463ae5df8c8ff71767d71257388c9f8a11c32020-11-27T23:29:38Z2020-11-27T23:29:38Zstagit.c: allow specifying alternate clone url in alturl fileAnders Damsgaardanders@adamsgaard.dkcommit 7e58463ae5df8c8ff71767d71257388c9f8a11c3
parent 02b67e7268ee2cb11a0fe254a832f7e6f0dcf85d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 00:29:38 +0100
stagit.c: allow specifying alternate clone url in alturl file
02b67e7268ee2cb11a0fe254a832f7e6f0dcf85d2020-11-23T19:56:30Z2020-11-23T19:56:30Zstagit.c: only link to tarballs for master branch and tagsAnders Damsgaardanders@adamsgaard.dkcommit 02b67e7268ee2cb11a0fe254a832f7e6f0dcf85d
parent 9bed6322e863501bc279ac700275527b7ddbd02e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 20:56:30 +0100
stagit.c: only link to tarballs for master branch and tags
9bed6322e863501bc279ac700275527b7ddbd02e2020-11-23T19:49:45Z2020-11-23T19:49:45Zgenerate_release_tarballs.sh: only generate tarballs for master branchAnders Damsgaardanders@adamsgaard.dkcommit 9bed6322e863501bc279ac700275527b7ddbd02e
parent ca337fce434046b63c010650a704c548201ef127
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 20:49:45 +0100
generate_release_tarballs.sh: only generate tarballs for master branch
and refresh master branch tarball if outdated
ca337fce434046b63c010650a704c548201ef1272020-11-23T13:43:02Z2020-11-23T13:43:02Zgenerate_release_tarballs.sh: fix generation of branch tarballsAnders Damsgaardanders@adamsgaard.dkcommit ca337fce434046b63c010650a704c548201ef127
parent 41813629fac39f93a5aac1ac06f8c20357ea55f1
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 14:43:02 +0100
generate_release_tarballs.sh: fix generation of branch tarballs
41813629fac39f93a5aac1ac06f8c20357ea55f12020-11-23T13:36:28Z2020-11-23T13:36:28ZMerge branch 'link_releases'Anders Damsgaardanders@adamsgaard.dkcommit 41813629fac39f93a5aac1ac06f8c20357ea55f1
parent 5c6603a9d62fd37d2ad8097d1243e7647b4cacad
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 14:36:28 +0100
Merge branch 'link_releases'
10917e73b0e27fd6371e48985c0c8ad8e157dcf52020-11-23T13:34:49Z2020-11-23T13:34:49Zstagit.c: link to release tarballs under RefsAnders Damsgaardanders@adamsgaard.dkcommit 10917e73b0e27fd6371e48985c0c8ad8e157dcf5
parent ea98007b65238e1544ebfa994970e6fc032ca0c5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 14:34:49 +0100
stagit.c: link to release tarballs under Refs
5c6603a9d62fd37d2ad8097d1243e7647b4cacad2020-11-23T13:23:17Z2020-11-23T13:23:17Zgenerate_release_tarballs.sh: prefix dir in tarball with repository nameAnders Damsgaardanders@adamsgaard.dkcommit 5c6603a9d62fd37d2ad8097d1243e7647b4cacad
parent ea98007b65238e1544ebfa994970e6fc032ca0c5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 14:23:17 +0100
generate_release_tarballs.sh: prefix dir in tarball with repository name
ea98007b65238e1544ebfa994970e6fc032ca0c52020-11-23T13:17:41Z2020-11-23T13:17:41Zstagit-index.c: minor style changeAnders Damsgaardanders@adamsgaard.dkcommit ea98007b65238e1544ebfa994970e6fc032ca0c5
parent 0e29f85d1198c7e3ae7e55a501308bb6c081ff67
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 14:17:41 +0100
stagit-index.c: minor style change
0e29f85d1198c7e3ae7e55a501308bb6c081ff672020-11-23T13:16:57Z2020-11-23T13:16:57Zstagit-index.c: add link to release root dirAnders Damsgaardanders@adamsgaard.dkcommit 0e29f85d1198c7e3ae7e55a501308bb6c081ff67
parent 83593671123d4d47e736a08354b38ef604de3977
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 14:16:57 +0100
stagit-index.c: add link to release root dir
83593671123d4d47e736a08354b38ef604de39772020-11-23T13:03:56Z2020-11-23T13:03:56Zadd generate_release_tarballs.shAnders Damsgaardanders@adamsgaard.dkcommit 83593671123d4d47e736a08354b38ef604de3977
parent 505112a41a9532631787f4493ebfe848078cf9c4
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 23 Nov 2020 14:03:56 +0100
add generate_release_tarballs.sh
505112a41a9532631787f4493ebfe848078cf9c42020-11-16T11:59:57Z2020-11-16T11:59:57ZMerge branch 'master' of git://git.codemadness.org/stagit into masterAnders Damsgaardanders@adamsgaard.dkcommit 505112a41a9532631787f4493ebfe848078cf9c4
parent d2f515ef024456196a3777eef93867bb0de736ad
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 16 Nov 2020 12:59:57 +0100
Merge branch 'master' of git://git.codemadness.org/stagit into master
a63645a5ea4e60523c0024f69c627f586b601d822020-11-15T20:11:46Z2020-11-15T20:16:24Zadd meta viewport for scaling on mobileHiltjo Posthumahiltjo@codemadness.orgcommit a63645a5ea4e60523c0024f69c627f586b601d82
parent ae41add24a87027343e3a6f7eea19f3902af4a12
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 21:11:46 +0100
add meta viewport for scaling on mobile
Patch by Augustin Fabre <augustin@augfab.fr>
ae41add24a87027343e3a6f7eea19f3902af4a122020-11-15T20:11:10Z2020-11-15T20:16:06Zstyle.css: improve contrastHiltjo Posthumahiltjo@codemadness.orgcommit ae41add24a87027343e3a6f7eea19f3902af4a12
parent fc5ef41165df39d6def252e5230a63cc6839bfc1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 21:11:10 +0100
style.css: improve contrast
https://webaim.org/resources/contrastchecker/?fcolor=555555&bcolor=FFFFFF
Patch by Augustin Fabre <augustin@augfab.fr> and adapted.
fc5ef41165df39d6def252e5230a63cc6839bfc12020-11-15T19:59:34Z2020-11-15T20:01:50Zuse size_t to count linesHiltjo Posthumahiltjo@codemadness.orgcommit fc5ef41165df39d6def252e5230a63cc6839bfc1
parent 4f60446c011b45e862540c97b684c62fd8dc3c60
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 20:59:34 +0100
use size_t to count lines
4f60446c011b45e862540c97b684c62fd8dc3c602020-11-15T19:58:58Z2020-11-15T19:58:58Zavoid shadowed `name' global variableHiltjo Posthumahiltjo@codemadness.orgcommit 4f60446c011b45e862540c97b684c62fd8dc3c60
parent 9467f347a2224ac95b96ef5c74d50a4e2aad5241
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 20:58:58 +0100
avoid shadowed `name' global variable
by Augustin Fabre <augustin@augfab.fr>
9467f347a2224ac95b96ef5c74d50a4e2aad52412020-11-15T19:58:41Z2020-11-15T19:58:41Zrefs_cmp: remove unneeded castHiltjo Posthumahiltjo@codemadness.orgcommit 9467f347a2224ac95b96ef5c74d50a4e2aad5241
parent 3e7865f8f9ef87f622a7a94e7ae70355753ee66a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 20:58:41 +0100
refs_cmp: remove unneeded cast
3e7865f8f9ef87f622a7a94e7ae70355753ee66a2020-11-15T19:58:02Z2020-11-15T19:58:02Zuse LEN() macros for arraysHiltjo Posthumahiltjo@codemadness.orgcommit 3e7865f8f9ef87f622a7a94e7ae70355753ee66a
parent 75555cd99ee4d5df765f7dd6f0d09f2f925be725
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 20:58:02 +0100
use LEN() macros for arrays
from Augustin Fabre <augustin@augfab.fr>
d2f515ef024456196a3777eef93867bb0de736ad2020-08-17T19:56:23Z2020-08-17T19:56:23ZMerge branch 'master' of git://git.codemadness.org/stagitAnders Damsgaardanders@adamsgaard.dkcommit d2f515ef024456196a3777eef93867bb0de736ad
parent 6b4b99114972aea964ed76127d32dff0bfb1ac19
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 17 Aug 2020 21:56:23 +0200
Merge branch 'master' of git://git.codemadness.org/stagit
75555cd99ee4d5df765f7dd6f0d09f2f925be7252020-08-17T14:09:33Z2020-08-17T14:09:33Zbump version to 0.9.4Hiltjo Posthumahiltjo@codemadness.orgcommit 75555cd99ee4d5df765f7dd6f0d09f2f925be725
parent 5334f3e0009bb7d5835c3bad60db507bfd146930
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 17 Aug 2020 16:09:33 +0200
bump version to 0.9.4
6b4b99114972aea964ed76127d32dff0bfb1ac192020-08-11T06:15:01Z2020-08-11T06:15:01ZMerge branch 'master' of git://git.codemadness.org/stagitAnders Damsgaardanders@adamsgaard.dkcommit 6b4b99114972aea964ed76127d32dff0bfb1ac19
parent 3c8cf6cdf02c10a918d0b656dd4bccc459a8fdbd
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 11 Aug 2020 08:15:01 +0200
Merge branch 'master' of git://git.codemadness.org/stagit
5334f3e0009bb7d5835c3bad60db507bfd1469302020-08-10T14:09:46Z2020-08-10T14:09:46Zfix a small memleak in writeatom()Hiltjo Posthumahiltjo@codemadness.orgcommit 5334f3e0009bb7d5835c3bad60db507bfd146930
parent dc0709f6f4f7e256e27272cb0b8611715caf1f3b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 10 Aug 2020 16:09:46 +0200
fix a small memleak in writeatom()
non-tag references were not freed.
dc0709f6f4f7e256e27272cb0b8611715caf1f3b2020-08-08T18:01:05Z2020-08-08T18:01:05Zstagit-index: remove unveil support for argvHiltjo Posthumahiltjo@codemadness.orgcommit dc0709f6f4f7e256e27272cb0b8611715caf1f3b
parent 174a763058f9a90831ab5a2aeb1c9bfbecdabf48
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 8 Aug 2020 20:01:05 +0200
stagit-index: remove unveil support for argv
This can reach the unveil argument limits and it is not a good case for using
unveil.
174a763058f9a90831ab5a2aeb1c9bfbecdabf482020-08-05T22:11:18Z2020-08-06T16:25:27Zfix submodule lookup in bare reposkstnil@krj.stcommit 174a763058f9a90831ab5a2aeb1c9bfbecdabf48
parent f05e6b0fcb3b874180970d06ebcde05fb5aea470
Author: kst <nil@krj.st>
Date: Wed, 5 Aug 2020 22:11:18 +0000
fix submodule lookup in bare repos
git_submodule_lookup does not work without a working tree [1], so the
current approach fails to recognize any submodules in bare repos.
Instead, notice that
$ git ls-tree HEAD
lists any submodules as commit objects regardless of a working tree.
This is the only instance commit object is used in a tree, so we will
use this to check for submodules.
[1]: https://github.com/libgit2/libgit2/pull/4305/files
3c8cf6cdf02c10a918d0b656dd4bccc459a8fdbd2020-07-22T05:52:37Z2020-07-22T05:52:37ZShow date as UTCAnders Damsgaardanders@adamsgaard.dkcommit 3c8cf6cdf02c10a918d0b656dd4bccc459a8fdbd
parent d1d85502bcdcab164b0e7b3d95939bef42b8a544
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 22 Jul 2020 07:52:37 +0200
Show date as UTC
d1d85502bcdcab164b0e7b3d95939bef42b8a5442020-07-22T05:51:29Z2020-07-22T05:51:29ZMerge remote-tracking branch 'upstream/master'Anders Damsgaardanders@adamsgaard.dkcommit d1d85502bcdcab164b0e7b3d95939bef42b8a544
parent c413dc3336479c76292bf3225d58bb55c43da056
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 22 Jul 2020 07:51:29 +0200
Merge remote-tracking branch 'upstream/master'
f05e6b0fcb3b874180970d06ebcde05fb5aea4702020-07-20T12:15:12Z2020-07-20T12:15:12Zregression: do not show unset or empty tagsHiltjo Posthumahiltjo@codemadness.orgcommit f05e6b0fcb3b874180970d06ebcde05fb5aea470
parent d80a163acd47df2bd9ab145be6b249814aa9eceb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 20 Jul 2020 14:15:12 +0200
regression: do not show unset or empty tags
d80a163acd47df2bd9ab145be6b249814aa9eceb2020-07-19T14:41:10Z2020-07-19T14:41:10Zrefactor get reference, add another feed for tags/releasesHiltjo Posthumahiltjo@codemadness.orgcommit d80a163acd47df2bd9ab145be6b249814aa9eceb
parent 693c06448972f049d74addbd4942365cd37d92e4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Jul 2020 16:41:10 +0200
refactor get reference, add another feed for tags/releases
A separate Atom feed is helpful to ports maintainers to monitor new
tags/releases.
693c06448972f049d74addbd4942365cd37d92e42020-07-19T12:07:54Z2020-07-19T12:07:54Zsort branches and tags by time (descending)Hiltjo Posthumahiltjo@codemadness.orgcommit 693c06448972f049d74addbd4942365cd37d92e4
parent 467dfeb8f4bf2dd1ddb69e5c9592147acb425aab
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Jul 2020 14:07:54 +0200
sort branches and tags by time (descending)
In general version tags are done in chronological order, so this will have a
better sorting for tagged (versioned) releases.
Request from Caltlgin Stsodaat and others, thanks!
c413dc3336479c76292bf3225d58bb55c43da0562020-05-23T18:59:27Z2020-05-23T18:59:27ZMerge remote-tracking branch 'upstream/master'Anders Damsgaardanders@adamsgaard.dkcommit c413dc3336479c76292bf3225d58bb55c43da056
parent 266351f14f1f75459a6d2e81d27513da080ad065
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 23 May 2020 20:59:27 +0200
Merge remote-tracking branch 'upstream/master'
266351f14f1f75459a6d2e81d27513da080ad0652020-02-24T14:53:52Z2020-02-24T14:53:52ZCreate stagit-gopher pages for repositoriesAnders Damsgaardanders@adamsgaard.dkcommit 266351f14f1f75459a6d2e81d27513da080ad065
parent 659766c53a09b469a534cbeba9d2fe7181542fa5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 24 Feb 2020 15:53:52 +0100
Create stagit-gopher pages for repositories
467dfeb8f4bf2dd1ddb69e5c9592147acb425aab2020-02-23T19:30:46Z2020-02-23T19:30:46Zbump version to 0.9.3Hiltjo Posthumahiltjo@codemadness.orgcommit 467dfeb8f4bf2dd1ddb69e5c9592147acb425aab
parent bbeffc281df6838182ea17be4b915a6f0eb97570
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 23 Feb 2020 20:30:46 +0100
bump version to 0.9.3
659766c53a09b469a534cbeba9d2fe7181542fa52020-02-23T08:45:03Z2020-02-23T08:45:03ZPut repositories directly in $HOMEAnders Damsgaardanders@adamsgaard.dkcommit 659766c53a09b469a534cbeba9d2fe7181542fa5
parent 63be26e0567dc276b45dadeae53b537bf09d7d8c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 23 Feb 2020 09:45:03 +0100
Put repositories directly in $HOME
bbeffc281df6838182ea17be4b915a6f0eb975702020-02-21T12:46:23Z2020-02-21T12:46:23Zatom.xml: improve output format a bitHiltjo Posthumahiltjo@codemadness.orgcommit bbeffc281df6838182ea17be4b915a6f0eb97570
parent 2f7e7f2503014f66607b588f32de0b1be69c28a1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 21 Feb 2020 13:46:23 +0100
atom.xml: improve output format a bit
2f7e7f2503014f66607b588f32de0b1be69c28a12020-02-12T22:20:25Z2020-02-12T22:20:25Zimprove includes, stagit-index does not need compat.hHiltjo Posthumahiltjo@codemadness.orgcommit 2f7e7f2503014f66607b588f32de0b1be69c28a1
parent 4a93974f52683114dd6c4db3bad0b7adace7c771
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 12 Feb 2020 23:20:25 +0100
improve includes, stagit-index does not need compat.h
63be26e0567dc276b45dadeae53b537bf09d7d8c2020-01-06T10:49:36Z2020-01-06T10:49:36ZDisallow access to commit and file contents in robots.txtAnders Damsgaardanders@adamsgaard.dkcommit 63be26e0567dc276b45dadeae53b537bf09d7d8c
parent 8e6633b64f13aba222eab8996f83366ab12dc7c7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 6 Jan 2020 11:49:36 +0100
Disallow access to commit and file contents in robots.txt
8e6633b64f13aba222eab8996f83366ab12dc7c72020-01-03T09:27:50Z2020-01-03T09:27:50ZAdd "Back to index" links from repository pagesAnders Damsgaardanders@adamsgaard.dkcommit 8e6633b64f13aba222eab8996f83366ab12dc7c7
parent 4e31f0fbbe6bf3b7836bf3e0f4a7087dbbf91e9c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 3 Jan 2020 10:27:50 +0100
Add "Back to index" links from repository pages
4e31f0fbbe6bf3b7836bf3e0f4a7087dbbf91e9c2020-01-02T21:18:05Z2020-01-02T21:18:05ZNote timezone in table headerAnders Damsgaardanders@adamsgaard.dkcommit 4e31f0fbbe6bf3b7836bf3e0f4a7087dbbf91e9c
parent 09a04a8ab8624322a3dd79cedcdb8155f672c6d6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 2 Jan 2020 22:18:05 +0100
Note timezone in table header
09a04a8ab8624322a3dd79cedcdb8155f672c6d62020-01-02T21:14:59Z2020-01-02T21:14:59ZAdd script to create repository with default valuesAnders Damsgaardanders@adamsgaard.dkcommit 09a04a8ab8624322a3dd79cedcdb8155f672c6d6
parent 8dd7a4f41b2bdf83d03d48833d70cf20e5d66d54
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 2 Jan 2020 22:14:59 +0100
Add script to create repository with default values
8dd7a4f41b2bdf83d03d48833d70cf20e5d66d542020-01-02T21:08:57Z2020-01-02T21:08:57ZAdd own create.sh and post-receive.shAnders Damsgaardanders@adamsgaard.dkcommit 8dd7a4f41b2bdf83d03d48833d70cf20e5d66d54
parent c5329d68ce5748f34cb2d8a443e04e9794d07f19
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 2 Jan 2020 22:08:57 +0100
Add own create.sh and post-receive.sh
c5329d68ce5748f34cb2d8a443e04e9794d07f192020-01-02T20:49:16Z2020-01-02T20:49:16ZMerge branch 'master' of git://git.codemadness.org/stagitAnders Damsgaardanders@adamsgaard.dkcommit c5329d68ce5748f34cb2d8a443e04e9794d07f19
parent 2ce893356d238e7de8fb6110db6192f690cdf8e2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 2 Jan 2020 21:49:16 +0100
Merge branch 'master' of git://git.codemadness.org/stagit
2ce893356d238e7de8fb6110db6192f690cdf8e22020-01-02T09:43:45Z2020-01-02T09:43:45ZMerge branch 'master' of src.adamsgaard.dk:src/stagitAnders Damsgaardanders@adamsgaard.dkcommit 2ce893356d238e7de8fb6110db6192f690cdf8e2
parent 3984292b51190e9d2d93228cc109955e0f4cc42f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 2 Jan 2020 10:43:45 +0100
Merge branch 'master' of src.adamsgaard.dk:src/stagit
3984292b51190e9d2d93228cc109955e0f4cc42f2020-01-02T09:42:54Z2020-01-02T09:42:54ZAdd self to copyright noticeAnders Damsgaardanders@adamsgaard.dkcommit 3984292b51190e9d2d93228cc109955e0f4cc42f
parent d6937c195f3459194d5ab056397981e1ade54871
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 2 Jan 2020 10:42:54 +0100
Add self to copyright notice
4a93974f52683114dd6c4db3bad0b7adace7c7712019-12-29T18:02:04Z2019-12-29T18:02:04Zstyle.css: highlight anchor ids, useful for linking highlighting lines in a diffHiltjo Posthumahiltjo@codemadness.orgcommit 4a93974f52683114dd6c4db3bad0b7adace7c771
parent 31c0f006516d494dd91b10bc0486e4f9be2ca623
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 29 Dec 2019 19:02:04 +0100
style.css: highlight anchor ids, useful for linking highlighting lines in a diff
31c0f006516d494dd91b10bc0486e4f9be2ca6232019-12-22T11:53:54Z2019-12-22T11:53:54Zsmall code-style white-space/newlineHiltjo Posthumahiltjo@codemadness.orgcommit 31c0f006516d494dd91b10bc0486e4f9be2ca623
parent edee68f398f5b190f4be0127338956c0a2500662
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Dec 2019 12:53:54 +0100
small code-style white-space/newline
edee68f398f5b190f4be0127338956c0a25006622019-12-01T17:31:07Z2019-12-01T17:31:07Zadd OpenBSD unveil supportHiltjo Posthumahiltjo@codemadness.orgcommit edee68f398f5b190f4be0127338956c0a2500662
parent b5607f75afb9c6e6e6ab49128f9760d3538809cd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 1 Dec 2019 18:31:07 +0100
add OpenBSD unveil support
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.
b5607f75afb9c6e6e6ab49128f9760d3538809cd2019-12-01T17:26:27Z2019-12-01T17:26:27Zsome README tweaks and rewording, reorderingHiltjo Posthumahiltjo@codemadness.orgcommit b5607f75afb9c6e6e6ab49128f9760d3538809cd
parent adaff713dc3e9ff494632a44d5743cbc0e0e16c7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 1 Dec 2019 18:26:27 +0100
some README tweaks and rewording, reordering
adaff713dc3e9ff494632a44d5743cbc0e0e16c72019-12-01T17:26:04Z2019-12-01T17:26:04ZMakefile improvementsHiltjo Posthumahiltjo@codemadness.orgcommit adaff713dc3e9ff494632a44d5743cbc0e0e16c7
parent d6937c195f3459194d5ab056397981e1ade54871
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 1 Dec 2019 18:26:04 +0100
Makefile improvements
- 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.
b730a79a89133fad4c255508c05b713e31d1b7172019-11-16T09:42:27Z2019-11-16T09:42:27ZDetect more LICENSE and README formatsAnders Damsgaardanders@adamsgaard.dkcommit b730a79a89133fad4c255508c05b713e31d1b717
parent 152263dba5aa551563ce2f9f3902ee984e429bce
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 16 Nov 2019 10:42:27 +0100
Detect more LICENSE and README formats
152263dba5aa551563ce2f9f3902ee984e429bce2019-11-16T09:40:11Z2019-11-16T09:40:11ZDetect README files when in rst formatAnders Damsgaardanders@adamsgaard.dkcommit 152263dba5aa551563ce2f9f3902ee984e429bce
parent 34138babc0abe321e97a9df02695a56baa343acb
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 16 Nov 2019 10:40:11 +0100
Detect README files when in rst format
34138babc0abe321e97a9df02695a56baa343acb2019-10-17T12:10:50Z2019-10-17T12:10:50ZMerge branch 'master' of src.adamsgaard.dk:src/stagitAnders Damsgaardanders@adamsgaard.dkcommit 34138babc0abe321e97a9df02695a56baa343acb
parent 47886c137757a802398b8244941fd368e188377b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 17 Oct 2019 14:10:50 +0200
Merge branch 'master' of src.adamsgaard.dk:src/stagit
47886c137757a802398b8244941fd368e188377b2019-10-17T12:10:08Z2019-10-17T12:10:08ZCustom logo and faviconAnders Damsgaardanders@adamsgaard.dkcommit 47886c137757a802398b8244941fd368e188377b
parent 2ca781acf9d068936d264ca785d553ddd20184a5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 17 Oct 2019 14:10:08 +0200
Custom logo and favicon
9891d77654c0c3632567f45478960645710b2c112019-09-25T08:20:22Z2019-09-25T08:20:22ZAdd external link to top-right cornerAnders Damsgaardanders@adamsgaard.dkcommit 9891d77654c0c3632567f45478960645710b2c11
parent 2ca781acf9d068936d264ca785d553ddd20184a5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 25 Sep 2019 08:20:22 +0000
Add external link to top-right corner
2ca781acf9d068936d264ca785d553ddd20184a52019-09-25T07:54:23Z2019-09-25T07:54:23ZAdd home linkAnders Damsgaardanders@adamsgaard.dkcommit 2ca781acf9d068936d264ca785d553ddd20184a5
parent cb69d0e6a91d0134b60c69edc3f7f3180364b45e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 25 Sep 2019 09:54:23 +0200
Add home link
cb69d0e6a91d0134b60c69edc3f7f3180364b45e2019-09-25T07:43:30Z2019-09-25T07:43:30ZCustomize title in indexAnders Damsgaardanders@adamsgaard.dkcommit cb69d0e6a91d0134b60c69edc3f7f3180364b45e
parent d6937c195f3459194d5ab056397981e1ade54871
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 25 Sep 2019 09:43:30 +0200
Customize title in index
d6937c195f3459194d5ab056397981e1ade548712019-05-05T17:11:36Z2019-05-05T17:28:19ZREADME: works also on NetBSDLeonardo Taccariiamleot@gmail.comcommit d6937c195f3459194d5ab056397981e1ade54871
parent c783e54dae5bd74de2280e31223ce8a0ad0d611d
Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 5 May 2019 19:11:36 +0200
README: works also on NetBSD
c783e54dae5bd74de2280e31223ce8a0ad0d611d2019-04-23T18:53:05Z2019-04-23T18:53:05Zbump version to 0.9.2Hiltjo Posthumahiltjo@codemadness.orgcommit c783e54dae5bd74de2280e31223ce8a0ad0d611d
parent 028c7526bac907c91ef8afc6c3ae0f6d424bd229
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 23 Apr 2019 20:53:05 +0200
bump version to 0.9.2
028c7526bac907c91ef8afc6c3ae0f6d424bd2292019-03-16T12:07:58Z2019-03-16T12:07:58Zescape HTML in pathsHiltjo Posthumahiltjo@codemadness.orgcommit 028c7526bac907c91ef8afc6c3ae0f6d424bd229
parent bb1d06eb204b1d1135fcddccd14f6306abcd7f72
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 16 Mar 2019 13:07:58 +0100
escape HTML in paths
- escape paths in diff line.
- escape path in anchor href attribute in files.html
bb1d06eb204b1d1135fcddccd14f6306abcd7f722019-03-09T11:39:10Z2019-03-09T11:39:10Zpedantic snprintf() improvementHiltjo Posthumahiltjo@codemadness.orgcommit bb1d06eb204b1d1135fcddccd14f6306abcd7f72
parent 587b01428d6ec2be1ab6b468198663118d483990
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Mar 2019 12:39:10 +0100
pedantic snprintf() improvement
POSIX says:
"If an output error was encountered, these functions shall return a negative
value and set errno to indicate the error."
587b01428d6ec2be1ab6b468198663118d4839902019-03-01T10:49:29Z2019-03-01T10:49:29Zfix issues in example scriptsHiltjo Posthumahiltjo@codemadness.orgcommit 587b01428d6ec2be1ab6b468198663118d483990
parent 477d50169a42431d7fb0f939eb851ef6a2d80c3a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 1 Mar 2019 11:49:29 +0100
fix issues in example scripts
- 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.
477d50169a42431d7fb0f939eb851ef6a2d80c3a2019-02-22T10:13:44Z2019-02-22T10:13:44Zbump version to 0.9.1Hiltjo Posthumahiltjo@codemadness.orgcommit 477d50169a42431d7fb0f939eb851ef6a2d80c3a
parent 9224d31cf6fd63b6b0a29d43185ccc64035449ec
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Feb 2019 11:13:44 +0100
bump version to 0.9.1
9224d31cf6fd63b6b0a29d43185ccc64035449ec2019-02-09T14:02:38Z2019-02-16T20:17:45ZMakefile: add DOCPREFIX for installing docs in portsHiltjo Posthumahiltjo@codemadness.orgcommit 9224d31cf6fd63b6b0a29d43185ccc64035449ec
parent 3fbef5c9b0dee2106537a6718e2380eaa6e27f15
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Feb 2019 15:02:38 +0100
Makefile: add DOCPREFIX for installing docs in ports
change installed doc from /usr/local/share/stagit to /usr/local/share/doc/stagit
3fbef5c9b0dee2106537a6718e2380eaa6e27f152019-02-07T20:00:06Z2019-02-16T20:17:45Zchange order of commits in log from most recent to old to applied orderHiltjo Posthumahiltjo@codemadness.orgcommit 3fbef5c9b0dee2106537a6718e2380eaa6e27f15
parent 583c44395ccc0e052c8db5217bd51fc21f7ffbb7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 7 Feb 2019 21:00:06 +0100
change order of commits in log from most recent to old to applied order
583c44395ccc0e052c8db5217bd51fc21f7ffbb72019-02-03T14:24:34Z2019-02-16T20:17:38Zfix compile: libgit2 0.28 changed giterr_last to git_error_lastHiltjo Posthumahiltjo@codemadness.orgcommit 583c44395ccc0e052c8db5217bd51fc21f7ffbb7
parent 9ad1cb6e42096a8e1f8663bc0968bb7ea49a5052
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 3 Feb 2019 15:24:34 +0100
fix compile: libgit2 0.28 changed giterr_last to git_error_last
libgit2 commit:
https://github.com/libgit2/libgit2/commit/a27a4de6f8003961d38958893c6c637395c7cc04
9ad1cb6e42096a8e1f8663bc0968bb7ea49a50522018-12-25T12:44:02Z2018-12-25T12:44:02Zbump version to 0.9Hiltjo Posthumahiltjo@codemadness.orgcommit 9ad1cb6e42096a8e1f8663bc0968bb7ea49a5052
parent 1df3f334f6ae77950c9343299fb4bbd449d93729
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 25 Dec 2018 13:44:02 +0100
bump version to 0.9
1df3f334f6ae77950c9343299fb4bbd449d937292018-12-25T12:39:34Z2018-12-25T12:39:34Zstyle: keep default browser style for links, except patch chunksHiltjo Posthumahiltjo@codemadness.orgcommit 1df3f334f6ae77950c9343299fb4bbd449d93729
parent 3a151527e1d72aa75d9461ee9918bda3bd08bcb1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 25 Dec 2018 13:39:34 +0100
style: keep default browser style for links, except patch chunks
This is almost always an underline. This improves accessibility.
Remove underline for patch chunks for readability.
3a151527e1d72aa75d9461ee9918bda3bd08bcb12018-11-18T17:08:20Z2018-11-18T17:08:20Zin the diffstat prefix the type of change, allow CSS stylingHiltjo Posthumahiltjo@codemadness.orgcommit 3a151527e1d72aa75d9461ee9918bda3bd08bcb1
parent 608593b0f875012875f13d28fbccd533d1266fd2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 18 Nov 2018 18:08:20 +0100
in the diffstat prefix the type of change, allow CSS styling
608593b0f875012875f13d28fbccd533d1266fd22018-11-18T17:07:22Z2018-11-18T17:07:22Zdon't use a heuristic for renames, the content must match exactlyHiltjo Posthumahiltjo@codemadness.orgcommit 608593b0f875012875f13d28fbccd533d1266fd2
parent c100c3cc30dd948c881abd96720ca4fb2ddbb82f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 18 Nov 2018 18:07:22 +0100
don't use a heuristic for renames, the content must match exactly
this prevents showing files as renames when most (but not all) of the file was
changed.
c100c3cc30dd948c881abd96720ca4fb2ddbb82f2018-11-18T17:06:41Z2018-11-18T17:06:41Zdetect filetype changes in diff (for example a normal file to symlink)Hiltjo Posthumahiltjo@codemadness.orgcommit c100c3cc30dd948c881abd96720ca4fb2ddbb82f
parent 84bb2212e86c54f67dc18cf803bd2ac6edf24804
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 18 Nov 2018 18:06:41 +0100
detect filetype changes in diff (for example a normal file to symlink)
84bb2212e86c54f67dc18cf803bd2ac6edf248042018-11-11T17:23:28Z2018-11-11T18:12:55Zdetect more names for README and LICENSEHiltjo Posthumahiltjo@codemadness.orgcommit 84bb2212e86c54f67dc18cf803bd2ac6edf24804
parent 8c45dfc58edc069a3787224f522c7f62da501a80
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 11 Nov 2018 18:23:28 +0100
detect more names for README and LICENSE
- for license: LICENSE, LICENSE.md, COPYING.
- for readme: README, README.md.
8c45dfc58edc069a3787224f522c7f62da501a802018-11-11T17:09:27Z2018-11-11T17:54:40Zdetect copies and renames based on the threshold of changesHiltjo Posthumahiltjo@codemadness.orgcommit 8c45dfc58edc069a3787224f522c7f62da501a80
parent 175094899d7c453786857d0e5a7d2e634611aea4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 11 Nov 2018 18:09:27 +0100
detect copies and renames based on the threshold of changes
175094899d7c453786857d0e5a7d2e634611aea42018-08-19T20:03:45Z2018-08-22T16:30:00Zsimplify range checkHiltjo Posthumahiltjo@codemadness.orgcommit 175094899d7c453786857d0e5a7d2e634611aea4
parent 1f76a28422e1081400b1c0a3319553c73620b065
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Aug 2018 22:03:45 +0200
simplify range check