Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

Re: [PATCH] clone: support atomic operation with --separate-git-dir

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:55:40

Possibly related (same subject, not in this thread)

Duy Nguyen wrote:
                                                              And
because junk_work_tree is not set up for --bare, I guess we still need
to fix "--bare --separate-git-dir" case, or forbid it because i'm not
sure if that case makes sense at all.
Forbidding it makes sense to me.  If some day we want a git command to
create a .git file, I don't think it should be spelled as "git clone
--bare --separate-git-dir <repo>".  In the meantime,

	printf '%s\n' 'gitdir: /path/to/repo' >repo.git

works fine.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help