Commits
- Commit:
70cc983209a406b57dc37c4515e1cb9a038e0f2c
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
move got_errors[] table into a single compilation unit (error.c)
ok stsp
- Commit:
60aa1fa0d1bdadc23596e5d614d184525b17935c
- From:
- Omar Polo <op@omarpolo.com>
- 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:
6e96b3268181f675fcf264d5e682d86a15ce426a
- From:
- Omar Polo <op@omarpolo.com>
- 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:
e9ce266e31923cc339954b331d273d9bba543f6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `got patch' command for applying unified diffs
- Commit:
1d918cf99eb38998939247bea7f749f199390dc3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve error message due to malformed `author' in got.conf
tweak and ok stsp@
- Commit:
0e039681388d7ec1f832edcbb108ac28db95ae1e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
preverse binary files during updates and merges
- Commit:
5c02d2a555dc01ac06db5a47b8c81adf2bf3f8a6
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
f259c4c18277237ced1043033cb1af739f73db28
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'got merge' command for creating merge commits
Additional testing by Thomas Adam.
ok tracey
- 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'
- Commit:
659e7fbd6952b401014702a1e181642a9bba17df
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fetch only HEAD branch and tags by default; add -a option to fetch everything
- Commit:
7848a0e1655d11a8d85bb505fc6232bd779cddae
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement 'got fetch'