librelist archives

« back to archive

Flask v0.10.1 contains a `.git` directory

Flask v0.10.1 contains a `.git` directory

From:
Antoine Pelisse
Date:
2014-05-21 @ 14:28
Hello,

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:
/Users/mitsuhiko/Development/flask/.git/modules/docs/_themes

This is most likely because of:

    my_repo/Flask-0.10.1 $ find . -name .git
    ./docs/_themes/.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