lib/atlassian/stash/git.rb in atlassian-stash-0.3.0 vs lib/atlassian/stash/git.rb in atlassian-stash-0.3.1
- old
+ new
@@ -29,8 +29,12 @@
end
def create_git_alias
%x(git config --global alias.create-pull-request "\!sh -c 'stash pull-request \\$0'")
end
+
+ def get_repo_root_directory
+ %x(git rev-parse --show-toplevel)
+ end
end
end
end