Skip to content

Commit

Permalink
Remove dependency on -C flag
Browse files Browse the repository at this point in the history
The -C flag was introduced in git 1.8.5. See PR #17.
  • Loading branch information
Simon Whitaker committed Jan 20, 2017
1 parent 35b486a commit 8bdc687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gibo
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

remote_repo=https://github.com/github/gitignore.git
local_repo=${GIBO_BOILERPLATES:-"$HOME/.gitignore-boilerplates"}
current_repo_rev=$(git -C $local_repo rev-parse HEAD)
current_repo_rev=$(cd $local_repo; git rev-parse HEAD)
remote_web_root=https://raw.github.com/github/gitignore/$current_repo_rev

version() {
Expand Down

0 comments on commit 8bdc687

Please sign in to comment.