IRCloggy #git 2006-10-03

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2006-10-03

polyonymous joined00:22
Gitzilla_ joined01:02
yashi joined02:14
Newsome joined02:16
MadCoder joined02:35
mugwump cg-commit: unable to apply the edited patch; the original patch is available in /tmp/gitci.tB25wT/patch.diff, your edited patch is available in /tmp/gitci.tB25wT/patch2.diff, your log message is in /tmp/gitci.tB25wT/logmsg.diff, your working copy is in undefined state now and the world is about to end in five minutes, have a nice day04:09
love that error message04:09
matled joined04:23
Bicchi i am seting up gitweb. what should index.aux look like04:37
can you post an example please.04:38
mugwump Bicchi: eg, each line looks like:05:10
dbic-tangram-paper Sam+Vilain+and+Mark+Overmeer05:10
Template-Plugin-Heritable Sam+Vilain05:10
Bicchi actually i do not have a project.git file.05:12
i noticed a lot of the repositories have a project.git file.05:12
for example: linus has. linux/kernel/git/torvalds/linux-2.6.git05:13
i do not have a linux-2.6.git file.05:14
do i need to create this file?05:14
mugwump: ?05:15
mugwump the first bit is a directory name, it should have objects/, etc under it05:15
Bicchi i do have a .git but not a linux-2.6.git05:16
dmlb2000ihatehomeworktoo05:17
Bicchi mugwump: under project the name that shows is .git and under description what shows is: Unnamed repository; edit this ...05:19
mugwump right. that's the GIT_DIR for your repository, and where you should point your path05:20
Bicchi but why is it showing that name.05:21
how can i rename it.05:21
mugwump what05:21
?05:21
what does your index.aux look like?05:21
Bicchi i do not have one05:21
and if i create one and point to it, it doesnt work.05:22
take a look at this for example. http://pasky.or.cz/gitweb.cgi05:23
notice how every project has a cogito.git elinks.git tig.git etc etc05:23
mugwump so what05:23
that's the path05:23
Bicchi my question to you is, do i need to create the name.git file.05:23
mugwump no, you can call it whatever05:24
see utsl.gen.nz/gitweb/05:24
Bicchi so i assign the project and the description in the index.aux file?05:25
mugwump or in the actual git directory05:26
Bicchi how05:26
that is my main question05:26
mugwump rtfm05:26
Bicchi gosh05:26
mugwump or utsl05:26
ihatehomeworktoodmlb200005:46
kanru joined05:51
devogon joined05:59
Gitzilla joined06:25
Tv joined07:09
makx_ left07:11
cods joined08:09
Simon- left08:57
polyonymous joined09:18
chris2 joined10:09
benlau joined10:12
lyakh joined10:14
mchehab joined10:16
matled_ joined10:22
matled_matled10:24
mchehab left10:25
ferdy joined10:28
cods joined10:59
pasky hmm11:01
I wonder what are we doing wrong that so many people have problems with setting up gitweb11:01
it seems really quite straightforward to me, all's described and so11:02
flz well, it's easier to understand when you read the source :-)11:02
have you noticed problems when file have a colon in their name?11:02
telmich pasky: well, gitweb seems to have some problems11:04
pasky flz: yes, and I've sent a patch ;))11:04
telmich pasky: the issue with '+' in a projectname is still there11:04
pasky hmm11:04
flz pasky: ah sweet :-)11:04
telmich pasky: the other problem is that there are many 'magical' errors11:04
like gitweb ignores empty dbs in the main index11:05
pasky telmich: yes, quite possibly, project and ref name is restricted11:05
telmich but displays them, when one requests them in the url directly11:05
pasky: wouldn't there be a simply way escaping all characters?11:05
pasky you need to be careful about project names since you need to look them up in the filesystem and so11:06
but yes it would be best11:06
send patch :)11:06
telmich perhaps will do it..11:06
but first other projects, I've to settle down a bit11:06
pasky :)11:06
telmich just moved from basle to zurich11:06
pasky oh, nice11:08
telmich well, moving around is just using unecesary time and human power imho11:12
telmich wants to stay in zurich for the next years11:12
benlau joined11:15
vorbote joined11:21
vorbote (j #ubuntu-motu11:26
:-P11:26
devogon joined11:28
vorbote left11:49
dwmw2_gonedwmw212:33
timlarson_ joined12:38
timlarson_ joined12:40
ShadeHawk joined12:49
CodeBook joined12:57
CodeBook hi12:57
cods joined13:01
CodeBook !seen GyrosGeier13:02
Tv joined13:05
coywolf joined13:07
cods_ joined13:26
cods_cods13:27
ShadeHawk pasky: Could you delete gitwiki page http://git.or.cz/gitwiki/gitwiki/gitwiki/gitwiki/GitWikiSuggestions (notice triple gitwiki ;-) used for spam/link farming? TIA14:05
telmich hrm, looks like cogito/cg has problems with umlauts14:19
(in filenames)14:19
wenn I do git-mv file_with_umlaut.jpg file_without.jpg, the commit does not work with cg-commit14:20
using git-commit it works14:21
Gitzilla joined14:44
krh joined14:45
telmich strange14:57
another problem with 'file_Stest1.jpg' and 'file_stest1.jpg'14:57
(git/cogito claims that the file already exists on mac os x)14:57
benlau Now my kernel repository has 322899 files. `du -sh` spent a lot of time to calculate the consumed disk space. Anyway to reduce the size / number of files under .git?15:02
Newsome joined15:10
spuk- benlau: git-repack ?15:11
spearce joined15:15
benlau I am just also checking this command. Should it be `git-repack -d`?15:15
GeertB joined15:15
benlau I am trying to run `git-repack -a -d`. Seem that it will take a lot of time..15:15
meyering joined15:16
meyering left15:16
ShadeHawk trouble with filenames differing only in case?15:17
spuk- joined15:33
chris2 joined15:48
dwmw2dwmw2_gone15:48
robin joined15:52
benlau joined16:13
GeertB I want to create a new repository with a script, but can't figure out how to store the initial HEAD16:18
spearce what do you mean?16:19
GeertB git-init-db16:20
hello=$(echo 'Hello, World!'|git-hash-object -w --stdin)16:20
tree=$(printf "100644 blob %s\t%s\n" $hello hello|git-mktree)16:20
commit=$(echo 'my first commit' | git-commit-tree $tree)16:20
git-update-ref HEAD $commit16:20
spearce that's basically my newrepo script. :-)16:20
GeertB spearce: but I then get the following16:20
HEAD: d1457fb7a41a375bb97734bac84cedbe9c3b2df4: No such file or directory16:20
IIRC, creating an initial head was just a matter of copying the sha1 in there16:21
Now it seems much harder with refs and links16:21
spearce it is. and using update-ref like that is the right way to do it.16:21
what command is giving you that nonsense? update-ref?16:21
GeertB spearce: yep!16:22
spearce what version of git? is this one with the new packed ref stuff from Linus, Junio, et.al.?16:22
GeertB potomac%git --version16:23
git version 1.4.2.GIT16:23
spearce hmm. i just tried it with `next` and your script works perfectly.16:24
git version 1.4.2.3.gd1e9e16:24
GeertB If I do echo $commit >.git/refs/heads/master, things work fine, but that seems wrong16:24
spearce what about git-update-ref refs/heads/master $commit ?16:24
GeertB potomac%git-update-ref refs/heads/master $commit16:28
-bash: refs/heads/master: No such file or directory16:28
spearce wtf? why is bash complaining about that file?16:28
GeertB Aarghh, pilot error. Seems I somehow got an alias git-update-ref=''16:29
spearce i was just going to ask that. :)16:29
So then HEAD must be from the LWP package in perl... as in HEAD http://www.kernel.org/ :-)16:30
GeertB spearce: thanks for the help!16:30
spearce no problem.16:30
though you had me worried for a bit that something as core as update-ref was broken in some more recent releases...16:31
GyrosGeier joined16:38
anholt joined16:41
lyakh joined17:03
kanru joined17:29
mchehab joined17:56
mort joined18:03
mort_ joined18:09
mort_ joined18:20
mort joined18:29
mort_ joined18:41
Eludias joined18:44
moh joined18:49
mort_ joined18:51
Gitzilla joined18:52
mort_ joined18:56
mort_ joined19:07
mchehab pasky: had some time to change tuner config?19:09
mchehabmchehab-away19:20
lyakh joined19:45
nud joined20:06
mchehab-awaymchehab20:18
matled how should refs be viewed when the packed ref format is used? is there already a command for that?20:21
GeertB joined20:43
CIA-21 Cogito: pasky v0.18 * r17c0ad756555 /Makefile: Fix install into a directory containing spaces21:13
cods joined21:19
robfitz joined21:41
mugwump packed refs?21:45
anholt joined21:46
anholt_ joined21:55
pasky mchehab: let's see...22:04
tchan joined23:00
DrNick joined23:10
ShadeHawk joined23:10
Newsome joined23:39
mchehab joined23:53
ShadeHawk joined23:59

Logs Search ←Prev date Next date→ Channels Documentation