Commits
- Commit:
73d2837a6bfb57d1172c4e8e32eba016dfe9ab5117f8e295c08cfd73036bee42- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.131
- Commit:
56966c706460ddc5f34b075b9ae42cb08cfbb97373a799e65d5111482f5d9fe0- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list
- Commit:
0fd3aeccd5d6b2b55130a24c844c04d9f793d77e2b77c754685574cb058aba7a- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd user name is now passed via -U so we can avoid getpwnam() during reload
- Commit:
cfe15c641560134cf0cce992d489842de99f6f9ade17e71309b9891a0312e4fa- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce differences to -portable gotd.c
- Commit:
3b135bab5adc6aaaa9911f0198c31904e748863c936ce978c7c7b08fb39e707d- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a wrong bounds check in recv_tree_entries()
- Commit:
8d30135ce373e6be94329888891b111c5a2fd4cbe48a1c36ff675d13d0dec19f- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove a redundant memcpy call in recv_tree_entries()
- Commit:
5d42d6ba704c3fb69f59c0b1f486ebaa6a40cad3baaa50b40331a5cfd5f0a0ac- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent branches in protected branch namespaces from being rewound
Found by Cas Hariri
- Commit:
eff4b972377331c3faf693c81c0b90e0aa8fe60664709c4e3697d427e51a0232- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync files from diff.git 5d8f044ef31781fd2b1488a2394b9be344c53f7a398d6025cd7fad7b1f42549e
always print a tab after the file name
the way patch extracts the filename from the '---' and '+++' lines
(and also Index: etc, ...) is by breaking at the first white space.
If there is a tab though, patch will extract everything up to that
tab, including whitespaces. This is how it's possible to patch
file with whitespaces in them.
It's not possible to patch file with tabs or newlines in their name
though, unfortunately.
ok stsp on the code; regress fixed afterwards.
- Commit:
a0c556f159f44e9a0b012bc912aa5c47f405510a5a2528f57dcad9d8b9dcc9ae- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress/cmdline: fix testroot for diff_dir_to_file
- Commit:
dab6752493ea36467c9018db975ebc9f64188cd3dd64e497ccfb0c2460db4358- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress/cmdline: add a patch test for a file name with whitespaces in it
it's already passing, but make sure we won't add regressions.
- Commit:
fe66becbbe242300f7a2a5b9233dac96584839f004b922e11e6697ce705ed37f- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a TODO item for got clone/fetch
- Commit:
f93156dabe731478eb510f3febd2cd6ef3af9ac3113810b23b53cedfbb0fd226- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_worktree_open_shared() in gotadmin
- Commit:
90dea9c373b3b27dae2b2b519f5a2685752509b86922bdb248cdba245ffdaa70- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog never modifies the work tree so make it use got_worktree_open_shared()
- Commit:
36db96a6957014002a6b8e2ab2e26868eff8ec6cb4b46718b8b10eb4533e8211- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
this parameter specifies a locking strategy so rename it accordingly
- Commit:
e88d208e6f46e0ecdb19a28cdb55a09983bee0da091069d56e3be6d030bae5c7- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename the function which finds a work tree at or above the given path
- Commit:
fbc1345804cc4d1fd2cb6219d2b14ba21761e53ca58676ca4413424ac2af3773- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
static functions don't usually need a got_ namespace prefix
- Commit:
47b6dcda28d3d88cfb90d72726792d2e7653c063ca0697fe2811edee991da39a- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
collapse apply_unveil() into a single function again, with a new parameter
No functional change.
- Commit:
9f36809872a2f83a341568b0c94a0506dc75c6ad0f7abc5f1363b7fc9da3bb77- From:
- Colin Percival <cperciva@tarsnap.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
got: Allow shared worktree
Call got_worktree_open_shared and apply_unveil_worktree_ro (where
relevant) for commands which will not be modifying the work tree:
blame, cat, diff, fetch, info, log, ref, send, status, tag, tree,
and branch when in "list" or "show" modes.
Patch by Colin Percival
- Commit:
3fb2130a1acdb6b75c8c39c903f845c49d835a2bed1f53efea0675903367e589- From:
- Colin Percival <cperciva@tarsnap.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got_worktree_open_shared
The function open_worktree now takes a flags argument; and both
got_worktree_open and got_worktree_open_shared are wrappers around
got_worktree_open_flags.
Patch by Colin Percival
- Commit:
dbc85498aa04f27ae3e011e0a75f8a73173970e616145f32b49967edbd36fc9d- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move privdrop out of the per-process switch statement in gotd's main() function
This might make it easier for -portable to fix the chroot issue mentioned
in https://marc.gameoftrees.org/mail/1743195001.95133_0.html
The parent process would need to keep running as root, to allow children
to start up as root and use chroot() before privdrop.
- Commit:
6c1c3b032c05ecdacbe8627c13135075cd8020aa677cc2f79730596952928608- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent tog crashing if work tree's base commit ID uses a bad hash algorithm
- Commit:
5872d532b3085f346a9deaa043509a62d0dc9290d7f46cc9bb9578366dae2af3- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add map of tag and commit IDs from sha1 to sha256
- Commit:
f0bab4651c526c1d7907bfe9b83583e7c95c8d3add5ff2e82c5a3f5736012137- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add test coverage for "hash algorithm" in global gotsys.conf context
- Commit:
2cd8863b9225d29955e9620edf5804d13d3eb5c3c5b509ef366629f2aecbb02b- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow the default hash algorithm to be changed to sha1 in gotsys.conf
ok thomas_adam
- Commit:
87bce16fa03b3a93c5dc056d4dcc90c01a553360536614722192b754ee669733- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a todo item for work trees accessed via a read-only filesystem mount
