Browse Source

Merge pull request #31 from botmtl/develop

Fix duplicate detection in case agnostic systems
tags/v0.4
Ben Kurtovic 8 years ago
committed by GitHub
parent
commit
2e1099edbf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      gitup/config.py

+ 2
- 2
gitup/config.py View File

@@ -62,7 +62,7 @@ def add_bookmarks(paths, config_path=None):
config = _load_config_file(config_path)
added, exists = [], []
for path in paths:
path = os.path.abspath(path)
path = os.path.normcase(os.path.abspath(path))
if path in config:
exists.append(path)
else:
@@ -86,7 +86,7 @@ def delete_bookmarks(paths, config_path=None):
deleted, notmarked = [], []
if config:
for path in paths:
path = os.path.abspath(path)
path = os.path.normcase(os.path.abspath(path))
if path in config:
config.remove(path)
deleted.append(path)


Loading…
Cancel
Save