[library-web] always run git pull after switching branch
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] always run git pull after switching branch
- Date: Tue, 28 Jan 2014 17:22:29 +0000 (UTC)
commit 3577cc95417194c3af6ef66574cf43c3d1ffbfbf
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Jan 28 17:22:14 2014 +0000
always run git pull after switching branch
src/lgo.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 051b921..3e2ba68 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -308,6 +308,7 @@ class Lgo(App):
cwd=module_git_clone_dir).wait()
subprocess.Popen(['git', 'checkout', branch_name],
cwd=module_git_clone_dir).wait()
+ subprocess.Popen(['git', 'pull'], cwd=module_git_clone_dir).wait()
subp = subprocess.Popen(['git', 'show-ref', '--verify', '--quiet',
'refs/heads/%s' % branch_name], cwd=module_git_clone_dir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]