diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-11-21 22:04:51 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-22 07:11:45 (GMT) |
commit | cff4e9138d8df45e3b6199171092ee781cdadaeb (patch) | |
tree | a450b219be113a8b0f9e26265b5ae5fc6dbcd7e2 /unimplemented.sh | |
parent | 416adc8711d16c5231693f19ca483dd3d59bef5d (diff) | |
download | git-cff4e9138d8df45e3b6199171092ee781cdadaeb.zip git-cff4e9138d8df45e3b6199171092ee781cdadaeb.tar.gz git-cff4e9138d8df45e3b6199171092ee781cdadaeb.tar.bz2 |
sparse-checkout: check for dirty status
The index-merge performed by 'git sparse-checkout' will erase any staged
changes, which can lead to data loss. Prevent these attempts by requiring
a clean 'git status' output.
Helped-by: Szeder Gábor <szeder.dev@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unimplemented.sh')
0 files changed, 0 insertions, 0 deletions