diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-04-28 20:01:27 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-04-28 20:03:25 -0400 |
commit | 475d1b333a03b0c13cbbc4ebf395fe11c989f931 (patch) | |
tree | 51c744c0bba019bc329012d9f35e89cab3276920 /builtin-diff-files.c | |
parent | 87859f34434dda61cabb03447efd1dd2fe7ebac7 (diff) | |
download | git-475d1b333a03b0c13cbbc4ebf395fe11c989f931.tar.gz git-475d1b333a03b0c13cbbc4ebf395fe11c989f931.tar.xz |
Don't allow empty pathnames in fast-import
riddochc on #git noticed corruption caused by import-tars. This
was fixed in the prior commit by Dscho, but fast-import was wrong
to have allowed a tree to be created with an empty string as the
filename. No operating system allows this, and Git itself doesn't
accept this into the index.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'builtin-diff-files.c')
0 files changed, 0 insertions, 0 deletions