Skip to content

Instantly share code, notes, and snippets.

@ajayverghese
Created December 9, 2014 22:21
Show Gist options
  • Save ajayverghese/66b368617585204b11f8 to your computer and use it in GitHub Desktop.
Save ajayverghese/66b368617585204b11f8 to your computer and use it in GitHub Desktop.
Perforce diff for changeset
#!/bin/sh
# Display the diff for files in a given changeset
p4 opened -c $1 | sed -e 's/#.*$//' | p4 -x - diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment