diff options
| author | Junio C Hamano <gitster@pobox.com> | 2017-06-23 11:04:14 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-06-23 13:10:20 -0700 |
| commit | 229a95aafa77b583b46a3156b4fad469c264ddfd (patch) | |
| tree | 6f6aa4f9ed3e8b32740de227e82bb55358dde7a9 /builtin/commit.c | |
| parent | pathspec: warn on empty strings as pathspec (diff) | |
| download | git-229a95aafa77b583b46a3156b4fad469c264ddfd.tar.gz git-229a95aafa77b583b46a3156b4fad469c264ddfd.zip | |
t0027: do not use an empty string as a pathspec element
In an upcoming update, we will finally make an empty string illegal
as an element in a pathspec; it traditionally meant the same as ".",
i.e. include everything, so update this test that passes "" to pass
a dot instead.
At this point in the test sequence, there is no modified path that
need to be further added before committing; the working tree is
empty except for .gitattributes which was just added to the index.
So we could instead pass no pathspec, but this is a conversion more
faithful to the original.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
