From: Junio C Hamano Date: Tue, 27 May 2025 20:59:10 +0000 (-0700) Subject: Merge branch 'js/misc-fixes' X-Git-Tag: v2.50.0-rc0~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9cdaa2860e20f3f36595646b7a82082aa772df8;p=thirdparty%2Fgit.git 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 --- f9cdaa2860e20f3f36595646b7a82082aa772df8