librelist archives

« back to archive

Flask v0.10.1 contains a `.git` directory

Flask v0.10.1 contains a `.git` directory

Antoine Pelisse
2014-05-21 @ 14:28

I have un-tarred Flask-v0.10.1.tar.gz in one of my git repository, and
have the following error when I try to clean *my* repository:

    my_repo $ git clean -fd
    fatal: Not a git repository:

This is most likely because of:

    my_repo/Flask-0.10.1 $ find . -name .git

While I agree that Git's behavior could be improved, I believe it is
recommended not to include `.git` in tarballs. What do you think ?

Thank you very much,
Antoine Pelisse