Re: [git-users] Re: git tree subfolder workflow

2013-08-19 Thread dexter ietf
 I do not think it's possible to only clone a part of a repo. That being
said, I have not experimented with subtree nor submodule. Have you look
into that yet?

i've looked into submodule i don't think that's what i need.
i need to look at subtree. btw, i tried cloning to local
disk running git inside a cygwin, guess what i still see
the same problem, atleast on nfs, 'git log' was fast,
now even 'git log' takes too long, i'm not sure if
cygwin is to blame here.

thanks for your responses.


On Sat, Aug 17, 2013 at 9:26 PM, Huu Da Tran huuda.t...@gmail.com wrote:

 I do not think it's possible to only clone a part of a repo. That being
 said, I have not experimented with subtree nor submodule. Have you look
 into that yet?

 Is there any way for you to access to repo from a remote host, but not
 mounted nfs? Seems like a flaw in network design.

 One hour is not the long if you let run over night (my experience took
 over 35min without nfs). Is that nfs plus your network time from the
 server? If so, maybe you can get on that server and clone locally on the
 server so it is no more nfs. Then from your local machine, clone your
 cloned?

 Unfortunately, I can only offer potential workaround. I have no experience
 to say that when pushing back to the nfs repo would be any faster if you
 could clone only a directory.

 Hope that helps a little.

 HD.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Git for human beings group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/git-users/C7xeO8r97Yo/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[git-users] Re: git tree subfolder workflow

2013-08-17 Thread dexter ietf
 Is the size of all directories a concern at all?

yes, it is, to clone a full repo to my local disk it is taking more than an 
hour.

original problem: the server where i clone is on nfs and git is too slow on
nfs, even a simple 'git status' on a local folder is taking 2~3 mins.
so somebody suggested to clone the tree on to a local disk. since the
bulk of my work is only on a single folder, i want to try this approach.
if it's even allowed ?



On Saturday, August 17, 2013 6:48:43 PM UTC+5:30, Huu Da Tran wrote:

 Is the size of all directories a concern at all?

 You clone it once and just leave it there and do normal git.

 In other words, can you explain the problems you are trying to avoid?

 I worked with big repos and cloning is slow, but then branching, commit 
 and push is fast, so maybe you are trying to do something different?

 Hope this helps,

 HD.



-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[git-users] Re: git tree subfolder workflow

2013-08-17 Thread Huu Da Tran
I do not think it's possible to only clone a part of a repo. That being said, I 
have not experimented with subtree nor submodule. Have you look into that yet?

Is there any way for you to access to repo from a remote host, but not mounted 
nfs? Seems like a flaw in network design.

One hour is not the long if you let run over night (my experience took over 
35min without nfs). Is that nfs plus your network time from the server? If so, 
maybe you can get on that server and clone locally on the server so it is no 
more nfs. Then from your local machine, clone your cloned?

Unfortunately, I can only offer potential workaround. I have no experience to 
say that when pushing back to the nfs repo would be any faster if you could 
clone only a directory.

Hope that helps a little.

HD.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.