Commits
- Commit:
65858f9a993c163be8f4af482e7b400535d61d17
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make mandoc -T lint got.1 happier; pointed out by Mark Jamsek
- Commit:
7f5531cddb475a234ab659960efcb4f1aee3fb8d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document use of GOT_AUTHOR by 'got rebase' and 'got histedit'
- Commit:
543bec4ff9437a6e01b7e86770938007190e52df
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got histedit' fetch author info from Git configuration as a fallback
- 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:
0f91044a8e1edfa553268e8437f58c21e1e4ac39
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix name clash in gotwebd
Rename GOT_PACK_NUM_TEMPFILES in gotwebd, since it clashes with
a name already used in lib/repository.c.
ok tracey
- Commit:
5e98fb339b4588f8e07c12b9f9ace9dbdcc47592
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: uppercase alpha key maps that open new views
ok stsp@
- Commit:
01a7bcaf15198d23a77acc28899c3c206cdc5001
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: reset view->offset when clearing log view state
Don't move the selection cursor due to a bogus offset after closing child views
following use of 'B', C-l, and backspace log view key maps.
ok stsp@
- Commit:
6fe51fee00c219cf4a74684211a620b3ff9f02ef
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: use view->resize idiom to ensure log is populated
Replace view->mode == TOG_VIEW_LOG checks for requesting commits to populate
the log view with calls to view->resize().
ok stsp@
- 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:
dff918251f8c81f6d1a277cf8e9f4f348ebee837
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: populate new child view log lines when switching split
When switching a child log view from a h- to a v-split, new log lines are
empty. Rather than (mis)trace height and (not) call request_log_commits(), let
resize_log_view() do the math and request commits if needed to draw new lines.
ok op@
- Commit:
f26cc5f2126442207cd94f69d093f159445e8e20
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not forget to free(cwd) at the end of cmd_rebase() and cmd_histedit()
- Commit:
c8283a6b5ca94901ddccbd5043a68eb09420e1cc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong error return in cmd_commit()
- Commit:
6f748833062c683ec23808460f4bb67bd18693e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
comment tweak
- Commit:
0c41134356d52f1dd4db38637202364533f43866
- From:
- Lucas <lucas@sexy.is>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
got_repo_pack_fds_close: don't close(0)
got_repo_pack_fds_close will try to close all of the GOT_PACK_NUM_TEMPFILES fds,
even the ones that didn't manage to get a value from got_opentempfd(), which
would result in a close(0) if we do not initialize to -1 here.
- Commit:
c46eda88bcbbcf577ca7a805746b44d63c0e4c0a
- From:
- Florian Obser <florian@narrans.de>
- Date:
Correctly track if we sent more data since the last time we looked.
With the narrow scope of bytes_sent_cur it would always be zero, and
we would always update progress.
Found by llvm's scan-build (Dead store).
OK stsp
- Commit:
c3821befbed0b67d1b48a5cfa3aaa2e022c58430
- From:
- Florian Obser <florian@narrans.de>
- Date:
Prevent use-after-free of packed_refs_path in error path.
Found by llvm's scan-build.
OK stsp
- Commit:
c9e76cc42e880db2e858c1e99942214157bd7ea9
- From:
- Florian Obser <florian@narrans.de>
- Date:
Prevent memory leak when asprintf fails.
Found by llvm's scan-build.
OK stsp
- Commit:
f97edf0cbcf2ee1ea1d71a162699f0be79bd0400
- From:
- Florian Obser <florian@narrans.de>
- Date:
Make sure got_repo_pack_fds_close() frees a malloc'ed pointer.
Found by llvm's scan-build (bad free).
OK stsp
- Commit:
2edc2f9dc130b3033b3ac7fe72754b2e6ef15dc7
- From:
- Florian Obser <florian@narrans.de>
- Date:
If the first readdir() returns NULL err is uninitialized.
This can't happen in practice, but llvm's scan-build doesn't know this.
OK stsp
- Commit:
b7ced457451732add8f4107e469ced58fc8d4d4a
- From:
- Florian Obser <florian@narrans.de>
- Date:
We don't care about the length of the read line.
Found by llvm's scan-build (dead store).
OK stsp
- Commit:
eff568509962015d1495b29d30e8375b7ee427e4
- From:
- Florian Obser <florian@narrans.de>
- Date:
Do not ignore error from got_pathlist_append.
Found by llvm's scan-build (dead store).
OK stsp
- Commit:
a310d9c3a96d8b9ec72eb3fe1f2251b8ba5aa61f
- From:
- Florian Obser <florian@narrans.de>
- Date:
Do not ignore error from format_author().
Found by llvm's scan-build (dead store).
OK stsp
- Commit:
c9917e65d9995cc47cf892e092d7344f52675579
- From:
- Florian Obser <florian@narrans.de>
- Date:
Dot not ignore error from got_object_id_str().
Found by llvm's scan-build (dead store).
OK stsp
- Commit:
3c29341b5d4937ebdd1af08c9dc1dbd9169a6200
- From:
- Florian Obser <florian@narrans.de>
- Date:
path_got is unused and never assigned, no need to free it
OK stsp