Commit 6229b9e8 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Repo::Push] show path of unclean repo

Closes https://github.com/CocoaPods/CocoaPods/issues/2753.
parent a2ee80dd
......@@ -106,7 +106,7 @@ module Pod
#
def check_repo_status
clean = Dir.chdir(repo_dir) { `git status --porcelain 2>&1` } == ''
raise Informative, "The repo `#{@repo}` spec-repo is not clean" unless clean
raise Informative, "The repo `#{@repo}` at #{UI.path repo_dir} is not clean" unless clean
end
# Updates the git repo against the remote.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment