IRCloggy #git 2009-12-11

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.

2009-12-11

hacim i guess this is why I asked my original question00:00
are there any tools that make this more clear that I can use to understand what happened?00:00
mattions left00:01
Paraselene_ left00:03
mattweg left00:04
mattweg_mattweg00:04
kpreid_ joined00:05
hacim oh interesting, I can right click on a line and ask gitk to tell me the origin of a line00:06
bcardarella joined00:06
hacim that helps me understand things a little more00:07
Paraselene_ joined00:09
vvsh left00:11
jspiros joined00:11
SRabbelier left00:12
SRabbelier joined00:13
madewokherd left00:13
broquaint left00:14
Geralt left00:14
raichoo left00:15
__iron left00:15
__iron joined00:15
smotchkkiss left00:20
tvw left00:21
flaguy48 joined00:22
sgh left00:22
ron_ joined00:24
SRabbelier left00:26
yarddog joined00:26
ron___ left00:27
khmarbaise left00:28
SRabbelier joined00:28
jmcantrell joined00:29
Wolf2k_PingedWolfman200000:30
ajonat joined00:30
magcius joined00:31
magcius eek00:31
sgh joined00:31
magcius I just had the wonder of looking at somebody's "custom" Git setup00:31
fualo left00:31
ereslibre joined00:31
hipe_ joined00:31
Wraithan left00:32
magcius where, git-checkout-ng symlinks the file in the working directory to the associated file in objects00:32
the horror00:32
hipe left00:33
rphillips left00:33
LiamH left00:33
wereHamster why do that?00:34
m-takagi_m-takagi00:38
rphillips joined00:38
Yuuhi left00:38
tfarina_ joined00:39
RobertLaptop ok my day sucks. Someone made a typo in a request for repo's I setup about 30 repo's using zues_xxx instead of zeus_xxx there is already code committed and stuff setup before someone google zeus and figured out the mistake. Now I need to fix it. Am I looking at a ton of cloning in my future?00:40
Mezner left00:40
jrmuizel joined00:40
Brack10 joined00:41
ajonat left00:41
Brack10 left00:41
wereHamster what's zeus_xxx? The name of the repository? The name of the committer as recorded in the commits?00:42
dgarr joined00:43
ajonat joined00:44
ron___ joined00:44
RobertLaptop zeus_xxx is the base name of the repo00:45
catalis joined00:46
MrUnleaded joined00:46
RobertLaptop I have about 30 repo all starting with zues_xxx when zeus_xxx is what the manager wanted. Problem no one noticed the mistake until there was some use.00:47
MrUnleaded does anyone know how to update your refs for a remote? some of the remote's refs were deleted but if i do a fetch my local repo's copy of those remote refs are not deleted00:48
johnw git remote purge <name>00:49
MrUnleaded prune oh thats right00:49
johnw oh yeah, prune00:49
MrUnleaded thanks...i could of deleted them out of the refs directory but just couldnt remember the "proper" way00:50
MrUnleaded left00:51
wereHamster RobertLaptop: and where do you have these repositories? Are you managing them with a special tool (gitolite for example) ? Or did you create them manually?00:52
RobertLaptop gitolite00:52
I have root access to were the repo are stored if it makes a diff00:53
qhoxie left00:53
wereHamster then rename the directories, adjust gitlite.conf and tell all users to adjust the urls in their .git/config files00:53
RobertLaptop That simple yea00:53
so nothing is stored or hidden config files in the folder them?00:53
wereHamster no00:54
cjs left00:54
GMFlash joined00:54
RobertLaptop Just rename in both places. Yea that makes life much easier00:54
Thank You wereHamster00:54
ecgrieco joined00:54
GMFlash hello. is it possible to just add a specific folder from another git repo as a submodule rather than the entire project?00:55
wereHamster no00:55
john268 joined00:55
Pewpewarrows left00:55
GMFlash thanks wereHamster00:55
qhoxie joined00:56
up_the_irons left00:56
up_the_irons joined00:56
sdboyer joined00:56
tfarina left00:57
threeve joined00:58
stamina left00:58
stamina joined00:58
psoo left00:59
pklingem1 joined01:00
madewokherd joined01:00
jrmuizel left01:03
ron_ left01:03
ecgrieco Is there a philosophical reason for the above?01:04
Sho_ left01:04
wereHamster ecgrieco: http://git.or.cz/gitwiki/GitFaq#HowdoIcloneasubdirectory.3F01:04
sgh left01:05
catalis left01:06
mattweg left01:06
mattweg joined01:06
madewokherd left01:07
ecgrieco Thanks for the link. So it looks like no, just not implemented.01:08
madewokherd joined01:08
ecgrieco I ask because I would like to clone a single directory from one branch to another. The only way I can see to emulate this behavior is with submodules but, for my purposes this becomes unwieldy.01:09
jinzhu joined01:09
fcuk112_1 left01:10
wereHamster or you could change your repository layout/setup or workflow so that you don't need to merge selected subdirectories between branches01:11
rudi_s left01:12
ecgrieco Yeah, there is the possibility that it's not the best way to use git and something like Capistrano should be used instead or in conjunction. I'd like to manage the configuration files for a distributed Nagios monitoring system.01:12
The problem is that some files need to be on all machines and others only need to be on one or two machines. The submodule approach quickly leads to one repository per remote sensor.01:13
babilen_ joined01:13
vbgunz left01:14
rchavik joined01:15
qhoxie left01:15
engla magcius: I hope it was a hard link, not symlink01:15
j416 joined01:15
dreiss left01:16
broquaint joined01:19
blaines joined01:20
blaines left01:20
Sho_ joined01:20
sitaram RobertLaptop: you around?01:21
RobertLaptop Yes01:21
benjo2 ecgrieco: puppet might also have something that does what you want01:21
RobertLaptop sitaram yes01:21
sitaram RobertLaptop: make sure you rename the actual repos *before* you adjust gitolite.conf and push it; otherwise it will *create* empty ones of that name. Not a big problem but just makes things easier by doing it in that order01:21
Gitzilla left01:22
ecgrieco benjo2: thanks, I'll check it out01:22
RobertLaptop Yea sitaram that was the plain to avoid that.01:22
babilen left01:25
ispeak joined01:27
Sho_ left01:28
smuf left01:28
Sho_ joined01:29
kpreid_ left01:29
fualo joined01:30
patmaddox left01:30
justin-george left01:31
sh1mmer left01:34
aisipos left01:34
Ryback_ left01:39
Gitzilla joined01:40
EricInBNE joined01:41
ajonat left01:43
aisipos joined01:43
vinse left01:45
Analias joined01:46
ben_h joined01:46
babilen_ left01:47
sdboyer left01:48
benjo2 left01:49
sdboyer joined01:50
paltman joined01:52
sh1mmer joined01:53
bcardarella left01:54
WALoeIII left01:54
kpreid_ joined01:56
mjf left01:57
botanicus left02:01
mattweg left02:02
Keiya joined02:03
ecgrieco left02:04
munichlinux left02:05
hakunin joined02:07
ispeak left02:08
ereslibre left02:09
breitz joined02:09
ben_h left02:11
breitz_ left02:12
ben_h joined02:13
gaveen left02:13
Keiya left02:15
Keiya joined02:15
dreiss joined02:15
D[a]vey joined02:20
Keiya left02:20
camonz joined02:21
hipe__ joined02:22
cubuanic left02:24
VVSiz_ joined02:24
godsflaw_ joined02:24
D[a]veyDavey02:25
hipe_ left02:27
Keiya joined02:30
upul joined02:32
hipe joined02:32
godsflaw left02:33
hipe__ left02:33
patmaddox joined02:33
parasti left02:34
munichlinux joined02:37
munichlinux left02:37
krawek left02:39
krawek joined02:40
allenwei joined02:40
tstclair_bbl left02:40
mamund joined02:40
hipe left02:41
hipe_ joined02:41
VVSiz left02:42
benjo2 joined02:46
tfarina_ left02:48
kpreid_ left02:48
kpreid__ joined02:48
bgerber joined02:48
jmcantrell left02:49
Sho_ left02:52
suman left02:57
Tjh_ joined03:04
GMFlash left03:04
Tjh_ hello there03:04
r11t_ left03:06
JasonWoof left03:06
Tjh_ is there any git (prererably ncurses or smthg) front end that would display a nice tree diagram of the branches etc?03:06
wereHamster git log --decorate03:06
Tjh_ i know gitk does that and other gui clients do that, but id like a cli one03:06
o really03:06
wereHamster er, --graph03:06
or git show-branch03:06
Tjh_ meh03:07
theyre ok03:07
not very tree like tho03:07
:(03:07
wereHamster git log --graph is as close as you get03:08
Tjh_ like umm ok have u seen the graph in man git-cherry?03:08
thats what i want03:08
wereHamster those were written manually03:09
also, time on the horizontal axis? that doesn't look very useful03:09
Tjh_ yea true03:10
hakunin left03:10
Tjh_ but basically smthg like tha03:10
wereHamster so something like that or something like the gui clients have?03:10
Tjh_ its fun to watch ur $HOME look like a tree03:10
yea pretty much03:10
hakunin joined03:10
Tjh_ except gitk takes a 1/2 hour to load lol03:10
i tried some other ones too03:10
wereHamster did you try gitg?03:11
sh1mmer left03:11
johnw left03:12
Tjh_ hmm03:12
no03:12
tfarina joined03:12
dreiss left03:12
Tjh_ whew apparenly tig can do that03:14
flaguy48 left03:15
loops Tjh_, don't think tig has a graph view03:16
Tjh_, oh, it does.. sorry03:16
Tjh_ yea din knkow that lol03:17
nice03:17
perfect03:17
ddp joined03:19
stuffcorpse left03:20
threeve left03:20
SRabbelier left03:20
moconnor joined03:21
stuffcorpse joined03:21
threeve joined03:23
bugfux left03:24
Paraselene_ left03:25
cytrinox_ joined03:26
jaysern_ joined03:26
rado1 left03:27
Keiya left03:27
SRabbelier joined03:27
warthog9 left03:29
tedoc2000 left03:29
modsognir joined03:31
Tjh_ left03:31
ab3 left03:31
Keiya joined03:33
Dashkal joined03:33
kingfishr joined03:34
paltman left03:34
Tjh_ joined03:34
rachman joined03:34
Tjh_ thats odd03:34
yuanyelele joined03:35
Tjh_ git push origin --tags master pushed the tags from person...wtf03:35
*personal03:35
wereHamster personal what?03:35
rchavik left03:35
yuanyelele left03:35
nevyn repo03:35
rachmanrchavik03:36
tfarina left03:36
yuanyelele joined03:36
cytrinox left03:37
cytrinox_cytrinox03:37
catalis joined03:37
yuanyelele left03:37
Tjh_ branch03:38
my tree has 2 branches personal and shared03:38
essentially the same except shared has all the passwords removed03:38
wereHamster you told git to push all tags, so it did03:38
Tjh_ aah03:41
how do i tell git to only push tags that belong to this branch?03:41
kpreid__ left03:41
wereHamster you list them explicitly on the command line03:41
kpreid_ joined03:41
Tjh_ o ok03:41
ok so i want to push v2.0 and split03:42
wereHamster git push tag v2.0 split03:42
godsflaw__ joined03:43
Tjh_ o really cool03:43
javatexan joined03:45
Tjh_ that worked great thank you03:46
aisipos left03:47
wereHamster don't forget to deletet he other tags03:47
eletuchy left03:47
Tjh_ yeap i deleted the entire repo lol03:49
and recreated it (github)03:49
man there has to be an easier way of managing this03:49
wereHamster managing what?03:49
Tjh_ every time i make a change i have to checkout the shared branch cherry pick the commit from personal03:49
Azeroth-Working joined03:49
Tjh_ basiclly commit twice..03:49
wereHamster work on shared, merge into personal03:50
Tjh_ hmm03:50
godsflaw_ left03:50
hipe_ left03:51
Theravadan left03:51
tjafk joined03:52
Nomolos joined03:52
Nomolos hi all03:53
bgerber left03:53
Nomolos I am interested in using git but I would like to know if git can handle this scenario?03:53
Tjh_ nope merge fails SO BAD for some reason03:53
Nomolos I have a base Project X03:53
which I use for all projects03:53
I want to add a new project as a subfolder but don't want changes to be committed to base project03:54
Dashkal left03:55
wereHamster Nomolos: man git-submodules03:55
hipe joined03:55
Tjh_ ok umm how do i tell merge to "if there is a conflict overwrite the file with the one from remote"03:55
wereHamster Tjh_: git checkout --theirs -- <file>03:55
Tjh_ hmm yea i guess hat work lol03:56
meh03:57
i'll just keep doing what i am i guess03:57
Keiya left03:57
Nomolos wereHamster thanks - Is it possible to commit from the project root folder and all submodules get committed automatically? or do I need to go to every submodule and commit?03:57
wereHamster Nomolos: I think you have to go to every submodule03:57
Tjh_: I'd strongly suggest you to adjust your workflow03:58
Keiya joined03:58
_Einsteinbburhans03:58
Nomolos wereHamster - thank you03:58
Tjh_ wereHamster: ?03:58
wereHamster: what would you suggest03:59
Nomolos Just because I saw you mention workflow - what workflow is best for the scenario I suggested? were you reuse a project as a base for all others?03:59
Twisted_Mentat left04:00
wereHamster Tjh_: I can't tell you without knowing what you make and why you make it04:00
Tjh_ wereHamster: what i make, meaning?04:00
wereHamster Tjh_: why you need the two branches04:00
Tjh_ wereHamster: because my home directory contains certain files that contain passwords (that i would like to be tracked)04:01
but nevertheless those files are important ones that i would like to be tracked and shared04:01
wereHamster you are tracking your $HOME in git?04:01
Tjh_ yeap04:01
wait din't i mention this before?04:01
looksl like i did not, my bad04:02
bcardarella joined04:02
catalis left04:03
dreiss joined04:03
wereHamster I'd probably keep the two branches compelely separate (eg. no common root)04:03
hipe left04:04
Tjh_ well thats what it is now yea04:04
eletuchy joined04:04
Tjh_ what i do is change smthg in my personal one (the one i acutally use) and then go into the shared one and bring in the changes that i want04:05
wereHamster on yeah, that wouldn't really work. So what about mergin from shared to personal?04:05
Tjh_ hmm lemme try04:05
qhoxie joined04:06
j416 Nomolos: another solution that I have used once is to just symlink in the other projects into the "base project"04:06
and/or vice-versa04:06
camonz left04:06
j416 you won't be able to maintain their relative states, but it's easy.04:07
Azeroth-Work left04:07
catalis joined04:07
tjaway left04:08
Nomolos j416 thanks for the tip04:08
Tjh_ wereHamster: still super fail, like epic amounts of fail, most of the files are the exact same and it still fails04:09
j416 Nomolos: git will store the symlink as a symlink, it won't include what it points to.04:09
wereHamster Tjh_: I guess that's because there's no common root04:09
yhager left04:09
Tjh_ wereHamster: aah prbly04:09
yhager joined04:10
Tjh_ wereHamster: and fankly the 2 branches intertwine twice which wud just confuse git04:10
o welll...04:10
whatever04:10
Nomolos j416 store ...meaning it will commit the symlink to the repo?04:11
j416 yes04:12
like a symlink04:12
it won't suck in the file it points to.04:12
and hence it won't notice changes to that file04:12
because the symlink is the same no matter what the contents are of the file it points to04:13
Nomolos j416 ok04:13
javatexan left04:14
yarddog left04:17
plediii left04:18
bcardarella left04:19
godsflaw__ left04:19
Tordek left04:27
Keiya left04:29
Tk_L joined04:29
imajes joined04:31
javatexan joined04:31
dreiss left04:33
kpreid_ left04:34
kpreid_ joined04:34
bcardarella joined04:37
ia left04:38
hipe joined04:38
pklingem1 left04:39
ia joined04:39
allenwei left04:40
hipe_ joined04:42
Nomolos left04:44
jspiros left04:44
jspiros joined04:44
AkumaStreak left04:45
hipe left04:47
eletuchy left04:48
johnw joined04:49
j416 left04:50
catalis left04:53
mamund left04:53
ia left04:55
lresende left04:56
ajonat joined04:57
dreiss joined05:01
hyperair joined05:03
kukks left05:03
ia joined05:04
__iron left05:04
plediii joined05:04
bry left05:04
sh1mmer joined05:06
loops left05:08
yarddog joined05:09
bcardarella left05:09
upul left05:10
mithro joined05:11
scarabx left05:11
upul joined05:15
Dashkal joined05:18
kw left05:22
Cro_Crx joined05:23
tedoc2000 joined05:23
loincloth joined05:23
ddp left05:24
Keiya joined05:25
allenwei joined05:27
kpreid_ left05:27
murr4y joined05:27
kpreid_ joined05:27
Twisted_Mentat joined05:27
v0n joined05:28
bgerber joined05:31
seventoes joined05:32
celling joined05:32
javatexan left05:36
hipe joined05:37
celling Hi, How can I cat a file in a commit?05:38
yhager_ joined05:39
yhager left05:39
hipe_ left05:39
jfkw left05:40
v0n left05:40
wereHamster ?05:41
you mean show a file how it was in a certain commit?05:41
engla left05:41
celling wereHamster: yes05:42
ia left05:42
wereHamster git show <commit>:<path>05:42
pippijn left05:42
pippijn joined05:42
zomg note that path must be from the root of your repo.. if you're in a subdir it won't work as expected05:42
always keeps confusing me partially because tab-completion doesn't work properly from subdirs if you have to prepend the path from the root :P05:43
pippijn left05:43
celling wereHamster: It works, thank you.05:43
zomg: Yes, it is a bug?05:46
moconnor left05:46
wereHamster no05:46
Travis-42 left05:48
celling wereHamster: status, log work well in subdir, why show can't work properly?05:49
ia joined05:50
wereHamster it just wasn't designed to work that way. If you have a problem with it, write a patch and send it to the mailing list05:50
gkm joined05:52
celling wereHamster: I used to work under root directory, so it is not a big thing for me.05:52
gitster It is not about "show". It is a syntax to name an arbitrary blob, relative to a tree object.05:52
a commit, when the calling context calls for a tree, can evaluate to a tree, and it evalutates to the tree object that is recorded by the commit. HEAD in some context is the same as HEAD^{tree}.05:53
And <tree>:<path> is a syntax to name an object at <path> in a tree object <tree>. If the <path> has a subdirectory, it names a tree object that corresponds to the <path>. If <path> corresponds to a regular file or symlink, the syntax names a blob object.05:55
So "git cat-file blob HEAD:file" and "git show HEAD:file" syntax finds the path "file" from the top-level of the tree object recorded in the commit named by "HEAD".05:56
seventoes is it possible to remove a tag from a commit?05:56
gitster "git tag -d that-tag"?05:56
gkm "git push" pushes heads and "git push --tags" pushes tags. Are there options that will do both in one command? Don't say --mirror, because that's too big a hammer...05:56
seventoes easy enough :P thanks05:57
gitster "git push $there $this_tag $that_branch"?05:58
celling gitster: Thank you, I see it now.05:58
gitster celling: don't thank me. That was an _explanation_, not justification.05:58
gkm gitster: I want to push current branch and whatever (possibly multiple) tags, without needing to explicitly name them06:00
niki left06:00
gitster Because existing scripts _rely_ on the explained behaviour, we cannot change what "HEAAD:file" means (it will _always_ mean "file at the toplevel"), but nothing prevents a patch to make "HEAD:./file" to be interpreted as "relative to my current directory" from getting written.06:00
gkm: in other words, you want git to read your mind.06:00
AkumaStreak joined06:01
gkm gitster: no more mind-reading than it already does with "git push; git push --tags". I just want it to all of it in a single invocation. If I need two, it's no tragedy--it'll just take twice as much remote connection latency06:01
Analias left06:02
gitster "git push --tags" pushes "all tags", and that is already too big a hammer. "git push && git push --tags" doesn't make much sense.06:02
I can understand if the request were this:06:02
"push named branches, _and_ tags that point at commits that are reachable from them"06:02
j416 joined06:03
gitster and the answer is "there is no such option to 'git push', but I'd agree it would be handy to have".06:03
threeve left06:03
gitster As I just had to do that myself while pushing v1.6.5.6 release out a few minutes ago.06:03
celling gitster: Then if git provide a command git cat commit path, maybe it is more convenient.06:03
gitster I did "git push k.org v1.6.5.6 && git push".06:03
gkm gitster: maybe if there were a --heads option to explicitly request the default [no arg] behavior, so "git push --heads --tags" would do what I want.06:03
obiwan_chinobi joined06:04
AkumaStreak left06:04
aisipos joined06:05
gitster celling: I think that misses the entire point of naming blob objects consistently for _any_ command that can take blob object names. E.g. "git diff HEAD:gitk-git/Makefile paulus:Makefile" (I have Paul's gitk repository on "paulus" remote tracking branch, and it is merged with subtree strategy into gitk-git/ directory).06:05
gkm: The default [no arg] behaviour is _not_ "--heads". It does not push all branches; only the matching ones.06:05
krunk- left06:05
gkm gitster: so "push --tags" can push tags that are unreachable? Here's what I'm doing: I make some commits on the current branch, and I make some tags on the current branch. When I'm happy, I want to push 'em all out, and I'd rather it go a bit faster.06:06
gitster gkm: often people have more tags and branches than they want to publish in their private repositories, so "--tags" or "--heads" are not very useful for "git push" to begin with.06:06
seventoes left06:06
aisipos left06:07
gitster gkm: what I said before you described "Here's what I'm doing" would fit the bill, and I think I already answered the question.06:07
gitster refers gkm to scroll back and find "I can understand if the request were this:"06:08
aisipos joined06:08
neoeinstein left06:08
krunk- joined06:10
ia left06:11
ia joined06:11
Keiya left06:14
madewokherd left06:14
ben_h left06:15
Keiya joined06:15
gitster "git push --tags $there :" should already be equivalent to "git push $there && git push --tags", I think.06:16
tedoc2000 left06:16
gitster (notice the 'colon', that is one argument that means "trigger the default, no-arg form to push matching refs").06:17
also for most people $there == "origin".06:17
so if that is succinct enough, we don't even need any new option ;-)06:18
MacGyverNL_ left06:18
MacGyverNL joined06:18
tvw joined06:20
kpreid_ left06:20
kpreid_ joined06:20
jrmuizel joined06:21
gkm gitster: yes, just a few minutes ago, I determined that "git push --tags $there" does the job. Thanks!06:23
gkm left06:23
gitster hmm... without " :" at the end of that command line?06:24
tho joined06:25
SockPants joined06:25
khmarbaise joined06:25
khmarbaise left06:27
jas4711 left06:29
qhoxie left06:31
spearce joined06:32
javatexan joined06:33
jlilly left06:33
ericholscher joined06:35
ericholscher How do I revert a series of changes?06:35
jlilly joined06:36
dreiss left06:37
Ingmar left06:38
agib joined06:38
Ingmar joined06:39
opcode left06:39
spearce` joined06:39
johnw you mean, just wipe out all changes currently in your working tree?06:39
tho_ left06:40
javatexan left06:43
chuckd left06:44
ustunozgur joined06:44
javatexan joined06:45
hipe left06:46
bigmack83 left06:47
sitaram gitster: what was the security issue with post-upload? searching "post-upload" as subject line in recent ML didn't get me anything06:47
(mild curiosity, no more; feel free to ignore)06:48
johan-s left06:48
dreiss joined06:49
cedricv joined06:49
jrmuizel left06:50
univate left06:51
univate joined06:52
gitster left06:52
roop joined06:53
javatexan left06:54
camonz joined06:54
melissaseverini left06:54
camonz hi06:54
I've got a branch where I've commited some changes and I want to unstage all those commits so I can create a new branch and apply them there06:55
Is it possible?06:55
sis joined06:56
spearce left06:57
spearce`spearce06:57
petrux joined06:58
JakeSays joined06:59
spearce left07:00
krawek left07:01
bigmack83 joined07:03
sde_antrix1 joined07:06
univate left07:07
ia left07:07
ia_ joined07:08
dgarr left07:08
SockPants left07:12
qhoxie joined07:13
kpreid__ joined07:13
kpreid_ left07:13
neunon left07:16
Thell_Thell_|Away07:17
univate joined07:18
Weasel[DK] joined07:19
j416 camonz: you should read the git book to grasp terminology07:21
and basics of how git works07:21
find the sha1 of the last commit you wish to keep in the branch you are on07:22
then do:07:22
git branch newbranch ; git reset --hard <that sha1>07:22
be careful, a hard reset also touches things in your working dir07:23
Geralt joined07:23
j416 be sure that you have committed everything that you want to save.07:23
thiago_home joined07:23
roop left07:23
bauruine left07:24
cjs joined07:24
benjo2 left07:31
sdboyer left07:34
giallu joined07:35
patmaddox left07:35
giallu left07:35
giallu joined07:35
bambule left07:36
cjs So how does one import files into a bare repo? I guess you need to import in a non-bare repo and then push to the bare repo?07:40
ixti joined07:40
psankar joined07:42
univate left07:42
kssddy joined07:43
Davey left07:43
univate joined07:43
sdboyer joined07:43
patmaddox joined07:44
bousquet joined07:45
lucsky joined07:46
patmaddox left07:46
ia_ left07:48
solofight joined07:48
dreiss left07:49
solofight left07:49
j416 cjs: you can create a new one using git init, or you can clone from another repo using git clone07:49
with options to make it a bare repo.07:49
solofight joined07:51
segher left07:58
wolog joined07:59
lightcap joined07:59
hummingkid left07:59
maattd joined08:00
ph^ joined08:06
jspiros left08:06
jspiros joined08:06
kpreid__ left08:06
kpreid_ joined08:06
ajonat left08:07
ia joined08:07
cjs Right, but I've got a bare repo, and a bunch of files in another dir; can I import the stuff in that other dir directly into the bare repo?08:08
galderz joined08:10
Azeroth-Working left08:11
galderz left08:11
galderz joined08:11
camonz left08:13
j416 ah..08:13
don't think so, you'd have to commit them08:13
bousquet left08:14
cjs That's what I figured.08:21
allenwei left08:21
j416 cjs: it's easy to just clone the bare repo, commit the files, and push, though.08:23
d3xter joined08:24
maattd left08:24
johan-s joined08:25
d3xter hello08:25
zoniq_ joined08:26
mbernstein left08:27
JoeConyers left08:28
thiago_home left08:31
Sky[x] joined08:31
mithro left08:32
babilen joined08:33
bauruine joined08:34
tbf joined08:38
cjs Well, not quite so easy if the files in question consist of 300 GB of essentially uncompressible data. :-)08:38
mattions joined08:38
erlehmann joined08:39
ia left08:39
ia joined08:39
xaxes joined08:40
GMFlash joined08:41
loops joined08:41
xaxes hey there.. Im trying to install a git-repo using gitosis. following a howto, I get to the part with the public-key.. I tried to create one with and without passphrase and followed up the howto.. now Im trying to clone the first gitosis-admin.git, and it's asking for a pass.. but neither "none" nor my set pass are working..08:43
somebody who could give me a hint how to get this working? :)08:43
hyperair left08:44
bigmack83_ joined08:44
charon xaxes: does it ask for a (login) pass*word* or a (private key) pass*phrase*?08:44
xaxes looks like a users-password08:45
j416 left08:45
charon in that case you're either sshing to the wrong user (it needs to be the gitosis user, usually 'git' or 'gitosis'), or the authorized_keys setup is not working (perhaps you forgot to enable the hooks)08:46
er wait, this is before the first push. so it can't be the hooks.08:46
xaxes mhh .. I chmod the hooks to 755 , copied the id_rsa.pub to ~git/.ssh/authorized_keys08:47
charon what does ~gitosis/.ssh/authorized_keys look like? it should list the key that you imported in the gitosis-init step08:47
ravionrails joined08:47
charon don't do that by hand, use gitosis-init08:47
sitaram xaxes: you "copied the id_rsa.pub to ~git/.ssh/authorized_keys"?08:47
xaxes yes08:48
charon also, ObGitolite08:48
perlina joined08:48
xaxes no wait..08:48
sitaram xaxes: as charon said... why dont you try gitolite instead? (I wrote it, so I'm biased but even without bias I can say it does a lot more and it's a lot better documented08:48
xaxes I hadnt copied it this time .. my fault (only copied it the first trys)08:48
sitaram: gonna search for08:49
sitaram http://github.com/sitaramc/gitolite/blob/pu/README.mkd08:49
and the clone URL will be on that page somewhere I think08:49
charon xaxes: use the provided gitosis-init to do the first key import. the point being that the authorized_keys needs to do a tiny bit of extra magic08:49
xaxes yeah access controll down to branches! nice08:49
charon: I did08:50
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way followed this tutorial08:50
ravionrails is it possible to push projects under one repository, i m new to git08:50
sitaram xaxes: as they say, you ain't seen nothing yet http://github.com/sitaramc/gitolite/blob/pu/doc/3-faq-tips-etc.mkd#diff lists all the extra things gitolite does (about a dozen!)08:51
fcuk112 joined08:51
sitaram ravionrails: one project == one repository for most people; can you elaborate?08:51
xaxes sitaram: Ill look for gitolite;) the access management to branches is just perfect for my terms08:51
Keiya_ joined08:52
ravionrails sitaram: ok one more doubt | what is the use of git init --bare command08:52
xaxes gonna read some stuff :)* thanks so far!08:52
sitaram xaxes: if you *need* that feature, gitosis is out anyway... welcome to the club :) I wrote gitolite because I needed that!08:53
ravionrails: creates a bare repo; http://sitaramc.github.com/concepts/bare.html08:53
ia left08:54
Keiya left08:54
Keiya_Keiya08:54
m-takagim-takagi_08:55
johnw sitaram: thanks for the link08:57
xaxes sitaram: can I jump into a query for deeper questions about gitolite? only few minutes08:58
more about auth than gitolite ;)08:58
anno^da joined08:58
shruggar joined08:59
kpreid_ left08:59
kpreid_ joined08:59
mithro joined09:03
ntoll joined09:03
psoo joined09:04
hebz0rl joined09:06
drd20 joined09:07
sitaram sure09:08
sorry I was on a phone call, xaxes09:08
xaxes got it working, thanks anyway ;)09:08
drd20 Is it possible to get git-svn to fetch the latest revision only, without manually specifiying the revision?09:08
ravionrails sitaram: thanks09:08
sitaram xaxes: "got it working"... "it" == ??09:09
Grum gerbils in a wheel!09:09
ia joined09:10
xaxes ssh key auth .. (got the same error, I asked for this morning) .. just set a dumb password to the user09:10
sitaram xaxes: oh... some systems treat "usermod -L" or eqvt as "no ssh pubkey login"; I've seen that before...!09:11
Grum: :)09:12
Grum: that would be "them" not "it"09:12
Grum the wheel is it!09:12
xaxes excuse my bad english ;)09:12
Grum something has to power teh interwebs09:12
poseidm1 joined09:14
Tjh_ Grum: u knkow how funny it would be if that were true09:15
Grum you think google has servers? you guessed wrong! they have loads of gerbil wheels09:15
mjc joined09:15
mjc left09:15
Grum next time you see a picture of google's servers look for the hay09:16
intripoon joined09:17
__iron joined09:17
Tjh_ lol09:19
sitaram well they use pigeons for ranking websites already ( http://www.google.com/technology/pigeonrank.html ), and RFC 1149/2549 powers their TCP/IP, so why not gerbils09:19
Geralt left09:21
bigmack83_ left09:22
bigmack83 left09:22
mandar joined09:22
mandar ??09:22
mandar left09:22
Grum behind you mandar!09:22
too late ;(09:22
ngw joined09:23
sitaram well I have to admit the RFC 1149 thing was a guess -- they're a little secretive about what *else* the pigeons do for them, to be honest09:23
ngw hi guys, how do I completely overwrite a repo with one of its branches ?09:26
zheng joined09:28
StarkD joined09:29
StarkD hi. how do I read this on windows? git://git.lomoco.org/projects/lomoco/lomoco.git09:30
Grum ngw: that doesnt appear to make much sense, you want to use a branch (which is not master) as master?09:31
StarkD I just need to read the content, not install it09:31
obiwan_chinobi left09:31
Grum StarkD: install git; git clone; read source?09:31
jacobat Anyone else missing a "delete merged branch" flag to git merge?09:31
Grum jacobat: that could be nice yeah as long as it never becomes default :)09:32
jacobat Of course not, I just find myself merging and deleting branches all the time09:32
"git merge -d branch" :)09:32
Transformer joined09:32
db__ joined09:33
db__ hihp09:33
Grum jacobat: post a patch to the mailinglist? :D09:33
db__ i have a problem with merging files..when i pull, git tells me there is a conflict...when i then do a git mergetool and save the merged file git tells me, that there is still have not concluded merges09:35
Transformer left09:36
bigmack83 joined09:39
jacobat Grum: I will if I ever get around to it ;)09:41
bigmack83_ joined09:41
StarkD Grum: git clone git://git.lomoco.org/projects/lomoco/lomoco.git09:41
jaysern_ left09:41
StarkD bash: git: command not found09:41
doener left09:41
Grum hence i said: install git09:41
d3xter left09:41
koke joined09:41
StarkD aptitude install git09:42
isn't that enough?09:42
it installed fine09:42
teuf StarkD: you sure it's the right name?09:42
StarkD i'm running debian lenny09:42
teuf: no :)09:42
teuf it used to be named git-something09:43
apt-cache search git, apt-cache show ...09:43
(iirc)09:43
botanicus joined09:44
doener joined09:44
Rhonda StarkD: The package name is git-core09:45
db__ git MERGE_MSG tells me, that a specific file needs a merge, but git mergetool tells me this file doesnt09:45
any ideas why?09:45
Rhonda StarkD: The git package in Debian is "GNU Interactive Tools"09:45
... which is something completely different.09:46
StarkD aha k09:46
git-core should be the right one09:46
tokkee db__: What does git-status tell you?09:51
db__ # Your branch and 'origin/master' have diverged,09:51
# and have 1 and 2 different commit(s) each, respectively.09:51
babilen_ joined09:51
tokkee db__: That's it?09:52
db__ no, some changes to commit and some untracked files are following09:52
ah, got it09:52
i had to recommit09:52
kpreid_ left09:53
db__ thanks :)09:53
kpreid_ joined09:53
__ed joined09:53
__ed Hello.09:53
I subscribe to a free codebase account, and I'm trying to create a local repository.09:54
it seems that all the local stuff is good, but when I'm trying to push, it returns an error:09:54
Permission denied (publickey,keyboard-interactive).09:54
fatal: The remote end hung up unexpectedly09:54
Fatal quick, redial!09:54
Grum you have no permission, fix your ssh :)09:54
babilen left09:54
__ed I tried to set some stuff in %HOME%/.ssh/config09:54
but nothing more :/09:55
Grum you probably should be thinking of pub/privkeys instead of .ssh/config :)09:55
Tk_L left09:55
__ed Grum: well, I did it, but where may I have to place thoses keys ?09:55
Grum you ideally load them in your keyagent :)09:56
well the private part, the public one should be on the remote end09:56
__ed ssh-keygen is provided with git for windows, so I just ran ssh-keygen, enter a passphrase, and that's all :o09:56
Grum: oh ok, so it could be possible to set a public key on codebase ?09:57
Grum i have no idea09:57
froschi joined09:57
__ed Grum: ok, thanks :)09:57
Grum i guess so, as you dont get to enter a password :)09:57
methanol joined09:57
__ed Grum: oh yeah, I find it !09:58
well, I will try. thank you ;)09:58
it works ! ;))10:00
Paraselene_ joined10:01
Grum \o/10:01
dwmw2_gonedwmw210:01
lightcap left10:02
ngw Grum: yes10:04
ia left10:05
Grum ngw: i have to ask, why?10:05
ngw in the sense that it's pretty old and people "forgot" to do merges10:05
ia joined10:05
ngw this means I have to explain *again* how to use git10:06
tic left10:06
Grum i guess you have users who used svn before?10:06
tic joined10:06
charon ngw: there's no overwriting to be done; you just forget about all other branches10:06
ngw yes10:06
I ported everything to git but if I give attention to another company for like 1 month when I come back I have the armageddon10:07
charon: I can deploy the branch I need of course, but the master will just be useless this way10:08
charon you can rename the branch10:08
it causes some hassle for people who have pending work (read: branches) based on master though10:08
(much in the same way that overwriting would, so meh)10:09
jrmuizel joined10:09
ngw nothing is based on master10:09
basically they made a branch and "forgot" to switch it10:09
charon "switch"?10:09
Grum so all is on master?10:09
as they forgot to switch ;)10:10
ngw no, everything is on the branch10:10
I know it doesn't make sense :D10:10
Grum charon: SVN tainted souls :D10:10
ngw they all switched to the branch and started committing there10:10
charon ngw: not that it makes the situation much clearer for me though10:10
ngw that's all10:10
charon er, i wanted to address that to Grum.10:10
jrmuizel left10:10
charon ngw: if you're lucky, the branch is even a descendant of master and it simply fast-forwards, in which case the "hassle" caveat above does not apply.10:11
Sky[x] left10:11
Grum ngw: brutal way; git checkout branch; git branch -f master; git checkout master; git branch -D branch10:11
charon where "lucky" means: nobody made any commits on master; all the work happened on $branch10:11
Grum or you would just merge and toss away the branch10:11
jrmuizel joined10:11
_Elias joined10:13
_Elias Hi! I have a problem. I renamed a repository on git. Now I wanted to push new code to the repo but git tried to push it on the old name so it didn't work. What must be done here?10:14
Grum you didnt update the remote10:14
see .git/config10:14
or fix it using git remote :)10:15
Ilari Grum: Is there way to change remote URL using git remote now?10:15
tbuehlmann joined10:15
Grum Ilari: you can remove the remote and re-add it?10:15
Ilari Grum: Doesn't do the right thing.10:16
tetha left10:16
Grum does that also remove the info from tracked branches?10:16
tetha joined10:16
Ilari Grum: Yes.10:16
Grum hurtsies!10:16
edit .git/config then :)10:16
Ilari _Elias: The second way is to change 'remote.<url>.url' using git-config.10:16
*git config10:17
marcoecc joined10:17
Grum usually remote.origin.url right10:17
Sky[x] joined10:17
Grum +? .. meh stupid fingers10:17
_Elias Thanks guys! Worked perfectly!10:18
babilen_babilen10:21
ngw hm, I can't push after10:22
Grum ngw: it will tell you to use force ... in this case, if you are sure, you should :D10:22
aisipos left10:23
modsognir left10:23
charon ngw: and tell your svn converts to NOT use git-pull to grab that updated origin/master. they need to reset it.10:23
yhager joined10:23
johnw left10:24
Twisted_Mentat left10:24
kensei joined10:25
kensei hello10:25
can GIT take difference between binary and text files ?10:26
__ed how could I delete a file from the repository ?10:26
kensei: what do you mean ?10:26
kensei e.g. not to convert on the linux client side the 0a0d characters for linux related one in case of binary files.10:26
charon kensei: see --binary option to git-diff, and 'binary' attribute in man gitattributes10:27
solofight left10:28
rchavik left10:28
rchavik joined10:28
koke left10:29
kensei charon: and can I commit + push just the desired file(s) with autocrlf true option and others with false ?10:30
cjs left10:30
kensei so the question is whether I can do settings for file level ?10:31
charon kensei: see the explanations for the 'crlf' option in man gitattributes (binary implies -crlf)10:31
curtana joined10:31
koke joined10:31
charon note that by default, git just guesses the kind of file (iirc, it checks for a null byte in the first few kbytes)10:31
kensei so the question is whether I can do settings for file level ?10:31
charon will you please read that manpage? yes, you can, but while i'm glad to point you at documentation, i won't read it for you10:32
kensei I will read it, but I wanted to know whether it's worth to read.10:33
but if you say it can handle it, I will read it.10:33
thanks anyway :)10:33
JackWinter left10:34
marc_m joined10:35
kensei left10:35
VVSiz_VVSiz10:38
yhager_ left10:40
ia left10:41
charon __ed: depends what you mean by "delete". to get rid of it in a nice, version-controlled way: git rm $file10:42
__ed: to completely forget that this file ever existed, as in the case of a copyright violation or whatever, see the examples in man git-filter-branch, but note that this is not an operation to be taken lightly (it causes trouble for people working on the repo)10:42
__ed charon: actually, I'm using a free codebase account, and size of repository is limited to 20Mb. on the first commit I uploaded the debug binary... and it uses something like 4Mb xD10:44
I wanna delete it from the repository, and from the whole INTERNET :P10:44
charon well, it can be hard to get rid of at the remote end if you do not have direct access10:44
__ed (to avoid usage of annoying disk space)10:44
charon but yes, it will disappear *eventually* through git-gc's cleanup efforts if you use the filter-branch approach10:44
GMFlash left10:44
solofight joined10:45
modsognir joined10:45
__ed ok thank you a lot charon :))10:45
charon (after filter-branch, future clones do not have to copy it any more so it saves bandwidth immediately, but disk space only later)10:45
Whtiger left10:46
kpreid_ left10:46
kpreid_ joined10:46
jrmuizel left10:47
qhoxie left10:57
ia joined10:58
cebewee joined10:59
zheng left11:02
magcius left11:04
MrSamuel joined11:05
MrSamuel is it possible to check out part of a repository11:05
i.e. git checkout repository/subdirectory/11:05
charon MrSamuel: you probably mean *clone* (= svn checkout) a subdirectory, in which case the answer is: no11:06
MrSamuel i see11:06
roop joined11:06
loops MrSamuel, why do you ask?11:06
ehabkost joined11:09
hyperair joined11:09
MrSamuel loops: I want to transfer some files from a repository, but not the whole repository11:10
jfkw joined11:10
jinzhu left11:11
kkoehne_ Hi, I'm having a weird problem where on my default console git clone etc just works, while when executed in a perl script it doesn't seem to pick up the ssh credentials - it's always asking me for a password. Any idea on how I can debug this? How does git decide to use ssh/use ssh keys?11:11
loops MrSamuel, well then charon guessed your intentions correctly. Is it a problem of network bandwidth ?11:11
kkoehne_ Btw, I'm working on Windows :(11:11
MrSamuel loops: yes, it would be simpler to check out the 10 files I need rather than the several thousand that I don't11:12
its fine thought I just used SCP11:12
it worked fine11:12
loops MrSamuel, I'm not sure of the status (it may even be merged) but someone is working on partial checkouts, to allow checking out just a subset of files, but you still would need a local repo first.11:13
reprore joined11:14
doener MrSamuel: if scp works for you, then you apparently don't need a clone to work on, but just a copy of the files, without history and VCS features11:16
MrSamuel yes11:16
that is correct11:16
kensei joined11:17
kensei why is it so much time to remove a git repository on windows ?11:17
first of all it's more time than in svn.11:17
doener MrSamuel: in that case, using "git archive" could do the trick. That can give you a tarball/zip archive of an arbitrary tree (maybe even a subset of it, never tried)11:17
kensei secondly it's really so much time apart from it.11:17
What do I do wrong ?11:17
koke left11:18
kensei so the clone method is really quick in case of 10 branches to for a repository.11:18
but it's so long to delete.11:18
doener kensei: probably you never ran "gc", and have lots and lots of loose object files around. Removing them can be pretty slow11:18
kensei what's the reason for it?11:18
loops kensei, you may have done nothing wrong, Git doesn't perform as well on Windows as it does on a proper operating system ;oP11:18
kensei :P:P11:19
yeah, on Linux it's really quick11:19
after the same cloning.11:19
doener loops: well, with a sanely packed git repo, there should be fewer files to remove than with an equal svn repo or working copy11:19
kensei doener: doesn't git clone run garbage collection default ?11:19
doener: uhh sorry.11:19
loops doener, you gave a helpful answer above, which made a lot of sense... ignore my late night jabs at MS11:19
kensei It's TortoiseGIT client on windows.11:20
so maybe the developer of it doesn't use garbage collection in default state.11:20
maybe a feature request for them would be nice.11:20
doener loops: so the removal of the svn repo/working tree should at least take as long as the removal of a sanely packed git repo11:20
hebz0rl left11:20
doener kensei: still got a clone of that repo?11:21
loops kensei, i think the Windows guys have their own mailing list, you might find more Windows help on that list if you don't get your answers here11:21
vital joined11:21
doener kensei: if so run "git count-objects -v" in it (no idea whether TortoiseGit has an option for that...)11:21
vital__ left11:21
loops (and of course you can always ask on the main Git mailing list as well)11:21
mattions left11:22
segher joined11:23
Sky[x] left11:25
Dashkal left11:25
b0fh_ua joined11:26
b0fh_ua Hi there! Can you please advice how can I find out the revision where given file was removed and restore it in the current head?11:27
doener b0fh_ua: git log --diff-filter=D -- path/to/file11:27
Sonderblade left11:27
doener b0fh_ua: and you can restore it in the current head, as that references a commit, which is immutable11:27
b0fh_ua doener: I don't know the path - but the name11:27
Sonderblade_ joined11:28
doener b0fh_ua: but you can get a copy of an older version of that file into your index/working tree11:28
b0fh_ua: and then you could commit that ;-)11:28
b0fh_ua doener: that would help11:28
but it's not clear for me how to find out the file by it's name among set of folders11:29
doener b0fh_ua: git log --oneline --diff-filter=D --name-only11:29
hgimenez left11:29
doener b0fh_ua: then just search for the filename in the pager11:29
hgimenez joined11:29
becomingGuru joined11:30
b0fh_ua okay, how can I restore it?11:31
git show?11:31
doener git checkout <commit> -- <path>...11:31
kensei doener: I've done a garbage collection before I pushed on Linux.11:32
ravionrails left11:32
kensei so when I would like to clone it on windows and them remove, it shouldn't be so long.11:32
cedricv left11:32
koke joined11:33
b0fh_ua cool11:33
kensei Can I do somehow a git ls-files command, but with not binary files output only ?11:33
Sho_ joined11:33
kensei e.g. git ls-files -z | xargs -r -0 dos2unix11:34
but I'd like to take this operation for not binary files only.11:34
because this command wouldn't make sense for binary files.11:34
sergiodj left11:38
kpreid_ left11:39
jds joined11:39
kpreid_ joined11:39
yarddog left11:41
andyjeffries joined11:41
capndiesel joined11:41
b0fh_ua left11:42
andyjeffries Does anyone know why git hooks fail on Windows? I have a server side update hook to reject bad commit messages. It works when connecting with Macs (1.6.5.1) but not with Windows (1.6.3.2). When using a Mac we get to see the STDOUT of the hook so it explains what was wrong. When using a Mac we just see "hook declined".11:42
broquaint left11:43
engla joined11:44
froschi left11:45
eletuchy joined11:48
Ryback_ joined11:51
psankar left11:52
psankar joined11:53
engla left11:55
babilen left11:55
celling left11:56
Adlai joined11:56
andyjeffries left11:56
priidu joined11:57
psankar left11:58
reprore__ joined12:00
db__ left12:02
spaceonline left12:02
Trey left12:03
dirk2 joined12:03
broquaint joined12:03
d0k joined12:05
shfx left12:08
MrSamuel left12:12
mattions joined12:13
ia left12:14
ia joined12:15
ispeak joined12:16
reprore left12:18
yhager_ joined12:19
tfarina joined12:19
kensei any idea to show the non binary files in a git repository with git option(s) ?12:21
upul left12:22
babilen joined12:22
mithro left12:22
Ilari kensei: You can redirect stdout from 'git show <revision>:<file>' and then view the result.12:25
snitko joined12:25
babilen left12:27
babilen joined12:27
luxuss joined12:29
_Elias left12:32
vadimus joined12:32
kpreid_ left12:32
kpreid_ joined12:32
vbgunz joined12:33
warlock_mza joined12:34
vadimus left12:35
froschi joined12:36
intripoon left12:37
yhager left12:38
Overcyn joined12:39
slabbeh joined12:39
becomingGuru left12:42
Voker57_loggerhead12:43
jspiros left12:43
segher left12:43
jpieper left12:43
Soliton left12:43
_loggerheadVoker5712:43
jspiros joined12:44
Soliton joined12:44
tekky joined12:46
jessep left12:47
segher joined12:48
mbroeker joined12:48
priidu hi, a bit stupid situation, how can i restore rebase confict branch (i still have .git/rebase-apply) but made git checkout master for too yearly12:50
koke left12:51
wereHamster priidu: restore to what state?12:51
priidu wereHamster, rebase conflict state (i got conflict)12:52
and then wanted to check something too early without doing git rebase --continue12:52
wereHamster git checkout --conflict -- .12:52
jessep joined12:54
wereHamster oh, you did checkout master. No idea then (just re-run the git rebase command?)12:54
Keiya left12:54
priidu wereHamster, yeah i made checkout master, stupid me12:54
Keiya joined12:55
wereHamster hm, you could checkout HEAD@{1}, but I have no idea if that will get you the conflicts back12:55
priidu a, i try rebase again, i just helping out college with git and made mistake myself :-)12:57
pheaver left13:00
Travis-42 joined13:00
pheaver joined13:05
jpieper joined13:08
NET||abuse joined13:09
modsognir_ joined13:12
modsognir left13:13
modsognir_modsognir13:13
hugoxrosa joined13:15
cehteh quiz: can i 'git gc' the current kernel git on a 32bit machine with 512mb ram or will it explode? :)13:18
doener depends on how much swap you have13:18
wereHamster you could try, it won't corrupt or destroy anything13:18
pheaver left13:19
cehteh well its my gateway .. might become a grinding halt :)13:19
lets try :)13:19
dakota joined13:20
cehteh ionice -c3 nice git gc13:20
..13:20
dakota I have a branch that has commits. I want to merge some of these commits into another branch, but not all. What's the best way to do this?13:20
teuf dakota: git cherry-pick13:20
or create a temporary branch, use git rebase -i to remove the commits you don't want13:21
and merge that temp branch13:21
cehteh or rebase --interactive13:21
marcoecc left13:21
dakota Let me look at cherry-pick13:22
ia left13:22
doener but neither approach is going to merge _those_ commits, it's going to create new commits13:22
dakota yeah13:22
thats fine13:22
I just want some commits in the branch to be in the master branch13:22
but not all of them13:22
Keiya_ joined13:22
tstclair joined13:23
kpreid_ left13:25
dakota cherry-pick worked13:25
kpreid_ joined13:25
dakota thanks13:25
eletuchy left13:26
jogla joined13:27
jogla Hello13:27
Can i undo a rebase?13:27
doener reset back to the original history. The reflog should have an entry for it13:28
jogla I'm not sure if i understand it13:29
doener well, use "git reflog show <branch_head>" to look at the branch head's reflog and find the pre-rebase entry13:29
kssddy left13:30
jogla Ahh, yes indead13:30
jepler left13:30
doener then simply reset your branch head back to it: "git rebase --hard foo@{3}" or whatever is the right entry13:30
jepler joined13:30
hummingkid joined13:30
wereHamster reset --hard ..13:30
doener ehrm, yeah, oops :-)13:30
jogla Jmm13:30
But the new commits are not the newest13:31
eletuchy joined13:31
jogla for example my master branch was: A A A B B B13:31
Now its A A A N N B B B13:31
The branch I developed N in is still at A A A N N13:31
And i want to get back to A A A B B B in master13:32
ispeak left13:32
tango_ jogla: you want to get rid of N N in between? you'll have to use rebase interactive13:32
jogla Yes13:33
drd20 left13:34
VVSiz left13:34
cehteh PID USER PR NI VIRT RES SHR S PU %MEM TIME+ COMMAND13:35
1259 root 30 10 466m 205m 17m D 13.2 40.9 4:39.52 git13:35
... needs patience but works :)13:35
wereHamster only 200MB res..13:36
cehteh 16% yet13:36
kristian42 left13:37
ia joined13:38
kpreid_ left13:40
Keiya left13:40
dakota left13:41
kristian42 joined13:42
snitko left13:42
Keiya_Keiya13:43
__iron left13:45
mrbob009 joined13:45
mrbob009 what is a nice gui for git, im on debian13:45
hgimenez left13:45
KiBi gitk13:46
__iron joined13:46
pheaver joined13:46
mrbob009 KiBi, ok thank you : )13:46
Fatal collegues who hate command line seems to enjoy git-cola13:46
hummingkid left13:47
DavidKlein joined13:47
Yuuhi joined13:48
kensei is it okay in gitolite conf to implement repo x13:49
RW+ = @admins @users13:49
so two group in one line ?13:49
sitaram kensei: yes13:49
mrbob009 awsomE!13:49
kensei I rewrote for it the config file, but something doesn't work :(13:49
jogla Can i ask git-svn in what branch it is about to commit with dcommit?13:50
sitaram kensei: pasetbin13:50
(damn typos!) pastebin13:50
mrbob009: http://sitaramc.github.com/1-basic-usage/gitk.html13:51
eletuchy left13:51
d_sun jogla: since svn does not really have branches the answer is simple13:52
sitaram mrbob009: gitk is mainly a history viewer, and is absolutely awesome in the number of ways it can show you your repo and help you quickly find the stuff you want13:52
d_sun .git/svn/info or s13:52
kukks joined13:52
sitaram Fatal: not just people who hate command line, I remember emails in which Linus also uses gitk :)13:53
broonie Yes, from his talk at LPC this year it's a big part of how he resolves conflicts.13:53
Fatal sitaram: I use gitk when I need to stage lines :)13:53
sitaram Fatal: gitk? stage lines? I think you mean "git gui"13:53
Fatal oh yes13:53
ab3 joined13:54
kensei sitaram: I can't pastebin it.13:54
Fatal sitaram: I was stuck in the original question :)13:54
sitaram Fatal: git comes with 3 gui programs. "git gui" does stuff which can mostly be done from CLI just as well. "git gui blame path/to/filename" does stuff that is not so easy, especially the drilldown, and then there's "gitk". See link above for some things it can do13:55
ia left13:55
sitaram kensei: confidentiality? change some of the names and pastebin it, or get onto PM... or find *some* way of telling me what the problem is :)13:55
kensei hehe13:56
sitaram: I can't pastebin it because I don't have output.13:56
wereHamster then make some output ;)13:56
kensei I try to make a 'check for modification' after the configuration file changing.13:56
and the TortoiseGIT doesn't show nothing, that's the problem.13:57
sitaram kensei: eh what? I thought you were asking about gitolite config...13:57
kensei a commit number appears, and that's all.13:57
sitaram: yep13:57
I modified it and pushed on linux13:57
sitaram oh sorry I dont know TortoiseGIT -- however, git's native GUIs are quite fine too13:57
kensei and then I tried to pull the repository13:57
reprore__ left13:57
kensei my own repository13:57
I did some modifications on windows.13:57
then when I try to see a diff output in TortoiseGIT13:58
a commit number appears13:58
nothing more :(13:58
everything worked fine, because this refactoring of gitolite config file :(13:58
pheaver left13:58
kensei * because = before.13:58
sitaram gitolite is not that good as to reach inside TortoiseGIT and screw up something :)13:59
kensei no error/warning during pushing this config.13:59
sitaram try it from CLI or normal git gui and tell me what happens13:59
Axius joined13:59
kensei okay.14:00
but if pushing doesn't give back error/warning it does mean there aren't any problem, right ?14:00
so the configuration file is okay then, right ?14:00
ab3 left14:01
sitaram kensei: as I said, I have *no* idea what TortoiseGIT considers a problem or how (and if) it even reports them. Sorry14:01
jogla d_sun: Well, i mean, into which folder14:01
Its the first line of git-svn dcommit that contains that information, but unfortunately, it's already too late when its wrong14:02
d_sun Directory.14:02
sitaram kensei: maybe TortoiseGIT ignores responses that it does not understand? Maybe it looks for one string, and if that exists, ignores everything else and all output... who knows!14:02
d_sun jogla: yes it might be hidden in the gitsvn config file (.git/svn/xxx?)14:02
jogla No14:02
There's only the url14:02
d_sun .git/config14:02
jogla I don't think so14:02
kensei sitaram: weird.14:02
aleksei joined14:03
rchavik left14:03
d_sun jogla: it's in .git/config, I checked.14:03
url = svn://svn.berlios.de/portknocko/trunk14:03
just to give an example14:03
ab3 joined14:04
jogla d_sun14:05
No14:05
That's only the url of the repository14:05
url = svn://svn.berlios.de/portknock14:05
It looks like that for me14:05
mbernstein joined14:05
jogla and git branch -a listens all the branches available in the /branches folder in the svn repository14:06
Does it do that for you too?14:06
Axius left14:06
malumalu joined14:07
bentob0x joined14:07
ia joined14:08
loincloth left14:10
kpreid_ joined14:11
keystr0k joined14:12
WinterWeaver joined14:12
vasandgvd joined14:13
luxuss left14:14
jogla For example: I just did a fresh checkout of an svn repository with git-svn clone:14:15
git-svn clone svn+ssh://... -T trunk -b branches -t tags14:16
now i cd into the directory14:16
$ git-svn dcommit14:16
Committing to svn+ssh://..../tags/v2.0rc914:16
luxuss joined14:17
jogla If I had made changes, they would now go into the tag v2.0rc9, instead of the trunk14:17
I think this is because the last commit into this svn repository was tagging v2.0rc914:18
fcuk112 left14:20
marcoecc joined14:21
charon jogla: this was changed the other day, newer git-svn points master at trunk by default14:21
jogla Ahh14:21
charon b186a261b first tagged in 1.6.5-rc014:22
Gitbot [git b186a261b]: http://tinyurl.com/yd5hdwh -- svn: initial "master" points to trunk if possible14:22
threeve joined14:22
jogla I'm at 1.5.6.5-3+lenny214:23
charon that's kind of... old.14:23
jogla I'll get an update next year or something like that ;)14:23
Grum that is ancient14:23
Wed Aug 6 12:04:06 2008 O.o14:24
jogla Or there other things than trunk by default i would benefit of?14:24
krynnotaur left14:24
charon no, we sat on our asses for a year and only implemented that one patch14:24
LiamH joined14:24
jogla That was not what I wanted to say14:24
charon seriously though, there are so many improvements it's almost not funny you're even asking ;)14:24
even if you only looked at git-svn, it learned some nice tricks, e.g. it can now reconstruct some classes of merges from the svn1.5 props14:25
(iirc from the list -- i haven't used that yet)14:25
jogla Cool14:25
I'll consider updating it14:26
patrikf joined14:28
ab3 left14:28
ab3 joined14:29
jogla If I understood that correctly, when i type "git log", the first commit i see with git-svn-id is the branch where it would commit with dcommit, is that correct?14:29
stuffcorpse left14:30
camonz joined14:30
stuffcorpse joined14:30
warlock_mza left14:31
gbacon joined14:32
Yuuhi` joined14:32
charon jogla: not quite; it's the first one in 'git log --first-parent'14:32
(which is the same unless you used 'git merge', but matters a lot if you did)14:33
jogla Ahh14:33
tekky left14:33
Whtiger joined14:34
jogla When i'm developing a feature in a branch in my local git repository, how would get the changes into master?14:35
I tried git rebase, but that isn't too good, I could have guessed that before14:35
Isn't there only git-merge left?14:35
Tk_L joined14:36
wereHamster jogla: git checkout master; git merge yourbranch14:36
charon jogla: if this is for git-svn: you're probably better off rebasing on master and then fast-fowarding master before dcommit14:37
the difference is that to svn, a rebase looks like a series of commits whereas a merge looks like a single squashed commit14:37
if it's for git, merge is usually better (because rebase rewrites history)14:37
adamm joined14:38
charon i.e.: git rebase master mybranch; git checkout master; git merge mybranch; git svn dcommit14:38
(the merge at the third step will fast-forward and thus not actually create a merge commit)14:38
jogla What does fast-forward mean in that context?14:38
charon man gitglossary14:39
ia left14:40
ia joined14:40
bigmack83_ left14:40
bigmack83 left14:40
loincloth joined14:42
eletuchy joined14:42
TeckniX joined14:43
Yuuhi left14:44
markoa joined14:45
cannonball joined14:46
jogla Thank you14:46
VVSiz joined14:48
mattions left14:49
jmcantrell joined14:51
jogla at the moment I do "git-svn fetch" to see all changes made by others and then git-svn rebase, is that safe?14:52
Or should I do something different?14:52
krynnotaur joined14:52
scarabx joined14:54
fcuk112 joined14:55
GMFlash joined14:55
tek joined14:57
paltman joined14:58
microm left14:58
bcardarella joined14:58
tamm0r joined14:59
Mezner joined14:59
kw joined15:00
sh1mmer left15:01
mrbob009 left15:01
voker57_ joined15:03
corni joined15:03
Geralt joined15:05
ab3 left15:06
ab3 joined15:07
catphish joined15:07
parasti joined15:08
magcius joined15:08
flaguy48 joined15:09
markoa left15:09
jogla left15:11
orafu joined15:12
kumbayo joined15:12
jksz left15:13
rolfb joined15:13
MrUnleaded joined15:15
warthog9 joined15:16
scarabx left15:16
zuez joined15:17
zuez Silly question, having difficulty googling this. My post-receive emails come in with UNNAMED Project, what config flag is it to name the project?15:17
d_sun git-throw-champagne :p15:18
Perhaps editing .git/description fixes your issue.15:19
hummingkid joined15:19
zuez d_sun: Ah yes, thanks :-)15:19
jstemmer joined15:19
Voker57 left15:20
ab3 left15:21
ab3 joined15:21
Stravy left15:21
Stravy joined15:22
HG` joined15:22
krawek joined15:25
catphish left15:25
GMFlash left15:28
DemO_ left15:30
khmarbaise joined15:31
kyron joined15:33
ia left15:34
slabbeh left15:35
patmaddox joined15:35
luxuss left15:35
ia joined15:35
kyron _Q_: I need to ignore/revert many source files that only had minor (non-functionnal) changes. I don't seem to have a "revert to previous version of this file" option in gitk (as gitk is the quickest way for me to identify such files. Anyone has a suggestion or will I have to use the command line tools to revert the files on by one?15:36
ctusar joined15:36
d_sun git revert HEAD?15:36
Thell_|AwayThell_15:37
d_sun well git deals in terms of commits, not single files.15:37
Thell_Thell15:38
d_sun left15:39
d_sun joined15:39
cbreak you could use git checkout to get past versions of files15:39
and then just commit them together15:39
MrUnleaded can anyone tell me what this means? https://gist.github.com/ad172618df3070553e67 i think it may have to do with a graft i made but I am not certain.15:41
kyron cbreak: ok, I guess the checkout is pretty much what I want... would have been nice to be able to do this from within gitk (as a contextual menu item) ;)15:41
krynnotaur left15:41
d_sun MrUnleaded: yes, it's due to grafts. Make sure there are none on the server side.15:42
JasonWoof joined15:42
bauruine left15:42
MrUnleaded d_sun: i just made the graft and pushed it i read something regarding having to use filter-branch to make it a legit history graft?15:42
madewokherd joined15:43
vasandgvd left15:43
Arrowmaster correct15:43
kpreid_ left15:43
MrUnleaded is it just a simple "git filter-branch" or are some options needed?15:44
Trey joined15:44
Arrowmaster youll need some options15:44
i dont remember what though15:45
d_sun And a cool head, given it rewrites the history.15:45
johan-s left15:45
MrUnleaded ohh i see it in the manual. thanks15:45
marc_m left15:45
ab3 left15:46
Turias joined15:46
Keiya left15:46
MrUnleaded d_sun: yep i have used it before to fix up things :) thanks15:47
jaysern_ joined15:47
WebDragon joined15:48
madewokherd left15:49
madewokherd joined15:49
dropandhop joined15:50
dropandhop hey all- I have a silly item that I would love your help on15:50
i'm trying to figure out why my git repository (although it works corrently to push and pull and clone) doesn't actually have the files that it is working with15:51
Ilari dropandhop: $faq non-bare15:51
tedoc2000 joined15:51
ustunozgur left15:51
d_sun MrUnleaded: it makes other developers unhappy however :>15:51
Ilari dropandhop: ... Anyway, probably because push does not update the working copy.15:52
suman joined15:52
dropandhop ahhh- i'll read up on that, thanks!15:52
ia left15:52
raichoo joined15:53
MrUnleaded d_sun: oh yea well i am trying to make the existing git repo compatible with git-svn as it was not originally used with git-svn... hopefully they will appreciate the added history...we shall see15:53
ia joined15:54
cebewee left15:54
mastro joined15:55
EricInBNE left15:56
kpreid_ joined15:57
futoase joined15:58
dropandhop $faq non-bare16:00
jaysern_ left16:00
dropandhop sorry!16:00
is it possible to change this now that i have been working with git to push/pull/clone?16:00
GustavoRamos joined16:00
jessep_ joined16:00
sis left16:01
GustavoRamos ello gitters :). i have some trouble installing gitosis on OpenSuSE, though it works with any other system like Ubuntu / Debian / CentOS. Anyone got to install it on SuSE or SLES?16:01
when i try to push, pull, any coomand that needs the server16:01
it gives me an error regarding gitosis-serve16:01
imajes left16:02
d_sun not in $PATH?16:02
GustavoRamos it is, d_sun16:02
tektekky16:02
GustavoRamos triple-checked that16:02
:P16:02
d_sun well what is that error that you hide from us?16:02
GustavoRamos i'm not hiding nothing (afaik) :P16:02
i did everything right as i do on other distribuctions16:03
catalis joined16:03
sergiodj joined16:03
kensei hello16:03
GustavoRamos when i run gitosis-init it initializates16:03
kensei when I set up my gitweb server16:03
I get back the cgi script when I try to open the page.16:03
I get back the gitweb.cgi script content as a simple text file on the page.16:03
GustavoRamos but, when i try to connect client-side, it gives me that16:03
hipe joined16:03
reprore_ joined16:04
GustavoRamos sh: gitosis-serve: command not found // fatal: The remote end and hung up unexpectely16:04
that is what i get on git push16:04
or pull16:04
or anything16:04
?P16:04
?P*16:04
i've been stuck on this to 3 days now16:05
tryes joined16:05
Ilari GustavoRamos: Firstly, gitosis is obsoleted by gitolite. And it appears that gitosis-serve is not in $PATH.16:05
javatexan joined16:05
GustavoRamos Ilari: actually it _is_ on $PATH16:05
but thanks fot the gitolite info16:05
i may try it16:05
loops left16:06
Ilari GustavoRamos: It is not. The PATH settings for interactive and noninteractive logins are different.16:06
*its16:06
tryes I'm using git to manage my dotfiles. I have a .gitignore with * as the first line, and then some patterns I want to negate. I want git not to ignore everything under .vim. !.vim/* doesn't appear to do this - what would be the correct pattern?16:06
GustavoRamos Ilari: i've set the $PATH on git user, /home/git/.bash_profile16:06
Ilari GustavoRamos: Interactive login only!16:06
GustavoRamos set on /etc/environment too16:07
Ilari GustavoRamos: Anyway, its not finding gitosis-serve. And it is one of gitosis commands. Most probably due to $PATH.16:08
jessep left16:08
jessep_jessep16:08
GustavoRamos Ilari: didnt know that thing of non-interactive logins. How can i set them PATH?16:08
never had to do it...16:08
i use gitosis on ubuntu/debian16:08
Ilari GustavoRamos: No idea, since its 'sh'.16:08
GustavoRamos i can set the shell to bash, no probl16:09
Keiya joined16:09
jessep left16:09
GustavoRamos Ilari: nevermind, bud16:09
Ilari GustavoRamos: IIRC, bash sources .bashrc on non-interactive login if it appears to come from somewhere.16:09
GustavoRamos i will try to use gitolite16:10
sitaram tryes: you may want to glance at http://sitaramc.github.com/articles/backup-and-sync-with-git.html16:10
HG` left16:10
GMFlash_ joined16:11
sitaram tryes: as to your question, not sure but try putting "!.vim" first, then "!.vim/*" maybe?16:11
Stravy left16:11
lhz joined16:11
tryes sitaram: yeah, I considered that sort of method - but I don't really think using symlinks has an advantage for me. I think my .vim/ problem is that .vim/* isn't actually recursive16:12
making a .vim/.gitignore and then saying !* might work? though I'd rather have everything in a central .gitignore16:12
Stravy joined16:12
methanol left16:12
tekky heya sitaram hows it going?16:14
sitaram tryes: have you tried what I said, putting a "!.vim" first and then the "!.vim/*"? sorry I dont have time to try it but I thought it was worth mentioning16:14
tekky: good.... you?16:14
tekky sitaram: good good, still dont ahve my git setup how I like, but thats because I havent had time to rework it and setup my hooks :P16:15
anything exciting in the gitolite world?16:15
tryes sitaram: I tried that. I think it doesn't work for my purposes because I have .vim/a/, .vim/b/ etc, each with files inside. .vim/* doesn't apply recursively. I want a !.vim/** (in bash speak)16:16
Ilari tryes: OTOH, '*' is recursive...16:17
greboides joined16:17
giallu left16:17
Ilari tryes: And .vim/.gitignore is higher priority than .gitignore16:17
kkoehne_ left16:17
GMFlash_GMFlash16:17
greboides is .gitignore local to each branch?16:18
dropandhop IIari- I'm reading how it isn't a good idea for serveral different users to push/pull to a non-bare repo...is there any truth to that?16:18
tryes Ilari: yes, so creating a .vim/.gitignore would probably work. I guess I'll do that but I was hoping I could have everything in ~/.gitignore16:18
indeed, .vim/.ignore with the line !* does what I want16:18
I mean .vim/.gitignore16:19
greboides tryes: you can have everything on .gitignore, why not?16:19
Ilari greboides: Except !.vim/* in .gitignore isn't recursive rule.16:19
greboides Ilari: if you ignore a dir it is recursive if you dont track any files on it previously16:20
no need to *16:21
doener tryes: how about /* && !.vim16:21
tryes: making the toplevel "ignore everything" non-recursive16:22
sitaram tekky: lots of "wild" stuff :)16:22
engla joined16:22
GMFlash left16:22
kumbayo left16:22
tekky oh?16:22
greboides Ilari what exactly do you want to ignore?16:23
Ilari greboides: Not me.16:23
mbernstein is there a repo setting to make git ignore all file permissions ala svn? it's causing windows users to go nuts :(16:23
greboides oh, tryes16:23
tryes greboides: I have my home dir. I want to ignore everything except some listed files16:23
doener well, "recursive"... it's not actually about recursing, but that the match without a slash isn't "anchored" to the directory with the .gitignore file16:23
GMFlash joined16:23
sitaram tekky: when you get a chance glance through the "wildrepos" branch; there's a file whose name starts with "4-" in doc/16:23
tryes tryes: e.g. .bashrc, and problematically .vim and that entire recursive tree16:23
greboides tryes: you are doing it wrong16:23
do the opposite16:23
kensei left16:24
WinterWeaver left16:24
Ilari tekky: Also, I'm writing new git daemon that supports git-over-TLS and can tie to gitolite (lets to bypass SSH). :-)16:24
greboides and you can pipe git ls to .gitignore to automate it16:24
tryes greboides: that doesn't make sense. This way I can just git add . for instance, and I get a clean git status16:24
doener tryes: the /* && !.vim thing works for me16:24
greboides tryes: believe me16:25
before you git add . you will have to update .gitignore, just one more command on your workflow16:25
tryes doener: I was just trying it - indeed, it does exactly what I want. Thank you!16:25
niki_ joined16:26
tryes greboides: I rarely change the set of files I want to keep updated. this is just for configuration files I care about16:26
greboides tryes: perhaps i should use this :)16:27
rudi_s joined16:28
sitaram Ilari: we're still ok to delay my piece a little right? I'm still working through some of the wild issues with a willing "real use" tester :)16:28
rolfb left16:29
patmaddox left16:29
acorugedo joined16:30
javatexan left16:30
javatexan joined16:31
tekky Ilari: sounds cool :) bypassing ssh would be nice for my users that dont have a clue :)16:32
futoase left16:35
GustavoRamos Ilari: i have to install gitolite from my home pc, right? but it doesnt run linux. can i do that via cygwin?16:36
sitaram GustavoRamos: yes16:37
GustavoRamos: wait no not tested16:37
GustavoRamos mmm16:37
sitaram GustavoRamos: msysgit has been tested16:37
GustavoRamos sitaram: didnt notice u here m8 :)16:37
i have msysgit here somewhere16:38
sitaram GustavoRamos: so it should work with cygwin also... I dont see why it shouldnt; the dependency is bash on the workstation side16:38
GustavoRamos yeah, and cygwin has bash16:38
but i have one doubt16:38
sitaram GustavoRamos: that's ok, I'm a quiet, unassuming sorta guy -- easy to miss ;) <har de har!>16:38
carpet_the_walls joined16:38
GustavoRamos i have a 'git' user, no password, system user.16:38
i generated pub keys to that user16:39
do i need to get em and store on my workstation?16:39
Keiya_ joined16:39
methanol joined16:39
carpet_the_walls any idea why .git/info/exclude entries are not working for me please?16:39
Is there something *special* i have to do?16:39
sitaram GustavoRamos: I dont know what "generated pub keys to that user" means; you mean you generated a key*pair* or you copied some other users pubkey to that ID?16:39
mrbob009 joined16:39
GustavoRamos sitaram: generated a keypair to that user, sry16:40
sitaram GustavoRamos: normally users like "git" are on the server, not workstation. Is this on the server? is this the user you will be using to *host* gitolite?16:40
GustavoRamos the 'git' user is on server16:41
__ed left16:41
__ed joined16:41
khmarbaise left16:41
GustavoRamos and i dont get 'host' gitolite16:41
agile left16:41
MrGando joined16:41
acorugedo left16:41
acorugedo joined16:42
acorugedo left16:42
MrGando Hello guys, I'm trying to use this guide ( someone here pointed me to it ) http://toroid.org/ams/git-website-howto , to create a shared repository for website development using git, however I'm having a lot of trouble16:42
dropandhop does anyone have any experience pushing/pulling into a non-bare repo?16:42
acorugedo joined16:42
sitaram host == serve :) this user@host "hosts gitolite" like that one "hosts apache" (serves)16:42
GustavoRamos: ^16:42
GustavoRamos yeah, 'git' will *host* my gitolite install16:43
:P16:43
sitaram GustavoRamos: then that user doesnt need any keys. It will only have *other* peoples pubkeys in its ~/.ssh/autuhorized_keys file16:43
GustavoRamos ook,16:44
so i need to generate a 'password-less' keypair on my gygwin user ?16:44
sitaram GustavoRamos: http://sitaramc.github.com/0-installing/9-gitolite-basics.html#IMPORTANT_overview_of_ssh16:44
GustavoRamos just to install gitolite16:44
sitaram GustavoRamos: yes... trust me it's the most painless way16:44
(until Ilari gets done with his git-over-TLS anyway!)16:45
GustavoRamos sitaram: sorry for my noobness m816:45
fcuk112__ left16:45
GustavoRamos will try it again16:45
sitaram GustavoRamos: cure for noobness is documentation; I have **lots** :)16:45
GustavoRamos i've read em, and must congrat u16:45
sitaram :)16:46
GustavoRamos very weell written16:46
:)16:46
dropandhop anyone have a momment to help me with some working-tree issue i'm having?16:48
sitaram GustavoRamos: thanks...16:48
dropandhop: not unless you ask the real question :)16:48
dropandhop hehe- that might help!16:49
MrUnleaded so i was wondering if there was a way to store notes or info about a longterm branch for example a note that a branch is subject to rebasing or what the branch is for.16:49
dropandhop so i have a bare repo setup that several people use (all part of the same group) to push/pull and it works great16:49
what i noticed is that I don't have a working dir setup and i16:49
lack MrUnleaded: You could check in a README file into that branch?16:49
dropandhop 'd like to do that...while still using the repo to push/pull with several users16:50
i read there are issues with pushing to non-bare repos with multiple users...so i was hoping to get some advice16:50
lack dropandhop: So clone the repo yourself and keep that repo as a bare repo.16:50
sitaram dropandhop: best way is to use your own clone; keep the push-able one bare unless you know what youre' doing16:50
dropandhop manually clone it every once in a while?16:51
lack No, just once :)16:51
MrUnleaded yea i suppose i was just thinking it would be good to have soemthing like annotated tags but for branches16:51
sitaram clone it once; fetch once in a while after that16:51
lack dropandhop: Just pretend you're on a remote computer, just use a local path for the URL instead of whatever else you'd normally use. "git clone ../../path/to/bare.git" From then on, there's no difference, fetch, push, etc... Pretend you're just a regular user.16:52
dropandhop hmmm- so no automatic way for the working dir to be in sync?16:52
lack dropandhop: What exactly do you want this working dir for?16:53
Keiya left16:53
dropandhop i saw a nice hook setup here that might work- http://toroid.org/ams/git-website-howto16:53
Bryson joined16:54
ciaran joined16:54
dropandhop the repo is on a web server...it's for building out web-apps...but i would like to share some of it work while it's in progress16:54
psoo left16:54
Bryson_ joined16:55
Glenjamin joined16:55
petrux left16:55
dropandhop so having an up-to-date working dir is key...and manually fetching/pulling to that working dir would make for issues16:55
Glenjamin hey guys, is there a way to get multiple git working trees?16:55
for the same repository16:55
dropandhop would this hook change work in my case- http://toroid.org/ams/git-website-howto16:55
sitaram Glenjamin: look in git.git/contrib somewhere for "new-workdir" or some such16:56
wereHamster Glenjamin: take a look at git-new-worktree in contrib/worktree16:56
sitaram wereHamster++16:56
wereHamster git-new-workdir16:56
sitaram oh16:56
poseidm1 left16:57
sitaram I hate it when I was right and think I was wrong :)16:57
ia left16:58
sde_antrix1 left16:58
mbernstein core.filemode =false should make git ignore permission changes correct?16:58
lack dropandhop: Yes, that guide is probably what you want.17:01
hipe_ joined17:02
hipe left17:02
mrbob009 left17:03
Bryson left17:03
Bryson_Bryson17:03
neoeinstein joined17:05
ia joined17:07
giallu joined17:08
fcuk112_ joined17:08
kpreid_ left17:08
fcuk112_ left17:08
MrGando Guys I'm trying to set up a shared git repository for web work , could anyone help me a bit ? I followed this tutorial which works for just one user making commits, but when I try to commit with other users I'm having problems17:08
fcuk112_ joined17:09
MrGando For starters, when I create my /var/repo.git , I do chgrp to that folder and chmod g+w to that folder... then git init --bare --shared17:09
fcuk112_ left17:09
NickRiviera joined17:09
NickRiviera Hi everybody!17:09
MrGando but after that I do git status and get " fatal: This operation must be run in a work tree"17:10
NickRiviera has anyone experienced nbgit performance problems?17:10
patmaddox joined17:10
wolog left17:10
TML MrGando: "git status" is for examining a work tree - I don't know of any way to make it work in a bare repo17:11
curtana MrGando, according to http://www.kernel.org/pub/software/scm/git/docs/gitcvs-migration.html you are doing the right thing17:11
eletuchy left17:11
curtana (see "setting up a shared repository"17:11
) after you init, try to push into it (or fetch into it) to actually get some content in there17:11
NickRiviera anyone?17:12
mattweg joined17:12
bigmack83 joined17:12
fcuk112_ joined17:13
MrGando what does this mean " Make sure committers have a umask of at most 027, so that the directories they create are writable and searchable by other group members." ?? in "setting up a shared repository "17:13
wereHamster MrGando: do you know what a umask is?17:13
tvw left17:13
tek joined17:13
MrGando wereHamster: Not really :S , could you tell me ? :)17:14
curtana MrGando, i that --shared on git-init takes care of that17:14
amirite joined17:14
MrGando curtana: I did git init --bare --shared so I think I got it then17:14
wereHamster MrGando: no, but wikipedia can: http://en.wikipedia.org/wiki/Umask17:14
shruggar how can I show all commits which added any file called *.php ?17:14
MrGando wereHamster: Ohhh I get it now, yeah I knew that , didin't know it was called Umask17:15
amirite i just tried merging master into my branch and it clobbered a bunch of my work -- to undo, I `git reset --HARD commitid` is that right?17:15
wereHamster shruggar: git log --diff-filter=A #and no idea how to limit it to *.php17:15
amirite: git reset --hard HEAD17:16
tekky left17:16
bantic joined17:17
MrGando curtana: after I do this, I added a worktree "git config core.worktree /var/www/mywebsite"17:17
wereHamster amirite: add --name-only and then search for *php in the output17:18
MrGando and then setup a hook "hooks/post-receive" with git checkout -f, and chmod it to +x17:18
curtana interesting17:18
didn't knwo you could do that, cool17:18
Keiya_ left17:18
patrikf is there a git-to-svn dictionary/cheatsheet?17:19
greboides tryes: thank you, your solution is much better17:19
ericholscher left17:19
dreiss joined17:20
GustavoRamos sitaram: u still there?17:21
wereHamster patrikf: I only know of a git cheatsheet17:21
Pupeno_ joined17:21
wereHamster patrikf: http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html17:21
Pupeno left17:21
sitaram GustavoRamos: yes17:21
GustavoRamos i'm ashamed of asking this17:21
but, i cant get the ssh thing17:21
Pupeno_Pupeno17:21
GustavoRamos :S17:21
patrikf wereHamster: I need it the other way round. I'm used to how simple things are in git and don't want to spend much time finding out how they can be achieved in svn. ;-)17:22
sitaram GustavoRamos: no problem; happens. Let me try and explain17:22
GustavoRamos: oh wait; do you perhaps mean "cant get it to work in cygwin"?17:22
GustavoRamos nah17:22
curtana GustavoRamos, ssh thing? :)17:22
Glenjamin left17:22
GustavoRamos i've installed msysgit now17:22
i'm on the cmd now17:23
curtana patrikf, most lines on the cheat sheet would read "you can't do this with svn"17:23
:)17:23
wereHamster patrikf: I'd stick with git-svn :)17:23
GustavoRamos i have a 'git' user on the server, which will be used to install gitolite17:23
aleksei patrikf: http://git.or.cz/course/svn.html17:23
khmarbaise joined17:23
Theravadan joined17:23
GustavoRamos do i need to have the pubkey of the git user on my workstation in order to install gitolite?17:23
sitaram: ^17:23
Ilari GustavoRamos: Are you trying to install gitolite on Windows?17:24
sitaram GustavoRamos: "on the cmd" should mean "right click, and choose "Git bash here" on some empty directory" please confirm that, (and not "cmd.exe")17:24
Ilari: no, from windows as client to server17:24
GustavoRamos sitaram: nope, just opened C:\msysgit\msysgit.bat or something17:24
sitaram GustavoRamos: dont do that17:24
GustavoRamos: creae a new, empty directory somewhere, right click on it, choose "Git Bash here"17:25
do everything in that window17:25
GustavoRamos sitaram: i'm in17:26
sitaram GustavoRamos: type "ssh-keygen" and hit enter for all prompts till it comes back to the cmdline17:26
tbuehlmann left17:26
acorugedo left17:26
acorugedo joined17:27
GustavoRamos sitaram: done17:27
sitaram GustavoRamos: make a note of the location of the "pub" file, which this command reports17:27
GustavoRamos okay, i know where it is17:27
sitaram GustavoRamos: is that something ending in "id_rsa.pub"?17:28
GustavoRamos yeah17:28
sitaram GustavoRamos: ok now try "ssh-copy-id -i ~/.ssh/id_rsa git@server" # this will ask you for the server's password, type it17:28
GustavoRamos i dont have a ssh-copy-id on git bash17:29
sitaram hmm17:29
I distinctly remember having seen it when I did my testing... wait17:29
GustavoRamos allrite17:29
sitaram no; my windows VirtualBox on this laptop is sorta dead, no show...17:30
GustavoRamos: ok we'll do it the long way: copy it to the server and all that manually17:30
Ilari GustavoRamos: Well, there's way around. Copy the id_rsa.pub to server (note, the .pub file, not the other one).17:30
warlock_mza joined17:30
GustavoRamos copy id_rsa.pub to /home/git/.ssh/ ?17:31
overwriting the existing one?17:31
NET||abuse left17:31
WebDragon|away joined17:31
Ilari GustavoRamos: Copy it to /tmp?17:31
GustavoRamos Ilari: allrite, will scp it17:31
Ilari GustavoRamos: And no, don't overwrite existing one.17:31
WebDragon left17:32
WebDragon|awayWebDragon17:32
sitaram GustavoRamos: background: http://pastebin.com/d194b371b17:32
qhoxie joined17:33
rado1 joined17:33
GustavoRamos sitaram: Ilari: its there on /tmp17:33
just the id_rsa.pub file17:33
sitaram GustavoRamos: on server, cd ~/.ssh; cat /tmp/id_rsa.pub >> authorized_keys17:34
GustavoRamos as 'git', rite?17:34
sitaram yes17:34
GustavoRamos ok17:34
sitaram we dont need root etc for gitolite (assuming git itself is already installed)17:35
GustavoRamos okay17:35
its there17:35
sitaram back on client, try "ssh git@server pwd" and tell us what happens17:35
floppyears how does gitolite compare to gitweb ?17:35
sitaram floppyears: no connection17:35
r11t joined17:35
sitaram floppyears: quite different uses17:36
Geralt left17:36
GustavoRamos sitaram: it asked me password17:36
but git had no password17:36
i set it17:36
and could log in17:36
Richardigel joined17:37
sitaram GustavoRamos: when did you set it? before you copied this id_rsa.pub file?17:37
Richardigel hi, how does git-diff know which one is the newline character? can i change that setting?17:37
GustavoRamos nope17:37
sitaram: nope17:37
sitaram GustavoRamos: when?17:37
GustavoRamos just now17:37
wasnt it supposed to ask me?17:37
shruggar left17:37
sitaram GustavoRamos: no... it should not have17:38
Ilari GustavoRamos: If you can switch users from another account on that same host (without getting git password prompt), the git account should not have password at all.17:38
sitaram GustavoRamos: so when you type "ssh git@server pwd" on your workstation, it asks you for a password. What happens when you type it?17:38
GustavoRamos i just echoed the content of id_rsa.pub to /home/git/.ssh/authorized_keys17:38
when i ssh at my workstation17:38
it asks for pass17:38
tekky joined17:39
sitaram password. What happens when you type it?17:39
GustavoRamos sitaram: when i type the password i put it comes back to the normal screen17:39
doesnt show the pwd output17:39
sitaram no error message of any kind?17:39
GustavoRamos nope17:39
sitaram oh wow...17:39
Ilari GustavoRamos: And next line is from local command prompt?17:40
GustavoRamos Ilari: yep17:40
curtana maybe the server does not allow you to run a shell17:40
__iron left17:40
curtana but only certain commands17:40
GustavoRamos curtana: nice idea17:40
let me take a look17:40
__iron joined17:41
acorugedo left17:41
GustavoRamos curtana: are you a genious or something?17:41
lol17:41
curtana GustavoRamos, just a lowly sysadmin :)17:41
GustavoRamos it was redirecting to /bin/false as shell17:41
maattd joined17:41
GustavoRamos just put to /bin/bash17:41
lets test now17:41
sitaram GustavoRamos: so how did you do all that stuff with id_rsa.pub?17:41
kennethlove joined17:42
GustavoRamos curtana: sitaram: it now outputs the current workin dir17:42
sitaram curtana++ by the way17:42
GustavoRamos on the pwd command17:42
curtana: thx m817:42
sitaram GustavoRamos: without asking for a psssword?17:42
Ilari GustavoRamos: But still prompts for password?17:42
GustavoRamos sitaram Ilari: yeah17:42
tstclair left17:42
sitaram GustavoRamos: ?? we asked opposite questions...17:42
GustavoRamos sorry17:43
lol17:43
its still requesting pass17:43
Ilari GustavoRamos: 'chmod go-w ~git ~git/.ssh ~git/.ssh/authorized_keys'. Does that help?17:43
sitaram GustavoRamos: on server17:43
then retry command on client, of course17:43
bbeecher joined17:44
GustavoRamos still propting for pass17:44
let me try to generate the keys again17:44
Ilari curses ssh...17:44
GustavoRamos on different locations17:44
carpet_the_walls will a git ignore file containing log/* ignore just the contents of the log dir, or ignore the log dir and its contents? thanks17:45
sitaram Ilari: to be fair, I've never had trouble with "ssh-copy-id"; it's all these other systems... :(17:45
Ilari GustavoRamos: Try putting -vvvv on ssh command and from output confirm that it tries the correct key.17:45
froschi left17:46
curtana GustavoRamos, if you are root then check /var/log/auth.log17:46
or wherever your syslog puts authentication messages17:46
GustavoRamos its there, curtana17:46
will cat it17:46
BFQ== Gustavo Ramos@GUSTAVORAMOS-PC17:47
maybe this is it?17:47
this is the ending of my .pub file17:47
spaces messes with it?17:47
perlina left17:47
sitaram GustavoRamos: is that all one line or multiple lines? and have you tried what Ilari suggested (-vvvv)?17:48
GustavoRamos will try to log again now, sitaram17:48
dreiss left17:48
tk_idle joined17:48
kpreid_ joined17:50
tk_idle hmm17:50
tekky left17:50
tk_idletekky17:50
kennethlove left17:50
bry joined17:50
smotchkkiss joined17:51
qhoxie_ joined17:51
catalis left17:51
Alagar joined17:52
aleksei left17:52
GustavoRamos sitaram: Ilari: curtana: windows really sux, m8's17:52
solved it17:52
sitaram how?17:52
GustavoRamos it wasnt letting the bash to write the keys properly17:52
permission issue17:52
lack Uninstalled windows?17:52
sitaram :)17:53
GustavoRamos lack: not yet17:53
sitaram GustavoRamos: explain please; I'm curious... what did you do to fix it?17:53
GustavoRamos sitaram: i'm a MCSE admin on windows 2008, so i have this problems in everyday basis17:53
commands lines do not share the same rights the win user has17:53
sitaram GustavoRamos: so how did you fix it?17:54
GustavoRamos so i had to set Everyone 'Full Access' on the .ssh folder on my machine17:54
sitaram client side...?17:54
GustavoRamos yep, ofc17:54
sitaram ok17:54
GustavoRamos: so now you can "ssh git@server pwd" and it prints /home/git or such **without** asking for a password?17:54
GustavoRamos sitaram: yes17:54
sitaram GustavoRamos: ok now "git clone git://github.com/sitaramc/gitolite"17:54
then "cd gitolite"17:54
GustavoRamos done17:55
drry left17:55
sitaram GustavoRamos: ok now "src/gl-easy-install -q git server gustavo" # that third argument will be the default "admin"s name in the new gitolite config17:55
bentob0x left17:55
sitaram GustavoRamos: "git" and "server" are two separate arguments, not combined with @ in between17:55
GustavoRamos yeah, i'm already running it17:56
but with no -q17:56
i want to see the magic17:56
:)17:56
corni left17:56
sitaram GustavoRamos: :)17:56
GustavoRamos: it will create a new "keypair" called "gustavo" and "gustavo.pub" at some point; just hit enter for the passphrases for now -- you can always add passphrase later17:56
auslander joined17:56
wolog joined17:57
GustavoRamos its pushing17:57
sitaram GustavoRamos: it will also open an editor (probably vi). If you want all the defaults, just type :q to get out of it using defaults17:57
tek left17:57
GustavoRamos sitaram: vi doesnt scares me :)17:57
sitaram :)17:57
ok17:57
GustavoRamos okay, i'm in pico instead17:57
what i have to edit here?17:58
sitaram GustavoRamos: nothing, if you're ok with all the defaults... glance through it if you like17:58
GustavoRamos: just exit the editor if you're ok with the settings17:59
GustavoRamos sitaram: ok17:59
galderz left18:00
GustavoRamos sitaram: done18:00
it copied the admin part to another dir18:00
can i just take it to my local repo dir?18:00
sitaram GustavoRamos: I didn't get that... did the whole command complete?18:01
d_sun left18:01
GustavoRamos sitaram: yep18:01
sitaram GustavoRamos: "cd ~/gitolite-admin; git remote -v"18:01
qhoxie left18:01
jrmuizel joined18:01
sitaram GustavoRamos: wait18:01
t0rc joined18:01
GustavoRamos ok18:01
sitaram GustavoRamos: at the end of easy install run it will give you two URLs that you, and your users, should use18:01
t0rc left18:01
voker57_ left18:01
sitaram GustavoRamos: make a note of them18:01
GustavoRamos: yours will be "gitolite:reponame"; your users will have to use "git@server:reponame"18:02
GustavoRamos yeah, i dont get it18:02
how my workstation will resolve gitolite ?18:02
sitaram GustavoRamos: cat ~/.ssh/config18:02
t0rc joined18:02
voker57 joined18:02
sitaram on workstation of course18:03
marcusb joined18:03
tamm0r left18:03
GustavoRamos cooool18:03
:)18:03
sitaram ssh feature18:03
marcusb left18:03
Richardigel left18:03
t0rc left18:03
GustavoRamos and if i have to admin my repo from other pc ?18:03
or need to format this one?18:03
sitaram GustavoRamos: all explained in doc/618:03
GustavoRamos sitaram: okay, will read it then18:03
sitaram GustavoRamos: one step at a time...18:03
qzio joined18:03
sitaram GustavoRamos: doc/6 is about that ssh thing, not your later question18:04
qhoxie joined18:04
qzio is it possible to see what a commit did, like when i pull i get a simple list of files that are changed/deleted18:04
ia left18:04
sitaram GustavoRamos: to admin it from elsewhere, generate a key there, bring it here, name it "gustavo@otherPC.pub", place it ~/gitolite-admin/keydir, then "git add keydir; git commit; git push"18:04
qzio git show somecommit shows all the lines, i wan't the shorter thingie where it shows what files are modified/deleted/added18:04
GustavoRamos sitaram: okay18:05
sitaram GustavoRamos: you're basically adding a second key for yourself18:05
jrmuizel left18:05
reprore_ left18:05
dwmw2dwmw2_gone18:05
ia joined18:05
GustavoRamos sitaram: any further steps for installing ?18:05
sitaram GustavoRamos: install is done18:05
GustavoRamos just a quick question: when i reboot the server, how can i turn the thing on?18:05
voker57 left18:06
MrGando Guys , I'm trying to setup a shared repo, but each time a user pushes to it, the index changes of "group" what could be going on there ?18:06
sitaram GustavoRamos: sshd18:06
GustavoRamos: that's all we need -- if sshd comes up, we're all set18:06
qzio MrGando: did you use git init --bare --shared=true ?18:06
GustavoRamos sitaram: allrite18:06
MrGando qzio: I did , git init --bare --shared18:06
sitaram GustavoRamos: you administer it by making changes to conf/gitolite.conf in the new "gitolite-admin" clone, adding keys to keydir/ in the same clone, etc...18:07
MrGando qzio: what could be happening , this is my config file http://pastebin.com/d757454e018:08
GustavoRamos sitaram: for example, if i need to create the repo 'foo' with RW+ access to 'bar' i will upload the 'bar' .pub to keys, and edit the .conf to add the repo config?18:08
sitaram GustavoRamos: yes18:08
justinko joined18:08
ia left18:08
sitaram GustavoRamos: if the file is "sitaram.pub" in keydir, then the user in conf/gitolite.conf is "sitaram"18:09
ben_h joined18:09
GustavoRamos sitaram: okay, i will test it with more users later18:09
sitaram GustavoRamos: rest of the syntax is described in conf/example.conf in thr gitolite repo (the one you cloned from github)18:09
qzio MrGando: seems like you didn't do bare? [core]; bare = false18:09
justinko i'm trying to push to a remote repo and it get's "stuck":18:09
Counting objects: 5811, done.18:09
Delta compression using up to 2 threads.18:09
^Cmpressing objects: 99% (5515/5533)18:09
qzio and i have sharedrepository = 2 in my config18:10
reprore joined18:10
qzio anyone know how to get the summary from a commit?18:10
MrGando qzio: Really ? this is really weird, i did $git init --bare --shared18:10
qzio: literally18:10
qzio --shared=true18:10
MrGando qzio: I think it's the same ? or not ?18:10
kW_ joined18:12
WebDragon|away joined18:12
MrGando qzio: I mean git init --bare --shared == git init --bare --shared=true ?18:12
qzio yeah maybe18:13
im by no means an expert, i'm just saying your config looks different then mine :)18:13
lack qzio: Maybe - git log -1 --summary <commit>18:14
MrGando qzio: I see, could you paste your config ? are you working on a shared repo ?18:14
qzio MrGando: Thanks! exactly18:14
hm, is there a way to get colors? i have colors on by default...18:14
NickRiviera left18:14
MrGando qzio: it would be great to see your config :)18:14
qhoxie_ left18:15
bgerber left18:15
WebDragon left18:15
WebDragon|awayWebDragon18:15
reprore left18:16
qzio MrGando: http://pastebin.com/m4578175018:16
godsflaw joined18:16
engla left18:17
bgerber joined18:17
qhoxie_ joined18:18
sergiodj left18:19
kw left18:20
brizly joined18:21
Alagar left18:23
voker57 joined18:23
ia joined18:24
lamont left18:25
WALoeIII joined18:26
lamont joined18:26
tvw joined18:27
ben_h left18:27
curtana left18:28
t0rc joined18:28
qhoxie left18:28
ngw left18:29
Sho_ left18:29
aspotashev joined18:29
zoniq_ left18:30
javatexan left18:30
carpet_the_walls in the earlier days of git, did uncommitted changes remain local to the branch they were created in?18:30
qhoxie joined18:31
GMFlash left18:32
justinko left18:33
hipe_ left18:33
t0rc left18:33
javatexan joined18:33
Alagar joined18:33
hipe joined18:33
Alagar left18:34
doener carpet_the_walls: branch heads reference commits, so by definition, they contain no uncommitted changes18:34
mrbob009 joined18:35
v0n joined18:35
t0rc joined18:36
drizzd joined18:39
maattd_ joined18:40
qhoxie_ left18:40
kpreid_ left18:43
qhoxie_ joined18:43
sergiodj joined18:44
carpet_the_walls doener: right, so this page confuses me, why are these people using the stash in this way? isnt it totally unnecessary? http://stackoverflow.com/questions/89487/why-isnt-the-git-stash-unique-per-branch18:44
relevent extract: "ex., while working on a feature branch, I will often notice minor bugs or cosmetic impurities in the code that aren’t relevant to that branch. Well, I just fix those right away. When time comes to commit, I selectively commit the relevant changes but not the fixes and cosmetics. Instead I stash those, which allows me to switch to my minor-fixes-on-stable branch, where I can then apply the stash and commit each minor fix separately18:45
(Depending on the changes in question, I will also stash some of them yet again, to switch to a different feature branch, where I apply those.)"18:45
FreakGuardTass`18:45
Arrowmaster seems like a reasonable workflow to me18:46
davedev joined18:47
doener carpet_the_walls: yeah, using stash there isn't really needed if you switch right away. Just "git checkout <other_branch_head>" is enough18:47
maattd left18:47
maattd_maattd18:47
carpet_the_walls Arrowmaster: very confused, why do they need the stash? couldn't they selectivly make a commit on one branch, switch branch, and make some more selective commits - no need for stash18:47
kpreid_ joined18:48
doener carpet_the_walls: and if "git checkout <other_branch_head>" refuses the switch, because you have modifications to files that differ between HEAD and other_branch_head, you can use "checkout -m"18:48
marcoecc left18:48
carpet_the_walls doener: thanks, fairly new to git, but these 2 comments made me question what i had learnt already18:48
Arrowmaster i didnt say i thought it was needed, but its reasonable18:48
doener carpet_the_walls: reasons I could see for using stash: The user has no idea that the -m flag exists.18:48
davedev i have some files i am woking on which has not been commited. i need to do a pull. the files i am editing are not being modified by this pull. how can i do a pull without having unstage my changes.18:49
doener carpet_the_walls: or: he wants the extra bit of safety from using stash instead of "checkout -m"18:49
hakr joined18:49
doener carpet_the_walls: using "checkout -m" (like stash/stash apply) can lead to conflicts. But with "checkout -m", if you mess up, misresolve and run "git add <path>" you're out of luck. With the stash, you can just do "git reset --hard && git stash apply" again18:50
ia left18:50
doener carpet_the_walls: but as Aristotle didn't give any rationale for using stash, I guess he simply doesn't know about the -m flag18:50
carpet_the_walls doener: ok, thanks for all the help :-)18:50
ia joined18:52
qhoxie left18:54
Alex_S joined18:55
vdidel_ joined18:55
GustavoRamos warning: LF will be replaced to CRLF in { ... }18:55
dreiss joined18:55
GustavoRamos anyone knows what error this is?18:55
^18:55
doener that's not an error, but a warning18:55
qhoxie joined18:55
GustavoRamos doener: but what it means?18:55
do u know?18:55
doener you have core.autocrlf enabled, and there's a file with crlf line endings that you're trying to put into the repo, so git converts it to lf line endings18:56
GustavoRamos cool18:56
kyron left18:57
drizzd unfortunately, git-gui interprets this as an error :-(18:57
GustavoRamos drizzd: i'm not using the gui18:57
i'm using the cli18:57
drizzd yeah, I'm just saying18:57
Alagar joined18:58
Alex_S left18:58
justin-george joined18:59
vinse joined18:59
imajes joined18:59
bugfux joined19:00
mastro left19:00
dropandhop left19:00
Alagar left19:00
krawek left19:00
Alagar joined19:00
krawek joined19:01
mrbob009 left19:01
drizzd_ left19:03
sergiodj left19:06
qhoxie_ left19:06
sergiodj joined19:06
viiitor joined19:06
aresnick left19:07
viiitor Hello! Is there any way to shrink .git folder size? My repository has around 1mb of files, and .git has 33mb :O19:07
tstclair joined19:07
qhoxie_ joined19:07
wereHamster viiitor: run git gc19:09
roop left19:10
neoeinstein left19:10
vbgunz left19:11
urbanmonk joined19:11
Tk_L left19:11
davedev left19:12
neoeinstein joined19:12
priidu left19:12
damog left19:12
damog joined19:12
Alagar left19:13
reprore joined19:15
khmarbaise left19:15
JackWinter joined19:16
hipe git 101: hello i have a bunch of files with a bunch of changes, but right now i just want to commit one to history, because i am about to change it. I assume I do "git add filename.txt" , then how do i commit just this one changed file ?19:16
Arrowmaster viiitor: git repack -adf —-window=25019:16
kensei joined19:16
Arrowmaster hipe: git commit19:17
qhoxie left19:17
javatexan left19:17
hipe Arrowmaster: ah yes. now when i say 'git status' the three categories (and colors!) i see are starting to make sense. thanks!19:17
Arrowmaster hipe: look at git status, it will tell you exactly which files are going to be commited when you run git commit19:17
Alagar joined19:18
Arrowmaster hipe: this is why 'git commit -a' is not the default, its very useful19:18
Cromulent joined19:19
hipe awesome!19:19
cubuanic joined19:19
tekky left19:20
qhoxie joined19:21
Sigma joined19:22
maattd left19:23
kpreid_ left19:24
aisipos joined19:25
kensei left19:25
hipe_ joined19:26
hipe left19:26
tekky joined19:26
bauruine joined19:26
kpreid_ joined19:26
Adlai just used git-bisect to find one buggy commit out of 77 commits19:27
viiitor Arrowmaster: git repack -adf —-window=250 didn't changed anything...19:27
I mean, it changed something, but I still have 33mb in my .git19:27
Adlai took under 5 minutes :D19:27
Travis-42 is it possible to set the message for the next commit, without committing?19:27
Arrowmaster viiitor: then youve really got 33mb of changes commited19:27
wereHamster viiitor: did you use rebase to remove files from the history?19:27
viiitor wereHamster: Nope19:28
wereHamster viiitor: what about git gc --aggressive --prune=now19:28
keystr0k left19:28
tekky left19:29
Twisted_Mentat joined19:29
viiitor wereHamster: *trying*19:30
wereHamster: No changes... Maybe someone commited some crap into the repository, a long time ago...19:31
Is there any way to check it (and remove?)19:31
wereHamster viiitor: there are scripts that search the history for big files.19:31
qhoxie_ left19:32
keystr0k joined19:32
viiitor wereHamster: Is there any that you can recommend me?19:32
jMCg joined19:32
keystr0k left19:32
jMCg Hello happy people.19:32
wereHamster I'd go with the first one that google finds :)19:32
Ilari ...19:32
Cromulent left19:33
viiitor Ok19:34
wereHamster: Thanks :) I'll search19:34
hyperair left19:34
stamina left19:35
qhoxie_ joined19:35
imajes left19:35
jMCg I'm tring to setup a git repo over HTTP(S) -- I've created it from git svn init https://roscm.esotericsystems.at/svn/dws && git svn fetch && git init --bare -- but I'm having trouble cloning it remotely.19:35
wereHamster trouble == ?19:36
hyperair joined19:36
viiitor left19:37
Ilari jMCg: Are you trying to run git init --bare inside git repository working tree???19:37
jMCg error: while accessing https://SVN_SYNC@roscm.esotericsystems.at/git/dws.git/info/refs19:37
Ilari: no. On the server in the master repo.19:38
Ilari jMCg: Don't use http:// with git.19:38
jMCg: Use git:// or ssh:// instead.19:38
jMCg Cannot do that for a number of reasons.19:38
stamina joined19:39
Ilari jMCg: Well, maybe it needs git update-server-info19:40
jMCg Ah, maybe I should've said that I've done that, and that the effect was uh.. nothing... damn, I'm slow.19:40
tweakt joined19:41
bambule joined19:41
tweakt I created a local branch (git checkout -b mybranch) but I didn't specifiy -track, how can I fix this so git pull works on my local branch (pull from remote and merge in one step) ?19:42
hyperair left19:42
khmarbaise joined19:42
MrUnleaded so i made a graph and tried to run git filter-branch graphid..HEAD and it says that the refs were unchanged19:42
hyperair joined19:42
parasti left19:43
fr|fr19:44
wereHamster MrUnleaded: you made a graph? What's a graph?19:44
qhoxie left19:45
Geralt joined19:45
MacGyverNL_ joined19:46
tfarina_ joined19:46
SRabbelier left19:46
SRabbelier1 joined19:46
|Rolenun| joined19:46
SRabbelier1 left19:48
hyperair left19:48
sergiodj left19:48
lamont left19:48
mattweg left19:48
Stravy left19:48
mbernstein left19:48
kukks left19:48
DavidKlein left19:48
tfarina left19:48
jfkw left19:48
Paraselene_ left19:48
botanicus left19:48
ciaran left19:48
jMCg left19:48
MacGyverNL left19:48
tjafk left19:48
rphillips left19:48
Rolenun left19:48
gernot left19:48
tarbo left19:48
ramus` left19:48
ivan left19:48
lfranchi left19:48
ashH left19:48
dominikh left19:48
Keith-VB01 left19:48
lfranchi joined19:48
SRabbelier joined19:48
sergiodj joined19:49
MrUnleaded wereHamster: .git/info/graphs19:49
err .git/info/grafts19:49
wereHamster ah, grafts ..19:49
jmd joined19:49
kpreid_ left19:49
kpreid__ joined19:49
hyperair joined19:50
ramus` joined19:50
MrUnleaded when i push the branch to another repo and try to check out from that repo it gives some errrors19:50
wereHamster I think if you want to have grafts applied: filder-branch --all --tag-filter cat19:50
ashH joined19:50
rphillips joined19:50
mbernstein joined19:50
ciaran joined19:51
jMCg joined19:51
lamont joined19:51
mattweg joined19:51
Stravy joined19:51
kukks joined19:51
DavidKlein joined19:51
tfarina joined19:51
jfkw joined19:51
Paraselene_ joined19:51
botanicus joined19:51
MacGyverNL joined19:51
tjafk joined19:51
Rolenun joined19:51
gernot joined19:51
dominikh joined19:51
ivan joined19:51
dominikh_ joined19:52
tarbo joined19:52
greboides left19:52
jMCg left19:52
MrUnleaded alright i can try it19:52
ivan left19:52
dominikh left19:52
gernot left19:53
qhoxie joined19:53
JackWinter left19:53
tvw left19:53
bantic left19:53
bigmack83 left19:53
patmaddox left19:53
MrGando left19:53
loincloth left19:53
hugoxrosa left19:53
babilen left19:53
tetha left19:53
sdboyer left19:53
breitz left19:53
fualo left19:53
ianmcorvidae left19:53
tmz left19:53
s4msung left19:53
d-snp left19:53
squentin left19:53
KeeperOfTheSoul left19:53
Mpenz left19:53
Teo` left19:53
LoRe left19:53
BearPerson left19:53
gionn left19:53
jakob left19:53
Ilari left19:53
macbar left19:53
lucs left19:53
bs left19:53
torben left19:53
pilif|away left19:53
StarkD left19:53
jjuran left19:53
mikkom_ left19:53
Woody2143 left19:53
unixtippse left19:53
Stravy left19:53
MacGyverNL left19:53
ivan joined19:54
smotchkkiss left19:54
lucs joined19:54
tbf left19:54
Stravy joined19:54
aptituz joined19:55
jakob joined19:55
keystr0k joined19:55
juan_arandaalva1 joined19:56
bauruine left19:56
Alagar left19:56
damog left19:56
justin-george left19:56
brizly left19:56
lhz left19:56
hummingkid left19:56
LiamH left19:56
jepler left19:56
mbroeker left19:56
broquaint left19:56
capndiesel left19:56
tic left19:56
anno^da left19:56
erlehmann left19:56
jlilly left19:56
hakunin left19:56
halfline left19:56
rfay left19:56
Haarg left19:56
henr_k left19:56
Psi-Jack left19:56
pcgod left19:56
zomg left19:56
aptituz_ left19:56
cantoma left19:56
kampasky_ left19:56
kusma left19:56
corecode left19:56
Cesario left19:56
DrNick left19:56
TheUni left19:56
TheUni joined19:56
jMCg joined19:57
stepnem left19:57
Alagar joined19:57
stepnem joined19:57
gernot joined19:57
ianmcorvidae joined19:58
Psi-Jack joined19:58
eagleeye joined19:58
broquaint joined19:58
tic joined19:58
henr_k joined19:59
pcgod joined19:59
eagleeyezomg19:59
jepler joined19:59
kampasky joined19:59
Alagar left19:59
Alagar joined19:59
Evaraj joined20:00
AAA_awright_ joined20:00
DrNick joined20:01
mstormo left20:01
krunk- left20:01
David-T left20:01
David-T joined20:02
fcuk112_ left20:02
krunk- joined20:02
nano- left20:02
fcuk112_ joined20:02
nano- joined20:02
mstormo joined20:02
rfay joined20:02
stuffcorpse left20:02
Strogg left20:02
stuffcorpse joined20:03
qhoxie_ left20:03
v0n left20:04
vdidel_ left20:04
Strogg joined20:04
fcuk112 left20:04
MrUnleaded can anyone explain how to fix this https://gist.github.com/f60037ebe2aa5f95701d i added a graft then pushed and now no one can fetch from the repo20:05
Rolenun left20:05
tfarina left20:05
juan_arandaalva2 joined20:05
DavidKlein left20:05
vinse left20:05
Keith-VB02 joined20:06
pedrobearr joined20:08
juan_arandaalvar left20:09
pedrobearr left20:10
juan_arandaalva1 left20:10
qhoxie_ joined20:10
kpreid__ left20:12
aresnick joined20:12
stamina left20:13
Geralt left20:14
Sonderblade_ left20:16
Paraselene_ left20:16
krynnotaur joined20:18
__ed left20:18
Alagar left20:19
__ed joined20:19
GMFlash joined20:19
qhoxie left20:19
neoeinstein left20:21
neoeinstein joined20:22
juan_arandaalva2 left20:22
capndiesel joined20:23
Paraselene_ joined20:24
jrmuizel joined20:24
damog joined20:24
sgh joined20:24
JackWinter joined20:24
bantic joined20:24
bigmack83 joined20:24
patmaddox joined20:24
MrGando joined20:24
loincloth joined20:24
hugoxrosa joined20:24
babilen joined20:24
tetha joined20:24
StarkD joined20:24
sdboyer joined20:24
breitz joined20:24
fualo joined20:24
tmz joined20:24
s4msung joined20:24
d-snp joined20:24
squentin joined20:24
KeeperOfTheSoul joined20:24
Mpenz joined20:24
Teo` joined20:24
LoRe joined20:24
BearPerson joined20:24
gionn joined20:24
Ilari joined20:24
macbar joined20:24
bs joined20:24
pilif|away joined20:24
mikkom_ joined20:24
torben joined20:24
unixtippse joined20:24
Woody2143 joined20:24
Alagar joined20:24
juan_arandaalvar joined20:24
qhoxie joined20:24
Evaraj left20:24
__ed left20:25
__ed joined20:25
archis joined20:27
jrmuizel left20:27
archis left20:28
kpreid_ joined20:28
AAA_awright left20:29
juan_arandaalva1 joined20:30
aresnick left20:30
babilen left20:31
__ed left20:31
ia left20:31
__ed joined20:31
rudi_s left20:32
spearce joined20:32
ia joined20:32
sgh left20:33
becomingGuru joined20:33
ph^ left20:34
ph^ joined20:34
qhoxie_ left20:34
juan_arandaalvar left20:35
dominikh_dominikh20:36
__ed left20:37
__ed joined20:38
WebDragon left20:40
JakeSays left20:40
paltman left20:40
bcardarella left20:41
JakeSays joined20:41
segher left20:42
cbreak|evil joined20:42
khmarbaise left20:44
qhoxie_ joined20:45
juan_arandaalvar joined20:45
dirk2 left20:45
tjafk left20:46
tjafk joined20:46
wereHamster MrUnleaded: looks like repository corruption. Can you run git fsck --full in the remote repo?20:47
MrUnleaded wereHamster: it is on github it did this after i pushed the graft20:47
WebDragon joined20:48
tstclair left20:49
univate left20:50
tstclair joined20:50
ia left20:50
GustavoRamos left20:51
GustavoRamos joined20:52
wereHamster MrUnleaded: in that case, try to contact github support20:52
btw, does a clean clone work?20:52
ia joined20:52
jmd wereHamster, The same way as a dirty one, except more water.20:52
WebDragon left20:53
cbreak|evil left20:53
__ed left20:53
jpieper left20:53
MrUnleaded left20:53
bambule left20:53
haider left20:53
vital left20:53
Ingmar left20:53
Arafangion left20:53
SquidMan left20:53
jdahm left20:53
kupsch left20:53
spacebat left20:53
docgnome left20:53
s0ber_ left20:53
Tjh_ left20:53
cworth left20:53
shabble left20:53
sneakret_ left20:53
jnl left20:53
sbob left20:53
awx left20:53
\\Steve left20:53
ArjenL left20:53
dotemacs left20:53
runasand left20:53
dkr21 left20:53
drfree left20:53
rotty left20:53
thijso left20:53
k-man left20:53
phako left20:53
samjam left20:53
nomadium left20:53
hegge left20:53
com4 left20:53
PerlJam left20:53
_rane left20:53
pmcnabb_ left20:53
jhelwig left20:53
KiBi left20:53
teknotus left20:53
pigeon left20:53
kmap left20:53
Ratler left20:53
madmoose left20:53
daed left20:53
markuspalmanto left20:53
kelvie left20:53
jgoulah left20:53
blazer left20:53
majoh left20:53
Fatal left20:53
jrockway left20:53
redondos left20:53
optixx left20:53
kom_ left20:53
Thumper_ left20:53
Will|work left20:53
broonie left20:53
chty left20:53
Derander left20:53
doki_pen left20:53
IRSeekBot left20:53
radii left20:53
gdsx left20:53
siraj left20:53
aef left20:53
reaVer left20:53
ahf left20:53
imarcusthis left20:53
JamesA left20:53
SethX left20:53
vmiklos left20:53
drizzd left20:53
kW_ left20:53
VVSiz left20:53
malumalu left20:53
Soliton left20:53
unreal left20:53
tg left20:53
laj left20:53
felipe left20:53
ius left20:53
LotR left20:53
teukka left20:53
siprbaum left20:53
vesech_ left20:53
pcc1 left20:53
inclement left20:53
bartman left20:53
fdv left20:53
dsop left20:53
wanders left20:53
karihre left20:53
exg left20:53
RurouniJones left20:53
binjured left20:53
EgS left20:53
emias left20:53
erg left20:53
cYmen left20:53
maxb left20:53
metze left20:53
helmut left20:53
straszheim left20:53
alus left20:53
rektide left20:53
dbatbold left20:53
alip left20:53
bburhans left20:53
jspiros left20:53
madduck left20:53
impulze left20:53
bob2 left20:53
juan_arandaalvar left20:53
qhoxie_ left20:53
qhoxie left20:53
Alagar left20:53
krynnotaur left20:53
jepler left20:53
ianmcorvidae left20:53
stepnem left20:53
ramus` left20:53
hyperair left20:53
Twisted_Mentat left20:53
jstemmer left20:53
flaguy48 left20:53
Mezner left20:53
gbacon left20:53
Ryback_ left20:53
solofight left20:53
tho left20:53
murr4y left20:53
merlin83 left20:53
chrizz left20:53
amirite left20:53
thiago left20:53
ludde left20:53
Wolfman2000 left20:53
gambler left20:53
crab left20:53
selckin left20:53
me22 left20:53
xenoterracide left20:53
jkp left20:53
vkroll left20:53
dirker left20:53
da5id left20:53
Xaositec1 left20:53
nick_h left20:53
jujule2 left20:53
milli left20:53
ekontsevoy left20:53
murbank left20:53
Solefald left20:53
shd left20:53
silas left20:53
josh^^_ left20:53
jettero left20:53
ayaka_t left20:53
stick left20:53
hansent|away left20:53
osfameron left20:53
yatiohi left20:53
charon left20:53
_ikke_ left20:53
Jonas__ left20:53
andres left20:53
joeytwiddle left20:53
sieni left20:53
tmm1 left20:53
Rhonda left20:53
tychoish left20:53
Husio left20:53
bnovc left20:53
El_Angelo left20:53
MrMagic left20:53
jjore_ left20:53
joevano left20:53
prs left20:53
Grum left20:53
snuxoll left20:53
dmlloyd left20:53
pom left20:53
uau left20:53
Gitbot left20:53
ruphy left20:53
Leonidas left20:53
jarh left20:53
[i]chuck left20:53
rtyler left20:53
scrooloose left20:53
spb left20:53
juan_arandaalva1 left20:53
Keith-VB02 left20:54
Ilari MrUnleaded: Pushed graft? Bad thing...20:54
MrUnleaded: Because they don't push.20:54
wereHamster: Netsplitted.20:54
univate joined20:54
neoeinstein left20:56
gdrage joined20:57
neoeinstein joined20:57
aisipos left20:57
Keith-VB03 joined20:57
agib left20:57
cbreak left20:57
WebDragon joined20:57
juan_arandaalvar joined20:57
qhoxie_ joined20:57
cbreak joined20:57
__ed joined20:57
qhoxie joined20:57
Alagar joined20:57
krynnotaur joined20:57
jepler joined20:57
ianmcorvidae joined20:57
stepnem joined20:57
ramus` joined20:57
hyperair joined20:57
bambule joined20:57
Twisted_Mentat joined20:57
drizzd joined20:57
kW_ joined20:57
amirite joined20:57
jstemmer joined20:57
MrUnleaded joined20:57
flaguy48 joined20:57
Mezner joined20:57
VVSiz joined20:57
gbacon joined20:57
malumalu joined20:57
jpieper joined20:57
Soliton joined20:57
jspiros joined20:57
Ryback_ joined20:57
vital joined20:57
solofight joined20:57
Ingmar joined20:57
tho joined20:57
murr4y joined20:57
Tjh_ joined20:57
unreal joined20:57
k-man joined20:57
merlin83 joined20:57
chrizz joined20:57
tg joined20:57
SethX joined20:57
thiago joined20:57
Arafangion joined20:57
laj joined20:57
phako joined20:57
SquidMan joined20:57
ludde joined20:57
Wolfman2000 joined20:57
gambler joined20:57
jdahm joined20:57
kupsch joined20:57
crab joined20:57
selckin joined20:57
spacebat joined20:57
docgnome joined20:57
felipe joined20:57
me22 joined20:57
xenoterracide joined20:57
ius joined20:57
s0ber_ joined20:57
LotR joined20:57
cworth joined20:57
shabble joined20:57
jkp joined20:57
sneakret_ joined20:57
PerlJam joined20:57
doki_pen joined20:57
drfree joined20:57
jnl joined20:57
madmoose joined20:57
Ratler joined20:57
kmap joined20:57
sbob joined20:57
teknotus joined20:57
rotty joined20:57
thijso joined20:57
awx joined20:57
_rane joined20:57
Fatal joined20:57
dkr21 joined20:57
chty joined20:57
broonie joined20:57
blazer joined20:57
markuspalmanto joined20:57
samjam joined20:57
optixx joined20:57
IRSeekBot joined20:57
kelvie joined20:57
siraj joined20:57
Will|work joined20:57
radii joined20:57
KiBi joined20:57
pmcnabb_ joined20:57
redondos joined20:57
jhelwig joined20:57
majoh joined20:57
gdsx joined20:57
jgoulah joined20:57
reaVer joined20:57
daed joined20:57
com4 joined20:57
jrockway joined20:57
imarcusthis joined20:57
nomadium joined20:57
ahf joined20:57
kom_ joined20:57
pigeon joined20:57
runasand joined20:57
Thumper_ joined20:57
\\Steve joined20:57
Derander joined20:57
aef joined20:57
haider joined20:57
ArjenL joined20:57
hegge joined20:57
JamesA joined20:57
dotemacs joined20:57
vmiklos joined20:57
pcc1 joined20:57
emias joined20:57
bburhans joined20:57
siprbaum joined20:57
wanders joined20:57
helmut joined20:57
vesech_ joined20:57
dsop joined20:57
bartman joined20:57
binjured joined20:57
inclement joined20:57
rektide joined20:57
erg joined20:57
alus joined20:57
dbatbold joined20:57
cYmen joined20:57
fdv joined20:57
maxb joined20:57
karihre joined20:57
RurouniJones joined20:57
alip joined20:57
straszheim joined20:57
teukka joined20:57
exg joined20:57
metze joined20:57
EgS joined20:57
spb joined20:57
scrooloose joined20:57
rtyler joined20:57
yatiohi joined20:57
madduck joined20:57
silas joined20:57
Jonas__ joined20:57
Xaositec1 joined20:57
El_Angelo joined20:57
Leonidas joined20:57
ruphy joined20:57
MrMagic joined20:57
sieni joined20:57
Solefald joined20:57
josh^^_ joined20:57
Gitbot joined20:57
joevano joined20:57
jjore_ joined20:57
snuxoll joined20:57
uau joined20:57
jarh joined20:57
Rhonda joined20:57
_ikke_ joined20:57
nick_h joined20:57
shd joined20:57
dmlloyd joined20:57
ekontsevoy joined20:57
Husio joined20:57
murbank joined20:57
joeytwiddle joined20:57
pom joined20:57
bob2 joined20:57
da5id joined20:57
jujule2 joined20:57
tmm1 joined20:57
prs joined20:57
andres joined20:57
[i]chuck joined20:57
Grum joined20:57
ayaka_t joined20:57
bnovc joined20:57
milli joined20:57
impulze joined20:57
hansent|away joined20:57
stick joined20:57
osfameron joined20:57
dirker joined20:57
tychoish joined20:57
charon joined20:57
vkroll joined20:57
jettero joined20:57
zuez left20:57
Keith-VB03 left20:58
solofight left20:58
benjo2 joined20:58
qhoxie left20:58
qhoxie_qhoxie20:58
aisipos joined20:58
zuez joined20:58
agib joined20:58
GustavoRamos any pretty git frontside like on github.com?20:58
cbreak left20:59
cbreak|evil joined20:59
mattweg_ joined20:59
Ilari GustavoRamos: Gitweb is the standard one, but not pretty...20:59
GustavoRamos Ilari: i meant functional P21:00
:P*21:00
juan_arandaalva1 joined21:01
vinse joined21:01
warlock_mza left21:01
jaalto joined21:01
mattweg left21:01
mattweg_mattweg21:02
jaalto I want to test if pull succeeds from REMOTE in temporary branch. How Do I do that?21:02
PerlJam jaalto: that doesn't quite make enough sense to me. You want to make a temp branch and merge one of the branches from REMOTE?21:03
WebDragon|away joined21:04
jaalto PerlJam: The "origin" points to remote. I want to test if pulling from origin::master is safe (succeeds), in a temporary branch before I try to pull is in local "master"21:04
PerlJam "pulling in a branch" is that part that doesn't make sense.21:05
pull == fetch + merge. fetch just gets all of the commits in the repo that need getting (for all branches)21:05
jaalto PerlJam: That is I wan to to test the effect of "git pull" in a temporary branch that is copy of current local "master"21:05
PerlJam Sounds like you want to fetch remote master and merge to a local branch.21:06
jaalto PerlJam: "git fetch origin ; git branch test master ; <what after that>?"21:06
qhoxie_ joined21:07
pigdude joined21:07
smotchkkiss joined21:07
montylounge joined21:09
Ilari jaalto: What about local uncommitted changes?21:10
WebDragon left21:10
jmd left21:11
GustavoRamosGustavoR|aweh21:11
cbreak joined21:11
becomingGuru left21:11
Bryson left21:12
Bryson_ joined21:12
Bryson_Bryson21:12
tstclair left21:14
pigdude left21:14
bry_ joined21:15
xanonus joined21:15
yhager joined21:15
qhoxie left21:16
qhoxie_qhoxie21:16
Elmaron joined21:17
Elmaron error: pathspec '' did not match any file(s) known to git.21:18
hum. o.O21:18
Grum but no-one knows what you did!21:18
juan_arandaalvar left21:18
Elmaron what I did: cp'ed another bare repo into .git inside the directory where the original files reside (so it would be non-bare)21:18
then I edited config to be bare = false and planned to do a git checkout to reattach it to the original files that are obviously available again.21:18
and now it hates me :<21:19
I don't really have an idea what that means actually. I'm also not sure if what I tried is supposed to work21:19
would be nice if it did though :|21:19
capndiesel left21:19
Elmaron so that error happened when I typed "git checkout ./" inside the directory with the original files where the bare repo made non-bare resides in the .git sub folder21:20
thiago_home joined21:20
Elmaron or which I want to make non-bare21:20
hi thiago_home21:20
kpreid_ left21:20
Bryson_ joined21:21
kpreid_ joined21:21
montylounge left21:22
juan_arandaalvar joined21:22
tstclair joined21:22
WinterWeaver joined21:22
drubies joined21:23
kennethlove joined21:23
patmaddox left21:24
kennethlove left21:24
kennethlove joined21:24
methanol left21:25
erlehmann joined21:25
jkp_ joined21:26
cbreak|evil left21:26
juan_arandaalva1 left21:28
qzio left21:29
erlehmann left21:29
univate left21:29
gdrage left21:29
dominikh left21:29
kukks left21:29
jfkw left21:29
botanicus left21:29
lamont left21:29
karptonite joined21:29
fcuk112 joined21:29
yhager_ left21:30
b0fh_ua joined21:30
rudi_s joined21:31
corecode joined21:31
dominikh joined21:31
b0fh_ua Hi all! I have used rsync to copy my working tree and .git from host A to host B. Host B contained very old version of the project, and now I have a lot of old (untracked) files in the working tree.21:31
jfkw joined21:32
qhoxie_ joined21:32
b0fh_ua git reset --hard doesn't help21:32
what else I could try to get the clean project from git? remove entire files and do "git checkout" ?21:32
yhager left21:33
smotchkkiss left21:33
JakeSays left21:33
spearce left21:33
Mpenz left21:33
fualo left21:33
bs left21:33
torben left21:33
pilif|away left21:33
StarkD left21:33
tetha left21:33
bigmack83 left21:33
mikkom_ left21:33
Woody2143 left21:33
LoRe left21:33
MrGando left21:33
unixtippse left21:33
d-snp left21:33
squentin left21:33
breitz left21:33
macbar left21:33
damog left21:33
KeeperOfTheSoul left21:33
loincloth left21:33
bantic left21:33
tmz left21:33
Ilari left21:33
Teo` left21:33
gionn left21:33
JackWinter left21:33
s4msung left21:33
BearPerson left21:33
hugoxrosa left21:33
sdboyer left21:33
Paraselene_ left21:33
Grum git clean :p21:33
cbreak left21:33
johnny joined21:33
pavelz_ joined21:34
tetha joined21:34
botanicus_ joined21:35
erlehmann joined21:35
gdrage joined21:35
univate joined21:35
lamont joined21:35
kukks joined21:35
botanicus joined21:35
sdboyer joined21:35
pavelz_ hi .. small question, is there a way to push everything from one repository, to another one?21:35
Elmaron is git checkout supposed to modify files?21:35
juan_arandaalva1 joined21:35
Fissure yes21:35
fcuk112 left21:35
Elmaron why?21:35
JackWinter joined21:36
yhager joined21:36
KeeperOfTheSoul joined21:36
mbernstein it changes your working directory21:36
it doesn't actually modify files21:36
Fissure because if it didn't it wouldn't be very useful21:36
b0fh_ua Grum: excellent, thanks a lot!21:36
pavelz_ i have 2 repos on on the server, and one on the laptop i want to pushbutton copy sync all commits to the server from 6 branches21:36
unixtippse joined21:36
StarkD joined21:36
s4msung joined21:36
Elmaron mbernstein: it did21:36
Mpenz joined21:37
Elmaron mbernstein: I also thought it would do that21:37
d-snp joined21:37
Ilari joined21:37
Elmaron but it just downgraded me to the files inside the repo, trashing some days of work21:37
lamont` joined21:37
LoRe joined21:37
bs joined21:37
Teo` joined21:37
lamont left21:37
Elmaron at least I think it was that checkout command21:37
mbernstein if you had a file, it was already modified ... unless you stash or commit, changes to a branch you're in move to the branch you checkout21:37
mikkom_ joined21:37
b0fh_ua another question - if I do have the git repository and the team being committing to the repository, I need to "push" the changes to SVN at the end of the day. How can I make sure each comit to SVN will be done from corresponding user (all members of team have SVN accounts as well)21:37
mbernstein since they aren't comitted, which is one of the cooler features of git xD21:37
b0fh_ua can git svn serve this?21:37
Bryson left21:38
Bryson_Bryson21:38
toxx joined21:38
torben joined21:38
pavelz_ so many cool features so confusing. changesets though are awesome21:38
damog joined21:38
Elmaron mbernstein: you have to explain that again :/21:38
Fissure b0fh_ua: don't think so21:38
krynnota_ joined21:38
krynnota_ left21:38
damog left21:38
kukks left21:38
gdrage left21:38
botanicus left21:38
erlehmann left21:38
univate left21:38
botanicus_botanicus21:38
mbernstein Elmaron: okay, let's say you're orking in branch feature121:38
Fissure Elmaron: did you use checkout with a branch name or a path? the command name is overloaded21:38
mbernstein you edit a file called test. then you say, oh, this is more of a different feature, let's branch and make feature2.21:38
Fissure (one of git's design warts, imho)21:38
jkp left21:39
mbernstein the change you made to the file test wasn't comitted to feature1 - instead, it now is a modified file in feature221:39
damog joined21:39
erlehmann joined21:39
gdrage joined21:39
univate joined21:39
kukks joined21:39
kpreid_ left21:39
WebDragon|awayWebDragon21:39
kpreid_ joined21:40
Elmaron Fissure: I tried to get the git repo deal again with my local files21:40
drry joined21:40
Elmaron I read that I need to checkout for this. so I tried "git checkout ./" first21:40
it came up with that wicked pathspec error21:40
then I tried "git checkout -f master". now the repo works, but seems like it thought it had to spit out those out files onto my hard disk21:40
probably that's intended behaviour but I'm just a bloody noob21:41
keystr0k left21:41
Elmaron is there a ask before modifying any file on hard disk mode?21:41
I could really need this >.>21:41
Fissure you mean the "don't use the -f switch" mode?21:41
Paraselene_ joined21:41
Elmaron Fissure: the thing is21:41
I get a lot of error messages I do not even understand slightly21:41
all I wanted is to copy back a public repo as I accidentially wiped my local one21:41
Fissure so... clone it?21:42
Elmaron and at some point you just get a bit annoyed and try some things just to get it work21:42
smotchkkiss joined21:42
Elmaron Fissure: I don't know what cloning exactly does in difference to cp, so I thought a cp and then making it non-bare should work aswell.21:42
probably it does but I'm to noobish to do it without losing data21:42
Dashkal joined21:42
Mpenz left21:42
MrGando joined21:43
Elmaron anyway, I also lost data already without using the -f switch >.>21:43
Grum what data?21:43
Elmaron I should probably put access rights that way that git just cannot modify a single file except its darn repo so it will stay away from my files21:43
Fissure well yes, cp + making non-bare will work, but why do things the hard way?21:43
Elmaron Grum: real hard disk data outside the repo I was committing from and which git is supposed to safe by keeping older revisions etc21:43
loincloth joined21:43
loincloth left21:43
loincloth joined21:44
Grum git does keep all revisions indeed21:44
Elmaron Fissure: because I'm curious. but git makes me lose real data a lot faster than I'm expecting21:44
yea21:44
bantic joined21:44
Grum it doesnt make you loose any data?21:44
Elmaron but there are some cases where it will trash your data21:44
Grum no?21:44
Elmaron yes?21:44
only if you use it wrong ofc21:44
but I can't help it, I'm just doing that sometimes21:44
fualo joined21:44
Fissure if you _tell_ git "please overwrite my files with the current version from the repo", it will21:44
Elmaron what I'm saying is just that it seems too easy to me to lose data without that being obvious21:44
Grum not unless you fuck something up21:44
then you cant whine. make backups21:44
Fissure because it assumes you know what you're doing21:44
Grum erm21:44
it tells you, cannto checkout, cannot merge, cannot whatever21:45
Elmaron Grum: git is supposed to be my backup >.>21:45
yea21:45
Grum right ... so you dont backup your git .. smart move :D21:45
Elmaron well21:45
macbar joined21:45
Elmaron there's a reason to that:21:45
montylounge joined21:45
Elmaron the git is publicly on a server, I could just wipe it off if I broke it, redownload and retry (which I already did)21:45
paltman joined21:45
Elmaron I just didn't expect it to touch my actual hard disk files >.>21:45
and now it did. stupid thing :<21:45
Grum erm you did a what?21:46
checkout, clone ?21:46
clone doesnt work fi the dir is there, checkout says if it will throw away files and then refuses21:46
reset .. well .. erm .. brains?21:46
Fissure checkout -f master, he said above21:46
Elmaron Grum: that's what I dislike about you git folks... you think everything's obvious about git but it isn't21:46
erlehmann left21:47
johnny i'm new to git.. but i found the way it works quite pleasing..21:47
i'm glad checkout works the way it does .. :)21:47
Elmaron I also do21:47
paltman left21:47
ia left21:48
Fissure well if you get an error message, don't understand it, and go ahead with the operation anyway, you can't expect it to hold your hand and figure out what you actually meant21:48
Grum pebcak :(21:48
qhoxie left21:48
qhoxie_qhoxie21:48
Elmaron when I'm not doing something less obvious (e.g. copying a repo, pushing/pulling) and break things21:48
and it never really happened to me that I lost repo data21:48
but it happened twice already that I lost real hdd data21:48
and that's really ugly imho :|21:48
johnny read the docs first?21:49
Elmaron Fissure: this is right21:49
krawek left21:49
krawek_ joined21:49
Elmaron Fissure: still, you just don't expect it to mess around with your hdd files when you're not using "rm" or something21:49
ia joined21:49
Elmaron (although I didn't even expect it to do that when I used that cmd earlier on as I expected it just to delete inside the repo)21:49
johnny: good intention but they are long and I'm not getting everything... I'm always taking a look at the man page before21:49
bbeecher` joined21:50
krynnota_ joined21:50
Elmaron but as git is supposed to store older revisions and as I had a copy of the git repo I thought I'd just try21:50
pavelz_ git is awesome!21:50
krynnota_ left21:50
torben left21:50
bs left21:50
yhager left21:50
WinterWeaver left21:50
mattweg left21:50
agib left21:50
__ed left21:50
jpieper left21:50
MrUnleaded left21:50
bambule left21:50
haider left21:50
dotemacs left21:50
ArjenL left21:50
jnl left21:50
Arafangion left21:50
Tjh_ left21:50
kupsch left21:50
runasand left21:50
dkr21 left21:50
k-man left21:50
thijso left21:50
com4 left21:50
_rane left21:50
sbob left21:50
majoh left21:50
hegge left21:50
madmoose left21:50
sneakret_ left21:50
jrockway left21:50
nomadium left21:50
drfree left21:50
phako left21:50
samjam left21:50
pmcnabb_ left21:50
daed left21:50
kelvie left21:50
Thumper_ left21:50
shabble left21:50
redondos left21:50
JamesA left21:50
KiBi left21:50
jgoulah left21:50
broonie left21:50
awx left21:50
pigeon left21:50
\\Steve left21:50
doki_pen left21:50
reaVer left21:50
aef left21:50
gdsx left21:50
radii left21:50
imarcusthis left21:50
kmap left21:50
Derander left21:50
chty left21:50
blazer left21:50
siraj left21:50
markuspalmanto left21:50
kom_ left21:50
IRSeekBot left21:50
vmiklos left21:50
jhelwig left21:50
teknotus left21:50
Will|work left21:50
Fatal left21:50
SquidMan left21:50
rotty left21:50
optixx left21:50
s0ber_ left21:50
Ratler left21:50
vital left21:50
ahf left21:50
SethX left21:50
PerlJam left21:50
spacebat left21:50
jdahm left21:50
cworth left21:50
docgnome left21:50
Ingmar left21:50
unixtippse left21:50
xanonus left21:50
teukka left21:50
siprbaum left21:50
vesech_ left21:50
malumalu left21:50
drizzd left21:50
pcc1 left21:50
inclement left21:50
tg left21:50
ius left21:50
laj left21:50
bartman left21:50
VVSiz left21:50
fdv left21:50
dsop left21:50
wanders left21:50
karihre left21:50
exg left21:50
RurouniJones left21:50
binjured left21:50
EgS left21:50
emias left21:50
erg left21:50
cYmen left21:50
maxb left21:50
metze left21:50
helmut left21:50
straszheim left21:50
rektide left21:50
dbatbold left21:50
alip left21:50
bburhans left21:50
Soliton left21:50
unreal left21:50
kW_ left21:50
LotR left21:50
alus left21:50
felipe left21:50
madduck left21:50
impulze left21:50
bob2 left21:50
jspiros left21:50
krawek_ left21:50
Paraselene_ left21:50
mikkom_ left21:50
Ilari left21:50
StarkD left21:50
botanicus left21:50
qhoxie left21:50
rudi_s left21:50
benjo2 left21:50
vkroll left21:50
dirker left21:50
da5id left21:50
Xaositec1 left21:50
crab left21:50
ludde left21:50
tho left21:50
flaguy48 left21:50
amirite left21:50
nick_h left21:50
jujule2 left21:50
milli left21:50
Twisted_Mentat left21:50
ramus` left21:50
xenoterracide left21:50
Wolfman2000 left21:50
chrizz left21:50
murbank left21:50
ekontsevoy left21:50
Solefald left21:50
shd left21:50
jstemmer left21:50
silas left21:50
josh^^_ left21:50
jettero left21:50
ayaka_t left21:50
murr4y left21:50
stick left21:50
hansent|away left21:50
osfameron left21:50
yatiohi left21:50
charon left21:50
_ikke_ left21:50
Jonas__ left21:50
Leonidas left21:50
andres left21:50
joeytwiddle left21:50
sieni left21:50
tmm1 left21:50
Rhonda left21:50
tychoish left21:50
selckin left21:50
Husio left21:50
bnovc left21:50
El_Angelo left21:50
gambler left21:50
MrMagic left21:50
stepnem left21:50
jjore_ left21:50
joevano left21:50
jepler left21:50
prs left21:50
Grum left21:50
snuxoll left21:50
dmlloyd left21:50
pom left21:50
me22 left21:50
uau left21:50
Gitbot left21:50
ruphy left21:50
jarh left21:50
[i]chuck left21:50
merlin83 left21:50
rtyler left21:50
scrooloose left21:50
spb left21:50
Mezner left21:50
Ryback_ left21:50
thiago left21:50
ianmcorvidae left21:50
hyperair left21:50
Alagar left21:50
gbacon left21:50
krynnotaur left21:50
geeKISSexy joined21:50
shtylman_ joined21:51
pavelz_ rebase sucks though, its a non-feature fix for broken public projects. IMO21:51
juan_arandaalvar left21:51
johnny git does store older revs.. you can even bring back things you forcefully removed.. if you try hard enough..21:51
Teo`` joined21:51
zuez_ joined21:51
hugoxrosa joined21:51
Teo` left21:52
krawek_ joined21:52
brendon_work joined21:52
Paraselene_ joined21:52
torben joined21:52
mikkom_ joined21:52
bs joined21:52
Ilari joined21:52
StarkD joined21:52
unixtippse joined21:52
yhager joined21:52
botanicus joined21:52
qhoxie joined21:52
rudi_s joined21:52
WinterWeaver joined21:52
xanonus joined21:52
mattweg joined21:52
agib joined21:52
benjo2 joined21:52
__ed joined21:52
Alagar joined21:52
krynnotaur joined21:52
jepler joined21:52
ianmcorvidae joined21:52
stepnem joined21:52
ramus` joined21:52
hyperair joined21:52
bambule joined21:52
Twisted_Mentat joined21:52
drizzd joined21:52
kW_ joined21:52
amirite joined21:52
jstemmer joined21:52
MrUnleaded joined21:52
flaguy48 joined21:52
Mezner joined21:52
VVSiz joined21:52
gbacon joined21:52
malumalu joined21:52
jpieper joined21:52
Soliton joined21:52
jspiros joined21:52
Ryback_ joined21:52
vital joined21:52
Ingmar joined21:52
tho joined21:52
murr4y joined21:52
Tjh_ joined21:52
unreal joined21:52
k-man joined21:52
merlin83 joined21:52
chrizz joined21:52
tg joined21:52
SethX joined21:52
thiago joined21:52
Arafangion joined21:52
laj joined21:52
phako joined21:52
SquidMan joined21:52
ludde joined21:52
Wolfman2000 joined21:52
gambler joined21:52
jdahm joined21:52
kupsch joined21:52
crab joined21:52
selckin joined21:52
spacebat joined21:52
docgnome joined21:52
felipe joined21:52
me22 joined21:52
xenoterracide joined21:52
ius joined21:52
s0ber_ joined21:52
LotR joined21:52
cworth joined21:52
shabble joined21:52
jettero joined21:52
vkroll joined21:52
charon joined21:52
tychoish joined21:52
dirker joined21:52
osfameron joined21:52
stick joined21:52
hansent|away joined21:52
impulze joined21:52
milli joined21:52
bnovc joined21:52
ayaka_t joined21:52
Grum joined21:52
[i]chuck joined21:52
andres joined21:52
prs joined21:52
tmm1 joined21:52
jujule2 joined21:52
da5id joined21:52
bob2 joined21:52
pom joined21:52
joeytwiddle joined21:52
murbank joined21:52
Husio joined21:52
ekontsevoy joined21:52
dmlloyd joined21:52
shd joined21:52
nick_h joined21:52
_ikke_ joined21:52
Rhonda joined21:52
jarh joined21:52
uau joined21:52
snuxoll joined21:52
jjore_ joined21:52
joevano joined21:52
Gitbot joined21:52
josh^^_ joined21:52
Solefald joined21:52
sieni joined21:52
MrMagic joined21:52
ruphy joined21:52
Leonidas joined21:52
El_Angelo joined21:52
Xaositec1 joined21:52
Jonas__ joined21:52
silas joined21:52
madduck joined21:52
yatiohi joined21:52
rtyler joined21:52
scrooloose joined21:52
spb joined21:52
EgS joined21:52
metze joined21:52
exg joined21:52
teukka joined21:52
straszheim joined21:52
alip joined21:52
RurouniJones joined21:52
karihre joined21:52
maxb joined21:52
fdv joined21:52
cYmen joined21:52
dbatbold joined21:52
alus joined21:52
erg joined21:52
rektide joined21:52
inclement joined21:52
binjured joined21:52
bartman joined21:52
dsop joined21:52
vesech_ joined21:52
helmut joined21:52
wanders joined21:52
siprbaum joined21:52
bburhans joined21:52
emias joined21:52
pcc1 joined21:52
vmiklos joined21:52
dotemacs joined21:52
JamesA joined21:52
hegge joined21:52
ArjenL joined21:52
haider joined21:52
aef joined21:52
Derander joined21:52
\\Steve joined21:52
Thumper_ joined21:52
runasand joined21:52
pigeon joined21:52
kom_ joined21:52
ahf joined21:52
nomadium joined21:52
imarcusthis joined21:52
jrockway joined21:52
com4 joined21:52
daed joined21:52
reaVer joined21:52
jgoulah joined21:52
gdsx joined21:52
majoh joined21:52
jhelwig joined21:52
redondos joined21:52
pmcnabb_ joined21:52
KiBi joined21:52
radii joined21:52
Will|work joined21:52
siraj joined21:52
kelvie joined21:52
IRSeekBot joined21:52
optixx joined21:52
samjam joined21:52
markuspalmanto joined21:52
blazer joined21:52
broonie joined21:52
chty joined21:52
dkr21 joined21:52
Fatal joined21:52
_rane joined21:52
awx joined21:52
thijso joined21:52
rotty joined21:52
teknotus joined21:52
sbob joined21:52
kmap joined21:52
Ratler joined21:52
madmoose joined21:52
jnl joined21:52
drfree joined21:52
doki_pen joined21:52
PerlJam joined21:52
sneakret_ joined21:52
zuez left21:52
zuez_ left21:52
Woody2143 joined21:52
efftee joined21:53
ft left21:54
fcuk112 joined21:54
elliottcable left21:54
b0fh_ua left21:54
shtylman left21:54
lucsky left21:54
LRN left21:54
Elmaron left21:54
johnny seen people accomplish pretty amazing things with theirr repo data..21:54
altho if you git gc.. you obviously are going to have less problems..21:54
err21:54
you are going to have more problems..21:54
karptonite left21:54
naderman left21:54
patcito left21:54
ntoll left21:54
patcito__ joined21:54
Elmaron joined21:54
Keith-VB06 joined21:54
Grum Elmaron: but seriously, you use -f what do you expect ? it still to tell you now to do it so you have to use -f twice? :)21:54
*not to do it21:54
LRN joined21:54
krynnotaur left21:55
tchan left21:55
krynnota_ joined21:55
lfranchi left21:55
cytrinox left21:55
lfranchi joined21:55
Elmaron Grum: I expect that I can use it without -f and get a better error message/hint what to do and better google results/better IRC answers what I can do to get around without trying the infernal -f switch21:55
mpr left21:55
cytrinox joined21:55
effteeft21:55
Fissure overwriting the work tree is the whole *point* of git checkout21:55
Elmaron: well usually if you want to delete a file in the repo you want to delete it from your work tree too21:55
Elmaron and I expect a versioning system not to overwrite my files, but maybe that's just me21:55
krynnota_krynnotaur21:55
tchan joined21:55
wereHamster left21:55
wereHamster joined21:56
mnt left21:56
Elmaron I get that it might have some use when you're pulling data, but I'm just a publisher and not a puller, so for me that's kinda unneeded..21:56
mpr joined21:56
Psi-Jack left21:56
Psi-Jack joined21:56
jspiros left21:56
jspiros_ joined21:56
ciaranm left21:56
mika left21:56
ciaranm joined21:56
Grum do i have to paste the error message? :D21:56
mika joined21:56
Elmaron which error message?21:56
jkp_ left21:56
jkp joined21:56
ntoll joined21:57
Elmaron error: pathspec '' did not match any file(s) known to git. <= this one?21:57
_Vi joined21:57
Grum error: You have local changes to 'x'; cannot switch branches.21:57
that is the error you get if you have modified local files21:57
_Vi How to get "git://" URI of http://projects.radhuset.org/gitweb/?p=mirrors/zen-stable.git ?21:58
Fissure pavelz_: what? rebase is a great tool21:58
Mpenz joined21:58
Grum Elmaron: that error is just because you are doing stuff with git that shouldnt be done if you have no idea how it works :)21:58
Fissure _Vi: if it's not on the page, it's either not there or you have to guess21:59
thiago_home _Vi: go to the website and read it. It should say what the address is.21:59
doener Elmaron: you asked git to get something from the index. Your repo has no index, so there was no match21:59
_Vi thiago_home, Where it should be there? At the top? Near "description", "owner", "last change"?21:59
Elmaron Grum: what would have been the right approach to solve that error?21:59
so that git commit works again on that repo21:59
Grum why did you get it in the first place?21:59
Fissure Elmaron: i don't think i'd want to use a version control system that couldn't overwrite my files even when i asked it22:00
thiago_home _Vi: below "last change", in the "URL" field22:00
Elmaron Grum: I tried to reattach a bare repo to its hard disk files so it becomes non-bare22:00
Fissure: that's an assumption which I think is odd22:00
Grum Elmaron: erm a bare repo has no files22:00
thiago_home _Vi: like here: http://git.kernel.org/?p=git/git.git;a=summary22:00
Grum so how did you ever get the 'files' into the bare repo?22:00
using GIT_WORK_DIR?22:01
Elmaron Grum: I cloned a non-bare repo into a bare one22:01
doener Grum: he has a directory with files that could act as a working tree, and wants to turn that into a repo22:01
Elmaron *wanted22:01
_Vi thiago_home, There's no "URL" field. And in the page source there only few unusable "git://" occurrences.22:01
Elmaron now they're overwritten anyway22:01
Fissure Elmaron: just 10 minutes ago i reverted an old commit... having to manually grab the patch for that and apply it would be pretty annoying, no?22:01
thiago_home _Vi: that's where it should be. If it's not there, then you have to either guess or ask someone who knows this repository.22:02
Elmaron Fissure: indeed, but that error message seems just unhelpful to me22:02
johnny patches accepted?22:02
/me wonders22:02
Grum doener: so he started with a normal repo; then cloned to bare; then tossed away the .git from the normal repo and then used the bare one instead of the .git he just purged?22:02
doener Elmaron: that's not really a uhm, "common" operation, but after the cp + config core.bare false, you would have only needed a "git reset" (without arguments), I guess22:02
Elmaron nice >.>22:03
johnny i guess i'd just git clone /path/to/bare /checkout ...22:03
and not do that cp stuff..22:03
doener Grum: that's one possibility. Another one that looks a lot saner: Two different boxes, both used to develop the project without git in the past22:03
Grum he should have used either GIT_DIR or GIT_WORK_TREE22:03
Elmaron Grum: I lost the normal repo on accident22:03
doener Grum: on box got turned into a repo, and now he wants to turn the other one into a repo, too22:04
bbeecher left22:04
doener Grum: just init'ing the second one _might_ lead to a slightly messy history22:04
Grum git init; git fetch from remote; git commit; git push would have solved it?22:04
Elmaron Grum: I do my source code distribution from that folder aswell that doesn22:04
doener Grum: no, "git init; git add -A; git commit; git pull; git push" would have. But that might have left you with an ugly history22:04
_Vi thiago_home, And it looks like this host don't listen 9418/tcp port. May be there are no repositories there?22:04
Elmaron +'t contain the repo, so I delete it from there. I just used the wrong path and deleted it also from my original development source code folder and not just from the source code distribution folder I'm turning into an archive later on22:05
parasti joined22:05
Grum you can always fix history22:05
thiago_home _Vi: maybe they're somewhere else22:05
_Vi: maybe they're SSH only22:05
mathepic joined22:07
mnt joined22:07
squentin_ joined22:07
breitz joined22:07
BearPerson joined22:07
gionn joined22:07
pilif|away joined22:07
krawek_ left22:07
doener Elmaron: of course, the sane way would be: mv proj proj~; git clone git://server/proj.git; rm -rf proj*; cp -a proj~/* proj/;22:07
krawek joined22:07
Elmaron doener: the server isn't running git with a listen port22:07
toxx left22:07
Elmaron instead, the repo is available per http download22:07
doener Elmaron: so "git clone http://..."?22:08
tlrobinson left22:08
ivan left22:08
Elmaron doener: hmk22:08
_Vi Second question: "strace git fetch zenstable", (a bunch of messages), 'write(4, "0032have 6d9"', 'write(4, "0000"', then 'read(3, ' and it freezes.22:08
doener Elmaron: same thing, I just had to choose some uri-scheme22:08
s/uri-scheme/protocol/22:08
_Vi (It's not that mirror, it it's official location)22:08
doener needs to go to bed...22:08
d0k left22:09
ivan joined22:09
squentin_Guest9751822:09
doener Elmaron: the idea is: recreate the repo, then replace the files. Instead of trying any kind of arcane magic ;-)22:09
_Vi Why this could happen? What should I do to update from remote repository?22:09
_Elias joined22:09
Elmaron doener: certainly a more safe way for my files x.x22:10
hm22:10
is there an easy way to run git sudo'ed as a specific user?22:10
(even when started just with "git")22:10
cxo joined22:10
Elmaron I'd like to sandbox it so it can never modify my files again22:10
Grum just dont ever use -f?22:10
Elmaron Grum: I bet there are other ways I haven't found yet to delete my files. I'm pretty good at that22:11
lamont`lamont22:11
Grum yes .. rm .. no backups22:11
cxo Hey can someone show me how to figure out a merge conflict22:11
stamina_ joined22:11
bcardarella joined22:11
Guest97518squentin22:12
juan_arandaalvar joined22:12
adamm left22:13
doener Elmaron: well, you could set the suid bit for the git executable... but that applies to everyone starting git, so think twice about the consequences...22:13
Grum just makign a backup and never using -f .. that works fine :)22:13
redbaritone joined22:13
qhoxie_ joined22:13
kpreid_ left22:13
redbaritone left22:13
kpreid__ joined22:14
Ilari cxo: Open files in text editor. There should be merge conflict markers.22:14
Elmaron doener: thanks :) that will work22:14
cxo Ilari, i just want to understand the syntax, thats all22:15
Ilari cxo: Merge conflict markers are <<<< ==== >>>>22:15
cxo <<<<< HEAD: file.txt22:15
doener Grum: hm, reset --hard, "git checkout [<commit>] -- <path>", git merge, git pull, git rm, git mv, git rebase, git <whatever>, ... ;-)22:15
cxo ^^ is that the local file?22:15
Ilari cxo: First version starts, file.txt of revision HEAD22:16
doener Grum: also of those may touch the working tree (for valid reasons, of course)22:16
Ilari cxo: It is local side.22:16
cxo Ilari, ok22:16
WebDragon left22:16
Grum lets put it at; make backups; read manual before you use something22:16
doener Grum: some people touch, others prefer to sit there and look :-D22:17
jonmasters left22:17
doener s/look/watch/22:17
hugoxrosa left22:18
cxo Ilari, thanks, now i get it22:19
Mezner left22:21
RickXy left22:22
GMFlash left22:22
qhoxie left22:22
qhoxie_qhoxie22:22
ia left22:24
threeve left22:24
drubies left22:24
patcito__patcito22:24
ia joined22:25
montylounge left22:26
agile joined22:26
Teo``Teo`22:26
juan_arandaalva1 left22:27
jmcantrell left22:27
AkumaStreak joined22:28
pklingem1 joined22:28
doener left22:29
mathepic left22:29
GMFlash_ joined22:30
gdrage left22:33
jsquared left22:36
qhoxie left22:36
viiitor joined22:40
xnox joined22:42
xnox hello all =) is it possible to do git grep across all commit history22:43
I am searching for a function which was removed long time ago and I want to find it again22:43
ctusar left22:44
patrikf xnox: depending on the size of your project, "git log -p" + search in your favorite pager might be the easiest solution22:45
cxreg git log -S"string" will show you when it was introduced, which might be what you want anyway22:45
Adlai xnox, try using gitk's search22:45
tom joined22:46
tom can anyone help me with this error when pulling: fatal: cannot read object 79b34c511d45e5a32361d1d9bbe1247bde62d9ad 'social': It is a submodule!22:46
xnox Thank you!22:47
I'll now use both -S and -p option22:48
xnox left22:48
cxo left22:48
CarlFK joined22:48
neoeinstein left22:48
cxreg i missed your second statement, -S will show when it was removed as well as added22:49
segher joined22:49
Elmaron git commit seems to start vi22:49
how does it do that?22:49
djszapi joined22:49
Elmaron and where is that file I'm editing?22:49
cxreg Elmaron: it starts GIT_EDITOR unless you've specified -m22:49
Elmaron I have git running with the suid bit now and it seems vi is not affected by this22:49
neoeinstein joined22:49
Elmaron so vi is editing a file that is apparently read-only for it :p22:49
cxreg nice22:50
what OS?22:50
Elmaron archlinux22:50
johan-s joined22:51
psoo joined22:51
suman left22:52
qhoxie joined22:52
aresnick joined22:52
krawek left22:53
krawek joined22:53
Tjh_ left22:53
cxreg well it looks like a standard fork/execvp22:53
Elmaron cxreg: more details needed?22:53
cxreg git version?22:53
Elmaron 1.6.5.522:53
ah hum22:54
where is git creating that file?22:54
loincloth left22:54
Elmaron if it's on the hard disk it might be at a place where it has no write access22:54
cxreg the temp file?22:54
in builtin-commit.c22:54
Elmaron yea22:54
Sigma left22:54
Elmaron no, place on hard disk22:54
is it creating that file inside /tmp or inside the repository's main dir or somewhere else?22:54
loincloth joined22:54
loincloth left22:55
tom $ git rm -rf social22:56
rm 'social'22:56
fatal: git-rm: social: Is a directory22:56
how can i remove this?22:56
the problem is that git submodule add .... social says "'social' already exists in the index"22:57
johnny git rm -r22:57
Elmaron hm22:58
is it creating that file in /tmp?22:58
-it +git22:58
cxreg from what i can tell, it's in .git22:59
looks like .git/COMMIT_EDITMSG22:59
Elmaron then vi has to be running with the bash user's rights because git definitely has write access in there but the bash user definitely has not22:59
pklingem1 left23:00
Overcyn left23:01
cxreg hasnt tried git with suid23:01
patrikf why would you setuid git, anyway?23:01
timcharper joined23:01
viiitor left23:01
patrikf sounds like a nice way to give potential atteckers root access right away23:01
johnny i'd like to be able to cycle over some directories and git pull..23:01
for websites23:02
gonna have to be root somewhere..23:02
unless cpanel used some more decent acl structure.. :(23:02
timcharper hello, how do I test if a commit is an ancestor of another commit? (would prefer not to do (git rev-list | egrep ^$commit). I've tried a few different things, not getting :S23:02
pingveno joined23:02
Octalot joined23:02
eletuchy joined23:02
pheaver joined23:02
bigmack83 joined23:02
spearce joined23:02
kusma_ joined23:02
tmz joined23:02
jjuran joined23:02
bauruine joined23:02
justin-george joined23:02
brizly joined23:02
hummingkid joined23:02
anno^da joined23:02
jlilly joined23:02
halfline joined23:02
Haarg joined23:02
cantoma joined23:02
timcharper how does (git branch --contains) do it?23:03
cxreg patrikf: well, setuid != setuid root23:03
he wasn't clear which user was being swiched to23:03
patrikf still sounds like a bad idea23:03
cxreg i'm not debating that :-)23:03
patrikf (if not for privilege escalation, then for breaking git for everyone)23:04
pheaverGuest2763323:04
imajes joined23:05
kpreid__ left23:07
kpreid_ joined23:07
mattweg_ joined23:07
thiago_home timcharper: if a commit $a is ancestor of commit $b, there is a path from b to a23:07
Ryback_ left23:08
thiago_home remember that Git is a Directed Acyclic Graph23:08
smotchkkiss left23:08
timcharper thiago_home: thank you for engaging. I know about the DAG. Trouble is, if $a is not an ancestor of $b, there still is a path between them via their divergence point23:08
thiago_home so if $a is an ancestor of $b, if you do git log $b..%a, the result will be empty23:09
timcharper (which both .. and ... use)23:09
thiago_home the .. operation is subtraction. So there's nothing in $a that isn't in $b23:09
timcharper oh, duh... thank you23:10
dgarr joined23:10
GMFlash_ left23:11
ndim Gnah. New repo, for commits in a single branch. Now I want to "git rebase -i" the commits such that the latest commit is integrated into the initial commit. Is that possible, and how?23:12
tstclair left23:12
thiago_home there's a mode for rebase to rebase the root commit.23:12
take a look at the man page.23:12
joeytwiddle left23:12
botanicus_ joined23:13
botanicus left23:13
mattweg left23:13
mattweg_mattweg23:13
timcharper thiago_home: here's what I was trying to accomplish. thanks again for the help... perhaps I need more sleep as my thinker isn't working optimally. http://gist.github.com/25459223:13
brendon_work left23:13
ndim thiago_home: Ah. "root" is the keyword to look for. Thanks!23:13
joeytwiddle joined23:13
botanicus_botanicus23:13
WinterWeaver left23:13
malumalu left23:13
joeytwiddle left23:13
MrGando left23:14
joeytwiddle joined23:14
MrGando joined23:14
thiago_home timcharper: instead of 'cat .git/HEAD', use git symbolic-ref HEAD23:14
timcharper oh, that's a much better way. thanks23:15
thiago_home also, you don't need to use awk to split the line23:15
if you do "read var1 var2", then the shell splits on the space23:15
_Elias left23:16
thiago_home you can also improve the efficiency of the rev-list by adding the -1 switch23:16
you don't need to know all commits. All you need to know is if it's empty or not. So one commit is enough to know it isn't empty.23:17
ngw joined23:17
thiago_home didn't know the @{now} trick23:18
thiago_home finally I know how to get the dates off the reflog23:18
timcharper thiago_home: very nice - it doesn't seem to help performance noticeably, but maybe in larger repos it would be noticeable.23:18
:)23:18
I'm trying the read trick... do you pipe the line into read ?23:19
"echo ref big-description | read a b && echo $a" yields blank23:19
thiago_home $ echo ref big-description | read a b && echo $a23:20
ref23:20
I meant:23:20
git reflog show $branch@{now} | while read ref rest; do [...] done23:20
tom ok guys i am stuck with this error when pulling, who can help me? fatal: cannot read object deca4999ed893ee169a1280101d045e1178f0d7e 'social': It is a submodule!23:20
babilen joined23:20
Turias left23:20
thiago_home the line is "$ref $rest"23:20
timcharper tom - did somebody convert a path in your git repository ? (i've seen that error before)23:20
eugo joined23:21
tom timcharper: we didn't change any paths...23:21
timcharper thiago_home: that read trick is totally phat. I never knew you could do two vars. I'm going to go remove a ton of awk calls in my bash scripts now :)23:22
thiago_home timcharper: this trick is saving you two forks23:22
one for echo and one for awk23:22
bantic left23:22
ndim And with "read a b restofline" you can even skip any trailing stuff on the line.23:22
Wolfman2000 Afternoon/evening. I just merged two branches together, and I think I've hit the point where I should tag this part. Should I tag what I have before I push it back to the server?23:22
thiago_home if you want another hint (not for your current script): don't use grep for comparisons23:23
if you can, use case23:23
joce joined23:23
Thell hey guys. got a repo management question for you.23:23
thiago_home i.e., replace something like: if echo "$var" | grep -q / 2>/dev/null; then23:23
tom timcharper: it doesn't even matter if i have a .gitmodules file or not, it just throws that error23:24
thiago_home with: case "$var" in */*) true ;; *) false ;; esac23:24
timcharper thiago_home: that's rocking, thank you23:24
tom: yeah, that error wouldn't have anything to do with .gitmodules i don't think23:24
Thell Merging in a long running upstream branch, we are quite behind on. We have the option of merging in 'per commit' from that branch, per commit group (logical incremental blocks) or one big merge23:24
thiago_home shell scripts can be quite fast, if you avoid the forking. The more you keep inside the shell itself, the faster it will run.23:24
tom timcharper: well it's about submodules..23:24
Thell The one big merge option is nixed out already... that'd be bad23:25
Yuuhi` left23:25
Thell But would it be just as bad to git merge each individial commit?23:25
timcharper I have two theories: 1) somebody committed a submodule revision change in the superproject, but didn't push the submodule, meaning your superproject references it, but git has no way to pull the change23:25
ok... no that would fail if you did "git submodule update"23:26
sorry23:26
2) you have a path that was / is a submodule. Somebody removed the submodule and replaced it with a path, or someone removed the path and replaced it with a submodule23:26
Thell I guess if we git co -b merge_intermediate master && then git merge each individual commit && git co master && git merge --log --no-ff it should be fairly clean in the end, yes?23:26
timcharper those issues are a mess to sort out23:26
psoo left23:26
tom timcharper: it's still the same submodule from github on both source and destination of the pull23:27
timcharper tom: OK - this happens after you invoke "git pull", right?23:27
it's not happening when it's attempting to update your submodules ?23:27
tom timcharper: yes, during git pull23:27
brizly left23:28
timcharper you don't have a git hook setup to automatically run "git submodule update" ?23:28
tom timcharper: no23:28
timcharper ok23:28
what is the submodule path ?23:28
tom timcharper: i can do git submodule update without errors23:28
timcharper (in your super project)23:28
yeah... I'm sure you can23:29
tom timcharper: it's the "social" directory23:29
timcharper ok, as in ./social and not ./vendor/social ?23:29
tom as in ./social23:29
timcharper ok23:29
run git show ./social23:29
tom timcharper: no output23:29
maybe i removed it during trying to pull, i can try in another dir...23:30
timcharper that's one idea23:31
ok, what does this do ?23:31
git ls-tree --full-tree -r HEAD ./social23:31
tom -Subproject commit 89476bce1c6e090e797197d2d19a91cc9bdf513923:31
+Subproject commit 79b34c511d45e5a32361d1d9bbe1247bde62d9ad23:31
(that's part of git show ./social)23:31
timcharper ok, so the ls-tree command, the first portion is 160000, right ?23:31
tom ls-tree prints out usage23:32
timcharper oh... what version git ?23:32
D[a]vey joined23:32
tom 1.5.6.523:32
timcharper you're running old, son!23:32
param must've been added in 1.6.x23:33
git ls-tree --full-tree -r HEAD | grep ./social23:33
tom i know that's crappy debian23:33
timcharper that work ?23:33
tom there's no --full-tree23:33
timcharper lame23:33
Tjh_ joined23:34
timcharper ok... git ls-files --stage | grep social23:34
tom 160000 deca4999ed893ee169a1280101d045e1178f0d7e 0 social23:34
timcharper there we go23:34
Tjh_ hey i wanted to fork soemthing the best way to do it to have a remote branch? or create a local branch named "upstream" ??23:34
tom means what?23:34
Elmaron error: failed to push some refs to 'ssh://mainrepo@server.com/www-data/.git' To prevent you from losing history, non-fast-forward updates were rejected23:34
MrGando left23:35
timcharper it's definitely a submodule currently23:35
now..23:35
what's the remote branch name you're trying to pull ?23:36
run `git fetch` and make sure it's up-to-date23:36
carpet_the_walls left23:36
ntoll left23:36
tom timcharper: i am pulling from another directory23:36
shall i do "git fetch" there?23:36
timcharper can you add it as a remote?23:37
git remote add otherdir ../myotherdir/.git23:37
fcuk112 left23:37
WinterWeaver joined23:38
TeckniX left23:38
tom timcharper: ok23:38
ab3 joined23:38
tom did git fetch23:38
fcuk112 joined23:38
timcharper ok, so you have a remote branch now ?23:39
what is it called ?23:39
tom * [new branch] master -> other/master23:39
timcharper excellent23:39
Tjh_ also how do ignore a file?23:39
timcharper and git merge other/master fails, right ?23:39
thiago_home Tjh_: add it to the .gitignore file23:39
timcharper Tjh_: git help gitignore23:39
tom timcharper: yes, 'social': It is a submodule23:40
timcharper ok23:40
Tjh_ timcharper: k ty23:40
timcharper git ls-tree -r other/master ./social23:40
tom timcharper: empty23:40
timcharper hmmmm23:40
tom (no output)23:40
fcuk112__ joined23:41
timcharper git log -p HEAD..other/master ./social23:41
aresnick_ joined23:41
urbanmonk left23:41
Tjh_ if i have a remote branch tracking something is there a real need to make a local branch that pulls from the remote too?23:41
bcardarella left23:41
patmaddox joined23:41
tom timcharper: this shows some commit with the code23:42
timcharper (it looks as if the submodule was removed... but not sure why it's causing an error for you)23:42
ah hah!23:42
there you have it23:42
that is what is causing the error23:42
somebody added code when git used to have a submodule23:42
try renaming social and then doing a merge23:42
(that is a big pitfall in git... i've hit it before and it stinks, especially when there's 20 developers who are all stuck because of it)23:43
tom timcharper: fatal: source directory is empty, source=social, destination=social223:43
that's on git mv social social223:43
timcharper ok, ^git ^23:43
thiago_home call it "antisocial"23:44
tom ?23:44
thiago_home :-)23:44
MrUnleaded can anyone explain how to fix this https://gist.github.com/f60037ebe2aa5f95701d i added a graft then pushed and now no one can fetch from the repo23:44
tom ;)23:44
thiago_home MrUnleaded: because of the graft23:44
timcharper tom: it's a bash history trick, sorry. Remove "git "23:44
thiago_home MrUnleaded: to "fix" it, scp your pack to the remote repository23:44
MrUnleaded: pushing with grafts enabled can cause that problem23:44
MrUnleaded: did you get an error message about sideband multiplexer?23:44
MrUnleaded thiago_home: yes23:45
tom timcharper: ok, and then merge again says "It is a submodule"23:45
thiago_home it's what I thought23:45
just upload your pack to the repository23:45
MrUnleaded i dont think i can scp it is github23:45
timcharper how annoying. can you just reset --hard to it?23:45
thiago_home you can push -f to a revision that worked23:45
timcharper (do you need to merge or just catch your repo up ? )23:46
thiago_home then remove your graft, and push again23:46
aresnick left23:47
MrUnleaded will that push the grafted history as well?23:47
thiago_home no23:47
grafts aren't pushed23:47
that's exactly why you're facing this problem now23:47
MrUnleaded how can i make the graft "real"23:47
timcharper tom: (git reset --hard other/master) <- that will wipe your uncommitted changes and force your branch to be a given revision23:47
thiago_home MrUnleaded: git filter-base23:47
MrUnleaded: without arguments, it'll simply make grafts permanent23:48
MrUnleaded: note that this changes the SHA-1 of everything past the graft.23:48
timcharper thiago_home: I'm starting to be glad I never learned grafts23:48
MrUnleaded filter base? hrm i read(or misread) that filter-branch did that23:48
thiago_home MrUnleaded: so you need to push -f and everyone else needs to *reset*. They can't pull or rebase.23:48
MrUnleaded thiago_home: ok thank you23:48
thiago_home MrUnleaded: sorry, filter-branch23:48
timcharper tom: best of luck buddy. sorry, I gotta get back to what I was doing23:48
MrUnleaded i tried filter-branch but it didnt change the refs23:49
tom timcharper: hm. ok, thanks for your help anyway23:49
timcharper: one quick question23:49
MrUnleaded thiago_home: it is only me at this point in the repo23:49
tom timcharper: do i have to have .gitmodules in the repos committed?23:49
timcharper: when using submodules in general23:49
timcharper yes23:49
thiago_home MrUnleaded: you probably need to tell filter-branch which branches to filter23:49
MrUnleaded: you don't need to tell it any other filters to apply23:50
timcharper tom: it tells git the URL where to fetch submodules from, as only the revision is stored in the git object system23:50
(tree system? not sure what the name for it is)23:50
tom timcharper: it could be that i had submodule social and I added "social/somefile" but it wasn't in the submodule but in the main repository in social/somefile :|23:50
MrUnleaded thiago_home: oh ok i think i may have had a similar problem before when filter-branch wasnt doing anything23:50
tom it stinks, i think i'll just remove all submodules23:50
thiago_home MrUnleaded: if you've run filter-branch once, you may have to rm -rf .git/refs/original23:50
tom and start over with one repos23:51
timcharper tom: I seem to remember 'git add my/submodule/' used to add the files, rather than the revision23:51
you had to be careful about the trailing slash23:51
it's no longer the case with latest version of git23:51
MrUnleaded thiago_home: ok23:51
timcharper ok... chau chau23:51
tom timcharper: bye, thanks23:51
archis joined23:52
aresnick joined23:52
fcuk112_ left23:52
WinterWeaver left23:58

Logs Search ←Prev date Next date→ Channels Documentation