瀏覽代碼

Merge pull request #31 from botmtl/develop

Fix duplicate detection in case agnostic systems
tags/v0.4
Ben Kurtovic 7 年之前
committed by GitHub
父節點
當前提交
2e1099edbf
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      gitup/config.py

+ 2
- 2
gitup/config.py 查看文件

@@ -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…
取消
儲存