summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-builtin.txt
diff options
context:
space:
mode:
authorHeiko Voigt <hvoigt@hvoigt.net>2011-08-03 18:06:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-08-03 18:44:23 (GMT)
commite9e0643fe64b613b6596b79b59df8ff10746f1a1 (patch)
tree8395dbd8b978a9f77c295c64f2371874e8c2897a /Documentation/technical/api-builtin.txt
parent0922570c76ae407e30477d27d72bb9d72c4b65f9 (diff)
downloadgit-e9e0643fe64b613b6596b79b59df8ff10746f1a1.zip
git-e9e0643fe64b613b6596b79b59df8ff10746f1a1.tar.gz
git-e9e0643fe64b613b6596b79b59df8ff10746f1a1.tar.bz2
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>
Diffstat (limited to 'Documentation/technical/api-builtin.txt')
-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 5cb2b05..b0cafe8 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
------------------------