Commits
- 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
- Commit:
324d37e7c791a6e6ff08598c3e6206ba956d0965
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got path APIs available to library consumers
- Commit:
4229330be464eb3f99f05520e67edd1cb3cc1057
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix allocation size in alloc_added_blob_tree_entry()
- Commit:
0f63689de68526464ea93d1dc72ca49f138cdf39
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unnecessary allocation in match_ct_parent_path()
- Commit:
ce0de6b686eb6239b2454cde401d6fb38a999dee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix memleak in write_tree()
- Commit:
797eca751ecaa0175aabbad1ac06381e10d5366e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove dead code
- Commit:
9ba0479c9a95dc336779534de660469d6f82ce31
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix memleaks in write_tree()
- Commit:
36a387004fc6fb4f302443e39bdffc01d1c1ed47
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop caching head ref's value in struct got_worktree; may become stale
- Commit:
1251a9e5a52510aea3b03f1228de7404e6f95a3a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
note potential problem in the existing out-of-dateness check