[PATCH 0/2] WAS: [PATCH] mv: allow moving nested submodules
- From
Stefan Beller <sbeller@google.com>
- Date
- Apr 18, 2016, 23:41 UTC
- Message-ID
- <1461022884-30819-1-git-send-email-sbeller@google.com>
A single patch evolves into a series. The second patch is essentially a resend with Junios suggestion squashed[1].
That patch alone doesn't quite fix it yet, as we need to make sure the submodule code respects the ignore_errors flag as instructed by the user. Patch 1 libifies the used functions from submodule.c and handles the errors appropriately.
[1] http://thread.gmane.org/gmane.comp.version-control.git/291810/focus=291829
Thanks, Stefan
Stefan Beller (2): mv submodule: respect ignore_errors for errors in submodule code mv: allow moving nested submodules
builtin/mv.c | 32 +++++++++++++++++++++++--------- submodule.c | 33 ++++++++++++++++++++++++--------- submodule.h | 6 ++++-- t/t7001-mv.sh | 16 ++++++++++++++++ 4 files changed, 67 insertions(+), 20 deletions(-)
-- 2.8.1.211.g24879d1