]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs-apply: fix stgit detection
authorAndrey Albershteyn <aalbersh@redhat.com>
Thu, 20 Feb 2025 17:56:01 +0000 (18:56 +0100)
committerAndrey Albershteyn <aalbersh@kernel.org>
Wed, 26 Feb 2025 13:26:51 +0000 (14:26 +0100)
commit8682be1ab7fdb99940437bbedc27146664556d48
tree9ffe3d7462c140b38ce68340ade88fd70b843ba3
parent6c01ed5d6d3a13af0068e8d05913126437c399e9
libxfs-apply: fix stgit detection

stgit top doesn't seem to return 0 if stack is created for a branch
but no patches applied. The code is 2 as when no 'stgit init' was
run.

Replace top with log which always has at least "initialize" action.

Stacked Git 2.4.12

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
tools/libxfs-apply