diff --git a/git-p4 b/git-p4 index 7525d2d..dd559cd 100755 --- a/git-p4 +++ b/git-p4 @@ -1585,7 +1585,7 @@ class P4Sync(Command): relPath = self.stripRepoPath(f["targetPath"], branchPrefixes) if len(self.clientSpecDirs): for val in self.clientSpecDirs: - if relPath.startswith(val[0]): + if f["targetPath"].startswith(val[0]): if val[1] > 0: includeFile = True else: