Commits
- Commit:
4fedbf4c4e5ffc90d4eb6f38c58a4b9d927d896c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid got_repo_map_path() in 'got tree' if a work tree is available
Note that got_worktree_resolve_path() will return a path based on
the current working directory if the argument is the empty string.
This quirk keeps the behaviour of 'got tree' intact which depends
on the current working directory if run in a work tree.
ok naddy@
- Commit:
9314b9f4a55e5ebd1a98fa58bcd4e429e8b46163
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
test case for 'got integrate' failing if symlink changes to file; patch by jrick
This test verifies the current behaviour, even though it is not the most
desirable behaviour.
- Commit:
727173c3ab3a0b386e808d2d6bbeacd048710216
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
initialize sb.st_mode after stat(2) failure in got_worktree_resolve_path()
- Commit:
017406073fd742cc052672dd2f2689838e76df3f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid got_repo_map_path() in 'got blame'
'got blame' does not need access to the work tree. So far the work tree
was completely hidden with unveil(). We must now expose the work tree
while resolving the path, so unveil() calls are shuffled around slightly.
Failing realpath() calls would mess with path resolution otherwise.
There's a bug in got_worktree_resolve_path() where it failed to canonicalize
a path constructed from a user-specified path that does not exist on disk.
Note that this path falls into strncmp() a few lines down. I am fixing this
by adding canonicalization. Generally, joining paths with asprintf() and
comparing paths with strncmp() is fragile. A more general solution might be
needed but I am leaving that for another day.
ok naddy
- Commit:
7f9bfb3188bd9d77317f3205b61e96c7a55b005a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
replace resolve_commit_arg() helper in got.c with got_repo_match_object_id()
- Commit:
3818e3c42c1ac77dac0c571165dabfe2da05ff2b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
convert all remaining instances of chmod(2) to fchmod(2)
ok stsp
- Commit:
0843a4ce462d9a691a3b5f38a465b129b69fdd5f
- From:
- Sebastien marie <semarie@openbsd.org>
- Date:
use fchmod(2) instead of chmod(2). it is less racy, and we just opened the descriptor.
ok naddy@ stsp@
- Commit:
f8c474099e137ca59909ff027a093d754d222f9a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix permissions mode bits for fetched pack files; patch by Alisdair MacLeod
- Commit:
579bd556f987d6059cca7f20219140dae23079f3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent a NULL dereference if 'got log -p' runs against a root commit
- Commit:
eef9542c44a360aeec73151d75342f0559a590b4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
preserve what was passed in if got_repo_map_path() can't figure out a path
problem found by + ok naddy
- Commit:
603cdeb0c7bcddc1abea9ced622f6eaa82c00f35
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got log' avoid got_repo_map_path() if run in a work tree
ok naddy
- Commit:
20b7abb3fa8e5b46bacd07df9f85cfd7edc5a4c9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
detect unknown repository format extensions (such as sha256 format)
ok millert
- Commit:
60ca2a50c4fa6806752129de244576f0d289ffa0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
47d693bd3ebdcb7fd32bb8e1528b24596c6593ed
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.43
- Commit:
62d463cac1fd99c423acb07c0367c649724a2a9a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes
- Commit:
54eb00d5beb979ca755db29889d236201e53cd52
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
properly handle nonexistent remote repository names given to 'got fetch'
found by jrick
ok naddy
- Commit:
2513f20abd32eca0e2f74e92abd73629b4360258
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug memory leaks in error paths; found by naddy
- Commit:
74cfe85e3941b6738539031e8c2cf8e59db13eab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_dirname() in tog's input_log_view(); avoids const dirname(3)
ok naddy
- Commit:
20a2ad1cd21c17764d7586038148381fb41adcb9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_dirname() in schedule_for_deletion(); avoids const dirname(3)
ok naddy
- Commit:
fddefe3be51f4f87aeffcb5b9c666a5b77672e5b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_dirname() in remove_ondisk_file(); avoids const dirname(3)
ok naddy
- Commit:
f5375317cb16274ce182ea5d99dd913de9b07390
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_dirname() in install_blob() to avoid const dirname(3)
ok naddy
- Commit:
f4994adcb43b7e46b012a47d9a749f7c2625796e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_dirname() in install_symlink() to avoid const dirname(3)
ok naddy
- Commit:
ce031e9edbda06714eec1e83db6d05ea9230c1d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_dirname() in is_bad_symlink_target()
ok naddy
- Commit:
ed6b5030fc87f1d187b18f724e18beb2212f6104
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_dirname() in merge_blob() instead of assuming const dirname(3)
ok naddy
- Commit:
3524bbf95aa21318b6fff23c10b26ac57d1ab374
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make merge_file() use got_path_dirname() instead of assuming const dirname(3)
ok naddy