|
93658fb9
|
2020-03-18T16:10:30
|
|
Add initial support for network protocol. Ported from git9 by Ori Bernstein.
|
|
e1e77cc4
|
2020-03-17T15:49:17
|
|
in got_opentempfd() don't attempt to unlink the file if mkstemp(3) failed
|
|
ee0cb6f2
|
2020-03-17T13:12:33
|
|
allow inflate(3) to consume all mapped data at once in got_inflate_read_mmap()
|
|
8baa7d26
|
2020-03-17T10:25:06
|
|
retry on Z_BUF_ERROR in got_inflate_read() as well
|
|
afbfc7fb
|
2020-03-15T16:15:58
|
|
remove unneeded memory allocations from ref delta parser which were leaking
|
|
686d24ff
|
2020-03-15T13:32:58
|
|
Z_BUF_ERROR is not fatal; try to decompress more data when it happens
|
|
3969253a
|
2020-03-07T19:01:44
|
|
remove implicit entry update from got_fileindex_entry_alloc(); just alloc
|
|
15341bfd
|
2020-03-05T14:39:37
|
|
trim directories in got remove -R
This is a racy solution that needs to be properly implemented in the future.
ok stsp
|
|
de05890f
|
2020-03-05T10:53:53
|
|
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.
|
|
b8b3f209
|
2020-02-29T08:15:55
|
|
make got_path_is_root_dir() deal with an arbitrary amount of leading slashes
|
|
61a7d79f
|
2020-02-29T08:05:11
|
|
remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
|
|
63f810e6
|
2020-02-29T07:54:55
|
|
when "bad path" errors occur, always show the path in question
|
|
54b1c5b5
|
2020-02-22T12:37:58
|
|
don't proceed if a bad imsg is received in recv_gitconfig_remotes()
|
|
d669b9c9
|
2020-02-22T12:37:12
|
|
fix uninitialized variablen recv_gitconfig_remotes; found by sthen@ with gcc8
|
|
7fa81f88
|
2020-02-21T01:06:03
|
|
allow 'got ref' to manipulate refs which do not have a slash in their name
|
|
bb63914a
|
2020-02-17T21:57:56
|
|
make tmp dir location a compile-time setting and change gotweb's tmp dir
We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD.
Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.
|
|
3c24af98
|
2020-02-07T21:06:03
|
|
fix segfault in got backout which include deleted files
|
|
992eb9d8
|
2020-02-07T17:02:17
|
|
spelling
|
|
9a1cc63f
|
2020-02-03T09:18:40
|
|
read repository owner name with gitconfig parser instead of a hand-rolled one
|
|
845785d4
|
2020-02-02T17:08:02
|
|
typo
|
|
6201aef3
|
2020-02-02T09:20:56
|
|
ignore EROFS during checkout for repositories on read-only filesystems
|
|
65aa7d1c
|
2020-01-28T20:07:15
|
|
simplify repository child path check in got_repo_map_path()
|
|
71ec7eac
|
2020-01-28T14:52:27
|
|
kill left-over debug code snippet from a46b9f33fb3018765180eb67cc954d863a5cd525
|
|
a46b9f33
|
2020-01-28T12:09:03
|
|
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.
|
|
3dcf3e74
|
2020-01-28T11:00:34
|
|
rewind directory file pointer before re-opening the directory
|
|
e83c0634
|
2020-01-27T22:25:59
|
|
remove pointless cwd checking from got_repo_map_path()
|
|
efbadcb1
|
2020-01-26T23:49:24
|
|
avoid creating empty files when one side of a diff is empty; ok tracey
|
|
ac9e7fdd
|
2020-01-25T16:11:31
|
|
create temporary workaround to opening /dev/null during diffing.
this will need to be reworked later. ok stsp
|
|
867630bb
|
2020-01-17T11:54:27
|
|
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.
|
|
54415d85
|
2020-01-15T22:10:31
|
|
kn@ and stsp@ suggested changes
|
|
d1f16636
|
2020-01-15T22:05:49
|
|
move got_repo_cmp_tags() to got_ref_cmp_tags()
|
|
2ddd4701
|
2020-01-15T20:39:12
|
|
move cmp_tags() into the library
|
|
71a27632
|
2020-01-15T19:26:49
|
|
move match_object_id() into the library; supersedes got_repo_resolve_commit_arg
|
|
7a1d6b72
|
2020-01-15T19:10:46
|
|
fix 'tog log -c' with tags
|
|
bb51a5b4
|
2020-01-13T10:28:58
|
|
add -E option to 'got checkout' allowing use of a non-empty work tree path
needed by and ok kn@
|
|
455de7fa
|
2020-01-12T19:41:31
|
|
Avoid out of bounds access if path is "/".
From Martin <openbsd () academicsolutions ! ch> with tweaks by me.
ok stsp
|
|
87c1ed2b
|
2020-01-07T21:50:38
|
|
don't bother swapping the first pack index cache pointer, and improve comment
|
|
f73df793
|
2020-01-07T21:02:16
|
|
increase tag cache size; makes tog more responsive when many tags exist
|
|
e1a68182
|
2020-01-07T17:49:17
|
|
fix pack index cache; don't open/close pack index files needlessly
|
|
ca6e02ac
|
2020-01-07T11:14:52
|
|
add support for first-parent history traversal to got-read-pack
|
|
5aa81393
|
2020-01-06T19:38:23
|
|
add copyright year for files already touched in 2020
|
|
e40b19ed
|
2020-01-06T16:16:51
|
|
fix reading ref deltas with GOT_PACK_NO_MMAP builds
|
|
b87b4170
|
2020-01-06T14:10:36
|
|
rename to parsed_tree_entries_free for clarity (don't use with got_tree_object)
|
|
b64b1f95
|
2020-01-06T13:10:00
|
|
plug a memory leak; parsed tree entries were not freed
|
|
fa7a529e
|
2020-01-06T12:21:37
|
|
disable delta cache in GOT_NO_OBJ_CACHE builds
|
|
cbfaaf20
|
2020-01-06T12:15:54
|
|
add missing check for errors from imsg_get()
|
|
32c85d2c
|
2020-01-06T00:01:59
|
|
revert e7a5b9e9b763327a7e1ddd69f6bc533565d60794; it changed blame output
|
|
1accf02b
|
2020-01-05T19:32:21
|
|
detect duplicate object IDs during ambiguity check; packed regress passes now
|
|
e7a5b9e9
|
2020-01-05T00:23:54
|
|
commit graph's close_branch() can be inlined in one place
|
|
df8cd9c6
|
2020-01-05T00:11:11
|
|
small simplification in got_commit_graph_iter_next()
|
|
a450c2bf
|
2020-01-05T00:05:39
|
|
remove a misleading comment
|
|
48595de1
|
2020-01-04T23:58:45
|
|
remove redundant code from add_node_to_iter_list()
|
|
94489f7d
|
2020-01-04T23:54:53
|
|
remove commit graph iter_node pointer; use the iter_list head instead
|
|
5175b31a
|
2020-01-04T21:51:24
|
|
improve commit graph's error handling of non-existent paths
|
|
7e33c8c5
|
2020-01-04T21:31:55
|
|
no need to open a commit in got_commit_graph_iter_start()
|
|
3ff3126d
|
2020-01-04T21:28:00
|
|
simplify got_commit_graph_iter_start(); adding an ID to open_branches suffices
|
|
14159a7b
|
2020-01-04T21:15:59
|
|
remove unused 'node' parameter from advance_branch()
|
|
8e291695
|
2020-01-04T21:12:59
|
|
commit graph's idset data pointers were not actually used
|
|
57eecd46
|
2020-01-04T20:06:38
|
|
remove pointless output parameters from fetch_commits_from_open_branches()
|
|
ec1904dc
|
2020-01-04T19:55:21
|
|
fix error in previous commit
|
|
13a851c1
|
2020-01-04T19:50:01
|
|
simplify changed-path and branch-done detection in commit graph
|
|
de56b2d7
|
2020-01-04T19:39:29
|
|
move changed-path detection out of add_node() in commit graph
|
|
88cdb9c6
|
2020-01-04T18:51:14
|
|
init TAILQ earlier in got_commit_graph_open(), just in case
|
|
a342f20d
|
2020-01-04T18:47:57
|
|
remove a redundant call to detect_changed_path() in commit graph
|
|
22220781
|
2020-01-04T18:36:07
|
|
simplify error handling in got_commit_graph_open()
|
|
3ddcebf3
|
2020-01-04T18:31:19
|
|
merge alloc_graph() into got_commit_graph_open()
|
|
3d509237
|
2020-01-04T18:25:28
|
|
simplify got_commit_graph_open()
|
|
11d7587e
|
2020-01-04T17:57:01
|
|
replace commit graph's head_node pointer with a local variable
|
|
ee780d5c
|
2020-01-04T15:44:13
|
|
remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead
|
|
e51d7b55
|
2020-01-04T08:35:17
|
|
prevent rebase with an out-of-date work tree
|
|
7f47418f
|
2019-12-20T15:54:59
|
|
make 'got checkout' and 'got update' work with read-only repositories
but warn users about the garbage collection problem
|
|
965988c5
|
2019-12-16T12:40:02
|
|
plug memory leak introduced in commit 6fc93f379e4f736797334532691d298244b2b014
|
|
fdcb7daf
|
2019-12-15T11:15:48
|
|
always unlink merged temporary files if an error occurs
|
|
2ad902c0
|
2019-12-15T11:03:52
|
|
use fchmod() instead of chmod() to tweak permissions of a merged temp file
|
|
32d2fb48
|
2019-12-15T10:53:14
|
|
add missing error checks to an openat() call
|
|
60522982
|
2019-12-15T10:35:13
|
|
fix wrong function names in errno error messages
|
|
886cec17
|
2019-12-15T10:33:27
|
|
close races with concurrent filesystem modification when reading ignore files
|
|
70e3e7f5
|
2019-12-13T20:05:57
|
|
add -k option to 'got remove' to keep files on disk
ok stsp
|
|
ab0d4361
|
2019-12-13T12:00:10
|
|
fix leak in an error path of get_file_status()
|
|
882ef1b9
|
2019-12-13T11:19:26
|
|
fix fstatat() and openat() error checking in get_file_status()
|
|
3d35a492
|
2019-12-13T11:10:25
|
|
avoid opening the file in get_file_status() if possible
|
|
82223ffc
|
2019-12-13T11:09:40
|
|
fix wrong function name in errno error message
|
|
22902794
|
2019-12-13T11:02:05
|
|
this lseek() call in read_dirlist() isn't needed
|
|
12463d8b
|
2019-12-13T11:52:18
|
|
address some of the file descriptor vs. path races in status callbacks
|
|
7f91a133
|
2019-12-13T11:05:04
|
|
open files during status crawl in a race-free way, too
|
|
ae8965b9
|
2019-12-13T10:42:39
|
|
add missing fdopendir() error check in read_dirlist()
|
|
6fc93f37
|
2019-12-13T10:36:41
|
|
prevent the status crawl from racing with paths changing in the filesystem
|
|
f4d199c9
|
2019-12-13T10:02:48
|
|
oops, fix previous
|
|
43ff8261
|
2019-12-13T10:01:49
|
|
check for fclose() failure in get_file_status()
|
|
1338848f
|
2019-12-13T09:38:52
|
|
open the file just once in get_file_status()
|
|
f2a9dc41
|
2019-12-13T00:29:28
|
|
add -R option to 'got remove' for recursive deletion
ok stsp
|
|
dbb83fbd
|
2019-12-13T00:27:57
|
|
there's no need to store a directory path in struct schedule_addition_args
ok tracey
|
|
022fae89
|
2019-12-06T16:18:26
|
|
Introduce -I to cmd_add to disregard ignores when adding recursively. Expand add.sh tests. Update TODO.
|
|
2c98ee28
|
2019-11-29T04:35:09
|
|
NAME_MAX does not account for a terminating NUL
|
|
cd95becd
|
2019-11-29T02:46:04
|
|
parse remotes from gitconfig
|
|
56e0773d
|
2019-11-28T02:32:58
|
|
convert tree entries from SIMPLEQ to an array
|
|
cd9e913a
|
2019-11-27T01:34:30
|
|
pre-allocate the correct amount of memory in got_privsep_send_tree()
|
|
5f25cc85
|
2019-11-26T22:43:12
|
|
remove obj->path_packfile which is unused nowadays; saves a few free() calls
|
|
3b647085
|
2019-11-23T21:03:29
|
|
plug leaks in error paths of got_privsep_send_tree()
|
|
7f358e3b
|
2019-11-23T21:03:29
|
|
eliminate redundant memcpy in got_privsep_send_tree_req()
|