[GSoC][PATCH v4 2/4] submodule--helper: introduce for_each_listed_submodule()

2017-08-28 Thread Prathamesh Chavan
Introduce function for_each_listed_submodule() and replace a loop in module_init() with a call to it. The new function will also be used in other parts of the system in later patches. Mentored-by: Christian Couder Mentored-by: Stefan Beller Signed-off-by: Prathamesh Chavan --- builtin

[GSoC][PATCH v4 1/4] submodule--helper: introduce get_submodule_displaypath()

2017-08-28 Thread Prathamesh Chavan
Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 37 + 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 818fe74f0..e25854371 100644 --- a/builtin/submodule

[GSoC][PATCH v4 3/4] submodule: port set_name_rev() from shell to C

2017-08-28 Thread Prathamesh Chavan
printing. Mentored-by: Christian Couder Mentored-by: Stefan Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 63 + git-submodule.sh| 16 ++-- 2 files changed, 65 insertions(+), 14 deletions(-) diff --git a

[GSoC][PATCH v4 4/4] submodule: port submodule subcommand 'status' from shell to C

2017-08-28 Thread Prathamesh Chavan
n its list. The function submodule_status() is responsible for generating the status each submodule it is called for, and then calls print_status(). Finally, the function print_status() handles the printing of submodule's status. Mentored-by: Christian Couder Mentored-by: Stefan Beller Signe

[PATCH v5 0/4] Incremental rewrite of git-submodules

2017-09-24 Thread Prathamesh Chavan
ds/ Branch: patch-series-1 Build #179 Thanks, Han-Wen Nienhuys for reviewing the previous patch series. Prathamesh Chavan (4): submodule--helper: introduce get_submodule_displaypath() submodule--helper: introduce for_each_listed_submodule() submodule: port set_name_rev() from shell to C

[PATCH v5 4/4] submodule: port submodule subcommand 'status' from shell to C

2017-09-24 Thread Prathamesh Chavan
bcommand as it is no longer used. Mentored-by: Christian Couder Mentored-by: Stefan Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 162 +++- git-submodule.sh| 49 +- 2 files changed, 147 insertions(+), 6

[PATCH v5 3/4] submodule: port set_name_rev() from shell to C

2017-09-24 Thread Prathamesh Chavan
printing. Mentored-by: Christian Couder Mentored-by: Stefan Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 63 + git-submodule.sh| 16 ++-- 2 files changed, 65 insertions(+), 14 deletions(-) diff --git a

[PATCH v5 2/4] submodule--helper: introduce for_each_listed_submodule()

2017-09-24 Thread Prathamesh Chavan
Introduce function for_each_listed_submodule() and replace a loop in module_init() with a call to it. The new function will also be used in other parts of the system in later patches. Mentored-by: Christian Couder Mentored-by: Stefan Beller Signed-off-by: Prathamesh Chavan --- builtin

[PATCH v5 1/4] submodule--helper: introduce get_submodule_displaypath()

2017-09-24 Thread Prathamesh Chavan
Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 38 ++ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 818fe74f0..d24ac9028 100644 --- a/builtin/submodule

[PATCH v6 0/3] Incremental rewrite of git-submodules

2017-09-29 Thread Prathamesh Chavan
re you can find this series at: https://github.com/pratham-pc/git/commits/patch-series-1 And its build report is available at: https://travis-ci.org/pratham-pc/git/builds/ Branch: patch-series-1 Build #184 Prathamesh Chavan (3): submodule--helper: introduce get_submodule_displaypath() su

[PATCH v6 1/3] submodule--helper: introduce get_submodule_displaypath()

2017-09-29 Thread Prathamesh Chavan
Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 35 +++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 818fe74f0..cdae54426 100644 --- a/builtin/submodule

[PATCH v6 2/3] submodule--helper: introduce for_each_listed_submodule()

2017-09-29 Thread Prathamesh Chavan
Introduce function for_each_listed_submodule() and replace a loop in module_init() with a call to it. The new function will also be used in other parts of the system in later patches. Mentored-by: Christian Couder Mentored-by: Stefan Beller Signed-off-by: Prathamesh Chavan --- builtin

[PATCH v6 3/3] submodule: port submodule subcommand 'status' from shell to C

2017-09-29 Thread Prathamesh Chavan
tefan Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 207 git-submodule.sh| 61 + 2 files changed, 208 insertions(+), 60 deletions(-) diff --git a/builtin/submodule--helper.c b/builtin/submodule--help

[PATCH v7 2/3] submodule--helper: introduce for_each_listed_submodule()

2017-10-06 Thread Prathamesh Chavan
Introduce function for_each_listed_submodule() and replace a loop in module_init() with a call to it. The new function will also be used in other parts of the system in later patches. Mentored-by: Christian Couder Mentored-by: Stefan Beller Signed-off-by: Prathamesh Chavan --- builtin

[PATCH v7 3/3] submodule: port submodule subcommand 'status' from shell to C

2017-10-06 Thread Prathamesh Chavan
tefan Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 198 git-submodule.sh| 61 +- 2 files changed, 199 insertions(+), 60 deletions(-) diff --git a/builtin/submodule--helper.c b/builtin/submodule--help

[PATCH v7 1/3] submodule--helper: introduce get_submodule_displaypath()

2017-10-06 Thread Prathamesh Chavan
Beller Signed-off-by: Prathamesh Chavan --- builtin/submodule--helper.c | 35 +++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 06ed02f99..56c1c52e2 100644 --- a/builtin/submodule

[PATCH v7 0/3] Incremental rewrite of git-submodules

2017-10-06 Thread Prathamesh Chavan
189 The above changes are also push on github and are available at: https://github.com/pratham-pc/git/commits/patch-series-1-next Prathamesh Chavan (3): submodule--helper: introduce get_submodule_displaypath() submodule--helper: introduce for_each_listed_submodule() submodule: port submodule

<    1   2   3