Skip to content

Commit 138ce49

Browse files
committed
Revert "Issue charleso#20: Add empty files"
This reverts commit 9af2667.
1 parent 0eef78b commit 138ce49

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rebase.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,7 @@ def getFile(line):
362362
elif line.startswith('>'):
363363
added = getFile(line)
364364
cc_added = join(CC_DIR, added)
365-
if isdir(cc_added) or added in files:
366-
continue
367-
if not exists(cc_added):
368-
open(cc_added, 'w').close()
365+
if not exists(cc_added) or isdir(cc_added) or added in files:
369366
continue
370367
history = cc_exec(['lshistory', '-fmt', '%o%m|%Nd|%Vn\\n', added], errors=False)
371368
if not history:

0 commit comments

Comments
 (0)