Skip to content

Conversation

@faisal-hameed
Copy link

Allow syncing empty folders from CC repo to Git repo.
It will create .keep files to track empty folders in Git repo.
Related to Issue#32

copied_file_count += 1
return copied_file_count

def do_sync_empty_folders(self):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're going to do this I wouldn't have a separate function, I would pass an argument to do_sync to avoid the duplication here.

@charleso
Copy link
Owner

@faisal-hameed Thanks for the PR. I'm not sure how I feel about this. I don't really like empty folders in git in general. The other issue is that you haven't handed the empty folders in rebase.py which is, for me at least, the heart of git-cc, sync.py was just a hack. It also doesn't help that I don't use git-cc any more, so I feel uncomfortable merging this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants