aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/scm/git
diff options
context:
space:
mode:
Diffstat (limited to 'Library/ENV/scm/git')
-rwxr-xr-xLibrary/ENV/scm/git4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/ENV/scm/git b/Library/ENV/scm/git
index 1e74a175d..091b1713d 100755
--- a/Library/ENV/scm/git
+++ b/Library/ENV/scm/git
@@ -23,6 +23,10 @@ def exec(*args)
# prevent fork-bombs
arg0 = args.first
return if arg0 =~ /^#{F}/i || Pathname.new(arg0).realpath == SELF_REAL
+ if ARGV == %w[--homebrew=print-path]
+ puts arg0
+ exit
+ end
super
end