apply: apply works outside a repository
authorBjörn Gustavsson <bgustavsson@gmail.com>
Sun, 22 Nov 2009 19:43:42 +0000 (20:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Nov 2009 20:08:04 +0000 (12:08 -0800)
commit38a39647b43ea57c96bd6e4a351d0d5353c805bb
treeee76a9e8a2499e4190ba54685978efc5058c9b4a
parent64485b4aba98b39f2cf4528aed95b6ddca62f332
apply: apply works outside a repository

The documentation for 'git apply' talks about applying a
patch/diff to the index and to the working tree, which seems
to imply that it will not work outside a git repository.

Actually 'git patch' works outside a repository (which can
be useful especially for applying binary or rename patches that
the standard "patch" utility cannot handle), so the documentation
should mention it.

Thanks to Junio for suggesting better wording.

Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-apply.txt