fast-import: allow cat command with empty path
commit0ed2a459ba7871cc6bddf83e744f1845a0b476d4
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 8 Sep 2010 01:34:35 +0000 (7 20:34 -0500)
committerDavid Barr <david.barr@cordelta.com>
Fri, 10 Sep 2010 04:26:22 +0000 (10 14:26 +1000)
treeacbd747613ace387666a1887573d0fcbb195255f
parent688901ff190db9a8feda8ff0082ba06736c24d57
fast-import: allow cat command with empty path

Rather than erroring out, treat an empty path as the path to
the root of a tree so frontends can be simplified a little.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
fast-import.c