diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-08-25 21:43:12 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-08-25 21:43:12 -0400 |
commit | 4362f7366eeb391e113ccb23dddd3f37c308b614 (patch) | |
tree | 06e59cf1a2bd852c30fa754d0763ec0641172d2d /grokmirror | |
parent | 76bfb62263d67a6c0718fff9a596f0715eca306f (diff) | |
download | grokmirror-4362f7366eeb391e113ccb23dddd3f37c308b614.tar.gz |
Make sure to update origin
Don't update any other remotes we find, just origin.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'grokmirror')
-rwxr-xr-x | grokmirror/pull.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grokmirror/pull.py b/grokmirror/pull.py index b132a66..15fa143 100755 --- a/grokmirror/pull.py +++ b/grokmirror/pull.py @@ -526,7 +526,7 @@ def run_post_update_hook(toplevel, gitdir, hookscript): def pull_repo(toplevel, gitdir): fullpath = os.path.join(toplevel, gitdir.lstrip('/')) - args = ['remote', 'update', '--prune'] + args = ['remote', 'update', 'origin', '--prune'] retcode, output, error = grokmirror.run_git_command(fullpath, args) |