August 15, 2011
15.08.2011 9:29, Jacob Carlborg:
> On 2011-08-14 22:20, torhu wrote:
>> On 11.08.2011 19:58, Jacob Carlborg wrote:
>>> I'm planning to move the DWT2 repository to either github or bitbucket.
>>> Which one would you prefer?
>>>
>>
>> Git seems to require a Unix shell to work on Windows. Which is one of
>> the things that make me think that git and Windows is not a match made
>> in heaven. It's a bit like having a crossplatform project that uses
>> Microsoft's C++ extensions, and requires linux contributors to run MSVC
>> through Wine to be able to build it. In other words, I would prefer
>> Bitbucket.
>>
>> But I don't expect to make big contributions, so it's not going to
>> matter much for the project.
>
> I have been thinking the same myself. I just haven't figured out how
> much of a problem it really is.
>

Sorry, but I don't see the problem. There is TortoiseGit with very good Windows explorer integration:
http://code.google.com/p/tortoisegit/
And, AFAIK, it's an official git Windows GUI at "Download Git" section:
http://git-scm.com/

August 15, 2011
On 15.08.2011 15:28, Denis Shelomovskij wrote:
> 15.08.2011 9:29, Jacob Carlborg:
>>  On 2011-08-14 22:20, torhu wrote:
>>>  On 11.08.2011 19:58, Jacob Carlborg wrote:
>>>>  I'm planning to move the DWT2 repository to either github or bitbucket.
>>>>  Which one would you prefer?
>>>>
>>>
>>>  Git seems to require a Unix shell to work on Windows. Which is one of
>>>  the things that make me think that git and Windows is not a match made
>>>  in heaven. It's a bit like having a crossplatform project that uses
>>>  Microsoft's C++ extensions, and requires linux contributors to run MSVC
>>>  through Wine to be able to build it. In other words, I would prefer
>>>  Bitbucket.
>>>
>>>  But I don't expect to make big contributions, so it's not going to
>>>  matter much for the project.
>>
>>  I have been thinking the same myself. I just haven't figured out how
>>  much of a problem it really is.
>>
>
> Sorry, but I don't see the problem. There is TortoiseGit with very good
> Windows explorer integration:
> http://code.google.com/p/tortoisegit/
> And, AFAIK, it's an official git Windows GUI at "Download Git" section:
> http://git-scm.com/
>

Some of us don't want to install yet another shell extension.  And I prefer working on the command line, much quicker and simpler.
August 15, 2011
On 15.08.2011 08:29, Jacob Carlborg wrote:
> On 2011-08-14 22:20, torhu wrote:
>>  On 11.08.2011 19:58, Jacob Carlborg wrote:
>>>  I'm planning to move the DWT2 repository to either github or bitbucket.
>>>  Which one would you prefer?
>>>
>>
>>  Git seems to require a Unix shell to work on Windows. Which is one of
>>  the things that make me think that git and Windows is not a match made
>>  in heaven. It's a bit like having a crossplatform project that uses
>>  Microsoft's C++ extensions, and requires linux contributors to run MSVC
>>  through Wine to be able to build it. In other words, I would prefer
>>  Bitbucket.
>>
>>  But I don't expect to make big contributions, so it's not going to
>>  matter much for the project.
>
> I have been thinking the same myself. I just haven't figured out how
> much of a problem it really is.

I thought I'd give hg-git a go, I found an easy way to install it here: http://stackoverflow.com/questions/2360944/how-do-i-correctly-install-dulwich-to-get-hg-git-working-on-windows/6998710#6998710

I cloned one of the Phobos clones on github and played around with it a bit.  Works great so far, everything seems to work.  Not tried to push or check in, but I suppose it would work just fine. One of Mercurial's strengths is really how easy Python makes it to create extensions and tools.
August 15, 2011
I've tried hg-git a while ago but the extension wouldn't register for me for some reason.

Anyway I use msysgit now, it's not *too* bad, but you really have to know your way around the shell. E.g. viewing logs uses HJKL keys and Q to exit, and to enable pasting you have to select "quick edit mode" for the shell window and use shift+insert instead of ctrl+v (I've tried setting ctrl+v in .bashrc but with no luck). There's also a few redrawing bugs where the window shows garbled text once in a while.. It's really rather poor support, but I don't use a lot of git's functionality so in the end it's ok for me.

Here's my .bashrc:
TERM=msys
# cd
alias ..='cd ..'
alias cd..='cd ..'
# ls
alias dir="ls -F"
# git
alias gd='git pull origin master'
alias gp='git push origin master'
alias co='git checkout'
alias gc='git add -A && git commit -m'
alias gs='git status'
alias gm='git checkout master'

alias c:='cd /c/'
alias d:='cd /d/'
alias e:='cd /e/'
alias f:='cd /f/'
alias g:='cd /g/'

I'm not a fan of Tortoise because it slows down file access in explorer regardless if I'm in a directory with a git repository or not.
August 16, 2011
On Mon, 15 Aug 2011 17:50:31 +0200, Andrej Mitrovic wrote:

> I've tried hg-git a while ago but the extension wouldn't register for me for some reason.
> 
> Anyway I use msysgit now, it's not *too* bad, but you really have to know your way around the shell. E.g. viewing logs uses HJKL keys and Q to exit, and to enable pasting you have to select "quick edit mode" for the shell window and use shift+insert instead of ctrl+v (I've tried setting ctrl+v in .bashrc but with no luck). There's also a few redrawing bugs where the window shows garbled text once in a while.. It's really rather poor support, but I don't use a lot of git's functionality so in the end it's ok for me.

While I installed msysgit, I usually just run git from powershell. My log viewer is just gitk and diffs are in gvim. Your problems with exist in every command prompt I've used in windows, though right click works for me even though I've seen others where it does not.
August 16, 2011
Here's the command I use:

D:\Apps\Console2\Console.exe -d "C:\Program Files\Git\bin" -r "/k sh.exe --login -i"

That's in a desktop shortcut, of course you would have to change the paths accordingly. For those who don't know, you can get console2 from here: http://sourceforge.net/projects/console/

It's basically a wrapper around shells, it's not an actual intepreter. But the cool thing is that you can copy/paste, and there's even tab support.
August 16, 2011
Ah nevermind, I figured out I can actually run the git shell via console2, which has copy+pasting.
August 16, 2011
See here's why I love this thing:

http://i.imgur.com/dIWPr.png
August 16, 2011
On 2011-08-16 03:41, Andrej Mitrovic wrote:
> Ah nevermind, I figured out I can actually run the git shell via
> console2, which has copy+pasting.

I've used it as well, it's not good but it's the best console I've found on Windows.

-- 
/Jacob Carlborg
August 26, 2011
On 8/15/11 11:04 PM, Andrej Mitrovic wrote:
> See here's why I love this thing:
>
> http://i.imgur.com/dIWPr.png

What do you mean?