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 | |
# | |
# git-is-ancestor, by Simon Whitaker | |
# | |
# Suggested usage | |
# | |
# Store this file somewhere, make it executable, then alias | |
# it to git is-ancestor by putting this in your $HOME/.gitconfig: | |
# | |
# [alias] |
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/sh | |
# OBJC_HELP=1 causes the Objective-C runtime to spit out help to stderr | |
# Pulling in osx/cocoa causes the runtime to be loaded via RubyCocoa | |
# Redirect sterr to stdout so we can pipe the results through pager | |
OBJC_HELP=1 /usr/bin/ruby -rosx/cocoa -e '' 2>&1 |