Re: Git BOF notes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, 22 Jul 2006, Petr Baudis wrote:

> Dear diary, on Sat, Jul 22, 2006 at 05:55:59AM CEST, I got a letter
> where Johannes Schindelin <Johannes.Schindelin@xxxxxx> said that...
> > On Sat, 22 Jul 2006, Petr Baudis wrote:
> > > Dear diary, on Sat, Jul 22, 2006 at 02:17:48AM CEST, I got a letter
> > > where Johannes Schindelin <Johannes.Schindelin@xxxxxx> said that...
> > > > And also think "setup a remote repository", especially "setup a remote
> > > > HTTP repository".
> > > 
> > >   Of course. Currently you need to tinker with environment variables,
> > > then with hooks, possibly with permissions and stuff to make the
> > > repository shared... Think cg-admin-setuprepo. ;-)
> > 
> > git-init-db --shared
> 
> And the environment variable and the chgrp and g+s. That's my point.

I do not have the itch. But of course, it would be trivial to do that as 
command line options.

> > And sometimes, I do "cp -R /some/where/CVS ./; git-cvsimport".
> 
> git-cvsimport will create the repository for you, won't it?

It could, if I'd let it ;-)

> > >   Of course sometimes you don't want to add everything, and that should
> > > still be possible to do (cg-init has a switch for that).
> > 
> > Usually I start small projects as a single .c or .java file. Only after a 
> > while, I think it is worth it to init a git database. So, I _always_ have 
> > generated files lying around. And I would hate it if they were checked in 
> > automatically. (Yeah, I could remove them, _then_ remove them from the 
> > index, and then git-commit --amend. Ugly.)
> 
> Can't you just do make clean before git init? Or you can prepare 
> .gitignore before you check stuff in, so that the autogenerated files 
> don't pollute your git status output. ;-)

Yes, I can. I also can type in several sheets of hex data. But I don't 
want to. Like Timo, I am very happy to tell the computer what to do, not 
to let it take guesses.

Ciao,
Dscho

-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]