]> sipb.mit.edu Git - ikiwiki.git/commitdiff
bug
authorJoey Hess <joey@kitenet.net>
Sun, 28 Nov 2010 23:23:06 +0000 (19:23 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 28 Nov 2010 23:23:06 +0000 (19:23 -0400)
doc/bugs/git_commit_adds_files_that_were_not_tracked.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/git_commit_adds_files_that_were_not_tracked.mdwn b/doc/bugs/git_commit_adds_files_that_were_not_tracked.mdwn
new file mode 100644 (file)
index 0000000..6f7d4b7
--- /dev/null
@@ -0,0 +1,9 @@
+Commit 3650d0265bc501219bc6d5cd4fa91a6b6ecd793a seems to have been caused by
+a bug in ikiwiki. recentchanges/* was added to the git repo incorrectly.
+
+Part of the problem seems to be that git's `rcs_commit` does a git add followed
+by a `rcs_commit_staged`, and so calling `rcs_commit` on files that were
+not checked in before adds them, incorrectly.
+
+I'm unsure yet why the recentchanges files were being committed. Possibly
+because of the link fixup code run when renaming a page. --[[Joey]]