Douglas Muth on 30 Jul 2013 08:18:20 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Odd Git Behavior |
Any git experts want to weigh in on this odd behavior? For
convenience I'll quote my email to gentoo-dev here:
I'm getting fairly bizarre behavior from git format-patch - patches
that don't apply, and patches numbered early in sequence that didn't
show up previously in this branch. I suspect rebasing might be the
cause of that change, but I don't think it fully explains this
behavior.
To demonstrate, run:
git clone https://github.com/MythTV/mythtv.git -b fixes/0.26
cd mythtv/
git format-patch v0.26.0
mv *.patch ..
git checkout v0.26.0
patch -p0 < ../0001-*
Final output is:
can't find file to patch at input line 17
(messing with -p doesn't help, which will be obvious from a quick
inspection of the file vs the tree)
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug