{"thread":{"id":"7053","subject":"[PATCH 1/7] .git directory should be ignored","startedAt":"2007-03-03T10:18:03Z","lastAt":"2007-03-05T08:02:04Z","messageCount":4,"participants":["Xavier Maillard","Junio C Hamano","Alexandre Julliard"],"isPatch":true,"patchVersion":1,"patchTotal":7},"messages":[{"id":"36159","messageId":"15268.1172917083@localhost","threadId":"7053","inReplyTo":null,"subject":"[PATCH 1/7] .git directory should be ignored","fromName":"Xavier Maillard","fromEmail":"zedek@gnu.org","sentAt":"2007-03-03T10:18:03Z","receivedAt":"2007-03-03T10:18:03Z","isPatch":true,"sender":{"key":"zedek@gnu.org","avatar":null},"body":"\nAdd .git to the list of extensions to be ignored\n\nSigned-off-by: Xavier Maillard <zedek@gnu.org>\n---\n contrib/emacs/vc-git.el |    3 +++\n 1 files changed, 3 insertions(+), 0 deletions(-)\n\ndiff --git a/contrib/emacs/vc-git.el b/contrib/emacs/vc-git.el\nindex a2d3932..3d43ca0 100644\n--- a/contrib/emacs/vc-git.el\n+++ b/contrib/emacs/vc-git.el\n@@ -149,4 +149,7 @@\n ;;    (and (looking-at \"[0-9a-f]+\")\n ;;         (buffer-substring (match-beginning 0) (match-end 0)))))\n \n+;;;###autoload\n+(add-to-list 'completion-ignored-extensions \".git/\")\n+\n (provide 'vc-git)\n-- \n1.5.0\n"},{"id":"36211","messageId":"7vzm6u7zle.fsf@assigned-by-dhcp.cox.net","threadId":"7053","inReplyTo":"15268.1172917083@localhost","subject":"Re: [PATCH 1/7] .git directory should be ignored","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-03-03T22:05:01Z","receivedAt":"2007-03-03T22:05:01Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Xavier Maillard <zedek@gnu.org> writes:\n\n> Add .git to the list of extensions to be ignored\n>\n> Signed-off-by: Xavier Maillard <zedek@gnu.org>\n> ---\n>  contrib/emacs/vc-git.el |    3 +++\n>  1 files changed, 3 insertions(+), 0 deletions(-)\n>\n> diff --git a/contrib/emacs/vc-git.el b/contrib/emacs/vc-git.el\n> index a2d3932..3d43ca0 100644\n> --- a/contrib/emacs/vc-git.el\n> +++ b/contrib/emacs/vc-git.el\n> @@ -149,4 +149,7 @@\n>  ;;    (and (looking-at \"[0-9a-f]+\")\n>  ;;         (buffer-substring (match-beginning 0) (match-end 0)))))\n>  \n> +;;;###autoload\n> +(add-to-list 'completion-ignored-extensions \".git/\")\n> +\n>  (provide 'vc-git)\n\nI am no Emacs vc expert to judge, but I wonder if it is kosher\nto muck with that global variable from a vc backend.\n\nThe above does mirror what pcl-cvs does for \"CVS/\" but I notice\nthat vc-cvs.el does not do so, neither vc-rcs.el excludes\n\"RCS/\".\n"},{"id":"36253","messageId":"877itwu0op.fsf@wine.dyndns.org","threadId":"7053","inReplyTo":"7vzm6u7zle.fsf@assigned-by-dhcp.cox.net","subject":"Re: [PATCH 1/7] .git directory should be ignored","fromName":"Alexandre Julliard","fromEmail":"julliard@winehq.org","sentAt":"2007-03-04T22:02:46Z","receivedAt":"2007-03-04T22:02:46Z","isPatch":true,"sender":{"key":"julliard@winehq.org","avatar":null},"body":"Junio C Hamano <junkio@cox.net> writes:\n\n> I am no Emacs vc expert to judge, but I wonder if it is kosher\n> to muck with that global variable from a vc backend.\n>\n> The above does mirror what pcl-cvs does for \"CVS/\" but I notice\n> that vc-cvs.el does not do so, neither vc-rcs.el excludes\n> \"RCS/\".\n\nYes, I think if we really want to do this, it should be done in\ngit.el, not in vc-git.\n\n-- \nAlexandre Julliard\njulliard@winehq.org\n"},{"id":"36289","messageId":"200703050802.l25824cQ007817@localhost.localdomain","threadId":"7053","inReplyTo":"7vzm6u7zle.fsf@assigned-by-dhcp.cox.net","subject":"Re: [PATCH 1/7] .git directory should be ignored","fromName":"Xavier Maillard","fromEmail":"zedek@gnu.org","sentAt":"2007-03-05T08:02:04Z","receivedAt":"2007-03-05T08:02:04Z","isPatch":true,"sender":{"key":"zedek@gnu.org","avatar":null},"body":"   From: Junio C Hamano <junkio@cox.net>\n\n   Xavier Maillard <zedek@gnu.org> writes:\n\n   > Add .git to the list of extensions to be ignored\n   The above does mirror what pcl-cvs does for \"CVS/\" but I notice\n   that vc-cvs.el does not do so, neither vc-rcs.el excludes\n   \"RCS/\".\n\nOops wrong file /o\\. Iintended to do this into git.el... Please\nignore. Iwill double-check my future contributions before sending\nit here.\n\nSorry\n-- \nXavier\n"}]}