|
73e7eb7d
|
2020-12-15T23:45:34
|
|
add got_error_fmt()
got_error_fmt() could eventually replace got_error_path() which has already
been used to construct errors with strings that are not actually paths...
ok millert@
|
|
4cc6a5a5
|
2020-12-15T22:42:20
|
|
add got_error_from_errno_fmt() for more flexibility in error messages
suggested by and ok millert
|
|
20b7abb3
|
2020-10-22T20:36:23
|
|
detect unknown repository format extensions (such as sha256 format)
ok millert
|
|
257add31
|
2020-09-09T23:57:40
|
|
add got.conf(5) configuration file
ok tracey
|
|
35213c7c
|
2020-07-23T14:22:39
|
|
forbid bad symlinks; add -S option to 'got commit' and 'got stage' to allow them
|
|
fb863fa4
|
2020-06-22T15:06:23
|
|
get a parser in place for the future inclusion of gotconfig to git repos
this is for got push and got fetch, primarily
ok stsp
|
|
0d6c6ee3
|
2020-05-20T17:37:29
|
|
make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target
|
|
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.
|
|
678ade17
|
2020-03-22T15:44:34
|
|
don't error out if rebase sees no merged paths; elide the commit instead
|
|
0e4002ca
|
2020-03-21T21:49:13
|
|
add support for fetching arbitrary references to 'got clone' and 'got fetch'
|
|
659e7fbd
|
2020-03-20T15:55:08
|
|
fetch only HEAD branch and tags by default; add -a option to fetch everything
|
|
7848a0e1
|
2020-03-19T16:57:27
|
|
implement 'got fetch'
|
|
fe53745c
|
2020-03-18T16:11:30
|
|
convert readn and readpkt to struct got_error
|
|
abd4a1be
|
2020-03-18T16:10:32
|
|
move new errors codes to end of error code list
|
|
5cc27ede
|
2020-03-18T16:10:32
|
|
make protocol dial helpers return struct got_error style errors
|
|
93658fb9
|
2020-03-18T16:10:30
|
|
Add initial support for network protocol. Ported from git9 by Ori Bernstein.
|
|
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.
|
|
61a7d79f
|
2020-02-29T08:05:11
|
|
remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
|
|
9f33591a
|
2020-02-14T22:26:09
|
|
check required querystring commit exists for gw_tags
|
|
e1a68182
|
2020-01-07T17:49:17
|
|
fix pack index cache; don't open/close pack index files needlessly
|
|
5aa81393
|
2020-01-06T19:38:23
|
|
add copyright year for files already touched in 2020
|
|
3d509237
|
2020-01-04T18:25:28
|
|
simplify got_commit_graph_open()
|
|
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
|
|
cd95becd
|
2019-11-29T02:46:04
|
|
parse remotes from gitconfig
|
|
bd5895f3
|
2019-11-28T05:06:55
|
|
Outright forbid reference names with a leading '-'.
Matches behaviour documented in git-repository(5).
|
|
6d17833f
|
2019-11-08T13:10:36
|
|
add color support to 'tog diff'
|
|
2822a352
|
2019-10-15T11:38:27
|
|
add 'got integrate' command
|
|
aba9c984
|
2019-09-08T17:14:34
|
|
obtain repo format version and commit author name/email from .git/config
|
|
cc483380
|
2019-09-01T13:08:13
|
|
fix NULL deref in got_error_from_errno via got_error_uuid (found by jasper)
|
|
8e7bd50a
|
2019-08-22T22:20:56
|
|
initial implementation of 'got tag' command
|
|
84792843
|
2019-08-09T12:31:18
|
|
attempt to reject GOT_AUTHOR values without an email address
|
|
dc424a06
|
2019-08-07T17:26:35
|
|
initial 'got stage -p' implementation
|
|
f032f1f7
|
2019-08-04T14:10:07
|
|
fix and test interaction of rebase/histedit -c and 'got stage'
|
|
f0b75401
|
2019-08-03T22:55:36
|
|
fix out-of-date check regression; only commit staged files after 'got stage'
|
|
735ef5ac
|
2019-08-03T21:35:34
|
|
reject staging of out-of-date files
|
|
ebf48fd5
|
2019-08-03T20:43:55
|
|
handle conflicted files passed to 'got stage'
|
|
d3e7c587
|
2019-08-03T17:26:53
|
|
handle double-staging
|
|
24278f30
|
2019-08-03T17:16:35
|
|
make 'got revert' work with staged files
|
|
9acbc4fa
|
2019-08-03T15:50:08
|
|
test 'got rm' behaviour on staged files
|
|
916f288c
|
2019-07-30T11:30:20
|
|
prevent 'got commit' on branches outside "refs/heads/"
(the only exception is the work tree's temporary histedit branch)
|
|
ff6aa206
|
2019-07-25T15:25:52
|
|
if histedit has commits to edit, provide a hint in error message
|
|
8f8646e5
|
2019-07-25T12:27:34
|
|
list of merged paths for rebase and histedit must not be empty
|
|
8ca9bd68
|
2019-07-25T11:36:03
|
|
use a dedicated error code for histedit path-prefix error
|
|
0ebf8283
|
2019-07-23T17:39:43
|
|
initial 'got histedit' implementation
|
|
64c6d990
|
2019-07-11T16:37:36
|
|
prevent rebase in a work tree with an incompatible path prefix
|
|
7d5807f4
|
2019-07-11T14:57:24
|
|
disallow 'got update' and 'got commit' while rebase is in progress
|
|
818c7501
|
2019-07-10T18:23:39
|
|
initial 'got rebase' implementation
|
|
e09a504c
|
2019-06-28T20:59:14
|
|
introduce support for abbreviated object IDs
|
|
4e759de4
|
2019-06-26T09:03:12
|
|
add 'got branch' command
|
|
5ef14e63
|
2019-06-02T20:50:34
|
|
add 'got backout' command
|
|
03415a1a
|
2019-06-02T20:31:34
|
|
allow 'got cherrypick' with a root commit (adds all files in commit)
|
|
234035bc
|
2019-06-01T13:35:47
|
|
add 'got cherrypick' command
|
|
a1fb16d8
|
2019-05-24T14:51:46
|
|
make moved branch head references easier to deal with
|
|
79c99a64
|
2019-05-23T22:24:13
|
|
don't leak objects which can't be cached
|
|
cc43886e
|
2019-05-22T15:28:17
|
|
improve wording of an error message
|
|
df056ada
|
2019-05-15T07:27:06
|
|
introduce got_error_path()
|
|
196d54c7
|
2019-05-15T07:15:27
|
|
define message for error code GOT_ERR_DIR_NOT_EMPTY
|
|
a367ff0f
|
2019-05-14T14:23:00
|
|
make 'got update' verify that provided commit and branch match
|
|
638f9024
|
2019-05-13T12:40:57
|
|
rename got_error_prefix_errno() to got_error_from_errno()
|
|
d5bea539
|
2019-05-13T10:56:28
|
|
fix linear ancestry verification check for 'got update'
|
|
33ad4cbe
|
2019-05-12T19:53:17
|
|
implement spawning an editor to collect a commit message
bails on empty messages, trims leading and trailing newlines
this currently disables the unveil in the commit process because
it's not compatible with spawning the editor
also prevent commits when there are no changes
|
|
2af4a041
|
2019-05-11T16:21:20
|
|
got_error_set_errno: take a char arg to pass to got_error_prefix_errno
$> got rm a
got: : No such file or directory
becomes
$> got rm a
got: /path/to/a: No such file or directory
|
|
230a42bd
|
2019-05-11T13:04:38
|
|
got_error_from_errno -> got_error_prefix_errno
also add got_error_prefix_errno2 and got_error_prefix_errno3 which
should hopefully all be merged into a single function with variadic
args (but can't alloc mem)
|
|
48b8b0eb
|
2019-05-11T10:40:57
|
|
error: introduce got_error_prefix_errno for better errno messages
|
|
819f385b
|
2019-05-10T11:16:09
|
|
ensure that commits use intended base blobs for changes
|
|
09f5bd90
|
2019-05-09T15:33:57
|
|
try to detect concurrent commits; not perfect yet (see comments)
|
|
35bd8fed
|
2019-05-09T14:57:06
|
|
require GOT_AUTHOR environment variable
|
|
b249b824
|
2019-05-09T13:47:59
|
|
add APIs to change references
|
|
c4296144
|
2019-05-07T10:17:36
|
|
WIP commit implementation
|
|
95edb37e
|
2019-03-28T23:25:44
|
|
add missing error string for GOT_ERR_FILE_OBSTRUCTED
|
|
2ec1f75b
|
2019-03-26T10:35:33
|
|
add a basic implementation of 'got rm'
|
|
0c48fee2
|
2019-03-11T18:15:28
|
|
refuse to create got worktree at a git repo path
|
|
f77a24b0
|
2019-03-11T14:20:46
|
|
validate ref names
|
|
01b7ba6b
|
2019-03-11T11:36:40
|
|
add a lockfile API
|
|
09589288
|
2019-03-10T15:45:07
|
|
add got_error_uuid()
|
|
d1688ce0
|
2019-02-06T00:08:47
|
|
remove a pointless error code
|
|
247140b2
|
2019-02-05T17:15:54
|
|
make got_worktree_open() crawl upwards
|
|
f5d3d7af
|
2019-02-05T15:19:24
|
|
use path lists to sort dirent, tree object, and file index entries
|
|
a808cfa5
|
2019-02-03T17:07:55
|
|
add GOT_ERR_BAD_REF_DATA
|
|
2aa0475c
|
2019-02-03T17:00:40
|
|
add got_error_not_ref()
|
|
5d56da81
|
2019-01-13T17:15:53
|
|
happy new copyright year
|
|
27793341
|
2019-01-12T18:58:04
|
|
introduce special error code for a corrupt file index
|
|
be7061eb
|
2018-12-30T17:30:42
|
|
ensure that 'got update' stays on the current branch
|
|
49520a32
|
2018-12-29T15:51:56
|
|
verify path prefix when checking out into existing work tree
|
|
52a74475
|
2018-12-24T16:46:13
|
|
implement got_fileindex_read() - not yet tested
|
|
4c838a52
|
2018-12-23T22:58:50
|
|
fix message of GOT_ERR_PRIVSEP_MSG error
|
|
d1451975
|
2018-11-11T13:52:20
|
|
add custom error code for 'no such tree entry' errors
|
|
91a3d81f
|
2018-11-11T13:41:46
|
|
introduce got errors with custom messages; add one for ERR_NO_OBJ
|
|
99437157
|
2018-11-11T12:52:59
|
|
abort checkout operations cleanly when Ctrl-C is hit
|
|
89817b30
|
2018-11-11T11:29:19
|
|
test for git's "Fix big left-shifts of unsigned char" delta bug
|
|
1a76625f
|
2018-10-22T21:36:39
|
|
make 'tog log' use background thread and introduce global mutex
|
|
55afbf19
|
2018-09-08T12:15:13
|
|
tweak imsg-related error messages
|
|
730c718b
|
2018-06-21T18:25:45
|
|
introduce GOT_ERR_RANGE
|
|
9ba79e04
|
2018-06-11T18:42:04
|
|
commit graph support for tog(1)
|
|
372ccdbb
|
2018-06-10T19:01:41
|
|
basic commit graph; make 'got log' use it; WIP with known bugs
|
|
54be8251
|
2018-06-04T20:23:59
|
|
add an object id set data structure
|
|
0c048b15
|
2018-04-27T11:25:46
|
|
offsets in pack files should not make us seek beyond EOF
|
|
b419fc47
|
2018-04-26T22:17:43
|
|
error out if child dies or does not exit with success
|
|
8c580685
|
2018-04-22T15:40:59
|
|
treat unexpected message from unpriv processes as error
|