git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* patches in context format ?
@ 2009-01-12  9:00 Christian MICHON
  2009-01-12  9:28 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Christian MICHON @ 2009-01-12  9:00 UTC (permalink / raw)
  To: git list

I'm maintaining a git tree of the vim project: this work can be seen
at http://github.com/cmichon/vim

vim patches do not come as unified format, but only as context format
instead (from a "diff -c").

The current solution I have is to use the original patch command,
stage modifications and add new files. I do not like this solution,
because I have to work out the commit messages out of the mbox and I
lose reproducibility. I'm basically maintaining a subset of shell
scripts, the original patches and an artificial way (ugly) to get
timestamps of modifications (for the commit dates).

Instead of this complicated procedure, I'd like to use "git apply" or
"git am", provided I can get git to support "context output format" as
input for patches ?

I guess the answer is no, but has anyone on the list been working on
this ? is there another way to translate from "context" to "unified"
format ?

TIA

-- 
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-01-12  9:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12  9:00 patches in context format ? Christian MICHON
2009-01-12  9:28 ` Junio C Hamano
2009-01-12  9:52   ` Christian MICHON
2009-01-12  9:34 ` Teemu Likonen
2009-01-12  9:53   ` Christian MICHON
2009-01-12  9:52 ` Jeff King
2009-01-12  9:57   ` Christian MICHON

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).