author | Björn Gustavsson <bgustavsson@gmail.com> | |
Sun, 22 Nov 2009 19:43:42 +0000 (20:43 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Nov 2009 20:08:04 +0000 (12:08 -0800) | ||
commit | 38a39647b43ea57c96bd6e4a351d0d5353c805bb | |
tree | ee76a9e8a2499e4190ba54685978efc5058c9b4a | tree | snapshot |
parent | 64485b4aba98b39f2cf4528aed95b6ddca62f332 | commit | diff |
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>
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 | diff | blob | history |