Skip to content

Commit

Permalink
git-init-db: brown paper bag bugfix.
Browse files Browse the repository at this point in the history
OK, I admit I am an idiot.  I ended up creating bunch of garbage
directories like .git/HEADbranch/ .git/HEADrefs/...

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Aug 5, 2005
1 parent 7f47e72 commit b03e2d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init-db.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ static void create_default_files(const char *git_dir)
exit(1);
}
}
path[len] = 0;
copy_templates(path);
}

Expand Down

0 comments on commit b03e2d2

Please sign in to comment.