Commits
- Commit:
07f5b47a743b8436b0a26055e563b23c29e3cf28
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't leak 'relpath' memory in got_worktree_schedule_add()
- Commit:
17ed46186c2a79ae984817ddcdab9f803f23636a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow removing multiple paths at once for 'got rm'
- Commit:
03415a1a67d78f2decd6e46d82288a224bd4454d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow 'got cherrypick' with a root commit (adds all files in commit)
- Commit:
a8db5ed88e635d83d1cf9b7e9bbe48eea50c192c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused fields from struct merge_file_cb_arg
- Commit:
2b92fad7804791e1a20f46acf637ff4c40470e50
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
test and fix expected file status after 'got cherrypick'
- Commit:
9c6338c4052d0127c812ecc3bd4a5ddde55ba2f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce sync_fileindex() helper in worktree.c
- Commit:
234035bc7943e32aa92668438f4c0ba9c85e2f83
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add 'got cherrypick' command
- Commit:
f6d88e1a0cac5d10deaafff839c36f2a9860dd8c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix lack of NUL termination of a path; bug exposed by new realpath(3)
- Commit:
c932eeeb83c00ba282780d657b539e342d092311
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got update' bump the base commit ID of unchanged files
This change makes it actually possible to get around commit-time
out-of-dateness by running 'got update'.
The test added with this commit shows that our out-of-dateness
check is currently too simplistic; an update is required between
any two commit operations! It would be better to allow commits to
proceed until a situation arises where file content must be merged.
- Commit:
8656d6c4d5273b7a838b8d2b0b057891e50a2ece
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make struct got_commitable opaque to library users
- Commit:
a3df2849ff6ef714618aee3003e83b56282dbb49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bug reproduced by xfail test 'test_commit_added_subdirs'
- Commit:
024e9686ae5fdfe2c0699649dc600c3dd39397f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add branch support to 'got update'
- Commit:
08573d5b25f67f49eebace9318c417f8d384ab10
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add branch support to 'got checkout'
- Commit:
b416585cf047654c6eb266874b5465a6f67861a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store file's base commit ID in got_commitable and use it for OOD check
- Commit:
016a88dd43b7cb2c25db43168377a501de53b1d9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
report base commit of fileindex entries to status callback
- Commit:
c4e12a883ce36af19facd44f759c26b2bf004795
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_commitable's 'base_id' to 'base_blob_id'; more obvious
- Commit:
638f9024045bbe2420143f8868dcc484c231c634
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_error_prefix_errno() to got_error_from_errno()
- Commit:
19332e6de6ff3f51e60c6e32716235833b2c6085
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid undefined behaviour (comparison with string literal)
- Commit:
33ad4cbe5926c7fe36929934d68a000fe19dafa3
- From:
- joshua stein <jcs@jcs.org>
- Date:
implement spawning an editor to collect a commit message
bails on empty messages, trims leading and trailing newlines
this currently disables the unveil in the commit process because
it's not compatible with spawning the editor
also prevent commits when there are no changes
- Commit:
2f17228ee55ecd8c69a9d0dac94841c7894d0d6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
lock branch reference file during 'got commit' to prevent a race
- Commit:
1dd5492090bfc3d9e553b4306a3cca1f03adaa71
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
open the file index just once when adding multiple files
- Commit:
2af4a0419220dba40c25f0f6af548638b5ae3a1b
- From:
- joshua stein <jcs@jcs.org>
- Date:
got_error_set_errno: take a char arg to pass to got_error_prefix_errno
$> got rm a
got: : No such file or directory
becomes
$> got rm a
got: /path/to/a: No such file or directory
- Commit:
656b1f76d3a6f52318782284fa83ae47894cbffb
- From:
- joshua stein <jcs@jcs.org>
- Date:
while (1) -> for (;;)
- Commit:
230a42bdc60c6136d2a5ce65bf1a2f26d990c096
- From:
- joshua stein <jcs@jcs.org>
- Date:
got_error_from_errno -> got_error_prefix_errno
also add got_error_prefix_errno2 and got_error_prefix_errno3 which
should hopefully all be merged into a single function with variadic
args (but can't alloc mem)
- Commit:
48b8b0ebe312124b17b290c38f2bbd0b5fbc1338
- From:
- joshua stein <jcs@jcs.org>
- Date:
error: introduce got_error_prefix_errno for better errno messages