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

Re: What's cooking in git.git (Jan 2009, #07; Wed, 28)

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:46:03

On Thu, Jan 29, 2009 at 04:51, Jeff King [off-list ref] wrote:
 $ mkdir parent && (cd parent && git init)
 Initialized empty Git repository in /home/peff/parent/.git/

 $ git clone parent child
 Initialized empty Git repository in /home/peff/child/.git/
 warning: You appear to have cloned an empty repository.

So far so good...

 $ (cd parent && echo content >file && git add file && git commit -m one)
 [normal commit output]
 $ (cd child && git fetch)
 [normal fetch output]
I thought instead we wanted to support the following workflow:

$ (cd child && echo content >file && git add file && git commit -m one)
[normal commit output]

Which is what the testcase tests. E.g., we want to support cloning an
empty repo so that the user can then _push_ to that repository to make
it non-empty, no?

-- 
Cheers,

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