ryanofsky
commented at 3:14 PM on February 21, 2024:
contributor
Drop git diff command so it is easier to run CI locally if git checkout is a worktree. Currently it fails because the directory is not recognized as a git repository.
The git diff command was added recently in #28359 commit fa07ac48d804beac38a98d23be2167f78cadefae and can be avoided just by teeing the patch to stdout
DrahtBot
commented at 3:14 PM on February 21, 2024:
contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
DrahtBot added the label Tests on Feb 21, 2024
maflcko
commented at 3:30 PM on February 21, 2024:
member
It is there to clarify the CI is using different code than the one in the source dir.
lgtm ACKc835176774a4803132343d5e096cdc7fe902e8eb
ryanofsky
commented at 3:59 PM on February 21, 2024:
contributor
It is there to clarify the CI is using different code than the one in the source dir.
Oh that makes sense. If you think it would be an improvement, I could change the patch command to echo '...' | tee >(patch -p1) so the patch is copied to stdout
maflcko
commented at 4:03 PM on February 21, 2024:
member
Sure, anything is fine here.
ci: avoid running git diff after patching
Drop `git diff` command so it is easier to run CI locally if git checkout is a
worktree. Currently it fails because the directory is not recognized as a git
repository.
The `git diff` command was added recently in #28359 commit
fa07ac48d804beac38a98d23be2167f78cadefae and can be avoided just by teeing the
patch to stdout
84388c942c
ryanofsky force-pushed on Feb 21, 2024
ryanofsky renamed this: ci: remove unnecessary git diff after applying patch ci: avoid running git diff after patching on Feb 21, 2024
ryanofsky
commented at 4:20 PM on February 21, 2024:
contributor
Updated c835176774a4803132343d5e096cdc7fe902e8eb -> 84388c942cb035fed546eda360ae6b40c6cfac09 (pr/nodiff.1 -> pr/nodiff.2, compare) restoring diff output with tee
maflcko added this to the milestone 27.0 on Feb 22, 2024
maflcko
commented at 11:30 AM on February 22, 2024:
member
lgtm ACK84388c942cb035fed546eda360ae6b40c6cfac09
I can't review this, since it is written in bash, but given that CI passed and something is printed in the log, I guess this is fine :man_shrugging:
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-24 09:14 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me