Commits
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
50e7a649ac62e04706162f1e9b7b37e7485fc7ca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not require local author info during 'got rebase'
My commit to reset committer info during rebase was too strict
in some use cases. Even when simply forwarding a branch the rebase
operation could now fail if GOT_AUTHOR is not set.
To fix this, fall back on existing commiter information if no author
is configured. And try to obtain author info from Git config in case
GOT_AUTHOR is not set.
Problems reported by Mikhail.
- Commit:
598eac4331d322ab9e91ee6864c54845e3a6e86c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reset committer during rebase and histedit
ok op@
- Commit:
f8399b8f3e641c8eb8f0a50bc42f648efeb7eacc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
call time(3) just once in commit_worktree(), not twice
- Commit:
3c29341b5d4937ebdd1af08c9dc1dbd9169a6200
- From:
- Florian Obser <florian@narrans.de>
- Date:
path_got is unused and never assigned, no need to free it
OK stsp
- Commit:
538b6881e138e4c1312a50dd16acec14fb6af7bc
- From:
- Florian Obser <florian@narrans.de>
- Date:
Do not ignore I/O errors.
Found by llvm's scan-build (dead store).
OK stsp
- Commit:
4b752015b5208a96c2d1b6c1c6b8589884b8b2b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch 'tog diff' and 'tog blame' to Myers diff for speed
Make the choice of diff algorithm configurable by diff API users.
The got and gotweb programs keep using Patience diffs which are
prettier than Myers. But tog should be as fast as possible since
it is being used interactively. If performance of Patience diff
gets improved later we can consider switching tog back over to it.
ok tracey jamsek
- Commit:
49d4a01751d39b078bfb27a2d63b5cfa69e410fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move more opentemp out of diffreg.c
ok tracey
- Commit:
f9d376997dd2e84bf84c3c9a4da842d1b5565e9d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move got_opentempfd() out of lib/diff.c again
ok tracey
- Commit:
eb81bc23c735e8aa9eaee796a230c7d7c76657ba
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of open_blob. ok stsp@
- Commit:
336075a42a5ae0fa322db734c481d21998e82bb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
build with -Wmissing-prototypes
ok stsp@
- Commit:
9fdde394b8229cc24073709050d2ef7a1443b0a9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got stage: implicitly unstage when staging the reverse of the staged diff
otherwise we end up with a staged empty edit for that file.
ok stsp@
- Commit:
b72706c3d172544098fcd24fd639374694a8fce9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move creation of tempfiles outside of lib/diff.c
ok tracey
- Commit:
4bcdc8959af14bcb2e50c7f303df6c055573bc7a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor got_patch / got_worktree_patch_complete
let got_patch own fileindex_path and call got_worktree_patch_complete
only if got_wokrtree_patch_prepare hasn't failed.
suggested by stsp@
- Commit:
f2dd780737c47f6d92e6fe01cbd51bf93c91b3b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: avoid open/sync/close the fileindex over and over again
Instead of flushing the fileindex after every patch in the patchfile
just reuse the same fileindex and sync it only at the end of the patch
operation. This speeds up 'got patch' on large repositories by quite a
lot.
- Commit:
a05fb46091635af3b96b8f49a21517bbbb38fa84
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't pass relative paths to get_file_status
- Commit:
a44927cc053de352796022400f27bce4522b407c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop relying on commit cache for good performance of got_object_id_by_path()
Instead of internally opening and closing the same commit object over and
over again, require callers to pass an open commit object in. Avoids an
inherent dependency on the commit object cache for reasonable performance.
ok op@
- Commit:
78f5ac2436c8d17d1dd687d69e51354707275988
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move got_patch file status checking in worktree.c
check_file_status used got_worktree_status to check if the file was in
an allowed state, but it's wrong since the callback is not invoked on
unchanged files.
While here also fix a relate bug: unlink(newpath) is in the wrong spot
and ends up removing files even when it shouldn't, so move it early in
the got_worktree_schedule_* error handling.
Finally, update the appropriate test case. It was passing before
because got_worktree_schedule_add returned GOT_ERR_FILE_STATUS, not
because check_file_status failed.
ok stsp@
- Commit:
a84c0d302fea1f440dfc5b1e70dac59cc50e31f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'got status' with an obstructed file given as argument; found by Omar
- Commit:
916237f3fd368a7d5714dfd3b8a755d4b1dae19d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'got diff' on files which match an ignore pattern; found by Omar Polo
- Commit:
9b4603c0290867d82a4f4f30cc49ae4e30789084
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
improve 'got add' error message if file does not exist; reported by Timo Myyrä
ok tracey
- Commit:
692bdcc498e440f1604cf7ba8a5cac22966c2ece
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got rm' report an "unexpected status" error for unversioned files
ok millert@
- Commit:
4e12cd97c02ae412c5a247dfaffa22ad58dd98b4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got rm' behave like rm(1) for paths found missing on disk
ok millert@
- Commit:
969ea98d51b11de10a979c1e8a73fbdd0c23e3b2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove non-reachable 'return NULL' statement from report_single_file_status()
- Commit:
72840534edfc1ffa7aafa0ce0ab42568c8ec7145
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
compress delta data from delta_cache directly into pack file