Comment #3 on issue 3702 by alexande...@gmail.com: rbt patch fails with git
I have the same problem.
$ git --version
git version 1.7.1
$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
nothing added to commit but untracked files present (use "git add" to track)
$ rbt -v
$ rbt patch 1022
Patch is being applied from request 1022 with diff revision 2.
error: unknown switch `3'
usage: git apply [options] [<patch>...]
--exclude <path> don't apply changes matching the given path
--include <path> apply changes matching the given path
-p <num> remove <num> leading slashes from traditional
--no-add ignore additions made by the patch
--stat instead of applying the patch, output diffstat
for the input
--numstat shows number of added and deleted lines in
--summary instead of applying the patch, output a summary
for the input
--check instead of applying the patch, see if the patch
--index make sure the patch is applicable to the current
--cached apply a patch without touching the working tree
--apply also apply the patch (use with
build a temporary index based on embedded index
-z paths are separated with NUL character
-C <n> ensure at least <n> lines of context match
detect new or modified lines that have whitespace
ignore changes in whitespace when finding context
--ignore-whitespace ignore changes in whitespace when finding context
-R, --reverse apply the patch in reverse
--unidiff-zero don't expect at least one line of context
--reject leave the rejected hunks in corresponding *.rej
-v, --verbose be verbose
--inaccurate-eof tolerate incorrectly detected missing new-line at
the end of file
--recount do not trust the line counts in the hunk headers
--directory <root> prepend <root> to all filenames
ERROR: Unable to apply the patch. The patch may be invalid, or there may be
conflicts that could not be resolved.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.