{"thread":{"id":"11237","subject":"[PATCH] add git-browse-help to the ignore list","startedAt":"2007-12-11T09:21:01Z","lastAt":"2007-12-11T09:24:29Z","messageCount":2,"participants":["Pierre Habouzit"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"62690","messageId":"20071211092101.GD30948@artemis.madism.org","threadId":"11237","inReplyTo":null,"subject":"[PATCH] add git-browse-help to the ignore list","fromName":"Pierre Habouzit","fromEmail":"madcoder@debian.org","sentAt":"2007-12-11T09:21:01Z","receivedAt":"2007-12-11T09:21:01Z","isPatch":true,"sender":{"key":"madcoder@debian.org","avatar":"https://avatars.githubusercontent.com/u/44708?v=4"},"body":"Signed-off-by: Pierre Habouzit <madcoder@debian.org>\n---\n\n  Here is a missing new command in the ignore list. See next patch for\nan alternative solution to the problem ;)\n\n .gitignore |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/.gitignore b/.gitignore\nindex bac60ce..5eaba41 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -12,6 +12,7 @@ git-archive\n git-bisect\n git-blame\n git-branch\n+git-browse-help\n git-bundle\n git-cat-file\n git-check-attr\n-- \n1.5.3.7.2224.gb695b\n\n"},{"id":"62691","messageId":"20071211092429.GE30948@artemis.madism.org","threadId":"11237","inReplyTo":"20071211092101.GD30948@artemis.madism.org","subject":"[PATCH] Add a makefile rule to regenerate .gitignore from the make variables.","fromName":"Pierre Habouzit","fromEmail":"madcoder@debian.org","sentAt":"2007-12-11T09:24:29Z","receivedAt":"2007-12-11T09:24:29Z","isPatch":true,"sender":{"key":"madcoder@debian.org","avatar":"https://avatars.githubusercontent.com/u/44708?v=4"},"body":"  This allow that the commands that moved away, were renamed, or the new\ncommands gets added in a simple fashion.\n\nSigned-off-by: Pierre Habouzit <madcoder@debian.org>\n---\n\n    This is an alternative patch that aims at solving the problem at once,\n    running \"make ignore\" or \"make .gitignore\" will regenerate the list of\n    commands and test programs and add it in a sorted way at the end.\n\n .gitignore |   60 +++++++++++++++++++++++++++---------------------------------\n Makefile   |    7 +++++++\n 2 files changed, 34 insertions(+), 33 deletions(-)\n\ndiff --git a/.gitignore b/.gitignore\nindex 5eaba41..52cb353 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -1,6 +1,28 @@\n GIT-CFLAGS\n GIT-GUI-VARS\n GIT-VERSION-FILE\n+git-core-*/?*\n+gitk-wish\n+common-cmds.h\n+*.tar.gz\n+*.dsc\n+*.deb\n+git.spec\n+*.exe\n+*.[aos]\n+*.py[co]\n+config.mak\n+autom4te.cache\n+config.cache\n+config.log\n+config.status\n+config.mak.autogen\n+config.mak.append\n+configure\n+tags\n+TAGS\n+cscope*\n+### Automatic ignore list\n git\n git-add\n git-add--interactive\n@@ -31,18 +53,17 @@ git-cvsexportcommit\n git-cvsimport\n git-cvsserver\n git-daemon\n+git-describe\n git-diff\n git-diff-files\n git-diff-index\n git-diff-tree\n-git-describe\n git-fast-export\n git-fast-import\n git-fetch\n git-fetch--tool\n git-fetch-pack\n git-filter-branch\n-git-findtags\n git-fmt-merge-msg\n git-for-each-ref\n git-format-patch\n@@ -59,7 +80,6 @@ git-index-pack\n git-init\n git-init-db\n git-instaweb\n-git-local-fetch\n git-log\n git-lost-found\n git-ls-files\n@@ -69,9 +89,8 @@ git-mailinfo\n git-mailsplit\n git-merge\n git-merge-base\n-git-merge-index\n git-merge-file\n-git-merge-tree\n+git-merge-index\n git-merge-octopus\n git-merge-one-file\n git-merge-ours\n@@ -79,13 +98,14 @@ git-merge-recursive\n git-merge-resolve\n git-merge-stupid\n git-merge-subtree\n+git-merge-tree\n git-mergetool\n git-mktag\n git-mktree\n-git-name-rev\n git-mv\n-git-pack-redundant\n+git-name-rev\n git-pack-objects\n+git-pack-redundant\n git-pack-refs\n git-parse-remote\n git-patch-id\n@@ -120,10 +140,6 @@ git-show\n git-show-branch\n git-show-index\n git-show-ref\n-git-ssh-fetch\n-git-ssh-pull\n-git-ssh-push\n-git-ssh-upload\n git-stash\n git-status\n git-stripspace\n@@ -144,34 +160,12 @@ git-verify-pack\n git-verify-tag\n git-whatchanged\n git-write-tree\n-git-core-*/?*\n-gitk-wish\n gitweb/gitweb.cgi\n test-absolute-path\n test-chmtime\n test-date\n test-delta\n-test-dump-cache-tree\n test-genrandom\n test-match-trees\n test-parse-options\n test-sha1\n-common-cmds.h\n-*.tar.gz\n-*.dsc\n-*.deb\n-git.spec\n-*.exe\n-*.[aos]\n-*.py[co]\n-config.mak\n-autom4te.cache\n-config.cache\n-config.log\n-config.status\n-config.mak.autogen\n-config.mak.append\n-configure\n-tags\n-TAGS\n-cscope*\ndiff --git a/Makefile b/Makefile\nindex ccc9f3c..50c8b9a 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -946,6 +946,13 @@ $(XDIFF_OBJS): xdiff/xinclude.h xdiff/xmacros.h xdiff/xdiff.h xdiff/xtypes.h \\\n $(XDIFF_LIB): $(XDIFF_OBJS)\n \t$(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(XDIFF_OBJS)\n \n+.gitignore: Makefile\n+\t$(QUIET_GEN)$(RM) $@+ && ( \\\n+\t    sed -e '/^### Automatic ignore list$$/q' $@ \\\n+\t    $(foreach p,$(sort $(OTHER_PROGRAMS) $(ALL_PROGRAMS) $(BUILT_INS)),&& echo $p) \\\n+\t    $(foreach t,$(sort $(TEST_PROGRAMS)),&& echo $t) \\\n+\t) > $@+ && mv $@+ $@\n+ignore: .gitignore\n \n doc:\n \t$(MAKE) -C Documentation all\n-- \n1.5.3.7.2224.gb695b\n\n"}]}