|
35213c7c
|
2020-07-23T14:22:39
|
|
forbid bad symlinks; add -S option to 'got commit' and 'got stage' to allow them
|
|
3c1ec782
|
2020-07-23T14:22:38
|
|
put checks for bad symlink target paths into a dedicated function
|
|
b7422a2f
|
2020-07-23T14:22:38
|
|
stop using realpath(3) to resolve a symlink target in install_symlink()
We should not resolve a symlink target path recursively when installing a
symlink in the work tree. We want to handle this symlink's target, not the
end result of following a chain of symlinks in case such links already exist.
|
|
369fd7e5
|
2020-07-23T14:22:38
|
|
add support for symlinks to 'got revert -p'
|
|
ea7786be
|
2020-07-23T14:22:38
|
|
make 'got unstage' work with symlinks
|
|
0aeb8099
|
2020-07-23T14:22:37
|
|
set a staged file type and handle it separately from the on-disk file type
|
|
fa3cef63
|
2020-07-23T14:22:37
|
|
make 'got stage -p' work with symlinks
|
|
b448fd00
|
2020-07-23T14:22:37
|
|
fix wrong function name in an error message
|
|
c631b115
|
2020-07-23T14:22:36
|
|
make staging of symlinks work
|
|
cf34e6e7
|
2020-07-23T14:22:36
|
|
mark functions which are not exposed to other files as static
|
|
4723f050
|
2020-07-23T14:22:36
|
|
more fixes for setting/getting file index entry filetype and permissions
|
|
6131ab45
|
2020-07-23T14:22:36
|
|
remove pointless error checking in got_fileindex_entry_filetype_set()
|
|
984c073d
|
2020-07-23T14:22:36
|
|
add getter/setter for staged file index entry filetype
|
|
6e1eade5
|
2020-07-23T14:22:35
|
|
fix 'got revert' progress output for symlinks
|
|
3b9f0f87
|
2020-07-23T14:22:35
|
|
handle additional symlink conflicts and report skipping of unversioned files
|
|
c90c8ce3
|
2020-07-23T14:22:35
|
|
preserve unversioned files when merging added symlinks
|
|
65b05cec
|
2020-07-23T14:22:35
|
|
add an output argument to create_fileindex_entry()
Avoids a pointless search of the file index in the case the caller
needs to use the newly created file entry.
|
|
f5f1f9c2
|
2020-07-23T14:22:35
|
|
handle on-disk file index entry filetypes properly
|
|
1e0a3718
|
2020-07-23T14:22:35
|
|
reserve some file entry mode bits for a staged file type
|
|
2e1fa222
|
2020-07-23T14:22:34
|
|
give bad symlinks a dedicated file type in the file index
|
|
b88d214a
|
2020-07-23T14:22:34
|
|
use default file permissions when installing "bad" symlinks
|
|
ef8d6031
|
2020-07-23T14:22:34
|
|
keep file index entry permission bits clear for symlinks
|
|
960094b4
|
2020-07-23T14:22:34
|
|
resolve an XXX remark in merge_file_cb()
|
|
d219f183
|
2020-07-23T14:22:34
|
|
test_cherrypick_symlink_conflicts forgot to run 'got add' on a file; fix this
|
|
e8863bdc
|
2020-07-23T14:22:33
|
|
add symlink support to 'got import'
|
|
526a746f
|
2020-07-23T14:21:31
|
|
handle newly added symlinks during 'got cherrypick'
|
|
993e2a1b
|
2020-07-23T14:21:31
|
|
handle symlink deletion and symlink conflicts during 'got update'
|
|
56d815a9
|
2020-07-23T14:21:31
|
|
We must null-terminate the result of readlink(3) in merge_symlink().
|
|
11cc08c1
|
2020-07-23T14:21:31
|
|
handle symlink conflicts by installing a file that contains conflict markers
|
|
5a1fbc73
|
2020-07-23T14:21:30
|
|
make it possible to fix "bad" symlinks with ln -sfh + got commit + got update
|
|
bd6aa359
|
2020-07-23T14:21:30
|
|
convert bad symlinks to regular files during 'got commit'
|
|
2f63b34c
|
2020-07-23T14:21:30
|
|
restore 8k buffer size for hashing file contents in got_object_blob_create()
|
|
3d9a4ec4
|
2020-07-23T14:21:30
|
|
add symlink support to 'got commit'
|
|
af57b12a
|
2020-07-23T14:21:30
|
|
add symlink support to 'got cherrypick'; test non-conflict cases only for now
|
|
40dde666
|
2020-07-23T14:21:29
|
|
add support for symlinks in the repository to 'got diff'
|
|
7d61d891
|
2020-07-23T14:21:29
|
|
fix checkout of symlinks when a relative work tree path is given
|
|
906c123b
|
2020-07-23T14:21:29
|
|
do not allow symlinks pointing into the .got directory; noticed by semarie
|
|
b15bc87b
|
2020-07-23T14:21:29
|
|
fix memory leak in install_symlink() error path; spotted by semarie
|
|
ef68ca6f
|
2020-07-23T14:21:29
|
|
add missing dirname(3) error check; found by semarie
|
|
32596e16
|
2020-07-23T14:21:28
|
|
fix got_tree_entry_get_symlink_target() in case of multiple loop iterations
|
|
f8f7c882
|
2020-07-23T14:21:28
|
|
fix buffer overflow in got_tree_entry_get_symlink_target()
|
|
e40622f4
|
2020-07-23T14:21:28
|
|
add got_object_tree_entry_is_symlink() and got_object_resolve_symlinks()
|
|
659dc16e
|
2020-07-23T14:21:28
|
|
skip the blob header in got_tree_entry_get_symlink_target()
|
|
a919d5c4
|
2020-07-23T14:21:27
|
|
make 'got rm' work on symlinks; test case written by tracey
|
|
00bb5ea0
|
2020-07-23T14:21:27
|
|
make 'got add' work on symlinks and let 'got status' display them
|
|
f35fa46a
|
2020-07-23T14:21:27
|
|
add symlink support to 'got update'
|
|
0ab20ee9
|
2020-07-23T14:21:27
|
|
fix handling of symlinks to a nonexistent target
|
|
8ba819a3
|
2020-07-23T14:21:27
|
|
let 'got checkout' create symlinks in a work tree
|
|
20ccae39
|
2020-07-21T14:19:32
|
|
cope with directory entries returned from readdir(3) with type DT_UNKNOWN
Such directory entries need special handling to make our directory traversal
code work on filesystems that do not support the d_type optimization.
I found this problem because references stored in the refs/ directory were
not shown by 'got log' and 'tog log' when a repository is mounted over NFS.
helpful feedback + ok millert@
|
|
3665fce0
|
2020-07-13T12:58:54
|
|
display affected file path in ERR_FILE_OBSTRUCTED error messages
|
|
ecd6d584
|
2020-06-27T15:20:28
|
|
fix definition of the GOT_FILEIDX_MODE_PERMS bitmask
|
|
b737c85a
|
2020-06-26T10:10:52
|
|
fix endless loop introduced in 3143d852; programming is hard!
|
|
21c17f12
|
2020-06-26T07:09:35
|
|
fix merging with files that do not contain a newline character; ok millert@
|
|
3143d852
|
2020-06-25T06:53:54
|
|
fix ignores when a path is passed to 'got status'
Problem reported by semarie, who also provided initial regression test code.
ok semarie
|
|
054041d0
|
2020-06-24T17:15:00
|
|
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.
|
|
5a58a424
|
2020-06-23T16:10:01
|
|
plug a memory leak in delete_blob()
|
|
2c2d5c5f
|
2020-06-07T11:51:19
|
|
show paths in blame.c GOT_ERR_OBJ_TYPE error messages
|
|
0553429d
|
2020-06-07T09:25:08
|
|
fix symlink check in got_fileindex_entry_update()
|
|
0d6c6ee3
|
2020-05-20T17:37:29
|
|
make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target
|
|
7aadece8
|
2020-05-17T08:23:19
|
|
allow creation of commits which carry unmodified submodule tree entries along
approach suggested by ori@ and matches how git9 behaves
ok semarie@ (who can now work with Rust-related Git repos containing submodules)
|
|
aaffadfc
|
2020-05-05T15:26:11
|
|
write directory tree entry mode bits in the same way as Git does
|
|
ac5f2b26
|
2020-05-05T15:26:11
|
|
normalize file mode bits to avoid false positive tree entry differences
|
|
0208f208
|
2020-05-05T09:53:57
|
|
show a list of paths changed in a commit with 'got log -P', and in tog
requested by matthieu@
|
|
8bd8568c
|
2020-04-24T16:23:39
|
|
remove file index entries from RB tree upon flush to disk
Fixes a file index corruption problem with 'got rebase' found by tracey.
ok tracey
|
|
59d5e252
|
2020-04-21T17:51:05
|
|
don't override port configuration with explicit argument if the url doesn't contains it
it permits to .ssh/config to be honored
same diff from stsp@
|
|
00927983
|
2020-04-19T09:11:37
|
|
remove got_packidx_get_object_idx_sha1(); it is not actually needed
|
|
ded8fbb8
|
2020-04-19T08:57:07
|
|
include the relevant object ID in NO_OBJ error messages where possible
|
|
86d8a25a
|
2020-04-19T08:57:07
|
|
show bad ID in "object not found" error from got_repo_match_object_id_prefix()
|
|
5036ab18
|
2020-04-18T18:40:00
|
|
make 'got update' skip conflicted files
ok millert@
|
|
f7b97ccb
|
2020-04-14T11:37:39
|
|
normalize tree entry modes to 0100644 or 0100755 when writing tree objects
semarie@ reported an error from go-git used by Cirrus CI:
"57243613255d758e15b0f5ae1c960b970f0435f8: malformed mode (0100640)!"
'git fsck' has no problem with mode 0100640. But writing just the two
most commonly used file modes should provide the best compatibility.
|
|
d7b899ab
|
2020-03-25T15:55:22
|
|
fix got_ref_change_symref(); it changed the ref's name instead of its target
|
|
75236079
|
2020-03-25T14:30:15
|
|
handle refs/remotes/origin/HEAD properly; reported by Matthias aka _xhr_
|
|
465971ee
|
2020-03-24T15:32:54
|
|
stop verifying pack file checksum in the main process during clone/fetch
Both got-fetch-pack and got-index-pack now verify the pack file checksum.
This means we can avoid reading the entire pack file in the main process
just to verify its checksum and avoid a noticable stall between fetching
and indexing on slow machines.
|
|
6ad68bce
|
2020-03-24T15:15:51
|
|
make got-index-pack compute and verify the pack file's SHA1 checksum
|
|
1d72a2a0
|
2020-03-24T14:08:03
|
|
represent packfile hash as byte array in the privsep layer, not as object ID
|
|
92dc95a8
|
2020-03-24T14:07:59
|
|
always initialize pack hash output parameter of got_fetch_pack()
|
|
fd251256
|
2020-03-24T14:07:58
|
|
rename an argument of got_privsep_send_index_pack_req() for clarity
|
|
e70bf110
|
2020-03-22T17:20:18
|
|
move functions from privsep.c to the helpers which use them where possible
|
|
678ade17
|
2020-03-22T15:44:34
|
|
don't error out if rebase sees no merged paths; elide the commit instead
|
|
ba580f68
|
2020-03-22T15:08:33
|
|
prevent 'got commit' from comitting empty sub-directories; found by tracey
|
|
b2070a3f
|
2020-03-22T14:21:07
|
|
allow for limiting output of 'got ref -l' to a single ref or a namespace
|
|
e8a967e0
|
2020-03-21T22:44:07
|
|
make replacing symrefs actually work in 'got fetch'
|
|
9f142382
|
2020-03-21T22:06:00
|
|
properly lock references when 'got fetch' needs to update them
|
|
0e4002ca
|
2020-03-21T21:49:13
|
|
add support for fetching arbitrary references to 'got clone' and 'got fetch'
|
|
2690194b
|
2020-03-21T18:17:12
|
|
remove GOT_FETCH_DEBUG and toggle fetch debug output with -v option instead
|
|
393fb88d
|
2020-03-21T17:28:29
|
|
handle reference-only updates in 'got fetch' where server sends an empty pack
|
|
9c52365f
|
2020-03-21T10:37:19
|
|
properly terminate the ssh process after fetching via SSH
|
|
41b0de12
|
2020-03-21T10:18:15
|
|
add support for listing remote branches and tags to 'got clone' and 'got fetch'
|
|
4ba14133
|
2020-03-20T20:23:18
|
|
add support for fetching specific branches to 'got clone' and 'got fetch'
|
|
2fb669fb
|
2020-03-20T20:23:18
|
|
initialize optional output parameters in parse_gitconfig_file()
|
|
5146eb39
|
2020-03-20T20:23:18
|
|
fix allocation size in got_privsep_recv_gitconfig_remotes(); found by free(3)
|
|
fe6043b8
|
2020-03-20T19:03:29
|
|
transmit the 'mirror' flag correctly in got_privsep_send_gitconfig_remotes()
|
|
83310ac9
|
2020-03-20T18:43:58
|
|
fix bug where duplicates were returned from got_gitconfig_get_section_list()
|
|
659e7fbd
|
2020-03-20T15:55:08
|
|
fetch only HEAD branch and tags by default; add -a option to fetch everything
|
|
62a4c94c
|
2020-03-20T15:01:15
|
|
support non-default port numbers with SSH and tweak URI parser port handling
|
|
58e1925a
|
2020-03-20T13:32:07
|
|
fix wrong sizeof in got_privsep_send_fetch_req()
|
|
469dd726
|
2020-03-20T11:44:14
|
|
add support for repository mirrors to 'got clone' and 'got fetch'
|
|
b364b1c2
|
2020-03-20T11:22:35
|
|
fix typos in error messages
|
|
76911fd2
|
2020-03-19T23:02:36
|
|
allow 'got fetch' to operate on a non-bare git repository
|
|
f1c6967f
|
2020-03-19T22:43:44
|
|
fix chopped display of git-server's progress output
|