mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
[Downloader] Fix git pull command (#2146)
I somehow managed to botch this in #2121 Signed-off-by: Toby Harradine <t.harradine@student.unsw.edu.au>
This commit is contained in:
parent
f7dbaca340
commit
415385b747
@ -24,7 +24,7 @@ class Repo(RepoJSONMixin):
|
||||
GIT_CURRENT_BRANCH = "git -C {path} rev-parse --abbrev-ref HEAD"
|
||||
GIT_LATEST_COMMIT = "git -C {path} rev-parse {branch}"
|
||||
GIT_HARD_RESET = "git -C {path} reset --hard origin/{branch} -q"
|
||||
GIT_PULL = "git -C {path} --recurse-submodules=yes -q --ff-only"
|
||||
GIT_PULL = "git -C {path} pull --recurse-submodules -q --ff-only"
|
||||
GIT_DIFF_FILE_STATUS = "git -C {path} diff --no-commit-id --name-status {old_hash} {new_hash}"
|
||||
GIT_LOG = "git -C {path} log --relative-date --reverse {old_hash}.. {relative_file_path}"
|
||||
GIT_DISCOVER_REMOTE_URL = "git -C {path} config --get remote.origin.url"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user