diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-05-08 12:36:31 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-05-08 12:36:32 -0700 |
| commit | 0730906043110523d844f7371770aee0bcacc1a9 (patch) | |
| tree | 6bdf0b37eb2d321f83317b1a9d38b0466cb95d84 /list-objects-filter.c | |
| parent | Merge branch 'en/hashmap-clear-fix' (diff) | |
| parent | builtin/mv: convert assert(3p) into `BUG()` (diff) | |
| download | git-0730906043110523d844f7371770aee0bcacc1a9.tar.gz git-0730906043110523d844f7371770aee0bcacc1a9.zip | |
Merge branch 'ps/mv-contradiction-fix'
"git mv a a/b dst" would ask to move the directory 'a' itself, as
well as its contents, in a single destination directory, which is
a contradicting request that is impossible to satisfy. This case is
now detected and the command errors out.
* ps/mv-contradiction-fix:
builtin/mv: convert assert(3p) into `BUG()`
builtin/mv: bail out when trying to move child and its parent
Diffstat (limited to 'list-objects-filter.c')
0 files changed, 0 insertions, 0 deletions
