Commits
- Commit:
9fad5d8c4a361d55ab50c7d41ddb1353d76c7302
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check return value of RB_INSERT; ok + memleak fix by op@
- Commit:
0349119bc89a854c641721aee56940d37b1f20b5
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
move got_errors[] table into a single compilation unit (error.c)
ok stsp
- Commit:
49114f01f4c397e460d9d2d27619e841184b217a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
augment patch progress callback with hunks info; recover from errors
Augment got_patch_progress_cb by providing the hunks that were applied
with offset (or that failed) and the recoverable error encountered
during the operation (bad status, missing file, ...)
got_patch now proceeds when a file fails to be patched and exits with
GOT_ERR_PATCH_FAILED if no other errors are encountered.
While here, also add a test for the 'hunk applied with offset' case and
shrink test_patch_dont_apply and illegal_status by taking advantage that
'got patch' doesn't stop at the first error. (And add some other cases
to illegal_status too.)
discussed with and ok stsp@
- Commit:
bb2ad8ff07ba26d01c541025d8daaa04723bd280
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
refactor apply_patch to support renaming files
add two helper functions (schedule_add, schedule_del) and move the guts
of apply_patch into a new function `patch_file'. This simplifies
apply_patch and makes easier to figure out what happens.
Then, drop GOT_ERR_PATCH_PATHS_DIFFER since we allow the to rename
files.
- Commit:
069bbb862c310dff25056a8d02a59bded471478d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add `got patch' command for applying unified diffs
- Commit:
17431c138a938066f1f24d60a05fcbc2934b2dfc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
improve error message due to malformed `author' in got.conf
tweak and ok stsp@
- Commit:
24f136e0f955e179395f9d081b45fbea32f02325
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
preverse binary files during updates and merges
- Commit:
3dc1dc04a5ecf97ba3ce3f8c103c73bcfe00e31e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
for portability, handle errno variations upon open(2) failure with O_NOFOLLOW
Problem pointed out by naddy for FreeBSD -portable.
Discussed with millert, thomas adam, and naddy.
- Commit:
10604dce6e625d11974fb5491598bbb54069e5d3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a 'got merge' command for creating merge commits
Additional testing by Thomas Adam.
ok tracey
- Commit:
dd038bc6ec835ad3fd3c0b5303b8af9ad506c8cc
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under
linux.
- Commit:
f8a36e221091eb68b439ebe4eb07a5d03b335c28
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add 'got send' command for sending changes to remote repositories
Known to work against git-daemon and github Git server implementations.
Tests by abieber, naddy, jrick, and myself.
Man page additions reviewed by Lucas.
- Commit:
6843859a3bc6129aa748a72b6bb588d575db52cf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
display recovery steps in the lonely pack index error message
- Commit:
d5c81d448ae4eec21053152e1c82c66eb11ca7a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
verify object ID checksums while loose objects are being accessed
- Commit:
1124fe406f09a7d5d995da60e6251e3440226d40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle pack index files which lack a corresponding pack file
ok millert
- Commit:
05118f5ae5dbf7f5e714baec9417e4192659d06a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement gotadmin pack, indexpack, and listpack commands
- Commit:
73e7eb7d1cfead096b0297377490aeaac95a73f5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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@
- Commit:
4cc6a5a5fa3d5a5351d59385e614a0a78d167987
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got_error_from_errno_fmt() for more flexibility in error messages
suggested by and ok millert
- Commit:
20b7abb3fa8e5b46bacd07df9f85cfd7edc5a4c9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
detect unknown repository format extensions (such as sha256 format)
ok millert
- Commit:
257add310e4b16ae43b467b91f66b773da39f470
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got.conf(5) configuration file
ok tracey
- Commit:
35213c7c838a48142d398147b54bb9938af8cab0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
forbid bad symlinks; add -S option to 'got commit' and 'got stage' to allow them
- Commit:
fb863fa46f4ac9493cff1e6bb9aa13d753bd5fb8
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
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
- Commit:
0d6c6ee302022b4b2746cd5a85df1f34f8891b9c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target
- Commit:
f7b97ccb29b3e414e360ff635f9bc114f8db7c2f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
678ade17323ba52d28ca9b2b58dfe8a232958363
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't error out if rebase sees no merged paths; elide the commit instead
- Commit:
0e4002cadf11b9274c4355850d55bd59bbc20d31
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for fetching arbitrary references to 'got clone' and 'got fetch'