On Wed, Sep 21, 2016 at 11:20 PM, Jeff King wrote:
>> +/**
>> + * Recursively call ls-files on a submodule
>> + */
>> +static void show_gitlink(const struct cache_entry *ce)
>> +{
>> + struct child_process cp = CHILD_PROCESS_INIT;
>> + int status;
>> +
>> + argv_array_push(&cp.args, "l
On Wed, Sep 21, 2016 at 03:42:52PM -0700, Brandon Williams wrote:
> @@ -68,6 +71,21 @@ static void write_eolinfo(const struct cache_entry *ce,
> const char *path)
> static void write_name(const char *name)
> {
> /*
> + * NEEDSWORK: To make this thread-safe, full_name would have to be
Allow ls-files to recognize submodules in order to retrieve a list of
files from a repository's submodules. This is done by forking off a
process to recursively call ls-files on all submodules. Also added a
submodule-prefix command in order to prepend paths to child processes.
Signed-off-by: Bran
3 matches
Mail list logo