Commits
- 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
- 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:
b5d22c386422ab4e29e05d887089fae7e446e40b
- From:
- Florian Obser <florian@narrans.de>
- Date:
Don't chug along if repo format version is unsupported.
Found by llvm's scan-build (dead store).
OK stsp
- Commit:
fced5a66069199024aaf413a06bcf544b959f6a8
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
gotwebd: fix potential type mismatch between format specifier and argument
ok tracey
- Commit:
05f04cdf3fa9619d7055f098b55f1633dbbf12c0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: blame view keymap to open log of annotated line
As per stsp's TODO item: open a log view of the selected line with 'L'.
helped by and ok stsp@
- Commit:
97f28afb9820967508ab57f5ed6a5c75f49464b4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress: add missing return in error path
- Commit:
8978dfde09c478299a51fa414a3b8c39e4f2c96e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document pull request workflow in got.1 man page
With permission from Jelmer Vernooij to use my pull request config
for Dulwich, and Jelmer's name, as a real-life example.
ok tracey, jamsek
- Commit:
79deadfa3f6b989f7a9df793f0f112464bef0f65
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo in cat_commit
otherwise prints the author instead of the committer
- Commit:
2b3e6702748e05e788bfea21aa384af4352e859b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: alias J and K to > and < keybindings for diff view
Use J and K to move to the next and previous commits, respectively, when the
diff is loaded from the log or blame views.
Patch by Mikhail
ok stsp@
- Commit:
62b21d332b3a92a7f99022d68bc8fd98a4682d33
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got commit: add flag to specify the author
This adds a new flag, `got commit -A', that allows to specify the commit
author but retains the "committer" (which is obtained as usual via
GOT_AUTHOR, got.conf or git config.)
with lots of help from and ok stsp
- Commit:
314c3f148b7679296136b460ea9a8f0d4c74d437
- From:
- Omar Polo <op@omarpolo.com>
- Date:
TODO: remove tog author/committer toggle entry
- Commit:
cf208ddd0ee1b6c232ef38bc307e689bc2b4653b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix email address parsing
we were both too strict and too lose. To avoid breaking got object
parser (and to some extent ours too) we need to ensure that there aren't
any line feeds, extra < or > and no trailing gibberish. The '@' is not
actually required in the email.
various tweaks and ok stsp
- Commit:
10aab77fd5164e672b109e74278bc080a7546fb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tog: add key to toggle author/committer in log view
improvements and ok by jamsek and stsp
- Commit:
756050ac401f1e724f0c1fd97af4a9855589c703
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mark got_error_fmt as printf-like and fix the arisen errors
ok stsp@