summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Voigt <hvoigt@hvoigt.net>2011-08-03 20:06:17 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-03 11:44:23 -0700
commite9e0643fe64b613b6596b79b59df8ff10746f1a1 (patch)
tree8395dbd8b978a9f77c295c64f2371874e8c2897a
parent0922570c76ae407e30477d27d72bb9d72c4b65f9 (diff)
downloadgit-e9e0643fe64b613b6596b79b59df8ff10746f1a1.tar.gz
add gitignore entry to description about how to write a builtin
If the author forgets the gitignore entry the built result will show up as new file in the git working directory. Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/technical/api-builtin.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/technical/api-builtin.txt b/Documentation/technical/api-builtin.txt
index 5cb2b0590a..b0cafe87be 100644
--- a/Documentation/technical/api-builtin.txt
+++ b/Documentation/technical/api-builtin.txt
@@ -49,6 +49,8 @@ Additionally, if `foo` is a new command, there are 3 more things to do:
. Add an entry for `git-foo` to `command-list.txt`.
+. Add an entry for `/git-foo` to `.gitignore`.
+
How a built-in is called
------------------------