[meld] Fix typo in Git Revert command
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Fix typo in Git Revert command
- Date: Sat, 25 May 2013 22:40:30 +0000 (UTC)
commit 029bc325e15672c8de56cc83a77a5e9396e53df6
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun May 26 08:14:58 2013 +1000
Fix typo in Git Revert command
meld/vc/git.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/vc/git.py b/meld/vc/git.py
index 403fc1c..b6db114 100644
--- a/meld/vc/git.py
+++ b/meld/vc/git.py
@@ -193,10 +193,10 @@ class Vc(_vc.CachedVc):
missing = [f for f in files if not os.path.exists(f)]
if exists:
command = [self.CMD, 'checkout']
- runner(command, files, refresh=True, working_dir=self.root)
+ runner(command, exists, refresh=True, working_dir=self.root)
if missing:
command = [self.CMD, 'checkout', 'HEAD']
- runner(command, files, refresh=True, working_dir=self.root)
+ runner(command, missing, refresh=True, working_dir=self.root)
def get_path_for_conflict(self, path, conflict):
if not path.startswith(self.root + os.path.sep):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]