Skip to content
Snippets Groups Projects
Commit 99ab22c4 authored by Saša Živkov's avatar Saša Živkov Committed by Shawn Pearce
Browse files

Don't create .git/remotes folders on init


For historical reasons JGit was creating .git/remotes folder when
initialization an empty repository.  However, this folder is never
used and the new Git repository format doesn't contain them.

Removed the unnecessary remotes folder creation, it was removed from
C Git in 75c384efb52d ("Do not create $GIT_DIR/remotes/ directory
anymore") by Junio C Hamano on Dec 19 2006.  C Git hasn't made it
for almost 3 years.

Change-Id: I5473f3676a3642afdf9aaac44b7e6319c6e170b9
Signed-off-by: default avatarSasa Zivkov <sasa.zivkov@sap.com>
Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
parent d4e7b706
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment