Package: git-ftp Version: 1.3.1-1 Severity: normal Tags: patch upstream Forwarded: https://github.com/git-ftp/git-ftp/issues/377
Dear Maintainer, Please consider this session: $ git init [...] $ git config git-ftp.user myuser $ git config git-ftp.url sftp://my.serv.er/~/www/foo $ echo .git-ftp-ignore >.git-ftp-ignore $ git add .git-ftp-ignore $ git commit -m dotfile [...] $ git ftp init [...] $ git ftp download --dry-run cd ok, cwd=/www/foo rm -r file:/home/wferi/ansible/foo/.git Removed: 1 directory, 0 files, 0 symlinks Hadn't I used --dry-run, git-ftp would have removed my .git directory. I understand that download is experimental functionality, but nuking the .git directory is very serious misbehaviour. First I reported the issue upstream, and later I created a patch for it as well, but I think a stable update is worth considering here. Thanks, Feri.

