]> git.ipfire.org Git - thirdparty/git.git/commit
global: mark code units that generate warnings with `-Wsign-compare`
authorPatrick Steinhardt <ps@pks.im>
Fri, 6 Dec 2024 10:27:19 +0000 (11:27 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2024 11:20:02 +0000 (20:20 +0900)
commit41f43b8243f42b9df2e98be8460646d4c0100ad3
tree27a0fe0c493a3e08af4d502aaad6be01fac69118
parent709fdce0893f93464435841e0eb9f6df3fd73807
global: mark code units that generate warnings with `-Wsign-compare`

Mark code units that generate warnings with `-Wsign-compare`. This
allows for a structured approach to get rid of all such warnings over
time in a way that can be easily measured.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
265 files changed:
add-interactive.c
add-patch.c
advice.c
apply.c
archive.c
attr.c
base85.c
bisect.c
blame.c
bloom.c
builtin/add.c
builtin/am.c
builtin/bisect.c
builtin/blame.c
builtin/branch.c
builtin/cat-file.c
builtin/checkout--worker.c
builtin/checkout-index.c
builtin/checkout.c
builtin/clean.c
builtin/clone.c
builtin/commit.c
builtin/describe.c
builtin/diff-files.c
builtin/diff-index.c
builtin/diff-tree.c
builtin/diff.c
builtin/difftool.c
builtin/fast-export.c
builtin/fast-import.c
builtin/fetch-pack.c
builtin/fetch.c
builtin/for-each-repo.c
builtin/fsmonitor--daemon.c
builtin/gc.c
builtin/grep.c
builtin/help.c
builtin/index-pack.c
builtin/log.c
builtin/ls-files.c
builtin/mailsplit.c
builtin/merge-file.c
builtin/merge-index.c
builtin/merge-ours.c
builtin/merge-tree.c
builtin/merge.c
builtin/mv.c
builtin/name-rev.c
builtin/pack-objects.c
builtin/pack-redundant.c
builtin/pack-refs.c
builtin/patch-id.c
builtin/prune.c
builtin/pull.c
builtin/push.c
builtin/range-diff.c
builtin/rebase.c
builtin/receive-pack.c
builtin/reflog.c
builtin/remote.c
builtin/repack.c
builtin/replay.c
builtin/rerere.c
builtin/reset.c
builtin/rev-list.c
builtin/rev-parse.c
builtin/revert.c
builtin/rm.c
builtin/shortlog.c
builtin/show-branch.c
builtin/show-index.c
builtin/sparse-checkout.c
builtin/stash.c
builtin/submodule--helper.c
builtin/tag.c
builtin/unpack-objects.c
builtin/update-index.c
builtin/update-ref.c
builtin/var.c
builtin/worktree.c
bulk-checkin.c
bundle-uri.c
bundle.c
cache-tree.c
chunk-format.c
color.c
column.c
combine-diff.c
commit-graph.c
commit-reach.c
commit.c
compat/fsmonitor/fsm-listen-darwin.c
compat/mingw.c
compat/poll/poll.c
compat/terminal.c
compat/win32mmap.c
compat/winansi.c
config.c
connect.c
convert.c
credential.c
csum-file.c
daemon.c
date.c
decorate.c
delta-islands.c
diagnose.c
diff-delta.c
diff-lib.c
diff-merges.c
diff-no-index.c
diff.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c
diffcore-rotate.c
dir.c
entry.c
ewah/ewah_bitmap.c
ewah/ewah_io.c
ewah/ewah_rlw.c
fetch-pack.c
fmt-merge-msg.c
fsmonitor.c
gettext.c
git.c
gpg-interface.c
graph.c
grep.c
help.c
hex.c
http-backend.c
http-push.c
http-walker.c
http.c
imap-send.c
json-writer.c
kwset.c
line-log.c
list-objects-filter-options.c
list-objects-filter.c
list-objects.c
log-tree.c
ls-refs.c
mailinfo.c
mailmap.c
match-trees.c
mem-pool.c
merge-ll.c
merge-ort.c
merge-recursive.c
merge.c
midx-write.c
midx.c
name-hash.c
notes-merge.c
notes.c
object-file-convert.c
object-file.c
object-name.c
object.c
pack-bitmap-write.c
pack-bitmap.c
pack-check.c
packfile.c
parallel-checkout.c
patch-ids.c
path.c
pathspec.c
pkt-line.c
preload-index.c
pretty.c
progress.c
pseudo-merge.c
quote.c
range-diff.c
reachable.c
read-cache.c
ref-filter.c
reflog-walk.c
reflog.c
refs.c
refs/debug.c
refs/files-backend.c
refs/iterator.c
refs/packed-backend.c
refspec.c
reftable/system.h
remote-curl.c
remote.c
rerere.c
resolve-undo.c
revision.c
run-command.c
scalar.c
send-pack.c
sequencer.c
serve.c
server-info.c
setup.c
shallow.c
sideband.c
sparse-index.c
split-index.c
strbuf.c
string-list.c
strvec.c
submodule-config.c
submodule.c
symlinks.c
t/helper/test-bloom.c
t/helper/test-cache-tree.c
t/helper/test-config.c
t/helper/test-csprng.c
t/helper/test-drop-caches.c
t/helper/test-dump-fsmonitor.c
t/helper/test-dump-split-index.c
t/helper/test-dump-untracked-cache.c
t/helper/test-genrandom.c
t/helper/test-genzeros.c
t/helper/test-hash-speed.c
t/helper/test-mergesort.c
t/helper/test-parse-options.c
t/helper/test-path-utils.c
t/helper/test-reach.c
t/helper/test-ref-store.c
t/helper/test-revision-walking.c
t/helper/test-run-command.c
t/helper/test-string-list.c
t/helper/test-tool.c
t/helper/test-trace2.c
t/unit-tests/lib-reftable.c
t/unit-tests/t-example-decorate.c
t/unit-tests/t-prio-queue.c
t/unit-tests/t-reftable-readwrite.c
t/unit-tests/t-reftable-stack.c
t/unit-tests/t-trailer.c
t/unit-tests/test-lib.c
tag.c
tmp-objdir.c
trace.c
trace2.c
trace2/tr2_sysenv.c
trace2/tr2_tgt_event.c
trace2/tr2_tgt_perf.c
trailer.c
transport-helper.c
transport.c
tree-diff.c
unix-socket.c
unpack-trees.c
upload-pack.c
urlmatch.c
usage.c
userdiff.c
utf8.c
version.c
versioncmp.c
worktree.c
wrapper.c
ws.c
wt-status.c
xdiff-interface.c
xdiff/xdiffi.c
xdiff/xinclude.h