|
6dea73df
|
2019-09-22T22:47:16
|
|
Replace fgetln() with getline()
getline() is, per the latter's OpenBSD man page, safer and more
portable than fgetln().
|
|
303e14b5
|
2019-09-22T16:04:05
|
|
Add missing includes for time() and ctime()
These headers were implicitly used on OpenBSD, but building on Linux
revealed that <time.h> wasn't included directly. diffreg.c uses
ctime(), which additionally needs <sys/types.h>.
|
|
83290b45
|
2019-09-22T15:59:06
|
|
Remove return value from diffreg's fetch()
The last use of this was removed in
0165cdf03ffac4c24334979832ad27554913d54c over a year ago.
|
|
8fbe07c2
|
2019-09-22T15:58:49
|
|
Remove unused variable in diffreg's fetch()
|
|
f66c734c
|
2019-09-22T15:24:34
|
|
missing error check in write_tree(); found by jj@ with scan-build
|
|
909d120e
|
2019-09-22T15:21:26
|
|
missing errer check in update_blob(); found by jj@ with scan-build
|
|
4793d91b
|
2019-09-22T15:16:33
|
|
have got_object_parse_* check for zero-length input
|
|
6ced7ba8
|
2019-09-22T13:28:06
|
|
avoid a NULL deref in diff_fileindex_tree(); found by jj@ with scan-build
|
|
b1317e77
|
2019-09-22T10:51:10
|
|
plug error leak in got_packidx_init_hdr(); found by jj@ with scan-build
|
|
aa6c0b51
|
2019-09-22T10:35:16
|
|
remove unused variable in got_privsep_recv_obj() (patch by Steven McDonald)
|
|
5cade901
|
2019-09-22T10:34:44
|
|
fix error return in got_path_find_prog() (patch by Steven McDonald)
|
|
d6fca0ba
|
2019-09-15T13:51:17
|
|
check calloc() for NULL return value
|
|
25dced9b
|
2019-09-15T13:46:51
|
|
fix possible memleak in worklist_add() if path is too long
|
|
ddc7b220
|
2019-09-08T18:29:14
|
|
do not leak ibuf in error paths of read_*_privsep()
|
|
c9956ddf
|
2019-09-08T18:13:54
|
|
use author name/email from ~/.gitconfig if GOT_AUTHOR is not set
|
|
aba9c984
|
2019-09-08T17:14:34
|
|
obtain repo format version and commit author name/email from .git/config
|
|
4b55f459
|
2019-09-08T13:13:37
|
|
fix indentation in lib/worktree.c
|
|
40b289d7
|
2019-09-07T12:05:27
|
|
make 'got status' ignore inaccessible directories (reported by semarie)
|
|
72fd46fa
|
2019-09-06T17:11:26
|
|
fix modified files not shown by 'got status' after committing staged changes
|
|
6b68ccd6
|
2019-09-01T13:10:13
|
|
prevent theoretical double-free with non-OpenBSD asprintf (found by jasper)
|
|
cc483380
|
2019-09-01T13:08:13
|
|
fix NULL deref in got_error_from_errno via got_error_uuid (found by jasper)
|
|
cdb8f1fa
|
2019-08-28T18:50:20
|
|
fix possible NULL deref in alloc_symref()
|
|
7f11502c
|
2019-08-28T18:48:27
|
|
fix possible use-after-free in got_worktree_close()
|
|
6772cf22
|
2019-08-27T19:01:04
|
|
got_packidx_open: free packidx object when open(2) fails
|
|
57ebf19f
|
2019-08-27T19:00:15
|
|
buf_alloc: free whole BUF* in allocation failure path
|
|
6aeab596
|
2019-08-28T14:51:42
|
|
fix deletion of branches stored in packed-refs
broken since 29606af7a3a58767bf817a38035490899609d13e
|
|
f2db9c47
|
2019-08-24T22:14:29
|
|
don't mask "not a git repo" errors in got_repo_open()
|
|
1d126e2d
|
2019-08-24T14:39:58
|
|
add support for reading .git/config; parser was based on isakmpd/conf.c
|
|
63c5ca5d
|
2019-08-24T20:56:15
|
|
detect and ignore Git submodules
|
|
2a06fe5f
|
2019-08-24T12:58:07
|
|
indicate non-existent paths in 'got status' and make 'got diff' error for them
|
|
b8bad2ba
|
2019-08-23T20:01:06
|
|
make 'got tag -l' list tags by time stamp in descending order
|
|
29606af7
|
2019-08-23T18:42:27
|
|
allow got_ref_list() to restrict returned refs to a particular namespace
|
|
de30857e
|
2019-08-23T16:40:51
|
|
fix reading pack index files with large offsets (patch by Hiltjo Posthuma)
|
|
2575b0eb
|
2019-08-22T22:51:39
|
|
use correct label for author (aka tagger) info when writing tag objects
|
|
8e7bd50a
|
2019-08-22T22:20:56
|
|
initial implementation of 'got tag' command
|
|
8aa93786
|
2019-08-22T18:04:32
|
|
make 'got cat' output look more like raw object files
|
|
24ea5512
|
2019-08-22T14:26:00
|
|
make 'got cat' show raw log messages, i.e. leaving PGP sigs intact
|
|
01073a5d
|
2019-08-22T14:17:38
|
|
initial 'got cat' implementation
|
|
6fb7cd11
|
2019-08-22T11:33:50
|
|
add cancellation support to commit graph and 'got blame'
|
|
e6209546
|
2019-08-22T11:12:24
|
|
untie cancel callback declaration from the work tree
|
|
d0275cf7
|
2019-08-22T01:15:38
|
|
remove unused variable in blame_commit()
|
|
4c9641fd
|
2019-08-21T16:57:44
|
|
fix and simplify blame algorithm
Always diff against latest version of file. This is much easier
since there is no need to keep track of lines shifting around.
|
|
d0c4e49e
|
2019-08-19T12:12:30
|
|
remove pointless offset variable in get_blamed_line()
|
|
548237bc
|
2019-08-19T11:29:01
|
|
fix blame bug where lines got annotated with wrong commit
|
|
b02560ec
|
2019-08-19T09:54:52
|
|
fix number of lines accounted for during blame
|
|
84f17c46
|
2019-08-18T15:11:10
|
|
don't put pointless zero-offset chunk at head of diffset list
|
|
1e45b069
|
2019-08-18T15:02:58
|
|
don't add chunks with zero offset to diffoffset list
|
|
8d725ae1
|
2019-08-17T09:37:25
|
|
make blame go through first parent history; add more blame test cases
|
|
14ed98fd
|
2019-08-15T01:57:45
|
|
remove unused 'oldfile' parameter from diffreg.c's fetch()
|
|
0b2899f8
|
2019-08-18T11:26:15
|
|
attribute commits created with git(1) in test suite to Flan Hacker
|
|
3d69ad8d
|
2019-08-17T15:28:04
|
|
make 'got revert' to ignore unversioned files instead of aborting with 'bad path'
and add a regress to check the revert isn't aborted anymore
|
|
dd4a6547
|
2019-08-17T10:17:49
|
|
plug memory leak in sort_tree_entries_the_way_git_likes_it()
|
|
6af1ccbd
|
2019-08-16T13:16:50
|
|
sort tree object entries the way git likes it
|
|
0d8ff7d5
|
2019-08-15T00:15:32
|
|
rename got_blame_incremental() to got_blame()
|
|
e27a7222
|
2019-08-14T22:52:57
|
|
remove got_blame() API, now unused
|
|
f595d9bd
|
2019-08-14T22:51:13
|
|
fix line offset calculations in got_object_blob_dump_to_file()
|
|
09867e48
|
2019-08-13T17:01:23
|
|
properly parse timestamps in commit objects as UTC (patch by Hiltjo Posthuma)
|
|
5943eee2
|
2019-08-13T16:58:34
|
|
strip Git GPG signatures from log messages
|
|
5d844a1e
|
2019-08-13T15:41:46
|
|
don't attempt to parse Git's "leightweight" tags as real tag objects
|
|
8d2c5ea3
|
2019-08-13T10:49:23
|
|
don't leak memory for pack file path when opening objects
|
|
ca0d469c
|
2019-08-13T10:20:42
|
|
don't forget to do refcounting in got_object_tag_close()
|
|
29e86f7a
|
2019-08-13T00:32:42
|
|
introuce a hard limit on recursion through symbolic references
|
|
12ce7a6c
|
2019-08-12T20:56:30
|
|
include <limits.h> instead of <sys/limits.h>; patch by Thomas Klausner
|
|
78695fb7
|
2019-08-12T12:38:08
|
|
fix blame with single-commit history and with files without \n
|
|
d24820bf
|
2019-08-11T21:19:14
|
|
add support for tag objects to 'got diff'
|
|
718ef3e9
|
2019-08-11T20:15:17
|
|
simplify cleanup code paths in got_path_find_prog()
|
|
202329ae
|
2019-08-11T20:11:56
|
|
fix some more occurrences of potential errno clobbering
|
|
41d2888b
|
2019-08-11T20:03:36
|
|
move an assignment closer to error check in got_object_get_path()
|
|
b15816dd
|
2019-08-11T20:01:21
|
|
in got_fileindex_entry_update() don't hide errors other than ENOENT
|
|
ef5e02fd
|
2019-08-11T18:45:18
|
|
don't clobber errno value of opendir(3); found by Hiltjo Posthuma
|
|
acb4e1d1
|
2019-08-10T18:43:09
|
|
sync merge(1) fix diff from OpenRCS/OpenCVS
|
|
f1e81a05
|
2019-08-10T16:57:20
|
|
fix bug where 'revert -p' would delete all lines following a reverted change
|
|
d473b4e4
|
2019-08-10T00:49:10
|
|
fix merge bug inherited from OpenRCS, affecting lines with leading .
|
|
c39c25dd
|
2019-08-09T14:35:32
|
|
improve error message if helper binaries fail to unveil(2)
|
|
303e2782
|
2019-08-09T13:37:56
|
|
add support for tags to -c options of some got commands
|
|
a0de39f3
|
2019-08-09T11:56:24
|
|
fix build on OpenBSD/sparc64 (gcc)
|
|
b80270a7
|
2019-08-09T00:12:00
|
|
make 'got status' find top-level .cvsignore when invoked from a subdir
|
|
6841da00
|
2019-08-08T23:53:17
|
|
add support for .cvsignore files, as found in /usr/ports, to 'got status'
|
|
e635744c
|
2019-08-08T18:25:59
|
|
merge create_staged_content() and create_reverted_content() helpers
|
|
33aa809d
|
2019-08-08T18:17:04
|
|
implement 'revert -p'
|
|
d3bcc3d1
|
2019-08-08T17:27:36
|
|
make revert of a staged deletion a no-op for better interaction with -R
|
|
65084dad
|
2019-08-08T16:52:12
|
|
in revert_file(), only construct on-disk path when actually needed
|
|
2163d960
|
2019-08-08T16:49:36
|
|
rename local variable on got_worktree_revert()
|
|
1f1abb7e
|
2019-08-08T16:39:07
|
|
implement revert with a status walk to prepare for 'revert -p'
|
|
8957ae76
|
2019-08-08T16:38:43
|
|
ensure that file index entry perms map to regular files
|
|
af5a81b2
|
2019-08-08T14:08:34
|
|
fix and test repeated stage -p on the same file
|
|
8b13ce36
|
2019-08-08T13:02:20
|
|
fix and test stage/unstage with unversioned files
|
|
4ce46740
|
2019-08-08T12:44:18
|
|
label staged blobs with "(staged)" in got diff output
|
|
19e4b907
|
2019-08-08T12:22:52
|
|
fix and test 'q' command for unstage -p
|
|
2e1f37b0
|
2019-08-08T12:04:29
|
|
implement 'got unstage -p'
|
|
ad7de6a5
|
2019-08-08T09:27:38
|
|
remove unused function got_diff_blob_file_lines_changed()
|
|
14c901f1
|
2019-08-08T09:25:49
|
|
split up worktree.c's merge_blob() into merge_blob() and merge_file()
|
|
88f33a19
|
2019-08-08T08:54:18
|
|
ensure that stage -p choice 'q' doesn't skip subsequent files
|
|
a7c9878d
|
2019-08-08T08:40:38
|
|
make stage -p show the number of changes in a file
|
|
2db2652d
|
2019-08-07T18:25:46
|
|
make path arguments to 'got stage' optional
|
|
b353a198
|
2019-08-07T17:40:15
|
|
add 'q' response to 'got stage -p'
|
|
dc424a06
|
2019-08-07T17:26:35
|
|
initial 'got stage -p' implementation
|
|
3043f6a3
|
2019-08-07T13:30:12
|
|
remove accidental assignment in diffreg.c
|
|
3aa5969e
|
2019-08-06T18:16:41
|
|
check the status of specified paths before staging any of them
|
|
7f1f93af
|
2019-08-06T17:24:17
|
|
introduce got_diff_blob_file_lines_changed()
|