{"thread":{"id":"4946","subject":"[PATCH 2/4] git.el: Prepend a slash to the file name when adding to .gitignore.","startedAt":"2006-07-22T13:39:32Z","lastAt":"2006-07-22T13:39:32Z","messageCount":1,"participants":["Alexandre Julliard"],"isPatch":true,"patchVersion":1,"patchTotal":4},"messages":[{"id":"23992","messageId":"873bcthi7f.fsf@wine.dyndns.org","threadId":"4946","inReplyTo":null,"subject":"[PATCH 2/4] git.el: Prepend a slash to the file name when adding to .gitignore.","fromName":"Alexandre Julliard","fromEmail":"julliard@winehq.org","sentAt":"2006-07-22T13:39:32Z","receivedAt":"2006-07-22T13:39:32Z","isPatch":true,"sender":{"key":"julliard@winehq.org","avatar":null},"body":"This way the ignore command will really only ignore the marked files\nand not files with the same name in subdirectories.\n\nSigned-off-by: Alexandre Julliard <julliard@winehq.org>\n---\n contrib/emacs/git.el |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/contrib/emacs/git.el b/contrib/emacs/git.el\nindex 7371d4b..5837471 100644\n--- a/contrib/emacs/git.el\n+++ b/contrib/emacs/git.el\n@@ -258,7 +258,7 @@ (defun git-append-to-ignore (file)\n     (set-buffer (find-file-noselect ignore-name))\n     (goto-char (point-max))\n     (unless (zerop (current-column)) (insert \"\\n\"))\n-    (insert name \"\\n\")\n+    (insert \"/\" name \"\\n\")\n     (sort-lines nil (point-min) (point-max))\n     (save-buffer))\n   (when created\n-- \n1.4.2.rc1.ge7a0\n\n-- \nAlexandre Julliard\njulliard@winehq.org\n"}]}