lib/atlassian/stash/git.rb in atlassian-stash-0.6.0 vs lib/atlassian/stash/git.rb in atlassian-stash-0.6.1
- old
+ new
@@ -52,10 +52,10 @@
raise "fatal: Not a git repository"
end
end
def create_git_alias
- %x(git config --global alias.create-pull-request "\!sh -c 'stash pull-request \\$0'")
+ %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