Skip to content

Commit e9e0643

Browse files
hvoigtgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0922570 commit e9e0643

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/technical/api-builtin.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Additionally, if `foo` is a new command, there are 3 more things to do:
4949

5050
. Add an entry for `git-foo` to `command-list.txt`.
5151

52+
. Add an entry for `/git-foo` to `.gitignore`.
53+
5254

5355
How a built-in is called
5456
------------------------

0 commit comments

Comments
 (0)