Skip to content

Commit

Permalink
Don't add git version to generated patches
Browse files Browse the repository at this point in the history
  • Loading branch information
wentasah committed Dec 29, 2024
1 parent 99af052 commit 239cee8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ros2nix/ros2nix.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,10 @@ def ros2nix(args):

if args.patches:
patches = subprocess.check_output(
f"for i in $(git rev-list --reverse --relative {upstream_rev}..HEAD -- .); do git format-patch --zero-commit --relative -1 $i; done",
dedent(f"""
for i in $(git rev-list --reverse --relative {upstream_rev}..HEAD -- .); do
git format-patch --zero-commit --relative --no-signature -1 $i
done"""),
shell=True, cwd=srcdir,
).decode().strip().splitlines()
elif head != upstream_rev:
Expand Down

0 comments on commit 239cee8

Please sign in to comment.