Jameson Miller <[email protected]> writes:
> This moves the reusable parts of the memory pool logic used by
> fast-import.c into its own file for use by other components.
>
> Signed-off-by: Jameson Miller <[email protected]>
> ---
> Makefile | 1 +
> fast-import.c | 118
> +---------------------------------------------------------
> mem-pool.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++
> mem-pool.h | 34 +++++++++++++++++
> 4 files changed, 139 insertions(+), 117 deletions(-)
> create mode 100644 mem-pool.c
> create mode 100644 mem-pool.h
This step looks totally uncontroversial, provided that the result
after [1-3/5] is in a reasonable shape ;-)
Hint for other reviewers. This
$ git blame -s -b -C HEAD^..HEAD mem-pool.c
can be used to see that most of the lines in this new file are
imported verbatim from fast-import.c at the receiving end.