summaryrefslogtreecommitdiff
path: root/t/t4045-diff-relative.sh
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2016-04-19 11:32:04 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-19 11:54:50 -0700
commita127331cd812336235cb95b45b7e4c52c433be7f (patch)
tree81371dd5392e9b10904a4cfd668dad0e06ca996f /t/t4045-diff-relative.sh
parentGit 2.6.6 (diff)
downloadtgif-a127331cd812336235cb95b45b7e4c52c433be7f.tar.xz
mv: allow moving nested submodules
When directories are moved using `git mv` all files in the directory have been just moved, but no further action was taken on them. This was done by assigning the mode = WORKING_DIRECTORY to the files inside a moved directory. submodules however need to update their link to the git directory as well as updates to the .gitmodules file. By removing the condition of `mode != INDEX` (the remaining modes are BOTH and WORKING_DIRECTORY) for the required submodule actions, we perform these for submodules in a moved directory. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4045-diff-relative.sh')
0 files changed, 0 insertions, 0 deletions