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