git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git BOF notes

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 23, 2006, 22:53 UTC
Message-ID
<Pine.LNX.4.63.0607240049500.29667@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20060722191652.GR13776@pasky.or.cz>
Hi,
On Sat, 22 Jul 2006, Petr Baudis wrote:
Show 15 quoted lines
> Dear diary, on Sat, Jul 22, 2006 at 05:55:59AM CEST, I got a letter
> where Johannes Schindelin <Johannes.Schindelin@gmx.de> 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@gmx.de> 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 ;-)
Show 12 quoted lines
> > >   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

Previous: Timo HirvonenNext: J. Bruce Fields
Message 9 of 17 in “Git BOF notes”
  1. Petr BaudisJul 19, 2006
  2. J. Bruce FieldsJul 21, 2006
  3. Petr BaudisJul 21, 2006
  4. Johannes SchindelinJul 22, 2006
  5. Petr BaudisJul 22, 2006
  6. Johannes SchindelinJul 22, 2006
  7. Petr BaudisJul 22, 2006
  8. Timo HirvonenJul 22, 2006
  9. Johannes SchindelinJul 23, 2006
  10. J. Bruce FieldsJul 21, 2006
  11. Petr BaudisJul 21, 2006
  12. Alex RiesenJul 21, 2006
  13. Nguyễn Thái Ngọc DuyJul 22, 2006
  14. Alex RiesenJul 23, 2006
  15. Catalin MarinasJul 24, 2006
  16. Petr BaudisJul 24, 2006
  17. Nguyễn Thái Ngọc DuyJul 24, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.