Re: [git-users] Git http-backend shouldn't use Webdav

2015-05-26 Thread Konstantin Khomoutov
On Mon, 25 May 2015 13:44:49 -0700 (PDT) Matthias Lantsch alasar.gogle.su...@gmail.com wrote: [...] But when I am trying to push, I get a 404 header back and a return code 22: PROPFIND /git/repo/test.git/ HTTP/1.1 JFTR: The server's part -- maps requests and URIs to actions: $ git grep -E

Re: [git-users] Git http-backend shouldn't use Webdav

2015-05-26 Thread Matthias Lantsch
I'm afraid this part is not interesting as it's already about WebDAV being used, and we want to prevent this situation, right? Hence, the place to debug is why WebDAV is being used in the first place. Yes of course you are correct, the goal is it not using Webdav at all. I mean, if

Re: [git-users] Git http-backend shouldn't use Webdav

2015-05-26 Thread Matthias Lantsch
I'm afraid this part is not interesting as it's already about WebDAV being used, and we want to prevent this situation, right? Hence, the place to debug is why WebDAV is being used in the first place. Yes of course you are correct, the goal is it not using Webdav at all. I mean, if

Re: [git-users] Need some advice on git setup -- development files must be run on the server

2015-05-26 Thread Dale R. Worley
Chris Fillmore fillmore.ch...@gmail.com writes: I am imagining I putty into the server, checkout my branch, run the code. Is this possible? But what's to stop other team members from doing the same, at the same time? There are only three of us, we can communicate, but in principle I would

Re: [git-users] Need some advice on git setup -- development files must be run on the server

2015-05-26 Thread Magnus Therning
On 26 May 2015 at 13:34, Dale R. Worley wor...@alum.mit.edu wrote: Chris Fillmore fillmore.ch...@gmail.com writes: I am imagining I putty into the server, checkout my branch, run the code. Is this possible? But what's to stop other team members from doing the same, at the same time? There are

Re: [git-users] moving a directory from one repo to another with commit history

2015-05-26 Thread Konstantin Khomoutov
On Tue, 26 May 2015 22:24:25 +0530 Kalpa Welivitigoda callka...@gmail.com wrote: [...] Thanks for all the support rendered. I tried the above method and it places the directory from repoB to the correct place on repoA. But if I log the commits for dir1-2 in repoA (git log dir1/dir1-2), it

Re: [git-users] moving a directory from one repo to another with commit history

2015-05-26 Thread Kalpa Welivitigoda
On Tue, May 26, 2015 at 11:37 PM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: On Tue, 26 May 2015 22:24:25 +0530 Kalpa Welivitigoda callka...@gmail.com wrote: [...] Thanks for all the support rendered. I tried the above method and it places the directory from repoB to the

[git-users] GIT_DIR missing in pre-rebase hook

2015-05-26 Thread Nick Kugaevsky
Hi! It was really suprising when I find out that GIT_DIR variable is missing in some hooks. I want to run hook before executing `git pull --rebase` command, so I use `pre-rebase` hook for that. There is GIT_DIR variable in my script and as I see it is unset. Is it expected behaviour or

Re: [git-users] moving a directory from one repo to another with commit history

2015-05-26 Thread Kalpa Welivitigoda
On Mon, May 25, 2015 at 5:30 PM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: On Sat, 23 May 2015 23:02:46 +0530 Kalpa Welivitigoda callka...@gmail.com wrote: [...] Use the `git subtree` command [*]. [...] To elaborate, a pseudocode (assuming a POSIX shell) is something