repo-for-windows-hack icon indicating copy to clipboard operation
repo-for-windows-hack copied to clipboard

git apply???

Open perry61 opened this issue 11 years ago • 4 comments

"apply" does not appear in the list of options when running git - what version of git are you running.

perry61 avatar Oct 18 '13 09:10 perry61

$ 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

kaytat avatar Oct 20 '13 17:10 kaytat

when run git apply , failed because of 'fatal: unrecognized input'

whataa avatar Dec 31 '16 03:12 whataa

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

GauthamBanasandra avatar Mar 06 '17 17:03 GauthamBanasandra

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

sljoai avatar Aug 17 '17 06:08 sljoai