summaryrefslogtreecommitdiff
path: root/doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index
diff options
context:
space:
mode:
authorGravatar tom.prince@6bf26c878bf6103667f28d70cf49d4fb74d33df7 <tomprince@web>2017-07-21 18:22:29 +0000
committerGravatar admin <admin@branchable.com>2017-07-21 18:22:29 +0000
commitde46cedd24c9ae53468834a5092d98c967183a12 (patch)
tree372344efec2f53e32b9c373ea8c5192d7986206f /doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index
parent742edd2e9d158cb86f17e129dfa5131f3211dcc6 (diff)
Added a comment
Diffstat (limited to 'doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index')
-rw-r--r--doc/bugs/unannex__58___Cannot_proceed_with_uncommitted_changes_staged_in_the_index/comment_2_4609f9a1545b08e08021bf786561f5e5._comment9
1 files changed, 9 insertions, 0 deletions
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.
+"""]]