Skip to content

Commit

Permalink
git-init-db: create "pack" subdirectory under objects
Browse files Browse the repository at this point in the history
Don't make the user have to mkdir it just because he's excited about the
new object pack functionality, do it for him.
  • Loading branch information
Linus Torvalds committed Jun 28, 2005
1 parent 85c1f33 commit f49fb35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init-db.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,7 @@ int main(int argc, char **argv)
sprintf(path+len, "/%02x", i);
safe_create_dir(path);
}
strcpy(path+len, "/pack");
safe_create_dir(path);
return 0;
}

0 comments on commit f49fb35

Please sign in to comment.