diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-08-20 20:47:13 +0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-08-23 17:14:42 -0700 |
| commit | 9e1afb16753d583a696c988d33f45655f81e8f7c (patch) | |
| tree | 0ad696855e2031ebd059dc585810ad24605ee859 /diff-lib.c | |
| parent | Add tests for sparse checkout (diff) | |
| download | git-9e1afb16753d583a696c988d33f45655f81e8f7c.tar.gz git-9e1afb16753d583a696c988d33f45655f81e8f7c.zip | |
sparse checkout: inhibit empty worktree
The way sparse checkout works, users may empty their worktree
completely, because of non-matching sparse-checkout spec, or empty
spec. I believe this is not desired. This patch makes Git refuse to
produce such worktree.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions
