]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'js/misc-fixes'
authorJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2025 20:59:10 +0000 (13:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2025 20:59:11 +0000 (13:59 -0700)
commitf9cdaa2860e20f3f36595646b7a82082aa772df8
tree40513df8eb4aec40cc4ec28e0ba4855d532be476
parentd8b48af39141d4552e6e2c091957a59b806808a1
parent22488332393646cfa4263bcb24836f492876406e
Merge branch 'js/misc-fixes'

Assorted fixes for issues found with CodeQL.

* js/misc-fixes:
  sequencer: stop pretending that an assignment is a condition
  bundle-uri: avoid using undefined output of `sscanf()`
  commit-graph: avoid using stale stack addresses
  trace2: avoid "futile conditional"
  Avoid redundant conditions
  fetch: avoid unnecessary work when there is no current branch
  has_dir_name(): make code more obvious
  upload-pack: rename `enum` to reflect the operation
  commit-graph: avoid malloc'ing a local variable
  fetch: carefully clear local variable's address after use
  commit: simplify code
bundle-uri.c
commit-graph.c
sequencer.c