Nice tip too, but I keep getting
"sh: -c: line 2: syntax error: unexpected end of file"

This is the line straight from the .gitconfig file (it is on one line):
bbdiff = !"sh -c \"if [ -f '$1' ] && [ -f '$2' ]; then bbdiff --wait
--resume '$1' '$2' fi exit 0 \""

I got Jim's git-diff-driver.sh working, but decided I prefer the + and -
lines as shown in Terminal. But it would be great to have an easy option to
use BBEdit when the differences are a bit more significant that usual.

Thanks

Roddie Grant


On 22/3/10 14:04, "[email protected]" <[email protected]>
wrote:

> Nice tip!
> 
> Extending this, by adding the following line to "~/.gitconfig":
> 
> bbdiff = !"sh -c \"if [ -f '$1' ] && [ -f '$2' ]; then bbdiff --wait --
> resume '$1' '$2' fi exit 0 \""
> 
> you can then "git bbdiff" to invoke the BBEdit diff viewer.
> 


-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to