repo-for-windows-hack
repo-for-windows-hack copied to clipboard
git apply???
"apply" does not appear in the list of options when running git - what version of git are you running.
$ git --version git version 1.8.3.msysgit.0
This is run from the command line using the "git shell" that was installed when I installed the Windows client
when run git apply
I got the following error when I ran git apply -
C:\repowin\git-repo>git apply c:\v1.12.2.patch c:\v1.12.2.patch:9: trailing whitespace. import shutil c:\v1.12.2.patch:18: trailing whitespace. # -- Original -- c:\v1.12.2.patch:19: trailing whitespace. #if os.path.lexists(self.manifestFile): c:\v1.12.2.patch:20: trailing whitespace. # os.remove(self.manifestFile) c:\v1.12.2.patch:21: trailing whitespace. #os.symlink('manifests/%s' % name, self.manifestFile) fatal: corrupt patch at line 215
run "git apply " and occurs following problem ../v1.12.2.patch:9: trailing whitespace. import shutil ../v1.12.2.patch:18: trailing whitespace. # -- Original -- ../v1.12.2.patch:19: trailing whitespace. #if os.path.lexists(self.manifestFile): ../v1.12.2.patch:20: trailing whitespace. # os.remove(self.manifestFile) ../v1.12.2.patch:21: trailing whitespace. #os.symlink('manifests/%s' % name, self.manifestFile) error: patch failed: manifest_xml.py:17 error: manifest_xml.py: patch does not apply error: patch failed: project.py:46 error: project.py: patch does not apply warning: repo has type 100644, expected 100755 error: patch failed: repo:114 error: repo: patch does not apply error: patch failed: subcmds/forall.py:14 error: subcmds/forall.py: patch does not apply error: patch failed: subcmds/init.py:276 error: subcmds/init.py: patch does not apply