diff --git a/fast-import.c b/fast-import.c
index 0d3449f2cef93ae0ece87f4204d5e817d6e62439..655913ddb27f758ce494fc18551e852c9a6aa9f1 100644 (file)
--- a/fast-import.c
+++ b/fast-import.c
else
b = new_branch(sp);
read_next_command();
- if (!cmd_from(b) && command_buf.len > 0)
+ cmd_from(b);
+ if (command_buf.len > 0)
unread_command_buf = 1;
}
{
unsigned int i, show_stats = 1;
+ setup_git_directory();
git_config(git_pack_config);
if (!pack_compression_seen && core_compression_seen)
pack_compression_level = core_compression_level;