nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] Merging Source Files with git.


From: Ralph Corderoy
Subject: [Nmh-workers] Merging Source Files with git.
Date: Fri, 10 Nov 2017 23:51:07 +0000

Hi,

I'm in the Augean process of creating .h interface files for each of the
.c implementation files, depleting h/prototypes.h of content along the
way, to help show the dependencies between the modules.  Something
that's obvious before and during is there's too many one-function C
files, often with a piddly little functions, and a whole clutch of them
are related.

This suggests foo_{add,del,find,save,tweak}.c should in time become
foo.c, allowing globals to become statics in foo.c, and currently global
structs, etc., to also move to foo.c.  Is there a good way of doing
this, in multiple stages if necessary, that allows git to preserve the
chain of history?  Say telling it foo_add.c is now foo.c in one commit,
and then foo_del.c has merged with foo.c in the next.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]