91b3b26f54828f04f77e827a7c9520768a340bbe,sos/__main__.py,,locate_files,#Any#Any#Any#Any#,781

Before Change


    if not all_files:
        external_files = []
        for x in tracked_files:
            relpath = os.path.relpath(x, ".")
            if relpath.startswith(".."):
                env.logger.info("{} is excluded. Use option --all to include tracked files outside of current directory.".format(x))
                external_files.append(x)
        tracked_files -= set(external_files)

After Change


    if not all_files:
        external_files = []
        for x in tracked_files:
            if FileTarget(x).is_external():
                env.logger.info("{} is excluded. Use option --all to include tracked files outside of current directory.".format(x))
                external_files.append(x)
        tracked_files -= set(external_files)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: vatlab/SoS
Commit Name: 91b3b26f54828f04f77e827a7c9520768a340bbe
Time: 2017-01-06
Author: ben.bog@gmail.com
File Name: sos/__main__.py
Class Name:
Method Name: locate_files


Project Name: vatlab/SoS
Commit Name: 91b3b26f54828f04f77e827a7c9520768a340bbe
Time: 2017-01-06
Author: ben.bog@gmail.com
File Name: sos/__main__.py
Class Name:
Method Name: cmd_pack


Project Name: vatlab/SoS
Commit Name: 95a161ab893746c1d726f4bf98f4a174084cd6ff
Time: 2017-01-06
Author: ben.bog@gmail.com
File Name: sos/__main__.py
Class Name:
Method Name: locate_files


Project Name: vatlab/SoS
Commit Name: 95a161ab893746c1d726f4bf98f4a174084cd6ff
Time: 2017-01-06
Author: ben.bog@gmail.com
File Name: sos/__main__.py
Class Name:
Method Name: cmd_pack