Commits
- Commit:
b15bc87b1884e0d5a69df4536d29a8a8af8a745b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix memory leak in install_symlink() error path; spotted by semarie
- Commit:
ef68ca6f52da8c840d10d8c483c77fcac614c371
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing dirname(3) error check; found by semarie
- Commit:
a919d5c4ebaba5cf7b48888745d8b554acf6fe3e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got rm' work on symlinks; test case written by tracey
- Commit:
00bb5ea05eb54b4ec01ed195104765f7baf80169
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got add' work on symlinks and let 'got status' display them
- Commit:
f35fa46a4c69eaeda5e106115e08b3cf8a0d3413
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add symlink support to 'got update'
- Commit:
0ab20ee9ead0bcdb626ef9fb52d63f58e13082a5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix handling of symlinks to a nonexistent target
- Commit:
8ba819a3547825c0e0d657a7e41610da16f6cd4f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let 'got checkout' create symlinks in a work tree
- Commit:
3665fce011b5177f15b56dfc5d98f90e0ab59803
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
display affected file path in ERR_FILE_OBSTRUCTED error messages
- Commit:
b737c85ae178a737ce5b50fc1967390d2c54292b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix endless loop introduced in 3143d852; programming is hard!
- Commit:
3143d852d788e42c45a61252acb935a698efed2f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix ignores when a path is passed to 'got status'
Problem reported by semarie, who also provided initial regression test code.
ok semarie
- Commit:
054041d073d5af5bb32b7c3299af9cf2bf85c426
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
replace the update_blob_fileindex_entry() helper function
This makes it easier to tell in which code paths we are expecting to handle
a potential 'ie' NULL pointer and avoids a pointless search of the file index.
- Commit:
5a58a42470599ad46a3acd3fce47a6a1b7026a8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in delete_blob()
- Commit:
5036ab18bf99be5d6811f17565b2c2fad47b3f73
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got update' skip conflicted files
ok millert@
- Commit:
678ade17323ba52d28ca9b2b58dfe8a232958363
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't error out if rebase sees no merged paths; elide the commit instead
- Commit:
ba580f687cd7280a6d7bffb1693077693c486056
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent 'got commit' from comitting empty sub-directories; found by tracey
- Commit:
3969253a0514c1e4c685eb413d74cd89f40ecaf0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove implicit entry update from got_fileindex_entry_alloc(); just alloc
- Commit:
15341bfd54bbabbe30297c358faf41ee05e247da
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
trim directories in got remove -R
This is a racy solution that needs to be properly implemented in the future.
ok stsp
- Commit:
de05890fef951240ac68a3ea9a577a6f82be6194
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix histedit 'rebase commit ID mismatch' error when splitting a commit
Commit IDs on histedit's temporary branch can change arbitrarily because
the user may create new commits on this branch while editing past commits.
So there is no point in trying to verify these IDs like we do during rebase.
Add a test case which demonstrates the problem.
- Commit:
63f810e6fee43e699585195a24eebdb53a99a4f4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
when "bad path" errors occur, always show the path in question
- Commit:
3c24af982ca3c4e92e4811979d4f4dedebad7f69
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix segfault in got backout which include deleted files
- Commit:
6201aef37bbf2daa3a7863f08751a08392855c85
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ignore EROFS during checkout for repositories on read-only filesystems
- Commit:
a46b9f33fb3018765180eb67cc954d863a5cd525
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a bug where 'got revert -R' failed on added subtrees
The command could fail with "got: no such entry found in tree".
This problem is reproduced by the regression test added in this commit.
This happened because file index entries were processed in the wrong
order by diff_fileindex_dir(). To fix this, keep removed entries in
the RB tree and skip them when the file index is written out, rather
than removing entries from the RB tree immediately causing side-effects
for RB_NEXT and friends.
- Commit:
867630bb8fa7066172802243ca8abacb1e9aab6a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Sleep for one nanosecond after syncing the file index to disk
Ensures that files modified after got exits have a different timestamp
from the one which was recorded in the file index.
Previously, 'got status' did not always detect such files as modified.
Problem reported by Steven McDonald.
- Commit:
bb51a5b4af467a42569e19cbeeeeccbb44d946f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -E option to 'got checkout' allowing use of a non-empty work tree path
needed by and ok kn@
- Commit:
5aa813935b6489921083da5ed9459a1cfb8a03e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add copyright year for files already touched in 2020