Code

Merge branch 'jh/notes-merge-in-git-dir-worktree'
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Apr 2012 05:51:44 +0000 (22:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Apr 2012 05:51:45 +0000 (22:51 -0700)
commit4e520081b5ca75acd6b29f6385a94130ec7afe6d
tree23e89c6ef11f6227f40cc3edc19dc9c6d7267259
parent3bec29bb07b616ca7227e6e20d415b69967809a9
parentdabba590aa0e94a8deb6f0e827144697895bcfe8
Merge branch 'jh/notes-merge-in-git-dir-worktree'

Running "notes merge --commit" failed to perform correctly when run
from any directory inside $GIT_DIR/.  When "notes merge" stops with
conflicts, $GIT_DIR/NOTES_MERGE_WORKTREE is the place a user edits
to resolve it.

By Johan Herland (3) and Junio C Hamano (1)
* jh/notes-merge-in-git-dir-worktree:
  notes-merge: Don't remove .git/NOTES_MERGE_WORKTREE; it may be the user's cwd
  notes-merge: use opendir/readdir instead of using read_directory()
  t3310: illustrate failure to "notes merge --commit" inside $GIT_DIR/
  remove_dir_recursively(): Add flag for skipping removal of toplevel dir