From de46cedd24c9ae53468834a5092d98c967183a12 Mon Sep 17 00:00:00 2001 From: "tom.prince@6bf26c878bf6103667f28d70cf49d4fb74d33df7" Date: Fri, 21 Jul 2017 18:22:29 +0000 Subject: Added a comment --- .../comment_2_4609f9a1545b08e08021bf786561f5e5._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index/comment_2_4609f9a1545b08e08021bf786561f5e5._comment diff --git a/doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index/comment_2_4609f9a1545b08e08021bf786561f5e5._comment b/doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index/comment_2_4609f9a1545b08e08021bf786561f5e5._comment new file mode 100644 index 000000000..1c3169e70 --- /dev/null +++ b/doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index/comment_2_4609f9a1545b08e08021bf786561f5e5._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="tom.prince@6bf26c878bf6103667f28d70cf49d4fb74d33df7" + nickname="tom.prince" + avatar="http://cdn.libravatar.org/avatar/e81edff3af564b86f4c9d780a8023299" + subject="comment 2" + date="2017-07-21T18:22:28Z" + content=""" +As far as I can tell, from looking at the code, the pre-commit hook only looks at files in the index. Thus, if unannexing an uncommited file removed it from the index, the pre-commit will do the right thing. This would be nice to have, at least for the case where the files have never been committed. +"""]] -- cgit v1.2.3