Last active
March 29, 2018 19:07
-
-
Save chrisledet/3da5fee8ba41ba67733acc4465a976e7 to your computer and use it in GitHub Desktop.
p4 color diffs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# pdiff: colorized diffs for linux p4 workspaces | |
# usage: pdiff <CL#> | |
p4 opened -c $1 | sed -e 's/#.*//' | p4 -x - diff -du | colordiff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment