Talk:SCM Integration Scripts

From ChangesWiki

Jump to: navigation, search

Discussion of Git Integration

random user: how to I actually, uh, use this? commands to run in terminally, or whatever, to make git launch Changes.app when you try to take a diff?

Answer: Yes, these scripts are intended to be run in a Terminal session. In Change.app goto the Changes menu item and select "Install Terminal Utility." Once it is installed (and if it is in your path) you can run chdiff in the terminal and it will launch Changes.app. These scripts utilize that functionality. For a detailed discussion of the shell search path please see the TextMate manual section on the subject. -- Dan

Comment: The suggested script for handling git diff does not handle newly created files - you get a "Unable to diff /dev/null with path/to/new/file" and the whole command is aborted. Additionally this is rather clunky if you have many changed files - it would be better to have something like a directory tree compare rather than n successive single file compares.