Commit Graph

16243 Commits (4a47241a3e7dd1c8df1cd0593b116f41c4f18a51)

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawk_MMtLPS7osC5MjX00q2ATjvvXPWqm0ik a545009b63 Added a comment 2011-12-09 05:21:05 -04:00
Joey Hess 97363d7e9a Merge branch 'master' of ssh://git.ikiwiki.info 2011-12-07 14:56:30 -04:00
Joey Hess 4ff23d3712 comment 2011-12-07 13:26:41 -04:00
Joey Hess d9214e7e97 remove some links to gitweb
these are a pain to keep working, and not needed
2011-12-07 13:24:59 -04:00
Joey Hess 3c10ca6a2c remove vcs-browser
not a fan of this field, and it changed again
2011-12-07 12:42:09 -04:00
ioaoue 97b2345f8c 2011-12-07 01:45:50 -04:00
ioaoue ef7f9b5b51 2011-12-07 01:42:20 -04:00
ioaoue f62d93d85c 2011-12-07 01:40:27 -04:00
ioaoue 4d4c14b25a 2011-12-07 01:37:39 -04:00
ioaoue 0656e11acf 2011-12-07 01:37:13 -04:00
ioaoue 1ce0d17dc7 2011-12-07 01:28:21 -04:00
ioaoue 01e10d16c9 2011-12-07 01:27:02 -04:00
ioaoue 8efb36dfb8 2011-12-07 01:25:52 -04:00
ioaoue 76085331a1 2011-12-07 01:25:34 -04:00
ioaoue 4c45ea0370 2011-12-07 01:25:19 -04:00
ioaoue ed74079284 2011-12-07 01:24:57 -04:00
ioaoue ba71e372c8 2011-12-07 01:24:36 -04:00
ioaoue 277ccb4317 2011-12-07 01:24:17 -04:00
ioaoue 3a9a5a6301 2011-12-07 01:23:51 -04:00
ioaoue bcc5151576 2011-12-07 01:23:24 -04:00
ioaoue 4d813da44e 2011-12-07 01:22:59 -04:00
Joey Hess f6440dd5e6 coverage merged 2011-12-06 15:04:56 -04:00
Joey Hess 2e4340766e Merge remote-tracking branch 'smcv/coverage' 2011-12-06 14:57:23 -04:00
Joey Hess 5bf7ee5dea done 2011-12-06 14:34:12 -04:00
Simon McVittie ea313b8133 Add path and path_natural sort orders
These correspond to title and title_natural, but compare the entire
path: a < a/b < a/z < ab < b.
(cherry picked from commit 903a5a314f)
2011-12-06 14:26:34 -04:00
Simon McVittie 5333c113d6 Add path and path_natural sort orders
(cherry picked from commit 272e0b2f17)
2011-12-06 14:26:27 -04:00
Joey Hess 30938ee255 better pagespec for sitemap, using page(*) to only show pages and not other
files
2011-12-06 13:24:25 -04:00
Joey Hess 8707b9f9d3 clena up the sitemap 2011-12-06 13:20:05 -04:00
Joey Hess a165790ba7 typo 2011-12-05 15:19:25 -04:00
Joey Hess 2c7a8bd684 Merge branch 'master' of ssh://git.ikiwiki.info 2011-12-05 15:17:53 -04:00
Joey Hess aa226bbb6b Consume all stdin when rcs_receive short-circuits, to avoid git SIPIPE race.
We had a weird problem where, after moving to a new, faster server,
"git push" would sometimes fail like this:

Unpacking objects: 100% (3/3), done.
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly

What turned out to be going on was that git-receive-pack was dying due
to an uncaught SIGPIPE. The SIGPIPE occurred when it tried to write to
the pre-receive hook's stdin. The pre-receive hook, in this case, was
able to do all the checks it needed to do without the input, and so did
exit(0) without consuming it.

Apparently that causes a race. Most of the time, git forks the hook,
writes output to the hook, and then the hook runs, ignores it, and exits.
But sometimes, on our new faster server, git forked the hook, and it
ran, and exited, before git got around to writing to it, resulting in
the SIGPIPE.

write(7, "c9f98c67d70a1cfeba382ec27d87644a"..., 100) = -1 EPIPE (Broken
pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---

I think git should ignore SIGPIPE when writing to hooks. Otherwise,
hooks may have to go out of their way to consume all input, and as I've
seen, the races when they fail to do this can lurk undiscovered.

I have written to the git mailing list about this.

As a workaround, consume all stdin before exiting.
2011-12-05 15:17:01 -04:00
http://kerravonsen.dreamwidth.org/ 4b99befd36 a different alternative 2011-12-04 19:38:51 -04:00
http://kerravonsen.dreamwidth.org/ 6f8398fbb9 consider alternatives? 2011-12-04 19:30:46 -04:00
https://www.google.com/accounts/o8/id?id=AItOawk_MMtLPS7osC5MjX00q2ATjvvXPWqm0ik 6168baf0e0 Added a comment 2011-12-04 10:03:55 -04:00
http://smcv.pseudorandom.co.uk/ 5c8870aa6a Added a comment 2011-12-04 09:37:27 -04:00
http://hendry.iki.fi/ 088ac167c5 2011-12-04 04:06:26 -04:00
http://hendry.iki.fi/ 13b0361414 suggest sundown 2011-12-04 03:44:06 -04:00
http://hendry.iki.fi/ 90a351d360 add wishlist tag to hopefully get the attention of Joey 2011-12-04 03:40:00 -04:00
http://hendry.iki.fi/ 1b5d460363 2011-12-04 03:38:47 -04:00
http://kerravonsen.dreamwidth.org/ 0dcb6f6539 Added a comment 2011-12-03 15:45:06 -04:00
https://www.google.com/accounts/o8/id?id=AItOawk_MMtLPS7osC5MjX00q2ATjvvXPWqm0ik 95174ba9a3 2011-12-03 14:10:23 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 0488cb312a removed 2011-12-03 13:26:19 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 525377f001 Added a comment 2011-12-03 13:25:58 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 46df230be7 removed 2011-12-03 13:25:06 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 8c03350301 Added a comment 2011-12-03 13:21:56 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 c24d8afd15 Added a comment 2011-12-03 13:21:41 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 ee052c5289 removed 2011-12-03 13:20:50 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 0df0d02334 Added a comment 2011-12-03 13:20:17 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 3f6bc63aa5 Added a comment 2011-12-03 13:17:57 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnam4a8RtFwaWkKOX2BkA5I7cpGHcFw8E0 50f1b82eb3 2011-12-03 13:16:29 -04:00