diff options
| author | Jeff King <peff@peff.net> | 2023-07-03 02:34:28 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-07-05 10:16:53 -0700 |
| commit | d378637d2fe9eed3bd3bd0858e6cc79a8f23510a (patch) | |
| tree | fac4684be06dd5f7de8c2cb913d9e48aea03b120 /builtin/commit.c | |
| parent | imap-send: drop unused parameter from imap_cmd_cb callback (diff) | |
| download | git-d378637d2fe9eed3bd3bd0858e6cc79a8f23510a.tar.gz git-d378637d2fe9eed3bd3bd0858e6cc79a8f23510a.zip | |
imap-send: drop unused fields from imap_cmd_cb
The imap_cmd_cb struct has several fields which are totally unused.
Presumably they did useful things in the upstream isync code from which
this is derived, but they don't in our more limited program. This is
particularly confusing for the "done" callback, which (as of the
previous patch) no longer matches the signature of the adjacent "cont"
callback.
Since we're unlikely to share code with isync going forward, we should
feel free to simplify the code here. Note that "done" is examined but
never set, so we can also drop a little bit of code outside of the
struct definition.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
