Closed FND closed 11 years ago
When trying to apply the patch locally, I get an error I can't make sense of:
error: patch failed: public/statuses/js/jquery.js:1
error: public/statuses/js/jquery.js: patch does not apply
Patch failed at 0003 moved third-party libraries to separate directory
Likely my lack of git knowledge - or is there anything obvious that may be wrong here?
Weird, this works for me:
$ git clone git://github.com/innoq/statuses.git
$ cd statuses/
$ git remote add FND git://github.com/FND/statuses.git
$ git fetch FND
$ git checkout -b tmp
$ git pull FND charcount
Do you perhaps have untracked files that might interfere? Which command(s) did you use?
My local working directory is in sync with the remote origin (master here). I typically use
curl https://github.com/innoq/statuses/pull/36.patch | git am
Hm. Tried your approach, had to manually resolve a merge conflict around the lib refactoring (which really should have been its own commit, right?), seems to work, testing now.
I typically use curl #36 | git am
I didn't know about that - nice!
Not sure why the patch fails though...
the lib refactoring (which really should have been its own commit, right?)
It is a separate commit - just not a separate pull request. Indeed, I'd put it last specifically so the other two commits could be applied without that refactoring.
addresses #34
as always, please note the commit messages