Commits
- Commit:
818df7b50765ef5fa60fc39d18a90e70937c5248
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
2d26ff5622d14a24c43d1ac83931a7168de7bc0a
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.113
- Commit:
e96e07c567e498429cf44c94d832c1a0023bcd21
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: do not forget to initialize *ngroups argument for getgrouplist()
spotted by Denis Bodor, thanks!
- Commit:
d61a86355960fe8b722abcf7ca17ab1555098469
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
whitespace fix; spotted by op@
- Commit:
9d0fa121cc0343b6d6549c1f584854e815532186
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
improve redundant pack detection during cleanup
Instead of storing all referenced object IDs in a set, use the pack index
of the large pack file we have created to check whether an object exists.
Apply the modification time check only to packs which contain unreferenced
objects. Otherwise we can leave many duplicate pack files behind. I observed
this when all refs were packed and the packed-refs file was days old.
ok op@
- Commit:
d0f9c42e96876e00ab862401ece39cb22672c874
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use got_path_cmp() instead of strcmp() in pack_info_cmp()
ok op@
- Commit:
0cfb450d62aa7d093492ffb76596f2afa2788a62
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
when packing, do not forget to mark commits reached via tags as traversed
ok op@
- Commit:
920dbaf2068c197068c69885a4aeb3f069e74484
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ignore arbitrary amounts of leading slashes in ignore patterns, not just one
- Commit:
67c9668c7af827a8993e54f80c570bc6dc818f93
- From:
- Evan Silberman <evan@jklol.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tweak 'got status' and 'got add' ignores handling for better git compatibility
Skip past leading slashes in ignore patterns. In gitignore(7), these
trigger the behavior got has by default. Add regress test.
Lift documentation of ignore patterns to a subsection, referenced by
the `add` and `status` docs.
Refine documentation of ignore patterns to discuss the extensions to
glob(7) as a whole, and then list caveats relative to git(1) and
cvs(1).
Add a file to the test worktree in the main gitignore regress test in
order to register a known delta to gitignore(7) that was ambiguously
documented previously: for the pattern a/**/foo, git will ignore
a/foo, but got will not.
Patch by: Evan Silberman
- Commit:
ced9384791900617df4d2e207645c080870d0ef6
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: delete trailing whitespaces
- Commit:
159ea3056da50e60e9a5df26cef748c04524c48f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: simplify handling of action not found
- Commit:
e76fd26a19896783d2fc07416eaa26765ca65aa9
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
aae998ac8116020e82f84f7c96cdaf4b7e28fe89
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.112
- Commit:
d545aa9290c56a5fe59937502b1dde75326d2f24
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
11e2655204661b2a89c6ea8dc526a95c504a241b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.112
- Commit:
818c447486f315a604ef87bab5de79707a5ee0e7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
stop opening the repository when opening a work tree
Opening a bunch of files in /tmp for pack temp files and opening the
repository just to validate the work tree's base-commit ID is overkill.
Simply parse the ID directly. If the commit object no longer exists we
will run into another error sooner or later. The commit is already
protected by the work tree reference. If it is missing then something
has badly gone wrong.
Doing less work when opening work trees speeds up 'got status' a bit.
As pointed out by Kyle this also avoids running got-read-gitconfig
twice when opening both a repository and a work tree.
ok by op@ and Kyle Ackerman
- Commit:
a912299c03df09397587f434bd4d5e8f9ad19cbf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add comments explaining that .got/base-commit needs hash algo information
Hopefully, if we ever bump the work tree format in the future we will
see these comments and sneak in a change to the .got/base-commit file
in order to record the hash algorithm of the base commit ID.
- Commit:
b5c9579e6c5505125ac9ce171891e126c1c728e0
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Plug memory leaks in some libexecs
This occurred when these particular libexecs get an imsg of type
GOT_IMSG_STOP. They attempt to exit the main loop and leak the last
imsg they received.
ok stsp@ op@
- Commit:
6b89d48589d6584c63c8b9dd8b0abde8501bcc92
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Plug a memory leak in gitconfig.c
conf_parse_line frees *section before allocating a new one,
which leaks *section on the last iteration of conf_parse.
ok stsp@
- Commit:
56a0cc310dea25836a22e707244b42306dba5539
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove a gotsysd todo item that is done
- Commit:
78d5affcbbd1ba3e15aa9fe400e7d849d5840277
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
implement support for protected references in gotsys.conf and gotsysd
- Commit:
3a9d1ac3ef2ebff9148c4d7dda9dd2d3d03c6a1c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotsysd: call gotsys_conf_clear() in sysconf_shutdown() before exiting
- Commit:
4d310c96ec77b8544747611c57338cd7c49c4753
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix unrelated errors being reported if a histedit operation is aborted
This avoids errors such as "object not found" or "reference not found"
when exiting the histedit script editor without making any changes to
the script. got_worktree_histedit_abort() was filling up error.c error
buffers with unrelated errors that were simply being ignored.
I now see the expected "no changes made to histedit script" error.
Issue reported by ninjin on IRC
- Commit:
90def070598b8850aabd6a6a621c4de2f1e31e74
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a test for behaviour around .gitignore files within sub-directories
- Commit:
12d198bbbb076d1ba4ce85d5714380a277eb4a39
- From:
- Anton Lindqvist <anton@basename.se>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: inherit all user groups
Required if repos_path is not owned by the _gotwebd group.
ok stsp@