Skip to content

Commit

Permalink
git-linguist: Print PWD
Browse files Browse the repository at this point in the history
  • Loading branch information
vmg committed Mar 11, 2016
1 parent fb727ce commit 2448ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/git-linguist
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def git_linguist(args)
parser.parse!(args)

git_dir = `git rev-parse --git-dir`.strip
raise "git-linguist must be ran in a Git repository" unless $?.success?
raise "git-linguist must be ran in a Git repository (#{Dir.pwd})" unless $?.success?
wrapper = GitLinguist.new(git_dir, commit, incremental)

case args.pop
Expand Down

0 comments on commit 2448ff8

Please sign in to comment.