[PATCH] Add "--git-dir" flag to git-rev-parse