Skip to content

Commit

Permalink
add gitignore entry to description about how to write a builtin
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Voigt authored and Junio C Hamano committed Aug 3, 2011
1 parent 0922570 commit e9e0643
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/technical/api-builtin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------------------
Expand Down

0 comments on commit e9e0643

Please sign in to comment.