>>>>> On Mon, 29 Jul 2013, Rich Freeman wrote:

> 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)

> How can git format-patch against a tag generate a patch that won't
> apply against that tag?

> If you look at the git log of that branch you'll find that the first
> patch is from a commit that is more distant in the past than the tag.

Is the history from the v0.26.0 tag to the tip of the branch linear?
If it contains merge commits, then git format-patch / git am isn't
guaranteed to work.

Ulrich

Reply via email to