Skip to content

Add a branchdiff target for reviewing changes#34

Open
sjg20 wants to merge 1 commit intomainfrom
diff
Open

Add a branchdiff target for reviewing changes#34
sjg20 wants to merge 1 commit intomainfrom
diff

Conversation

@sjg20
Copy link
Copy Markdown
Collaborator

@sjg20 sjg20 commented Nov 26, 2025

Add a script and Makefile target to generate a diff PDF comparing the current branch against origin/main.

This is useful for reviewing spec changes before submitting patches.

The diff PDF shows additions in bold. An attempt to use change bards resulted in corrupted output.

Usage:

git checkout <branch>
make branchdiff

Co-developed-by: Claude noreply@anthropic.com

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 26, 2025

Deploy Preview for fluffy-chebakia-3fa329 ready!

Name Link
🔨 Latest commit 8eafa15
🔍 Latest deploy log https://app.netlify.com/projects/fluffy-chebakia-3fa329/deploys/6927b292524f530008e02f69
😎 Deploy Preview https://deploy-preview-34--fluffy-chebakia-3fa329.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Add a script and Makefile target to generate a diff PDF comparing the
current branch (and any uncommitted changes) against origin/main. It
works by building latex files for the current source, then stashing any
changes and returning to origin/main and building again, then producing
the PDF. Finally it returns to the original branch and retrieves any
stashed changes.

This is useful for reviewing spec changes before submitting patches.

The diff PDF shows additions in bold. An attempt to use change bars
resulted in corrupted output.

Usage:

   make branchdiff

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant