Files
git/Documentation
Jeff King c1189caeaf refactor argv_array into generic code
The submodule code recently grew generic code to build a
dynamic argv array. Many other parts of the code can reuse
this, too, so let's make it generically available.

There are two enhancements not found in the original code:

  1. We now handle the NULL-termination invariant properly,
     even when no strings have been pushed (before, you
     could have an empty, NULL argv). This was not a problem
     for the submodule code, which always pushed at least
     one argument, but was not sufficiently safe for
     generic code.

  2. There is a formatted variant of the "push" function.
     This is a convenience function which was not needed by
     the submodule code, but will make it easier to port
     other users to the new code.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-09-14 11:56:36 -07:00
..
2011-06-26 12:41:16 -07:00
2011-06-22 14:01:18 -07:00
2011-03-22 14:56:13 -07:00
2011-04-14 12:26:45 -07:00
2011-04-01 17:45:59 -07:00
2011-05-09 16:29:33 -07:00
2011-04-28 14:11:39 -07:00
2011-05-19 10:55:54 -07:00
2011-03-11 10:59:16 -05:00
2011-03-28 14:17:17 -07:00
2011-06-26 12:41:16 -07:00
2010-07-05 13:39:02 -07:00
2010-11-24 15:13:58 -08:00
2011-05-19 10:55:54 -07:00
2010-07-20 16:59:17 -07:00