On Tue, Aug 14, 2007 at 01:48:48PM +0200, Sebastian Harl wrote: > git-commit does not handle removed files when doing partial commits: > > % git init-db > Initialized empty Git repository in .git/ > % mkdir bar baz > % touch bar/file1 baz/file1 baz/file2 > % git add . && git commit -mcommit1 > Created initial commit 1d7dee4: commit1 > 0 files changed, 0 insertions(+), 0 deletions(-) > create mode 100644 bar/file1 > create mode 100644 baz/file1 > create mode 100644 baz/file2 > % git rm baz/file1 > rm 'baz/file1' > % git commit -- baz/ > # On branch master > # Changed but not updated: > # (use "git add/rm <file>..." to update what will be committed) > # > # deleted: baz/file1 > # > no changes added to commit (use "git add" and/or "git commit -a") > > This is not what I (and presumably others) expect - instead it should commit > any removed files below the given directory as well (if they have been added > to the index by e.g. git-rm). When simply doing "git commit" at this point it > works fine.
Thanks, I confirm the bug, and informed upstream http://thread.gmane.org/gmane.comp.version-control.git/57587 Regards, Gerrit. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]