IRCloggy #git 2010-07-23

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.

2010-07-23

jmcantrell joined00:00
hasrb left00:00
explody joined00:01
frogonwheels hsa2: ok.. on ubuntu it's got stuff in it.00:02
hsa2hsa2|gone00:03
murz now im getting "fatal: pathspec 'origin' did not match any files " when i try to add orign >_<00:03
p3rg2z left00:03
explody is there some way to recursively not ignore a directory, particularly if I don't always know what the subdirectory structure will be? Same as this guy's problem, which doesn't really have an answer yet: http://is.gd/dCHdB00:03
frogonwheels hsa2|gone: and it appears under http://localhost/gitweb/00:04
explody: did you try !/test ?00:05
explody yeah00:05
frogonwheels explody: or perhaps a new .gitignore in test with !* ?00:05
explody actually I think the last answer in that link might work00:06
frogonwheels explody: also I believe that 'absolute' pathnames are relative to the top of the repo.00:07
rlb3_ joined00:07
explody hm everything half-works, it still seems like I have to specify all the subdirs under a directory that I want to !ignore00:08
steveire left00:09
rlb3_rlb3_home00:09
ajpiano left00:11
developernotes joined00:11
developernotes left00:11
gdw2 left00:12
Yuuhi left00:12
frogonwheels explody: !**/* ?00:12
mitnavn joined00:13
mitnavn Can you revert a reversion? :P00:13
frakturfreak_frakturfreak00:14
AAA_awright mitnavn: What does that mean to you?00:15
explody frogonwheels: no love, ignore exclusions just aren't recursive, I don't think00:15
steveire joined00:15
steveire left00:15
steveire joined00:15
mitnavn AAA_awright: Get the content of the file back to what it was before reverting.00:16
hsa2|gonehsa200:16
AAA_awright git checkout the old revision00:16
sh1mmer left00:17
mitnavn Thanks, I will try that.00:18
AAA_awright There is git checkout, git reset, or git revert depending on what you want to do to your checkout or the history00:18
murz anyone know what "'myrepo.git' unable to chdir or not a git archive " means?00:18
hsa2 murz, did you initialize a git repo?00:19
murz yes00:19
AAA_awright .git should exist in your directories or one of the parent directories00:19
hobodave left00:19
hsa2 you should enter the path right then00:19
murz i tried myrepo.git and /home/git/repositories/myrepo.git (where it is on my filesys)00:21
agile joined00:22
steveire left00:23
steveire joined00:24
steveire left00:24
steveire joined00:24
sanjoyd joined00:24
hsa2hsa2|gone00:25
legind left00:26
d0k left00:27
redbrain left00:28
vals_ joined00:28
Joeconyers left00:29
Joeconyers joined00:29
sitaram Oxf13: how about this weekend? I'll send you email about what tha escape hatch will do (I'll try and keep it as generally useful as possible while serving your purpose; if that doesn't work, I'll make it a patch just for your use)00:29
murz what about this one: fatal: pathspec 'origin' did not match any files00:30
sitaram Oxf13: oh and BTW the "-s" thing is already in "master"00:30
Oxf13 sitaram: yeah, I foudn that in master. And this weekend is fine.00:30
sitaram cool00:30
tango_ left00:30
mitnavn left00:31
stringoO joined00:31
hebz0rl left00:34
scarabx joined00:36
SlickT10 joined00:36
simplechat joined00:36
anathematic joined00:37
tobiassjosten left00:37
steveire left00:42
steveire joined00:43
tildeequals left00:43
Luyang left00:44
jtauber joined00:46
jtauber left00:46
rlb3_home left00:47
thwart joined00:50
ricky left00:51
mva left00:51
mva joined00:52
anathematic left00:54
stringoO left00:59
cirwin1 joined01:01
anathematic joined01:01
cirwin left01:03
Oxf13 sitaram: still around? Got a bit of a logistical ACL issue to pick your brain about01:04
sitaram sure01:04
bcardarella joined01:04
bcardarella left01:04
Oxf13 background.01:04
We have releases, a la Fedora 13, Fedora 12, etc.. We also have "rawhide"01:05
sitaram ok01:05
Oxf13 Rawhide is our ever moving forward development tree, and we "branch" from rawhide when we start to stabalize and prepare a release01:05
ricky joined01:05
Oxf13 rawhide maps to origin/master01:05
our releases are polished, released and updated from origin/<release>/master01:06
eg origin/f13/master01:06
We allow developers to create their own branches from the release branches to deal with concurrent issues or potentially broken things01:06
but we require them to use the naming scheme such that if htey wanted to work on a new feature for Fedora 13, they'd use origin/f13/newfeature01:07
sitaram wait... dont you mean f13/master? (origin is just the remote, so yes that's what it looks like on a clone). Or do you really have a branch name that has "origin" in it?01:07
aziz left01:07
Oxf13 yes, sorry f13/master01:07
I put origin in there to express remoteness01:07
sitaram sure ok... just wanted to make sure I understood; go on...01:07
Oxf13 We force the naming convention so that my client side tool can look at the local working branch, determine its remote merge point, and deduce the Fedora release from that.01:08
so local "frobiz" branch merges to origin/f13/frobiz, which I can reduce down to just "f13"01:08
the ACL structure I have gives people RW access within the repo to "f13" or "f14" or "master"01:09
lanthan_ joined01:09
Oxf13 If I understand matching, RW access to "f13" would match a write attempt to f13/frobiz or f13/master01:09
sitaram yes01:09
Oxf13 ok, here comes the tricky part01:10
What is somebody wants to make a branch of rawhide, that is a direct branch of master?01:10
conceptually they'd just do a local branch of 'rebase', and map that to origin/rebase01:10
sergio_ left01:10
indygreg joined01:10
steveire left01:11
murz left01:11
sanjoyd left01:11
sitaram what would that be in git terms? i.e., what git operation do you want to prevent?01:11
Oxf13 that's not going to match anything we currently list for ACL01:11
Tommy[D] left01:12
Oxf13 people that have RW to master should be able to create branches of master, people without write access to master should not be able to01:12
sergio_ joined01:12
lanthan__ left01:12
justin-george left01:12
Oxf13 I can't think of a way to work this out without forcing branches of master into their own directory eg rawhide/rebase01:13
steveire joined01:13
steveire left01:13
steveire joined01:13
sitaram aah that has to be 2 rules, and adding a couple more for other branches; maybe you want to start by looking at http://github.com/sitaramc/gitolite/blob/pu/doc/3-faq-tips-etc.mkd#separating_create_and_push_rights01:13
adamm left01:14
Tommy[D] joined01:14
Vampire0 left01:14
sitaram actually I'm not sure what you mean by "rebase" up there. Is that an arbitrary branch name?01:15
Oxf13 sitaram: arbitrary01:16
sitaram Oxf13: you can't prevent what a branch is *based* on via gitolite, only the *name* of the branch that is *pushed*01:16
Oxf13 Ok, so for a user to be able to create a branch, they need "RWC" ?01:16
sitaram Oxf13: well... it's a little tricky. If any ACL in the repo has a "C" in it somewhere, then yes. Else no01:16
Oxf13: backward compat, you know...!01:16
Oxf13 eg, for "bob" to create a branch "f13/newbob", he'd need "RWC f13 = bob" ?01:17
sitaram or f13/ instead of f13, yeah01:17
Oxf13 does the / matter?01:17
I suppose it would allow him to do something like f13foobar01:17
sitaram not really; just being pedantic. Maybe leaving it is useful once you get to fedora core 131 :-)01:17
oh yeah that too01:18
Oxf13 that's going to be somebody else's problem :)01:18
sitaram Oxf13: back to the branch called "rebase"; you cannot prevent "git checkout -b rebase master; git push origin rebase" per se. All you can do is restrict him from pushing a branch called "rebase"01:18
hobodave joined01:18
indygreg I'm trying to figure out how to push the entire contents of one repository into a subdirectory of an existing repository while preserving full commit histories and could use some help. there is only one branch on the repository being exported01:18
Oxf13 sitaram: that's fine.01:19
sitaram: I don't care what crazy ass things they do to get content into the branch, I basically care about keeping the separation in place.01:20
leo2007 left01:20
Oxf13 sitaram: for a repo named foo, there is master, f13/master, and el6/master01:20
there is users bob and jane01:20
Mage left01:20
adamm joined01:21
Oxf13 bob write access to master and f13/ but not el601:21
squi left01:21
Oxf13 jane has write access to el6/ but nothing else01:21
Yuffster_ joined01:21
Mage joined01:21
sitaram Oxf13: by "write" you include "write or create new"?01:22
Yuffster left01:22
Oxf13 sitaram: without forcing bob to use rawhide/ as the place to push branches meant to track rawhide (master), I can't think of a way to let him create those branches without also having him have access to el6/01:22
sitaram: yes, in this context I do01:23
sitaram without also having him access to el6/ in terms of write or create?01:23
Oxf13 both really01:23
it would seem that in order for bob to write or create new top level branches he would need "RWC" to the entire repo01:24
sitaram Oxf13: ok one final question: is there *any* situation in which someone has write access to a branch but *not* the access to *create* such a branch01:24
Oxf13 that is branches that are at the same level of master01:24
sitaram its possible, except I'm not understanding very precisely what you want that's all01:25
let me try writing up something... give me 2 min01:25
Oxf13 sitaram: no, the way our logic works is that if you are allowed to write to a release (eg you can commit stuff for Fedora 13), you're subsequently allowed to create branches for that release as well01:25
Yuffster_ left01:25
enherit left01:26
Yuffster joined01:26
parasti left01:26
Oxf13 the more I think about this though, the more I allowing people to create branches at the same level as master is a bad idea, because somebody could create the f14 branch too early01:27
perhaps only git admins should be able to create high level branches, but allow people with write access to master the ability to create rawhide/ branches01:28
Remixman joined01:28
Vampire0 joined01:28
kpreid left01:29
stringoO joined01:30
anjenfood_anjen01:31
byang joined01:33
sitaram Oxf13: http://pastebin.com/S5T4yEZa01:33
gbacon joined01:33
sitaram oh wait01:34
Oxf13: http://pastebin.com/LYQcf9t6 -- does that help?01:35
Oxf13: remember the order matters01:35
Oxf13: and my "u1" is a super admin who can *create* any branch so that people who are not allowed to create can then push to it01:36
Oxf13 sitaram: ok, take that one step further.01:36
hipe_ left01:37
Oxf13 how would you allow u2 to create branches at the same level of master, but not write to el6/ ?01:37
hipe joined01:37
ju2wheels quick question... is projects.list supposed to have two entries per project? Im looking through gitweb code and it looks like its expecting the project name plus the owner but my projects.list generated by gitolite only shows the project name and i think it may be causing my gitweb issues....01:38
yngress left01:38
sitaram Oxf13: http://pastebin.com/Adgq9pn901:39
Oxf13 ok, I think I see where you're going with that.01:39
btw, what's with the extra master in there?01:40
#01:40
- master f[0-9] = u2 # cant create f14 early01:40
sitaram Oxf13: typo/thinko; ignore it :)01:40
Oxf13 ok.01:40
rfx left01:40
Oxf13 so basically I need to have a RW for anything a user has write access to, then a - for any reserved branch names01:42
let me take that back.01:42
sitaram correct, and as I said the order matters (it stops at the first match for the operation being performed or a "-")01:42
hipe left01:42
Oxf13 an RWC to any release a user has write access to, a - for all reserved branch names, and finally a RWC to everything, should they have write access to rawhide.01:42
masonkramer joined01:43
Oxf13 I think I can work with that.01:43
SRabbelier1 joined01:43
SRabbelier left01:43
Oxf13 my acl generation script will get a bit more ... complicated01:43
Mage left01:43
sitaram Oxf13: aah well, you could always go with what you said earlier:01:44
06:57:17 < Oxf13> the more I think about this though, the more I allowing people to create branches at the same level as01:44
master is a bad idea, because somebody could create the f14 branch too early01:44
Mage joined01:44
saiyr9000 left01:44
Oxf13 sitaram: that's a fallback position01:44
I like what you've come up with though01:44
sitaram Oxf13: well this feature didn't exist last December so you would not have seen it. Remember me telling you gitolite moved a heck of a lot since then? ;-)01:45
Oxf13 indeed01:45
just to confirm, what's the difference between "RWC" and "RW+C" ?01:45
sitaram the "+" indicates rights to rewind (force push)01:46
Oxf13 ah right. No chance in hell :)01:46
sitaram Oxf13: erm... much as I am confident of gitolite doing the right thing, once you have come up with a canonical ruleset [for *one* repo, I mean], could you email me so I can test it thoroughly?01:46
Oxf13 I have to make immutable really really mean immutable. Legal issues01:46
sitaram sure01:46
Oxf13 sitaram: indeed!01:46
sitaram no "+" then01:46
Oxf13 an RWC on 'master' just means they could make a branch named "masterblaster" right?01:47
no other foreseen downsides to RWC master ?01:47
sitaram yup.01:47
you can use "RWC master$" instead, but other than the *first* push the "C" no longer has any meaning anyway01:48
so if you can pre-create all the "sacred" branches at appropriate times by user "u1" in my example, you dont need a "C" on the sacred branches for anyone else01:48
mar77i left01:48
sitaram but be sure to have a C for the "u1" user or group. Remember, if there is not a single "RWC " or "RW+C", it falls back to backward compat behavious (RW implies C)01:49
cirwin1 left01:50
Oxf13 yeah, all the repos will have a c01:50
and there will be an repo @pkgs; RWC = @admins01:51
pkgs is every repo, admins are the git admins01:51
sitaram ok01:52
Oxf13: I really gotta go now; be back online in about 2 hours from work (I'm running very late today!)01:52
I'll email you the patch stuff we discussed earlier sometime Saturday my time, which is prolly 12-ish hours ahead of you01:53
Oxf13 sitaram: no worries, I gotta run for dinner. Have a good day, and thanks again!01:53
sitaram you're welcome! and bon appetit01:53
agib|awayagib01:53
agibagib|away01:54
ju2wheels left01:56
henkboom left01:56
mdel joined01:59
byang left01:59
t0rc left01:59
byang joined01:59
henkboom joined02:00
thwart left02:00
comawhite left02:01
steveire left02:02
steveire joined02:03
steveire left02:03
steveire joined02:03
sh1mmer joined02:05
yaotti_aw joined02:05
yaotti_awyaotti02:06
tar- left02:11
Blackguard left02:12
kpreid joined02:13
Mage left02:13
Mage joined02:14
sh1mmer left02:17
hsa2|gonehsa202:19
hsa2 hi02:19
i want a full rollback to an old commit02:19
is it possible?02:19
cytrinox_ joined02:20
thoraxe left02:21
mandazi joined02:22
hsa2 any idea?02:22
mandazi hey all02:23
hsa2 mandazi, hi02:23
mandazi im having some issues trying checkout a repo from heroku. geting this eror02:23
hsa2 i want a full rollback to an old commit, is it possible; i said02:23
mandazi Agent admitted failure to sign using the key.02:23
Permission denied (publickey).02:23
fatal: The remote end hung up unexpectedly02:23
cytrinox left02:23
cytrinox_cytrinox02:23
mandazi i know i have a public key. i ran ssh-keygen -t rsa02:23
Ilari mandazi: Sounds like problem with local ssh agent.02:25
mandazi: Try cloning without having ssh agent enabled?02:26
mandazi how do i do that02:27
reflectivedev left02:27
thiago hsa2: git checkout that-commit02:27
mandazi: what is the key called? is it id_rsa or id_dsa ?02:28
mandazi id_rsa02:28
kpreid left02:28
mva left02:29
thiago ssh -v into the server02:29
does it print something? Or does it fail?02:30
mandazi im not sure if i can do this with heroku02:30
agile left02:31
Ilari mandazi: The problem looks like client side ssh agent problem. Nothing to do with what runs on the server.02:32
hsa2 thiago, i did checkout old version but can't commit and push :S02:32
mandazi sorry im really new to all this. been googling and all i find is i have to create an ssh key02:34
brntbeer left02:34
mandazi how do i check the client side02:34
thiago hsa2: you can commit02:34
agile joined02:34
thiago hsa2: what's the error you get when you push? And how did you push?02:34
hsa2 thiago, after running checkout, i should pull right?02:35
thiago hsa2: no02:35
mva joined02:35
thiago hsa2: is that repository shared with other people?02:35
hsa2 for now, no, i am testing it02:35
thiago then "roll back" in this case means "throw away all later commits"02:35
hsa2 yes02:36
exactly02:36
thiago this means rewriting history, so you should use git push -f02:36
though you probably wanted reset --hard to the commit, not checkout02:36
flaguy48 left02:36
mandazi anyone on here use heroku?02:36
hsa2 thiago, then i should run git reset --hard <commit> right?02:37
thiago hsa2: yes, but first you have to go back to the branch you had checked out first02:37
hsa2 how?02:37
thiago so check out the branch you were in before02:37
hearit joined02:37
hsa2 :S i am now confused02:37
by branch you mean master right?02:38
i think i have only one02:38
thiago most likely02:38
if you have only one, then the one must be the branch you were in before02:38
tedoc2000 left02:38
hsa2 thiago, let me tell you02:38
thiago note you're not in a branch now if you executed that command I gave you02:38
hsa2 i deleted everything in directory02:38
then runned git init02:38
then added remote and runned checkout02:38
thiago "ran"02:39
hsa2 sorry :)02:39
hearitIahc02:39
hsa2 now, in this situation please help me02:39
thiago help you do what?02:39
hsa2 my web application is broken now :P02:39
thiago that checkout, is it the command I gave you?02:39
hsa2 i want to rollback to old commit reverting all other commits after that one02:39
thiago, git checkout <commit> i ran02:40
thiago then run this: git checkout master02:40
it will undo what I had told you to run02:40
so let's start over:02:40
are you ABSOLUTELY sure you want to delete, forever, those commits?02:40
Elfe left02:40
hsa2 yes!02:40
thiago it's not that they will be reverted. It's like they will never have existed.02:41
then run: git reset --hard that-commit02:41
the good commit02:41
hsa2 i did02:41
frogonwheels hsa2: .. though it hasn't really gone until it gets garbage-collected, but then it really will be gone02:41
thiago now your local copy should be at the good state. Please verify that.02:41
hsa2 thiago, ok, verified02:42
thiago now push it back to the server, with force02:42
git push -f02:42
hsa2 i don't know how, but it's still messed up02:45
thiago, wait i have another question02:45
you asked if it is shared02:45
i am pulling from my web directory to make it synced02:46
is my web directory in sync now?02:46
no it's not02:47
thiago I didn't understand the question02:47
hsa2 thiago, i am commiting from my pc to repo, then my public_html pulls from repo02:47
by this way, i am keeping my project synced02:48
thiago ok02:48
hsa2 now i'll delete my old public_html, and clone git repo02:48
dreiss left02:49
thiago ok02:49
hsa2 ohhh02:51
thank god02:51
thiago, thanks a lot02:51
indygreg left02:52
timj__ joined02:52
mandazi left02:52
unreal_ joined02:53
__name__ left02:53
Elfe joined02:54
hsa2 now i can sleep in peace :P02:55
thiago, thanks again02:55
unreal left02:55
hsa2 see you all02:55
unreal_unreal02:55
hsa2hsa2|gone02:55
timj_ left02:56
lazylisper joined02:58
lazylisper left02:59
lazylisper joined02:59
whaley joined02:59
byang left03:01
unreal left03:03
kpreid joined03:03
unreal joined03:03
octavio-rdz joined03:05
zalun left03:05
dgs left03:05
byang joined03:06
agile left03:08
mdel left03:11
gbacon left03:11
mdel joined03:11
masonkramer left03:11
stringoO left03:15
agile joined03:15
byang left03:17
byang joined03:21
zenazn left03:21
food_anjenanjen03:24
byang left03:25
rchavik joined03:26
zenazn joined03:28
schlortoo joined03:29
Mage left03:30
welly left03:30
Mage joined03:31
aresnick left03:31
dr_win left03:31
Remixman left03:32
Remixman joined03:33
Remixman left03:33
alester left03:33
byang joined03:34
sagsousuke left03:34
tstclair left03:34
shade_ joined03:35
lazylisper left03:37
slakmagik joined03:39
hohoho joined03:41
ajb left03:42
goddard is github the best place to host your project for free?03:43
shade_SHADE\03:44
SHADE\shade\03:44
slakmagik imo03:44
programble left03:45
SamothUK joined03:45
Bass10 left03:46
bradallen137_ joined03:47
mw_ left03:51
enherit joined03:52
Mage left03:52
Mage joined03:53
scarabx left03:53
mithro joined03:55
unreal left03:55
unreal joined03:56
jtauber joined03:57
bradallen137_ left04:00
yaottiyaotti_aw04:04
dr_win joined04:04
programble joined04:05
jmcantrell left04:06
mithro left04:06
spiderr joined04:06
Joeconyers left04:09
tildeequals joined04:10
multigrain left04:10
Mage left04:12
spiderr left04:13
Mage joined04:13
vinse left04:16
shade\ left04:18
Yuffster left04:18
shade_ joined04:19
marc_kdab_ joined04:20
vmiklos left04:21
mithro joined04:21
steveire left04:21
gnrfan joined04:21
bartman left04:21
steveire joined04:22
steveire left04:22
steveire joined04:22
gnrfan hope my question is ok for this channel.. first time here.. any hints on how to give someone access to a GIT repo in my Linux server over ssh without giving shell access? Been trying rssh + git patch but no luck for now :/04:22
byang left04:23
offby1 gitolite.04:23
byang joined04:23
offby1 next question.04:23
gnrfan hehe cool.. gonna check that out04:23
cbreak gitolite requires a shell account04:25
just only one for everyone04:25
thwart joined04:27
gnrfan anyone got rssh to work with git_04:28
offby1 don't even know what "rssh" _is_.04:29
SlickT10 left04:33
Oxf13 sitaram: does whitespace matter (eg the number of spaces) in the gitolite.conf file, before compiling?04:34
cxreg cbreak: if you never get to an actual shell, is it still a shell account?04:36
gnrfan cool.. got it to work.. rssh + patch works nicely.. it was me.. had to add user to /etc/ssh/sshd_config.. sorry :/04:37
doener left04:37
doener joined04:37
gnrfan offby1: a very restricted shell in which you can allow scp, or sftp and with a patch git only04:38
ProperNoun left04:39
ProperNoun joined04:40
ProperNoun left04:40
ProperNoun joined04:40
radioman-lt joined04:42
galderz joined04:43
galderz left04:43
galderz joined04:43
ericindc left04:43
dr_win left04:46
radioman-lt left04:47
MattDiPasquale joined04:47
wereHamster gnrfan: well, there's gitolite and git-shell which you can configure as the default shell for the user and he then will only be able to access git repos04:47
MattDiPasquale left04:47
MattDiPasquale joined04:47
psankar joined04:50
hyperair left04:51
cpgcpg|away04:52
freimatz joined04:57
indygreg joined04:59
galderz left04:59
TDJACR left04:59
daaku joined05:00
MattDiPasquale left05:01
welly joined05:02
LRN left05:02
anathematic left05:02
shade_ left05:03
LRN joined05:03
yaotti_awyaotti05:04
carutsu_ left05:05
carutsu_ joined05:06
thedeeno left05:06
mar77i joined05:06
comawhite joined05:07
hyperair joined05:07
thedeeno joined05:08
ProperN[out] joined05:09
ProperN[out] left05:09
ProperN[out] joined05:09
jmspeex left05:09
slakmagik left05:10
jmspeex joined05:10
ProperNoun left05:10
hsa2|gone left05:10
bartek left05:10
hsa2|gone joined05:11
ProperN[out]ProperNoun05:11
Iahc left05:11
vu3rdd joined05:11
bartek joined05:12
hyperboreean joined05:12
RobertMeta left05:12
cpg|awaycpg05:13
dropdrive left05:14
MetaCosm_ joined05:14
dropdrive joined05:14
MetaCosm_ left05:15
TDJACR joined05:15
lhz joined05:15
MetaCosm_ joined05:15
kpreid left05:17
steveire left05:17
saiyr9000 joined05:18
steveire joined05:18
TDJACR left05:19
Oxf13 sitaram: http://fpaste.org/gLCY/ @pkgs has every package listed. (I have to fix the duplicates)05:20
TDJACR joined05:21
TDJACR left05:21
TDJACR joined05:21
hasen joined05:24
molokai left05:32
TDJACR left05:33
molokai joined05:34
gnrfan left05:35
roop joined05:37
slakmagik joined05:42
Eaven left05:43
opalka joined05:45
welly left05:51
Modius joined05:51
Modius left05:52
skoop joined05:53
Modius joined05:53
aspotashev joined05:54
psankar left05:55
g0 joined05:57
g0 I'm compiling git to run from ~, I don't have the zlib1g-dev package on this system, I compiled the source for zlib1g-dev and installed it with ~/bin prefix05:58
now how do I tell git's installation to look for zlib1g-dev there?05:59
This is the firsst time i'm trying to install anything on ~05:59
brntbeer joined05:59
shruggar joined06:02
octavio-rdz left06:02
schlortoo left06:03
benzap_ joined06:04
wereHamster LDFLAGS="-L$HOME/lib"06:05
frogonwheels g0: usually it will be a configure option. ./configure --help06:05
schlortoo joined06:05
frogonwheels or ask somebody who really knows.06:05
:)06:05
wereHamster g0: which distro are you using?06:05
Dave^| joined06:05
benzap left06:06
apsysoev joined06:07
g0 left06:07
hohoho left06:09
aspotashev left06:09
hohoho joined06:11
thwart left06:12
pastie left06:12
doener in case he returns, it should be (IIRC): echo ZLIB_PATH=$HOME >> config.mak; make && make install06:13
Haarg left06:13
doener assuming that $HOME was used with --prefix for the zlib build (it sounded like he used --prefix=$HOME/bin, though that would be really weird ;-))06:13
jones- left06:13
doener anyway, gotta go06:13
cbreak_work joined06:14
brntbeer left06:16
ycyuxin joined06:16
jones- joined06:17
khmarbaise joined06:17
Belna joined06:17
chrislerum joined06:19
Haarg joined06:20
[Po]lentino joined06:21
The_Ball joined06:26
eighty4 joined06:27
carter joined06:28
leo2007 joined06:28
warthog9 joined06:31
fivetwentysix joined06:31
chrislerum left06:33
poli joined06:35
psoo joined06:37
datapolitical joined06:39
datapolitical git-folk, how would I go about removing an update from a remote repository06:40
mithro left06:40
cbreak_work update?06:40
a commit?06:41
you can force-push local stuff to remote branches06:41
(if the remote allows it)06:41
but of course, if someone else pulled, you get trouble06:41
datapolitical nobody else has06:41
j4cbo joined06:41
unreal left06:41
datapolitical so how does force-push work06:41
unreal joined06:42
j4cbo i've got a repo (from a project in a class some time ago) that i'd like to save, with all history, in a compact form06:42
cbreak_work it's -f06:42
read the man page06:42
j4cbo i've git gc'd it so everything is in a single .pack file; can i just save that file, and later reconstitute it into a proper repo with worktree?06:43
cbreak_work j4cbo: git clone --bare and then archive it?06:43
datapolitical I did, so it was a silly way to ask that question. force push doesn't delete files already on the remote, it seems06:43
frogonwheels datapolitical: so you first reset your head in the local repository to the commit (or rebase if you want to pick one update out and you don't want to just patch reverse it).06:43
j4cbo oh, clone to bare seems ideal, actuall06:44
actually*06:44
cbreak_work datapolitical: of course not06:44
remotes you can push to don't have files06:44
and if they had, push would not update them anyway06:44
ignatp left06:45
datapolitical wait, what?06:47
a remote doesn't store files?06:47
RTFM06:47
didlix left06:47
frogonwheels datapolitical: no, what he means is it doesn't have a working directory06:47
datapolitical: once a blob doesn't have any references, it will be eventually garbage collected06:48
datapolitical okay06:48
cbreak_work datapolitical: remotes you push to are bare. they have no working directory by definition06:48
frogonwheels datapolitical: You need to be a bit more precise about what you're after.06:48
datapolitical: ie this commit you want to remove - is it the last commit(s) in the branch? is it an old commit? is it sensitive data?06:50
ljungk joined06:50
datapolitical it's the first06:51
and it's sensitive data06:51
frogonwheels datapolitical: ok. is it a file you want to get rid of ?06:51
datapolitical I used the web interface to delete the repository, which didn't exactly work06:51
cbreak_work datapolitical: recreate the repository.06:51
if you are really paranoid about the data06:51
datapolitical which I did06:51
and the file was there06:51
so, i've got a repository06:52
cbreak_work I mean, recreate it _without_that_file_ of course :)06:52
datapolitical unfuddle is being funny about that06:52
hearit joined06:53
datapolitical to which everyone replies, use github!06:53
frakturfreak_ joined06:54
ljungk I have two branches and there is a difference between a file. now I want to remove the difference. is there any way of letting git know that it came from the other branch?06:54
galderz joined06:54
galderz left06:54
galderz joined06:54
cilly joined06:54
cbreak_work ljungk: no, git only merges complete branches06:54
not only files06:54
dreinull joined06:55
galderz left06:55
mithro joined06:55
ljungk cbreak_work: but isn't that what cherry-pick does?06:55
cbreak_work no06:55
priidu joined06:55
cbreak_work cherry-pick takes changes from a complete commit06:55
merge takes a complete branch (a chain of commits)06:56
carter left06:56
ljungk okay, so if this difference would have been from a commit, i could have used cherry-pick?06:57
cbreak_work a complete commit, yes06:58
frakturfreak left06:58
cbreak_work you can just check out that file from the other branch if you are only interested in the contents, but that doesn't do history tracking06:58
ljungk cbreak_work: yeah, that's probably the only thing i can do since the changes have been there since the branching07:00
MattDiPasquale joined07:01
cbreak_work you can merge that past?07:01
well, if you want the whole commit/history07:02
workmad3 joined07:02
aspotashev joined07:02
ljungk cbreak_work: i can't since they weren't the only differences in the branching, right?07:03
_stefanos_ joined07:03
MattDiPasquale left07:04
aspotashev left07:05
cbreak_work it would get all.07:05
git tracks history on a per-commit basis.07:05
warthog9 left07:09
mva left07:11
steffkes joined07:11
__ed left07:11
priidu left07:11
priidu joined07:12
hearit left07:12
gebi joined07:14
giallu joined07:15
MetaCosm_ left07:16
cjs joined07:17
h32Lg joined07:17
h32Lg left07:17
h32Lg joined07:17
didlix joined07:17
cjs What command I can I use that will print just the commit ID of the current working copy, and whether or not the working copy is modified?07:17
cxreg has there ever been talk about a sister channel to this one that talks about git.git hacking?07:17
i think we need one07:18
cbreak_work cjs: git rev-parse can do the former07:18
I think git diff can do the latter07:18
cjs Ah. Good. "git rev-parse HEAD" gives me half of what I need.07:19
mva joined07:19
cbreak_work --exit-code07:19
slonopotamus cxreg: git-devel?07:19
cbreak_work or even --quiet07:19
cxreg slonopotamus: ah. well. it's almost entirely empty, but ok :)07:20
trochala joined07:20
selckin can bad things happen when you edit files during svn dcommit?07:21
cbreak_work the edits might vanish07:21
warthog9 joined07:21
HG` joined07:21
cjs Hm. How do I get the current branch name? (And only that, for a shell script.)07:21
cbreak_work I think svn dcommit does a rebase&reset after it's done07:21
cjs: I think git branch can do that07:21
selckin as long as they won't get commited i'm happy07:21
cbreak_work or rev-parse07:21
cjs cbreak_work: I can't seem to find the bit in the git-branch manpage to tell me how to do it.07:23
slonopotamus selckin: well, it can fail07:23
cjs I guess $(cat .git/HEAD) will do well enough.07:24
yatiohi left07:24
cbreak_work git rev-parse --symbolic-full-name HEAD07:24
leo2007 when I use git svn to clone http://svn.clozure.com/publicsvn/openmcl/trunk/darwinx86/ccl, it doesn't seems to clone the whole repo. For example, I only have 4 files in the cloned repo. Ideas?07:25
vals_ leo2007: submodules maybe?07:25
leo2007 submodules in svn?07:25
pkrumins left07:25
leo2007 I don't understand what you mean.07:26
gergap joined07:26
slonopotamus leo2007: that url only has 4 files07:26
leo2007: what else did you expect?07:26
leo2007: maybe you want "git clone http://svn.clozure.com/publicsvn/openmcl/ --stdlayout" ?07:27
err, git svn clone07:28
leo2007 slonopotamus: svn co the same url gives far more than 4 files, it seems svn pulled from external sources.07:29
slonopotamus cxreg: i think most git.git action happens on maillist07:29
leo2007 I saw "Checked out external......" in 'svn co'07:29
slonopotamus oh07:29
mw_ joined07:31
__ed joined07:31
Schmallon joined07:32
masterkorp joined07:35
aspotashev joined07:35
adamholtadamholt_away07:36
adamholt_awayadamholt07:36
Axius joined07:40
koollman left07:41
dreinull left07:42
koollman joined07:43
trivol joined07:43
hagabaka left07:44
slava_dp joined07:47
gebi left07:47
slava_dp I can't modify a commit's message, can I?07:47
cbreak_work you can07:48
but it's history rewriting07:48
so the result will be a new commit in place of the old one07:48
programble left07:48
cbreak_work slava_dp: man git-rebase -i07:48
frogonwheels slava_dp: you can annotate it. umm I think that's teh correct word..07:48
psoo left07:49
shruggar slava_dp, what is your goal? Was the commit the last commit you made? Have you pushed it / branched from it, yet?07:49
frogonwheels nope. wrong word07:49
adamholtadamholt_away07:49
adamholt_awayadamholt07:49
steveire left07:50
shruggar left07:50
slava_dp I think I'll just leave it as it is :) just wanted to know if there is an easy way.07:50
frogonwheels slava_dp: have you pushed it?07:51
steveire joined07:51
steveire left07:51
steveire joined07:51
Rhonda slava_dp: For the last commit there is an easy way (always keep in mind to only do it when you haven't pushed yet): git commit --amend07:51
cbreak_work rebase -i is easy07:51
but it's dangerous and very powerful07:51
frogonwheels slava_dp: as in pushed the commit to a server07:51
unreal left07:52
unreal joined07:52
frogonwheels .. only spectacularly dangerous when you rebase already pushed commits.. and force it up07:52
slava_dp frogonwheels, no, it's my local git, I don't have a parent server.07:52
frogonwheels slava_dp: well then if it's the last one, use Rhonda's suggestion, otherwise rebase -i is really easy and sooo useful07:53
slava_dp ok, I'll read help rebase then :)07:53
gergap left07:54
frogonwheels slava_dp: you can also squash up those icky 'woops' bugfix commits..07:54
gergap joined07:54
frogonwheels slava_dp: those 'left off a ;' ones ;)07:54
tizbac joined07:54
Rhonda doesn't like sqashing commits. People aren't perfect and those are only natural and one shouldn't feel the need to "hide" them.07:56
cbreak_work I craft my history.07:57
Rhonda And people that laugh at such commits are the ones that usually do it themself all the time . o O ( and squash them themself because otherwise they'd die in embarassment like they do onto others )07:57
cbreak_work I want every commit to be compilable07:57
frogonwheels :) I'm with cbreak_work07:57
cbreak_work but mostly, I use --amend07:58
hyperair Rhonda: would you prefer to have 2-3x more patches to review, each of them correcting a mistake made in a patch before it?07:59
quaestor left07:59
bgy left07:59
workmad3 left08:00
hyperair i squash commits and make the messages more descriptive to aid anyone who reviews my patches prior to running format-patch08:00
cbreak_work I commit bug fixes as separate commits if they are interesting.08:00
michel___ joined08:00
cbreak_work (and in the commit message I boast about how hard the journey to it's squashing was, and how fierce the battle played out)08:00
Axius left08:01
hyperair lol08:01
paulbaumgart joined08:01
krawek left08:02
gemmes joined08:03
steveire left08:04
calin joined08:04
shruggar joined08:04
steveire joined08:04
steveire left08:04
steveire joined08:04
johnw joined08:07
AAA_awright left08:08
AAA_awright joined08:08
tvw joined08:08
datapolitical left08:10
michel___ left08:10
johnw left08:11
QwertyM left08:11
rchavik left08:11
mutex left08:12
gemmes Hi all, noob here, how do I revert back to a previous commit?08:12
steffkes- joined08:12
cbreak_work gemmes: more details08:12
khmarbaise left08:12
cbreak_work what do you want to do in the past?08:12
rchavik joined08:12
cbreak_work do you want to stay there?08:12
did you already push your present?08:13
mutex joined08:13
gemmes i only installed git yesterday and made one commit, i now have errors, i want to commit the current files then revert back to yesterdays files08:13
shruggar gemmes, you want to commit the current files, then discard them?08:14
doener left08:14
zorzar left08:14
d1zzy left08:14
shruggar gemmes, sounds like you might want to make a branch08:14
gemmes i will only discard them if previous files have bug too.08:14
steffkes left08:14
shruggar ah, so you want to /temporarily/ go back to the previous commit08:15
cbreak_work I think making a branch is reasonable anyway.08:15
gemmes yes to see if files are working08:15
d1zzy joined08:15
zorzar joined08:15
doener joined08:15
Rhonda hyperair: It of course highly depends on the worflow and interaction with others. Still I think people are too keen to hide their mistakes when they are just human, and people should get used to be able to admit them instead of humiliate others that don't hide.08:15
mithro left08:15
froschi1 joined08:16
shruggar commit the files, then "git checkout HEAD^", this will put you into a "detached head" where you can examine the previous state.08:16
^gemmes08:16
gemmes ok will look into trying that08:16
vpilo left08:17
paulbaumgart gemmes: git stash might be what you're looking for: http://progit.org/book/ch6-3.html08:18
shruggar good point, paulbaumgart08:18
gemmes thanks for link, will try that too08:19
khmarbaise joined08:19
vpilo joined08:20
nevyn^_ joined08:22
anjen left08:23
Titosemi joined08:23
poli left08:24
ericlee can anyone show me the difference between git and subversion?08:24
blueshift shows ericlee08:25
cbreak_work what's not different?08:25
Kasreyn ericlee: snapshots?08:25
poli joined08:25
mar77i ericlee: why do you ask?08:26
ericlee because ready to learn08:26
cbreak_work there's an intro, git for svn users08:27
ProperN[out] joined08:27
Kasreyn clear your mind and press search08:27
ProperN[out] left08:27
ProperN[out] joined08:27
intripoon joined08:28
MrCheetoDust joined08:29
MrCheetoDust Hey guys, I've used git for a while and recently installed gitx -- it was working for a while, but now it's just showing me 'Pieter de Bie'08:29
for author, date, subject, etc when I select my commits08:29
anyone know how to fix that?08:30
wereHamster fix what?08:30
Mage left08:30
ProperNoun left08:30
ProperN[out]ProperNoun08:30
MrCheetoDust I'm using GitX08:30
and now anytime I select a commit08:30
to view changes, etc08:30
cbreak_work does git log show correct?08:30
wereHamster what does `git log` show as the author?08:30
MrCheetoDust it's blank and just shows 'Peter de Bie' for author/date/etc08:30
yes git itself08:30
is perfect08:30
wereHamster take it up with the gitx author..08:31
MrCheetoDust left08:31
hearit joined08:33
hearitIahc08:33
Pieter what's up?08:33
lbt_ joined08:35
Paraselene_ joined08:35
dreinull joined08:36
carutsu_ left08:42
bauruine joined08:43
cdamian joined08:44
cdamian I am (still) trying to migrate our company from svn to git. Is there any magic to speed up git-svn? I think it is getting slower for every revision and I think it might take a month to finish, if it does at all.08:46
Pieter you can try to kill it and run it08:47
selckin could try, ^c; git gc; git svn rebase,08:48
galderz joined08:50
slonopotamus cdamian: how big svn repo is? (gigs, num of commits)08:50
shruggar cdamian, how complex is the clone you're trying to make? Just trunk or tracking multiple-branches, for example?08:51
shruggar doesn't know where that hyphen came from...08:51
slonopotamus shruggar: how that matters?08:51
cbreak_work cdamian: do the conversion on the same host08:51
shruggar slonopotamus, because if it's just trunk, and he doesn't mind waiting a month or so, git-remote-svn may be done by then ;)08:51
cdamian compressed svn dump is ~ 2G, about five branches and 35000 revisions08:51
I tried it with a local repo and it didn't help much08:52
enherit left08:52
slonopotamus cdamian: that should be <1 day on modern hardware.08:52
wereHamster cdamian: are you cloning through svn: or http: or from a local filesystem?08:53
roop left08:53
wereHamster and there are other tools for svn->git migration thatn git-svn08:53
tatsuya joined08:53
cdamian At the moment I do with http: , but I also tried with file:08:53
wereHamster some much faster than git-svn08:53
cdamian I have used svn-dump-fast-import, which is a lot faster and takes the dump. But I think git svn preserves the branches and merges better.08:54
shruggar git-svn preserves merges?08:55
slonopotamus git-svn doesn't handle merges08:55
cdamian ok, I am mistaken then :-)08:55
slonopotamus because svn doesn't handle merges08:55
shruggar slonopotamus, svn does handle merges, it's just not very elegant ;)08:56
cdamian it does store some merge information in the properties, but it is all a bit rubbish08:57
slonopotamus shruggar: no, it doesn't08:57
paulbaumgart left08:57
shruggar slonopotamus, in what way does svn not handle merges?08:57
slonopotamus shruggar: svn log is linear08:58
shruggar: for example08:58
cbreak_work it has one line08:58
shruggar slonopotamus, so your argument is basically "svn doesn't handle feature X because svn has a crappy interface"08:58
cbreak_work a feature that's not usable does not exist :)08:58
slonopotamus shruggar: merged commits do not appear in history at all.08:58
workmad3 joined08:59
cdamian maybe I give one of the other tools another chance and also try to find some better hardware.08:59
slava_dp left08:59
spb when you merge in subversion, the only history you can see is one side of the merge, with hopefully a checkin comment that says what the other side is08:59
slonopotamus left09:00
slonopotamus joined09:00
cdamian and some of the tools do the comment (or storing it in properties) automatically09:00
shruggar I'll admit that I've not used svn directly since mergeinfo was added, but it does exist09:00
slonopotamus it does exist, yep :) but it doesn't solve.09:01
offby1` joined09:01
dj_tjerk left09:01
shruggar slonopotamus, what doesn't it solve? I'm interested in this because I'm trying (or, should be over the weekend or next week) to write up a description of various svn histories and how they would translate into git histories09:02
aspotashev left09:03
offby1 left09:03
Tricia left09:03
froschi1 left09:03
aspotashev joined09:04
dj_tjerk joined09:07
cdamian well, if I ever manage to migrate I will post something about it :-) there are more problems any way, with client hooks, jira, deployment by svn revision, sparse checkouts and more fun. And everyone here hates the shell.09:07
jargan joined09:07
bburhans_ joined09:07
d0k joined09:07
charon joined09:07
sven^ joined09:07
koki left09:07
stockholm left09:07
bburhans left09:07
dirker joined09:08
koki joined09:08
slonopotamus shruggar: there's so much said on this on the web already...09:08
knittl joined09:08
broquaint joined09:08
stockholm joined09:08
roop joined09:08
Iahc left09:09
slonopotamus shruggar: http://designbygravity.wordpress.com/2009/10/19/what-mother-never-told-you-about-svn-branching-and-merging/09:10
masterkorp left09:12
Razor__ joined09:12
broquaint left09:13
Razor__ left09:13
trash joined09:14
gebi joined09:14
wereHamster joined09:15
werdan7 left09:18
shruggar slonopotamus, as is pointed out in the comments, that appears to be a "pre merge-tracking" workflow09:19
paulbaumgart joined09:19
hyperair slonopotamus: that looks like constantly rebasing.09:20
paulbaumgart how stable is 1.7.2? any ideas on when it will become officially designated as stable?09:20
shruggar paulbaumgart, I think it was released officially on wednesday09:21
paulbaumgart, afaik "released" means "stable"09:21
sitaram Oxf13: white space does not matter (sorry I was in a meeting pretty much the whole darn day till now!)09:21
paulbaumgart shruggar: oh, great, apparently git-scm.com hasn't been updated to reflect that09:22
prietopa joined09:22
shruggar paulbaumgart, I just saw that, yeah. http://git.kernel.org/?p=git/git.git;a=tag;h=refs/tags/v1.7.2 it's not an "rc" anymore, anyway09:22
bauruine left09:22
paulbaumgart shruggar: great, thanks09:22
shwaiil joined09:23
bluenovember joined09:23
prietopa Why GIT not recognise changes in my repository?. I change the file name. MsxHouseFidelity --> MSXHouseFidelity, but no changes in git09:24
ycyuxin left09:24
shruggar prietopa, are you on windows?09:24
prietopa yes09:24
Arrowmaster thats why09:24
prietopa is a windows problem?09:24
Arrowmaster yes09:24
shruggar prietopa, it's a "git on windows" problem09:24
blueshift windows doesn't really understand case09:24
ruskie joined09:24
masterkorp joined09:24
prietopa ok, thanks09:25
Arrowmaster try git rm --cached MsxHouseFidelity09:25
aziz joined09:25
Arrowmaster then git add MSXHouseFidelity09:25
slonopotamus left09:26
prietopa Arromaster: thanks, i try to change file name in ubuntu system.09:26
werdan7 joined09:27
dreinull left09:29
cdamian left09:29
masterkorp left09:29
aspotashev left09:29
curtana joined09:30
masterkorp joined09:31
Dave^| left09:31
Dave^| joined09:31
jds joined09:32
jtdowney joined09:32
becomingGuru joined09:33
Fullmoon joined09:34
lorenz joined09:34
lorenz left09:35
bauruine joined09:38
radioman-lt joined09:38
masterkorp left09:39
ralf_e joined09:39
roger_padactor left09:39
roger_padactor joined09:40
entrosca joined09:40
slonopotamus joined09:42
mw_ left09:42
curtana left09:48
nicoulaj joined09:49
masterkorp joined09:52
Bennid joined09:53
slonopotamus left09:55
steveire left09:56
masterkorp left09:56
steveire joined09:57
steveire left09:57
steveire joined09:57
prietopa left09:59
fivetwentysix left10:00
dany_ joined10:00
dany_ hi all10:01
Ilari hi10:01
gergap left10:01
fivetwentysix joined10:01
fivetwentysix left10:01
gergap joined10:01
JEEBcz joined10:01
dany_ I'm new with git. Can you tell me if is it possible to commit all the file that you have modified with using add namefile?10:01
vpilo left10:02
shruggar dany_, I expect you're asking "is there a way to commit all changes, regardless of whether or not they've previously been added to the index using "git add <file>"?"10:02
vpilo joined10:03
yaottiyaotti_aw10:03
psankar joined10:03
dany_ uhm10:03
curtana joined10:03
dany_ shruggar: yes10:03
shruggar: sorry for my ugly english10:04
JEEB left10:04
Mpenz joined10:04
steveire left10:04
shruggar dany_, "git commit -a" will do that for you. "git add -u" will (similarly) add all changes in one go. However, I recommend trying "git add --patch", as it may make the power of the index more obvious.10:04
dany_ thanks10:05
becomingGuru left10:05
steveire joined10:06
steveire left10:06
steveire joined10:06
dany_ you were very useful :)10:06
Ilari Or 'git add --interactive'.10:06
gbacon joined10:07
dany_ Ilari: what is the difference10:07
?10:07
shruggar git add --interactive is menu-driven, while git add --patch is a shortcut for one of the more commonly-used options of the interactive mode10:07
dany_ cool10:08
thankss10:08
cbreak_work git add -p is great10:08
dany_ cool10:08
cbreak_work it's edit mode is... interesting10:09
bdrewery left10:09
dany_ thank you guys10:09
shruggar I think I'd prefer some sort of dedicated patch-editing tool to vim for editing..10:10
cbreak_work it uses TextWrangler here :)10:10
dany_ :D10:10
shruggar I use the edit mode at least once a week, usually more10:10
charon shruggar: well, i don't think there's any particular reason not to support a dedicated config variable for that editor10:11
AAA_awright_ joined10:12
shruggar charon, it was more of a pipe-dream, I don't know of any dedicated patch-editor. I assume I could wrap vimdiff in a simple shell script to get what I really want10:12
beni- joined10:13
shruggar (a way to say "oops, that's not right, let me edit that hunk quickly" without actually editing the patch by hand)10:13
shruggar adds it to his big list10:13
AAA_awright left10:15
AAA_awright joined10:16
shruggar hm, though should it be "edit the pristine file, with hunk applied", "edit the currently-staged file, with hunk applied", or "edit a copy of the work-tree file"10:17
skoop left10:17
sh1mmer joined10:17
AAA_awright_ left10:17
shruggar and potential weirdness if your edits result in more than one hunk10:18
bdrewery joined10:18
girishr joined10:18
Joeconyers joined10:19
dany_ left10:19
rajeshsr_ joined10:22
JEEB joined10:23
JEEBcz left10:24
gbacon left10:24
rajeshsr_ left10:29
steveire left10:33
dreinull joined10:33
entrosca left10:33
entrosca joined10:34
Joeconyers left10:35
parasti joined10:35
steveire joined10:35
JEEB left10:36
JEEB joined10:36
ereslibre joined10:38
ereslibre left10:38
ereslibre joined10:38
gemmes left10:42
sh1mmer left10:43
formale joined10:44
vals_tango_10:44
pom I have changes in a branch which only exists live. In the same branch there are conflicting changes on another repository. They have already been pushed to our bare rep. Hence, the changes that are live cannot be pushed to solve the conflict on a dev-server. Can I rollback the changes pushed to bare?10:46
froschi1 joined10:48
theduke joined10:49
Kasreyn how can you apply username/password with git push http://some.site/my.git ? i have added a user to my .htaccess..10:49
theduke a question about submodules: is there a way to only have a subdirectory of a submodule-repository in the working dir?10:49
jtdowney left10:50
skoop joined10:50
AAA_awright Kasreyn: For pushing over WebDAV?10:50
I thought it asks you for a password, I forget10:51
Kasreyn using git-http-backend10:51
AAA_awright I tried it once a while ago10:51
Kasreyn only password? what about user?10:51
AAA_awright Maybe that too10:51
Kasreyn if i typed in the URL on a webbrowser it would prompt for username/password but with git i have no idea10:52
steveire left10:52
AAA_awright Oh I see, that's the new HTTP CGI10:53
steveire joined10:53
steveire left10:53
steveire joined10:53
ralf_e left10:53
AAA_awright I haven't used that but the authentication should be similar10:53
Kasreyn AAA_awright: yes indeed. it's smart!10:53
AAA_awright Kasreyn: Have you tried pushing yet?10:53
peper left10:53
Kasreyn yes, first i got error 500, now i get 40110:54
so, making progress :)10:54
AAA_awright Hm how does it know to enable write access?10:55
Maybe you need http.receivepack10:55
d1zzy left10:55
cpgcpg|away10:57
thierryp joined10:57
byang left10:57
level09 joined10:57
nevyn^__ joined10:58
nevyn^__ left10:58
rseifert joined10:59
ralf_e joined11:02
nevyn^_ left11:02
Kasreyn AAA_awright: i already have my.git/config http.receivepack set true11:03
sylr left11:04
AAA_awright Does it work without the htaccess restriction?11:04
I'm not sure11:04
Kasreyn checkout is enabled for anonymous as default but not write11:05
jpieper left11:08
Kasreyn however, setting http.receivepack should enable write for anonymous11:08
setting it true that is11:08
if i read man git-http-backend correctly11:08
jpieper joined11:08
psankar left11:09
Fernandos joined11:12
Fernandos hi11:13
d1zzy joined11:13
dreinull left11:14
Fernandos I've a problem pushing changes :(11:15
can you help me please http://image-upload.de/image/1gjpKg/66d15cc509.png11:15
this is what I get when I push11:15
tango_ Fernandos: you are trying to push to a non-bare repository11:15
Fernandos what does that mean?11:16
tango_ (it's a FAQ, by the way)11:16
faq non-bare11:16
is the bot here?11:16
oh damn11:16
Fernandos idk11:16
how can I solve this?11:16
bartman joined11:16
tango_ https://git.wiki.kernel.org/index.php/GitFaq#How_do_I_make_existing_non-bare_repository_bare.3F11:17
steveire left11:17
dreinull joined11:18
Kasreyn git push http://myuser@some.site/my.git will prompt for password. not working though11:19
steveire joined11:19
steveire left11:19
steveire joined11:19
skoop left11:21
skoop joined11:21
skoop left11:21
[Po]lentino left11:21
Fernandos tango_: why doesn't this command work? git clone --bare -l C:\Users\Ferhat\My Dropbox\RubyOnRails\VirtualTrading C:\Users\Ferhat\Workspace\internal\git\VirtualTrading11:22
skoop joined11:22
Fernandos I get an error saying "too many arguments"11:22
corni joined11:22
tango_ because you forgot the quotes (") around the path containing spaces11:22
smuf joined11:23
tango_ iow it should be "c:\users\ferhat\my dropbox\rubyonrails\virtualtrading"11:23
Fernandos now I get invalid argument11:23
ah It worked.. I neeeds forward slashes11:24
huh? what does it do?11:25
it copied the contents of the .git folder into a VirtualTrading folder?11:26
tobiassjosten joined11:27
hebz0rl joined11:27
Fernandos is this the correct command? git clone --bare -l "C:/Users/Ferhat/My Dropbox/RubyOnRails/VirtualTrading" "C:/Users/Ferhat/Workspace/internal/git/VirtualTrading\.git"11:28
level09 left11:28
Fernandos I have got a bare repo now. what do I do next to work productively. I want to be able to push/pull from the other repo11:30
roop left11:31
masterkorp joined11:32
winterweaver joined11:32
xiong joined11:33
nataraj joined11:34
kenyon left11:35
Pepsi1x1 left11:35
kenyon joined11:35
steveire left11:36
Fernandos I tried: git add remote dropbox "C:/Users/Ferhat/My Dropbox/RubyOnRails/VirtualTrading" in my bare repo now11:36
steveire joined11:37
steveire left11:37
steveire joined11:37
wereHamster you can't work in a bare repo11:37
work as in make and commit new changes..11:37
Fernandos fellas I'm kinda lost :/ could you help me please to just be able to pull/push with that repo?11:37
sebastorama left11:38
wereHamster make sure the repo on dropbox is bare, then clone it, work on the code, commit and push back11:38
barismetin joined11:38
Fernandos but I already have commits in that repo in the dropbox11:38
wereHamster so?11:38
Fernandos so I tried cloning that repo into a local directory and this resulted in this error http://image-upload.de/image/1gjpKg/66d15cc509.png11:39
ppr joined11:39
hohoho left11:39
wereHamster I can only help you if you tell me which git commands you executed, what the output was or what happened and what you expected to happen11:40
ppr left11:41
charon heh.11:41
peper joined11:42
charon the info is all there. it's just completely unreadable because this SmartGit apparenlty isn't so Smart after all.11:42
hasen left11:43
nataraj ! [rejected] master -> master (non-fast forward) , while trying a git push origin master11:43
moldovean left11:43
wereHamster nataraj: faq non-ff11:43
nataraj why would it reject?11:43
wereHamster nataraj: https://git.wiki.kernel.org/index.php/GitFaq#non-ff11:44
flaguy48 joined11:45
cannonball joined11:47
saurabhb joined11:47
becomingGuru joined11:48
Fernandos wereHamster: I typed: git clone -l "C:/Users/Ferhat/My Dropbox/RubyOnRails/VirtualTrading" "C:/Users/Ferhat/Workspace/internal/git/VirtualTrading"11:49
spaceonline joined11:49
davidc_ joined11:49
davidc_ ok stupid question, I've a remote and I want to pull that remote into my local branch. I've git checkout -b branchname and when I do git pull remotename branchname it doesn't find my remote ref branchname11:50
walk joined11:51
galderz left11:51
galderz joined11:51
galderz left11:51
galderz joined11:51
charon davidc_: well, in 'git pull remotename branchname' the <branchname> must exist on the *remote* side11:53
galderz left11:53
bremner davidc_: simple answer: git fetch remotename && git merge remotename/branchname11:54
charon since it specifies which branch of the <remotename> you are merging.11:54
rajeshsr_ joined11:55
davidc_ hmm ok11:55
what if I want to pull a remote master into my local branch?11:55
would that be possible or the branch *has* to exist on the remote?11:55
marc_kdab_ left11:55
bremner davidc_: see what I wrote above11:56
flaguy48 left11:56
hasen joined11:56
bremner after you have fetched, you have all of the remote branches, and you can see them with git branch -r; then just merge which one you want.11:57
RobertLaptop left11:57
davidc_ oh nice cheers man :)11:58
steveire left11:58
steveire joined11:59
steveire left11:59
steveire joined11:59
becomingGuru left12:01
dreinull left12:02
roop joined12:04
Fernandos left12:05
hyperair left12:06
drubies left12:06
flaguy48 joined12:08
opalka left12:09
tar- joined12:11
razvand joined12:11
Bass10 joined12:11
hyperair joined12:11
ralf_e left12:11
formale left12:12
aspotashev joined12:13
marc_kdab_ joined12:14
Ryback_ joined12:15
unreal left12:16
hyperair left12:17
unreal joined12:17
galderz joined12:17
galderz left12:17
galderz joined12:17
froschi1 left12:17
IslandUsurper joined12:19
peper left12:20
bodom joined12:20
_Vi joined12:20
warthog9 left12:22
peper joined12:23
h32Lg left12:23
SlickT10 joined12:25
roop_ joined12:26
roop left12:27
saurabhb left12:27
jaql joined12:27
ralf_e joined12:28
gantman joined12:28
dr_win joined12:28
froschi1 joined12:29
adamholtadamholt_away12:31
adamholt_awayadamholt12:31
spaceonline left12:33
walk left12:34
walk joined12:35
hebz0rl left12:36
girishr left12:38
spaceonline joined12:38
bgy joined12:38
bgy Hi12:38
StrongOrder joined12:39
bgy I'd like to experiment with rebase, but I don't want to break my repository, and I'd like to do on a real repo rather than one done for the occasion, can I copy my branches, both master and experiments to try it out ?12:39
cbreak_work just use git clone12:40
it clones repositories12:40
coderdad joined12:40
bgy cbreak, Won't it affect my bare remote repository ?12:40
cbreak_work only if you push back12:41
clones are independent12:41
mbroeker joined12:41
bgy Ok, I though rebase did it alone12:41
cbreak_work each repo is independent unless you clone it with --shared12:41
bgy Ok12:41
How could I know my rebase worked properly ? a git log would be enough ?12:42
airborn joined12:42
cbreak_work if it is as you want it to be then it worked12:42
bgy clear enough : )12:42
roger_padactor left12:43
bgy thank you12:43
tstclair joined12:43
magcius hm12:44
gergap left12:45
spaceonline left12:46
felipec joined12:47
workmad3 left12:47
magcius I can't clone git://git.gnome.org/gtk+ since the upgrade to 1.7.212:48
can anybody else?12:48
scarabx joined12:49
charon magcius: git clone 'git://git.gnome.org/gtk%2B'12:50
Rearden joined12:50
StrongOrder left12:50
magcius charon: aha, is there a reason now?12:50
charon: it wasn't in the release notes, and it's backwards-incompatible12:50
cbreak_work is + a permitted char in URLs?12:51
magcius Indeed it is.12:51
You've never seen + used instead of spaces?12:51
cbreak_work I've seen %20 used instead of spaces12:51
charon well, if you look in rfc2396 you will find that + is a reserved character12:52
but i agree on the release notes point12:52
Yuuhi joined12:52
bgy How to cancel a git pull ?12:52
cbreak_work ctrl-c?12:53
magcius ctrl-\12:53
bgy I mean after the pull is finished..12:53
magcius bgy: revert back to where it was before?12:53
cbreak_work git reset --hard HEAD@{1}12:54
note that this will screw up your history if the pull didn't do anything12:54
charon magcius: what was the last version that worked?12:54
Friction left12:55
magcius charon: 1.7.1?12:55
Luyang joined12:55
Luyang has anyone tried http://code.google.com/p/tortoisegit/12:55
using it12:56
workmad3 joined12:57
charon magcius: apparently it's from 9d2e942 (decode file:// and ssh:// URLs, 2010-05-23)12:57
cbreak_work Luyang: a tiny bit12:58
Luyang cbreak_work: did it feel stable?13:03
cbreak_work no.13:03
it felt like windows13:03
marienz left13:03
cbreak_work I have no idea how people can work with windows13:03
switching between more than two or three applications with one or two windows each is a pain13:03
I so missed exposé13:04
anyway, I like git command line more13:04
divVerent isn't expose dead in 10.6?13:04
cbreak_work no. why?13:04
divVerent or rather, replaced by a simple thumbnail view?13:04
I tried it13:04
cbreak_work it just looks different13:04
divVerent I no longer can get normal expose like in 10.413:04
it now is just a thumbnail view on a rectangular grid13:04
cbreak_work I liked the older layout more13:04
divVerent can't vista do THAT too? :P13:04
cbreak_work I use 713:04
no idea how13:05
divVerent sure13:05
just saying13:05
tizbac left13:05
divVerent apparently, Apple turned Expose into a very standard rectangular grid13:05
cbreak_work expose on os x shows all windows13:05
which is what I want13:05
both the old and new layout13:05
divVerent sure13:05
cbreak_work I have yet to find out how windows can do that13:05
divVerent but doesn't vista do somethign similar in, IIRC, alt-tab?13:05
MattDiPasquale joined13:05
divVerent some time ago since I last used it, though13:05
hyperair joined13:06
cbreak_work I'll try next time I start the VM13:06
jnl left13:06
divVerent I am normally on Linux, and never could get to like Expose13:06
mw_ joined13:06
mw_ left13:06
mw_ joined13:06
cbreak_work I use 2 real screens, 6 virtual screens and expose13:06
divVerent it's one of the cool effects but seems entirely useless - ESPECIALLY now that the location of a window in the expose view is EVEN LESS predictable13:06
airborn left13:06
cbreak_work has way too many windows13:06
divVerent I now use virtual desktops only :P13:06
MattDiPasquale left13:07
nevyn left13:07
divVerent and on OS X, I _would_ have preferred the dock, had it been easily keyboard accessible13:07
too bad OS X lacks a good alt-tab13:07
magcius charon: did you just report that?13:07
roop_ left13:07
cbreak_work it is keyboard accessible13:07
divVerent it can switch between applications, but how to switch between windows is application dependent13:07
cbreak_work the default commands are stupid though13:08
no, in german layouts, you can switch between windows with cmd-< and cmd->13:08
ereslibre left13:08
divVerent but yes, back then on that 10.4 mac, I had simply installed "Witch" go get a sensible alt-tabbing13:08
speaking of german layout13:08
nevyn joined13:08
calin left13:08
airborn joined13:08
divVerent why is that intentionally evil?13:08
marienz joined13:08
cbreak_work uses swiss german layout13:09
charon magcius: well i'm typing up an email13:09
divVerent windows user on osx machine tries to enter email address, hits command-q (german windows altgr-q), and quits the browser without asking13:09
neunon left13:09
magcius charon: it was already fixed13:09
hugoxrosa joined13:09
cbreak_work cmd-q is quit.13:09
magcius charon: http://git.kernel.org/?p=git/git.git;a=commit;h=ce83eda15554ffd859ecc9f4c427303d460dab6013:09
winterweaver left13:09
divVerent osx user on windows machine tries to enter email address, hits winkey-l (apple alt-l), and locks the screen13:09
cbreak_work it's like that since ... since I can remember13:09
divVerent cbreak_work: sure, but THE SAME combination is @ on DOS/Windows13:09
this is the one thing that makes Apple computers ABSOLUTELY unsuitable for users who want a computer to "just work"13:10
cbreak_work the cmd key is in the same spot as the windows key on windows keyboards13:10
charon magcius: now i'm confused. that does fix a bug in the original commit but it does not fix your gripe with the backwards-incompatible chagne.13:10
divVerent cbreak_work: no, the alt key is13:10
magcius charon: it doesn't?13:10
divVerent everyone who had previously used Windows, will quit his browser all the time on OS X13:10
cbreak_work: but in scancode, the cmd key is :P13:10
(if you plug PC keyboard into Apple)13:10
Apple keyboard has the codes of the keys between ctrl and space swapped13:11
cbreak_work I have a cmd key left and right from the space key13:11
LiamH joined13:11
divVerent cbreak_work: exactly13:11
and on german pc layout, on the right of space is AltGr13:11
cbreak_work isn't that where the windows key is?13:11
nataraj left13:11
divVerent which you press together with q to enter @13:11
magcius charon: oh shoot.13:11
charon: I misread "Jun 23", thinking it was today13:11
charon magcius: that commit is in 1.7.2 too.13:11
magcius yeah, I'm an idiot13:11
cbreak_work anyway, @ is alt-g on my layout :)13:12
you can use either alt key13:12
magcius charon: so why doesn't the fix work?13:12
divVerent cbreak_work: http://www.buessert.de/Trs-80/GermanTRS80/PC_GermanKeyboard_Make_large.gif13:12
charon magcius: because it fixes something else. read the commit message13:12
cbreak_work hmm. interesting.13:12
divVerent this @ issue is so weird, it looks INTENTIONALLY evil13:12
maybe to "lock in" users :P13:12
zimbres joined13:12
divVerent as it makes both switching from PC to Apple, and from Apple to PC, needlessly hard13:12
thiago Alt+G or AltGr+g?13:12
cbreak_work the windows key was the most anoying key I've noticed while using windows13:13
divVerent true13:13
magcius charon: yeah, keep writing up the email13:13
cbreak_work never found a use for it13:13
divVerent on Linux I don't use it much :P13:13
on my notebook actually I do use it13:13
cbreak_work it just randomly opened the start menu or locked the screen13:13
divVerent I xmodmap'ed them to pageup/pagedown13:13
so I don't need the FN key to read long text on the eeepc :P13:13
hyperair left13:13
cbreak_work divVerent: j and k for up and down... :)13:14
frakturfreak_frakturfreak13:14
divVerent cbreak_work: tell that Chromium :P13:14
charon magcius: have an address for a cc? (pm it if you don't want it logged but it'll be in the git list archives...)13:14
cbreak_work shift-j and shift-k for pagewise :)13:14
magcius charon: [email@hidden.address]13:14
cbreak_work there's a vim extension for firefox which I liked a lot13:14
magcius [email@hidden.address]13:14
steveire left13:14
magcius sorry13:14
divVerent cbreak_work: sure, but firefox is SLOW :P13:14
also... does j and k work in the PDF viewers?13:14
cbreak_work there's a firefox extension that makes it fast13:14
curtana wow, what an awful place to put the menu key :)13:14
cbreak_work don't know.13:15
divVerent pgup/pgdn have the advantage of working almost universally13:15
curtana: where?13:15
cbreak_work macs don't have that problem anyway13:15
steveire joined13:15
steveire left13:15
steveire joined13:15
cbreak_work you can scroll with multi-touch touchpads. :)13:15
divVerent oh, wtf13:15
on my screenshot13:15
curtana right end of shift key ;)13:15
divVerent haha13:15
never noticed THAT13:15
magcius shift-jk?13:15
opalka joined13:15
magcius seriously? That's a major stretch.13:15
curtana i always press right shift with my little finger, so i would constantly hit menu and get ENRAGED13:15
divVerent menu key is probably the most useless key ever13:16
1. it duplicates shift-f1013:16
curtana it's good as a Compose key13:16
kukks joined13:16
divVerent 2. just like nobody ever used shift-f10 for context menu, nobody ever uses the menu key for context menu13:16
cbreak_work at the moment I use a US keyboard (with swiss-german layout), so I often type $ instead of newline :/13:16
divVerent wtf, weechat highlights the words "nobody" and "context"13:16
ah, there's users of these names here13:16
curtana nah, here's an evil keyboard... https://robots.org.uk/stuff/odd-keyboards/norskdata.jpg13:17
JEEB left13:17
divVerent a key for GOTO13:17
a computer scientist's nightmare13:17
(especially Dijkstra's)13:17
curtana hehe. i like the light that lgihts up when you press a key!13:18
in case you didn't realise, perhaps13:18
divVerent but that keyboard is not even that evil...13:18
it's not as bad as a Sun keyboard :P13:19
thiago even though that says "Norsk Data", it's actually a Swedish keyboard13:19
cbreak_work http://store.apple.com/ch-de/product/MB110SM/A?fnode=MTY1NDA1Mg&mco=MTMzNzcyMDA&s=topSellers13:19
magcius curtana: oh man, you don't remember the APL keyboard?13:19
cbreak_work that's the layout I am used to13:19
tizbac joined13:19
curtana magcius, ;)13:19
magcius curtana: some of the coolest features were on old IBM keyboards. Like the key map button13:20
curtana did it change the keyboard layout13:20
magcius Yes.13:20
curtana comedy13:20
divVerent Stop-A13:20
oops13:20
now I have to know I have to type "go" quickly to not break the file system13:20
magcius And it had a 8-direction arrow key13:20
with an enter in the middle13:20
cbreak_work isn't that what's num-lock is good for on pcs?13:21
hyperair joined13:21
divVerent cbreak_work: you mean alt-sysrq?13:21
hohoho joined13:21
curtana see, things are better than they used to be. remember that the next time you quit your browser by accident?13:21
divVerent oh, the 8-dir arrow13:21
curtana (shtty web apps. a real program would ask if you are sure you want to quit....)13:21
divVerent except that the "diagonal" directions have home, end, pgup, pgdn mapped13:21
curtana: 1. it is common OS X interface guideline to NOT ask questions on Cmd-Q :P13:22
cbreak_work you're supposed to ask if there's unsaved state13:22
divVerent curtana: 2. on web sites, thank the advertisement annoyance coders for that13:22
originally onUnload was there for exactly that reason13:22
cbreak_work: then why does Safari not ask?13:22
when there are filled out form fields :P13:23
cbreak_work because it's a browser. it doesn't have state13:23
divVerent of course it has13:23
unsent form fields13:23
cbreak_work (none it considers valuable)13:23
divVerent THAT is the problem13:23
cbreak_work I think safari can ask if you have multiple opened tabs or something13:23
maybe taht was firefox13:23
divVerent a registration form that took 2 minutes to fill out, and 5 minutes to solve the CAPTCHA, CONTAINS such data13:23
curtana what, that sounds a bit dangerous. back when i had a mac you'd get ask if you e.g., pressed cmd+q without saving in clarisworks, photoshop, teachtext, etc...13:23
Luyang I just ran /share/msysGit/initialize.sh ... EXACTLY what's that doing? Is it downloading the whole Git repository?13:24
steveire left13:24
divVerent but... chromium also does not ask when closing the tab with ctrl-w13:24
cbreak_work curtana: if you have documents that aren't saved, then you have unsaved state13:24
divVerent: if you had firefox, it would restore the form content next launch :)13:24
divVerent cbreak_work: of course, that would be even better :P13:24
steveire joined13:24
divVerent just, teach that to Safari13:25
cbreak_work apple did some anouncement for a plugin api13:25
curtana yeah at least on chromium you can press ctrl-shift-tab to get backa closed tab, with the form state preserved( i think...)13:25
cbreak_work I have no idea if you can write session restore in it though13:25
divVerent curtana: chromium does not preserve form content in shift-ctrl-t13:25
at least not on google's search entry line13:25
curtana maybe in TEXTAREAs then13:26
divVerent maybe, yes13:26
or maybe only in POST forms :P13:26
curtana e.g., replying to LWN.net comment; the text is preseved but not the subject. how annoying13:26
bloody web browsers, they are all shit!13:26
divVerent yes13:27
hohoho left13:27
divVerent still, putting "quit" on a very common key combo of another layout is a bad idea13:27
cbreak_work blame windows13:27
divVerent why?13:27
cbreak_work they put their alt on that spot13:27
divVerent since when does APple have quit on Cmd-Q?13:27
cbreak_work since the macintosh I think13:27
so 1984 or so?13:27
I don't actually use macs since then though so I don't know for sure13:28
divVerent was that before or after the first MS-DOS with german layout?13:28
cbreak_work I have no idea.13:28
divVerent (I assume that already had @ on the final location)13:28
cbreak_work did people use the @ key back then?13:28
shruggar hey, Linux keeps its "send SIGINT" key on the standard windows "copy selected text" key ;P13:28
divVerent not much13:28
IIRC some config.sys entries had needed it13:28
benzap_ left13:28
froschi1 left13:29
flazz joined13:30
divVerent DOS 2.1 added the keyb command to load a keyboard layout13:30
Oct 198313:30
shruggar: true that13:30
except that this combination does nothing in GUI apps13:30
but, unix CLEARLY was first :P13:30
and macintosh 128k was after 1984, as it seems13:31
24 Jan 198413:31
magcius curtana: the RFC doesn't define a meaning to +, so it shouldn't be parsed as a space13:31
curtana: also, the %xx hack doesn't work for something older than 1.7.213:32
divVerent I think DOS assigned AltGr-Q before Apple assigned Cmd-Q...13:32
however, not a huge time interval :P13:32
yngress joined13:32
cbreak_work what's the difference between the alt keys anyway?13:32
I always found that iritating13:32
leo2007 left13:32
divVerent on German layout?13:33
Vojto joined13:33
divVerent left alt corresponds to apple Cmd key13:33
right alt corresponds to apple Alt key13:33
hebz0rl joined13:33
divVerent (called AltGr on PC)13:33
cbreak_work they should have picked different names.13:33
divVerent whatever AltGr stands for13:33
Belna left13:33
divVerent sure, and it IS a good idea to have two of them13:34
mapreduce Can we have symbol shift back please?13:34
Vojto Hey guys, can anyone help me with this one please? I created a new branch from master, but forgot to pull first. So it created a new branch, but it doesn't have latest changes from master. How do I get those changes from master to my new branch?13:34
cbreak_work anyway, apple's US keyboard layout seems to have @ on shift-213:34
divVerent note that German layout is one of the few PC layouts that actually HAVE an alternate-character-table key (like german right alt, Apple alt)13:34
yes, US layouts are similar13:34
cbreak_work Vojto: you can try git fetch remotename13:34
divVerent also, when will Apple finally release a working VNC server?13:34
cbreak_work then you can git rebase remotename/master13:34
divVerent one that works with non-US keyboard layouts :P13:34
cbreak_work to rebase your own master on top of the one on remotename13:34
Vojto cbreak_work: remotename would be what? the master branch?13:34
cbreak_work Vojto: the name of the remote13:35
yngress left13:35
yngress joined13:35
cbreak_work if you cloned, probably origin13:35
Luyang OK guys I've just installed msysgit. I wanna clone a Git repository from code.google.com Where should I clone it to? Which dir?13:35
I'm in /git13:35
cbreak_work git has no restrictions to repo location I am aware of13:35
Vojto cbreak_work: yea it's origin13:35
Luyang uhm... But what's a good place13:36
Vojto but it didn't work13:36
charon Luyang: your earlier comment about initialize.sh seems to indicate you installed the msysgit development environment (msysgit-*.exe) instead of a normal git install (git-*.exe)?13:36
Vojto those changes are in master branch13:36
Luyang charon yeah I installed the full installer13:36
cbreak_work Luyang: in ~/Documents/Projectname?13:36
parasti Vojto: fetch is one half of pull, the other half is merge13:36
charon Luyang: but anyway, clone it wherever you want to work with it13:36
workmad3 Luyang: somewhere sensible... I normally have a projects directory somewhere13:36
cbreak_work Vojto: sorry13:36
parasti Vojto: so, git merge origin/master13:36
cbreak_work Luyang: ~/Documents/Projectname?13:36
Luyang tell cbreak: oh ok sounds good13:36
oh13:37
I'm not using FICS now so I don't have to write "tell" :P13:37
Vojto parasti: gotcha, git merge worked13:37
cbreak_work Vojto: you shoudl use rebase instead of merge13:37
Vojto thanks a lot guys13:37
cbreak_work if you want a nice, linear history13:37
Vojto cbreak_work: why?13:37
oh13:37
cbreak_work it's more beautiful and simpler to look at/understand13:37
what did not work with rebase?13:37
Vojto I should really read some book on git :-)13:37
I didn't try rebase13:37
just fetch13:38
cbreak_work then why did you say it didn't work?13:38
workmad3 Vojto: http://progit.org/13:38
Vojto I did :o)13:38
brntbeer joined13:38
Vojto anyway thanks guys13:38
Luyang Darn I just installed Git and all that and I just realize the project is using Subversion! :D http://code.google.com/p/opensudoku-android/wiki/SourceCode?tm=413:38
Vojto this channel always helps whenever I'm stuck on something :-)13:38
divVerent Luyang: git-svn ;)13:38
workmad3 Luyang: git-svn :)13:38
daed left13:38
cbreak_work Luyang: different project13:38
Luyang can I use that?13:38
workmad3 although you'll need to be careful13:38
cbreak_work I find git-svn a pain to use13:39
workmad3 Luyang: yup... it comes with git13:39
divVerent git-svn clone --stdlayout http://opensudoku-android.googlecode.com/svn/13:39
cbreak_work it resets history behind your back13:39
Luyang I see13:39
oh13:39
RobertLaptop joined13:39
shruggar that's because it's a pain to use ;)13:39
Luyang :P13:39
divVerent cbreak_work: yes, mostly useful for setting up a public read-only git mirror of the repo13:39
Luyang I think I'm gonna use tortoisesvn13:39
workmad3 cbreak_work: that's because it's having to interface with the PoS that is SVN ;)13:39
cbreak_work I know why it does it. But it still sucks :)13:39
divVerent but git-svn also is slow :P13:40
cbreak_work (I blame SVN for it!)13:40
shruggar anyone who wants to help with the git-remote-svn project is very welcome. It's in need of manpower13:40
divVerent that is actually what sucks MORE13:40
I mean13:40
why does it take so long PER REVISION?13:40
cbreak_work it's svn.13:40
divVerent is that really the best way to download all the history from svn?13:40
if yes - how do people back up their svn repos then?13:40
workmad3 divVerent: it's the only way AFAIK13:40
well, without being on the server to be able to just copy the directory it's stored in13:40
cbreak_work I bet git-svn has some lines of code like: sleep(4242); // Make it look more like the real svn client13:41
divVerent I mean... is e.g. svnsync that slow too?13:41
workmad3 cbreak_work: heh :)13:41
divVerent sounds more like svnserve has such a line ;)13:41
shruggar divVerent, git-remote-svn is much faster (obscenely fast, by comparison)13:41
charon divVerent: you can get a huge speedup if you can get an rsynced copy of the svn server's backing store13:41
divVerent shruggar: how well does git-remote-svn already work, BTW?13:41
cbreak_work svn server has sleep(4242); // Do not touch this line, or the program will break. Don't ask me why.13:42
divVerent I don't know svn protocol, so I can't help much with it probably... but I do have a git-svn managed repo that I could "rebuild" using read-only git-remote-svn13:42
brntbeer left13:42
workmad3 cbreak_work: I think the comment is wrong... it's actually '// Only touch this line when the hordes are outside crying for speedups'13:42
divVerent still13:42
WHY is git-svn so slow?13:42
does it send a request, wait for reply, and only then sends the request for the next revision13:43
shruggar divVerent, brainpower works too. For example, a lot of thought it needed for the revision mapper, and none of the "thinking"/"design" part needs any code work13:43
divVerent naively asking, why doesn't it simply send all the requests for all the revisions at once?13:43
gantman left13:43
workmad3 divVerent: 'check out revision 1, receive revision 1, commit revision 1 to git repo, repeat ad nauseam'13:43
divVerent in HTTP they call this "pipelining"13:43
sure, but why not query the number of revisions, and then send "check out revision 1" to n all at once?13:44
or is svn protocol so bad that this can't be done?13:44
shruggar divVerent, the short answer is "because it's not written in a way that's very maintainable"13:44
brntbeer joined13:44
gergap joined13:44
workmad3 divVerent: wouldn't surprise me if the SVN protocol just doesn't support that13:44
shruggar divVerent, git-remote-svn will probably wind up being the back-end for git-svn, in addition to being its own thing13:44
workmad3 divVerent: it isn't a typical use-case for SVN after all...13:44
brntbeer left13:45
WebDragon joined13:45
steven_t joined13:46
steven_t hello13:46
shruggar 1.6's protocol supports an "svnadmin dump"-like feature, and artagnon has just about finished "svnrdump", an interface which produces near-identical output (which is due to be out in 1.7, and will be maintained separately for 1.6)13:46
steven_t how do you completely checkout the previous commit and discard all current changes in the index?13:46
thiago left13:46
steven_t including changes like deleted files etc13:46
shruggar steven_t, git reset --hard HEAD13:46
thiago joined13:46
steven_t ah thanks13:46
workmad3 I don't type fast enough :)13:46
steven_t ahhhh much better thanks!13:47
divVerent shruggar: also I wonder how you are going to handle svn tags in git-remote-svn13:47
workmad3 steven_t: also, if you want to do that but not discard all your work, use 'git stash'13:47
steven_t ahh13:47
divVerent or even svn branching at all :P13:47
Jferro joined13:48
xiong left13:48
divVerent there are so many things that svn still can't handle well...13:48
shruggar divVerent, it's one of the things that needs people other than me to think about it :P13:48
scarabx left13:48
divVerent also, will git-remote-svn support stone age svn servers? :P13:48
shruggar I'm guessingthe support won't go back beyond 1.613:48
divVerent icculus.org e.g. uses svn 1.3.213:48
workmad3 steven_t: that'll store your work in a local stash, revert back to the previous commit and then later on you can do 'git stash apply' to apply your changes back on top of your working directory13:48
Luyang shruggar: some people want auto lock on files before edit13:48
divVerent which is the svn server which hosts the repo I am git-svn mirroring13:48
jani_ joined13:49
divVerent and the admin refuses to upgrade svn because "who knows what it may break"13:49
jani_ hi13:49
divVerent and yes, this means mergeinfo ALSO does not work13:49
workmad3 divVerent: bleh, sounds hellish :(13:49
divVerent well, git-svn can deal with this repo :P13:49
if git-remote-svn cannot, I won't be able to use it13:49
and if git-svn takes over git-remote-svn's access code, I'd sadly have to keep an old version of git-svn then13:50
mar77i_ joined13:50
shruggar I assume for older versions someone will make a slower interface13:50
jrmuizel joined13:50
smuf left13:50
shruggar join #git-devel if you want to discuss and/or are interested in helping with git-remote-svn13:50
divVerent regarding git-remote-svn, it's not just about speed though13:51
the "slower interface" idea would probably just work for git-svn13:51
ehabkost joined13:51
shruggar it's not just about speed. We're aiming for 1:1 mapping of much more than git-svn currently handles13:51
divVerent right13:51
and THAT is what seems impossible on old svn servers13:51
that do not even have mergeinfo13:51
brntbeer joined13:52
divVerent unless you store stuff as blobs in svn properties, or even files... and THAT would be insane13:52
and then think of all the mess that might ensue if you then upgrade svn to a version supporting that stuff :P13:52
ereslibre joined13:52
ereslibre left13:52
ereslibre joined13:52
mar77i left13:52
shruggar at the moment EVERY repository which "supports merginfo" hast history with no mergeinfo data in it13:53
divVerent sure13:53
I just am saying... either git-remote-svn would have to continue treating the repo as a "stupid old" repo forever13:53
or it'd cause a funny mix of old "git-only" and new "svn compatible" merge info data13:54
(and then it'd have a lot of fun parsing that mix)13:54
_stefanos_ left13:54
divVerent of course... all this assuming that one CAN represent the info in a svn-compatible way :P13:54
scarabx joined13:54
mar77i_ left13:54
divVerent but I think one can, if one creates "weird-named" branches13:55
steven_t left13:55
mar77i joined13:55
shruggar all git history can be represented as svn history. git's history model is much simpler than svn's, so that's a given13:55
divVerent oh?13:55
rchavik left13:55
froschi1 joined13:55
divVerent what can svn represent that git can't?13:55
cjs left13:55
divVerent merges from remote URLs come to my mind, but I have no idea if mergeinfo stores them13:56
shruggar mostly things having to do with subtrees. I expect that will involve creating "fake history" in various places to translate it into something git friendly13:56
divVerent oh, yes13:56
nothing prevents me to svn merge from another source than a branch13:56
shruggar and that's a good thing13:56
divVerent and create messy mergeinfo all over the place :P13:56
even then, doesn't each commit in svn have a clearly defined set of parents?13:58
IIRC that should suffice to make git happy13:58
subtree merges are ALSO very weird in git, but in the end, git doesn't care if the trees of commit objects part of a merge have anything to do with each other or not13:58
nicoulaj left13:58
cbreak_work commits in subversion have always one parent13:59
divVerent it does not record any metadata on HOW the merge was performed13:59
cbreak_work the previous revision13:59
loincloth joined13:59
divVerent cbreak_work: plus possible "extra parents" from mergeinfo13:59
(if you want to map it back to git)13:59
loincloth left13:59
divVerent but yes, this is highly asymmetric13:59
cbreak_work I don't think mergeinfo is about parents. shouldn't it be about folders?13:59
loincloth joined14:00
mar77i_ joined14:00
freimatz left14:00
lucsky joined14:00
mar77i left14:00
divVerent mergeinfo basically contains a path, and a revision range14:00
of what has been merged from the path14:00
dreinull joined14:00
shruggar I think mergeinfo can represent the same "multiple parent" things that git can14:01
lucianogp joined14:01
hohoho joined14:01
divVerent shruggar: if you create history that is "weird to svn", yes :P14:01
(to deal with git's "nameless branching" that can happen)14:01
lucianogp hi everyone, how would you set .gitignore to ignore files (not directories) under "tmp/" ?14:02
shruggar by the time svn sees it, all branches are nameless14:02
corni left14:02
divVerent shruggar: so you are not exporting a git branch to branches/foo in svn?14:02
the problem with svn mergeinfo is that to svn, merge and cherry-pick are the same14:03
shruggar we're not doing anything yet, because I'm the only one who has yet said "sure, I'm interested in this aspect of it enough, I'll write something up on it", and I'm a lazy bastard. For the GSoC term, branches will not be supported in any form14:03
divVerent (in fact, "svn merge" is no different from cherry-picking all "missing" revisions from the other side, and squashing all that into a single commit, recording what you have merged)14:03
and an obvious heuristics would be to assume that a git-merge had been performed if ALL revisions from the source branch have been merged14:04
frakturfreak left14:05
shruggar divverent, you seem to have thoughts about the matter, so I encourage you to /join #git-devel ;)14:05
scarabx left14:05
divVerent okay, did. Still, mostly have them from the "user's point of view" (and mathematician's)14:06
lucianogp (solved)14:06
shruggar that's all I've got on the svn side. I haven't looked at any svn code outside of svnrdump14:06
divVerent you know, the main incentive to switch my projects from svn to git was the old svn server on icculus.org :P14:07
(and that mergeinfo still does not work well)14:07
loincloth left14:07
divVerent with svn I can't simply sync it to a more capable server, work there, and commit back to the original one :P14:07
(which is exactly the decentral workflow git is good at)14:07
Fullmoon left14:08
loincloth joined14:08
dreinull left14:09
herdingcat joined14:09
sondreb left14:10
froschi1 left14:11
avar charon: that + -> %20 thing looks like a nasty bug, replied on-list14:11
lucianogp left14:12
bodom left14:13
frakturfreak joined14:13
steveire left14:13
poli left14:14
Tureba joined14:14
steveire joined14:15
walk left14:16
walk joined14:17
theduke left14:18
mar77i_ left14:18
rayners joined14:18
unreal_ joined14:19
SlickT10 left14:19
[Po]lentino joined14:20
mar77i joined14:20
tjholowaychuk joined14:21
unreal left14:22
unreal_unreal14:22
JEEB joined14:23
unreal left14:23
_stefanos_ joined14:24
corni joined14:24
mar77i left14:24
sukima joined14:25
crazy2k left14:25
travlr left14:25
sukima can you stash only one file. Need to do a reset/rebase/loose changes except on file that I want to stash.14:26
Titosemi left14:26
schlortoo left14:26
sukima s/on file/on one file/14:26
schlortoo joined14:27
crazy2k joined14:27
jrmuizel left14:27
warthog9 joined14:30
ehabkost left14:31
Titosemi joined14:31
ju2wheels joined14:32
avar you can do it by adding only that file to the index, then stashing the index iirc14:32
(or was it the other way around)14:32
ehabkost joined14:33
aaron_ joined14:33
ju2wheels Hi, has anyone encountered this error with gitweb 1.7.2: Can't call method "http" on an undefined value at /usr/share/gitweb/index.cgi line 3401.14:33
offby1`offby114:33
offby1 left14:33
offby1 joined14:33
aaron_dropandho14:33
byang joined14:33
dropandho Ilari- you wouldn't believe what the issue was!14:33
ju2wheels it started happening after I upgraded git/gitweb yesterday using the git ppa14:33
ajpiano joined14:35
razvand left14:35
ppawel joined14:36
mdwright_laptop joined14:36
sukima avar: that work thanks (former is correct)14:37
avar: It actually isn't wheather it's in the index or not it weather a file is tracked or not14:37
kpreid joined14:38
brizly joined14:38
mdwright_laptop are there any tricks to using git_prompt_info in a huge code base? currently whenever I do anything in the directory, I just lose my terminal for ~20-30 seconds while it runs14:39
ehabkost left14:39
ajpiano left14:39
rajeshsr_ left14:39
aresnick joined14:39
altrux joined14:40
ehabkost joined14:40
avar ju2wheels: what's on that line in your gitweb?14:40
if (defined $cgi->http('HTTP_ACCEPT') && ?14:41
sukima never heard of git_prompt_info and is now furiously googling the term14:41
koruptid I'm new to git and working off a remote repo... I just tried to push to it and was denied. something about "remote: error: refusing to update checked out branch: refs/heads/master"14:41
what do I need to do to be able to push?14:41
avar koruptid: don't push to non-bare repositories14:41
divVerent do you have to?14:42
koruptid avar: what the hell is a non-bare versus bare repo?14:42
divVerent you have the option to push to another named branch on the non-bare remote repository14:42
avar koruptid: see man git-init --bare14:42
divVerent koruptid: bare repo = "server stored repository" (only ever accessed via git commands)14:42
non-bare repo = "working repository" (has a work tree where you can work normally)14:42
cbreak_work bare repos are used for communication14:42
non-bare repos are used for working14:42
jani__ joined14:42
hearit joined14:43
divVerent a non-bare repo "almost" (apart from a config setting) contains a bare repo in its .git subdirectory14:43
koruptid avar: I imported this from an SVN repo... is there a way to turn it into a bare repo?14:43
sukima koruptid: non-bare == working repository AKA local. the directory your working in. bare == on a server with no working files14:43
divVerent koruptid: yes, but then git svn will not like much to work on it any more14:43
roop_ joined14:43
avar koruptid: with git-svn ?14:43
divVerent are you still going to use git svn on it?14:43
koruptid avar... yes14:43
divVerent: no14:44
divVerent that is good :P14:44
koruptid divVerent: I'm making a clean break from subversion14:44
divVerent then just git clone --bare it14:44
koruptid okay14:44
divVerent wait14:44
no, clone --mirror14:44
warthog9 left14:44
koruptid annnnnnnnd then re-remote the working copy?14:44
divVerent you could14:44
you could also just rename the current repo's dir, and put the new bare repo in that place :P14:44
koruptid I have changes that need to go bad to the master and this is over a gig of files14:45
*s/bad/back/14:45
hearit left14:45
henkboom left14:45
unreal joined14:45
ajpiano joined14:45
divVerent of course, you also can quite easily "bare-ify" the existing repo you have, by editing .git/config to set it as bare, delete everything but .git, and move everything in .git to .., then delete the empty .git14:45
but clone --mirror is so much easier14:46
jani_ left14:46
hearit joined14:46
divVerent and also gets rid of (but not irreversibly) the git-svn metadata14:46
(git-svn can quickly restore it if you set up git-svn on your cloned repo again, though)14:46
gergap left14:46
kpreid left14:46
avar ju2wheels: still there?14:46
koruptid divVerent: already removed the metaaaaaaaaaadata with a clone... followed instructions from a site. they just failed to mention making it a bare repo14:47
divVerent oh14:47
ok14:47
clone --mirror would have been the way to go :P14:47
koruptid yeah, I know that now. :P14:47
divVerent did you have any branches in the svn repo you want to keep?14:47
or do you only want master anyway?14:47
mdwright_laptop sukima: git_prompt_info is just a wrapper for __git_ps1 is appears.14:47
thwart joined14:47
koruptid no, just master14:48
divVerent good, then you lost nothing important :P14:48
with the non-mirror clone14:48
jstemmer joined14:48
henkboom joined14:48
unreal left14:48
divVerent still, if you DO want to use git-svn again on the repo, for whatever reason - "git svn fetch" works on a bare repo too14:48
it's how I do my git-svn-mirrors14:49
cbreak_work can you dcommit back or is that one-way?14:49
divVerent I can dcommit back14:49
but from my client14:49
I don't push to the master branch and have the server dcommit back14:49
apsysoev left14:49
cbreak_work hmm.14:49
doesn't dcommiting require meta?14:49
divVerent yes14:49
but it generates it quickly14:49
it doesn't check out every single rev from svn for that :P14:50
it just parses the git-svn commit messages to regenerate it14:50
koruptid mirror worked great... thanks so much!14:50
divVerent to dcommit, my "client" repos needed two git-config settings14:50
[svn-remote "svn"]14:51
url = svn://svn.icculus.org/twilight14:51
Isaiahs joined14:51
divVerent fetch = trunk/darkplaces:refs/heads/master14:51
that's all I need14:51
note that git-svn would never create this "fetch" line :P14:51
Isaiahs Sendme a pic of ur dic 214916 007314:51
steveire left14:51
divVerent (refs/heads/master as "target")14:51
steveire joined14:51
Isaiahs left14:51
divVerent but then dcommit knows where the svn history is, and works fine14:52
koruptid wtf was that?14:52
divVerent a spambot14:52
well, looks like it14:52
koruptid a really crappy one14:52
bgy Is it possible after a rebase is done to come back to the previous state ? like no rebasing happened14:52
divVerent bgy: yes14:52
git reflog14:52
locate the state you want14:52
ju2wheels @avar: yes sorry, had stepped away. that is the line on mine14:52
divVerent git reset --hard thatstate14:52
koruptid anyway... thank you so much... that worked perfectly14:52
bgy divVerent, is it reversible ?14:53
avar ju2wheels: How do you reproduce it, and how are you running gitweb?14:53
divVerent bgy: "not really"14:53
_stefanos_ left14:53
divVerent or what14:53
avar ju2wheels: Anyway, gitweb had a bunch of changes recently. If you can bisect that one that'd probably be very helpful. were you using 1.7.1 before?14:53
divVerent the reset? it is14:53
just use the same method again14:53
gbacon joined14:53
avar ju2wheels: That's definitely some internal error in it14:53
divVerent but this only works for a certain time till the reflog is pruned14:53
and not over the network14:53
.oO( I wish bare repos had a reflog too, when pushing e.g. )14:54
bgy divVerent, Ok, thank you14:54
hearit left14:54
ju2wheels avar: yes i was using 1.7.1 and im actually trying to revert, i just removed the git ppa but apt is being a pain and wont let me revert14:54
thwart left14:54
koruptid one last question hopefully for a while... is there a way to "roll up" all your existing commits to a certain point? I have a lot offff SVN commits where I didn't have comments14:54
ju2wheels so far I have removed the ppa, removed all the git packages and done a apt update but now it says it has no source for git packages14:54
divVerent cbreak_work: anyway, if you want, I can write up how to make this "as good as possible git-svn mirror" that even lets people work on git branches on the repo14:55
(just not push to master)14:55
unreal joined14:55
divVerent it involves a cronjob with git svn fetch AND git fetch, gitolite to do this access restriction so nobody messes with git-svn-owned history, and two git config commands to set up the client side to be able to dcommit14:55
agib|awayagib14:55
ehabkost left14:55
koruptid_ joined14:56
ju2wheels well more specifically it says "E: Package git has no installation candidate"14:56
divVerent try git-core14:56
ehabkost joined14:56
koruptid left14:56
avar ju2wheels: well, a bisect would be really useful, if you can manage that.14:56
koruptid_koruptid14:56
WebDragon|laptop joined14:57
cbreak_work ju2wheels: apparently git is not this git but some other git no one else has used in this century14:57
avar aoeu git (master) $ git bisect start master v1.7.1 -- gitweb/14:57
Already on 'master'14:57
Bisecting: 12 revisions left to test after this (roughly 4 steps)14:57
ju2wheels: like that14:57
vu3rdd left14:58
rseifert left14:58
WebDragon left14:59
WebDragon|laptopWebDragon14:59
shade_ joined14:59
ju2wheels cbreak_work: lol ty very much, thats what i get for using tab completion. i got it reverted.15:00
avar: readding git ppa now to get you that bisect15:00
jds left15:01
AAABeef joined15:02
callumacrae joined15:02
brizly left15:03
callumacrae Does anyone have any experience with GitX?15:03
ehabkost left15:03
SamothUK callumacrae: A bit, what about it?15:04
callumacrae Well, trying to get it to work15:04
t won't15:04
It*15:04
cbreak_work divVerent: I hope I'll never have to work with subversion again.15:04
roger_padactor joined15:04
avar ju2wheels: You can't bisect with the ppa, you have to check out and build from source15:04
callumacrae http://gitx.frim.nl/user_manual.html It says "When you open for the first time"., but I didn't see it15:04
SamothUK callumacrae: in what way does it 'not work'?15:04
avar ju2wheels: But how does the error happen?15:05
SamothUK callumacrae: ahhh15:05
bentob0x joined15:05
callumacrae Clicking git:// links doesn't work either15:05
koruptid anybody use tortisegit?15:05
cbreak_work once.15:05
jrmuizel joined15:05
cbreak_work I didn't like it much though15:05
SamothUK callumacrae: does the program start at all?15:06
callumacrae Yup15:06
It's in the dock15:06
koruptid cbreak_work: I'm used to using tortise so I'm thinking about giving it a try15:06
ju2wheels avar: i honestly have no idea, i had gitweb working fine yesterday before upgrading to 1.7.2, with the exception that i couldnt get it to see any of my repositories (which is really what im trying to fix)15:06
im using the same config i had then15:06
jtauber left15:06
avar ju2wheels: yes, but what are you *doing* with gitweb when you get the error?15:07
i.e. what request url etc.15:07
SamothUK callumacrae: if you get a menu, File->Open and then select a directory with a .git directory in it, or the .git directory itself15:07
avar ow is it set up, what runs it15:07
callumacrae Okay, thanks15:07
simplechat left15:07
Belna joined15:07
shade_shade\15:08
ehabkost joined15:08
ju2wheels avar: all i do is try to load localhost/gitweb/ in my browser and nothing came up15:08
mdwright_laptop left15:08
SamothUK callumacrae: if that doesn't work, it might take a bit more thinking :)15:08
shader joined15:08
drubies joined15:09
callumacrae Yeah it's worked :)15:09
Thanks15:09
jtauber joined15:09
shader how do I see which commits I haven't pushed to remote?15:09
avar ju2wheels: What webserver do you use for gitweb, what exec model?15:09
i.e. cgi, fastcgi, etc.?15:09
SamothUK callumacrae: hurrah :)15:09
shader I've merged in a few times, but I don't know how far back the last push was15:09
avar shader: git log remote/branch..branch15:09
shader thanks15:09
SamothUK callumacrae: doing the "Enable Terminal Usage" from the menu, so you can run 'gitx' from the command line is really useful15:09
ju2wheels avar: im using an unmodified apache install, only change was enabling rewrite and cgi modules. Heres some more info on what i was doing http://ubuntuforums.org/showthread.php?t=153696315:10
callumacrae I don't really use git that often, I probably won't need it, but thanks LD15:10
:D*15:10
hyperair left15:10
hyperair joined15:11
bgy How to squash commits ?15:12
I took a look to rebasing, but I already rebased my branch with my master, so I'm not sure if I can rebase master master to squash my commits15:13
smuf joined15:13
kipras joined15:13
cbreak_work left15:14
ereslibre left15:14
callumacrae left15:14
shader is there a way to see a log of dangling commits?15:14
ju2wheels avar: apache, cgi15:14
shader bgy, how many commits do you want to squash?15:15
Heimidal joined15:15
bgy shad, ± a dozen15:16
shader15:16
sorry shad : )15:16
shader try "git rebase -i head~12" while on master15:16
herdingcat left15:17
bgy shader, but my commits where inserted between others commits when rebasing15:17
shader that's fine15:17
nimrod10 joined15:18
shader it'll give you the option to rebase interactively, and you can reorder them before squashing15:18
you can put a particular commit id in place of head~12 if you know where you want to rebase onto (i.e., the furthest back commit you want to touch)15:19
Luyang left15:19
sftp left15:19
sitaram Oxf13: ping15:20
bgy shader, ok, i'll give it a try15:20
sitaram Oxf13: take the latest master, set all 4 variables described in http://github.com/sitaramc/gitolite/blob/master/doc/big-config.mkd#other_optimisations to 1 in the rc file15:20
shader you might want to check your EDITOR env var first15:20
jani__ left15:21
shader bgy, it will default to vim, if you're ok with that15:21
avar ju2wheels: Iteresting, can you bisect it or not, then the bug will be fixed upstream15:21
bgy shader, yep it's ok : )15:21
Is there a way to know the ~n with git log ?15:22
poli joined15:22
sftp joined15:22
traviscline what's the cleanest way to to find the most recent ancestor of a branch?15:22
shader I usually just use the first few digits of hash15:22
easier than counting15:22
steveire left15:22
ericindc joined15:22
shader @ bgy15:23
ericindc left15:23
avar bgy: this in your gitconfig: abbrev-commit = "!f() { git name-rev --tags \"$@\" | sed 's|.*tags/||;s|\\([0-9a-f]\\{7\\}\\).*|\\1|'; }; f"15:23
?15:23
or git describe15:23
ju2wheels avar: i dont have it installed from source, whats the general process there? Clone the git repo and just run that command you gave me?15:24
bgy i don't have such alias (abbrev-commit)15:24
MattDiPasquale joined15:25
steveire joined15:25
steveire left15:25
steveire joined15:25
avar ju2wheels: clone the git.git repo, then start the bisect I gave you15:25
schlortoo left15:25
hobodave left15:25
avar then for each bisect version compile it (described in INSTALL), install it and try if the problem goes away15:25
SlickT10 joined15:25
avar if so => git bisect good, if not => git bisect bad15:25
keep doing that until it isolates the bad commit15:25
sitaram Oxf13: the pastebin you sent: I assume that was a sample of the config you plan to use? Looks good. Duplicates -- dont worry too much; gitolite unique's them anyway (the beauty of using hashes in most places)15:26
hagabaka joined15:26
skoop left15:27
SlickT10 left15:27
slonopotamus joined15:28
andrewl joined15:29
hadees left15:29
Sho_ joined15:30
ehabkost left15:31
ehabkost joined15:32
Sho_ hi guys. we got a server hosting master repositories that also allows developers to make personal clones on the server (thanks to gitolite). a common scenario is for these to become out of sync, and the developers having to push up a lot of history the master repo on the same storage already has. I was wondering if it's possible for the server to check for any objects it could hardlink from the master repo during the push negotiation, and then tell the client it doesn't15:33
need to push those, but only the objects not shared between the master and the server-side personal clone. does anyone know?15:33
adamv joined15:34
thiago left15:35
Adriannom joined15:35
eighty4 left15:35
spaceonline joined15:36
bdimcheff joined15:36
steffkes- left15:37
Adriannom hi. i just did git reset --hard, but i'd forgotten about a change i still needed. i've done a commit since then, is there any way of recovering the unstaged changes i lost? i'm presuming no...15:37
byang left15:38
slonopotamus Adriannom: no. that's why you usually don't want reset --hard15:38
Adriannom aye. luckily it wasn't too much work. thanks15:39
rajeshsr left15:39
rajeshsr joined15:40
ppawel left15:40
kpreid joined15:40
agibagib|away15:41
neunon joined15:42
neunon left15:42
neunon joined15:42
barismetin left15:43
tedoc2000 joined15:43
schlortoo joined15:43
David-T left15:44
David-T joined15:44
sh1mmer joined15:45
kpreid left15:45
grey-monkey joined15:45
ju2wheels does anyone know if gitolite supports LDAP users and groups? and if it does is there any documentation for how to set that up?15:46
walk left15:46
entrosca left15:46
IslandUsurperIslandUsurperAFK15:47
grey-monkey I have a git repo on a server that 4 devs ssh into and pull the current branch. The permissions on the files pulled in .git/objects keeps changing to g-w. Is there a way to change this so that every time a user pulls on the server the .git/ojects that are created have g+w permissions?15:47
walk joined15:47
tedoc2000 left15:47
schlortoo left15:48
ju2wheels grey-monkey: are you using gitolite? It has a UMASK setting in .gitolite.rc that may fix that i think.15:48
grey-monkey we are not using gitolite15:49
WebDragon|laptop joined15:49
sitaram ju2wheels: gitolite does not have to support it. If you have an sshd that used LDAP as its authkeys database (there is one such project on github) and that sshd has the eqvt of "command=" in authkeys file, it will work anyway15:49
WebDragon left15:49
WebDragon|laptopWebDragon15:49
squentin left15:49
sitaram grey-monkey: chmod g+ws, and make all users part of that group15:50
chmod -R g+ws I think15:50
hyperair left15:50
dr_win left15:50
hyperair joined15:51
dr_win joined15:51
Heimidal left15:51
grey-monkey sitaram: I'll try that. Thanks!15:52
jeromegn joined15:52
coderdad_ joined15:53
jeromegn what could be the cause of git pulling telling me everything is up to date, but when I view the repository on github, the files aren't the same?15:53
raichoo joined15:54
ehabkost left15:54
ralf_e left15:54
coderdad left15:54
carter joined15:54
ehabkost joined15:55
ralf_e joined15:55
ju2wheels sitaram: could you elaborate on what you mean by equivalent of command=, i thought that was added by gitolite automatically when you add the user keys? I guess im misunderstanding how that works. So, my company does have sshd setup to use ldap, but i what i actually want is for all users to push through git@server but still be able to differentiate who is pushing based on their gitolite keys. Can i just add a key named after an LDAP use15:56
matty[pac] left15:56
slonopotamus left15:57
ju2wheels so say, can i have "git" setup as the gitolite user, and in /keys add pub keys for ldapuser1, ldapuser2 and setup gitolite.conf repo perms for ldapuser1/2 and it will work automatically?15:58
schlortoo joined15:59
ju2wheels so far ive only setup gitolite on my personal server so thats why im asking about ldap since my final setup will be on my companies server16:00
squentin joined16:00
squentin left16:00
squentin joined16:00
roop_ left16:00
Oszo left16:01
Elfe left16:01
Oszo joined16:02
juanjoc joined16:02
Oszo left16:04
thiago joined16:04
thiago left16:04
thiago joined16:04
sitaram ju2wheels: step back a bit16:04
ju2wheels: think about what normal sshd gets, and what it passes to gitolite16:04
tstclair left16:04
ehabkost left16:05
tstclair joined16:05
sitaram ju2wheels: sshd gets a pubkey from the user. It matches it in the authkeys file (this is the part that needs patching to use LDAP, AFAIK). After that it should just run the "command=" in the authorized_keys file.16:05
ehabkost joined16:05
sitaram ju2wheels: but when the authkeys file itself does not exist (pubkeys are stored in LDAP, by some other, company wide, means), where does the "command=" parameter come from? Somewhere in LDAP, thats where16:06
sitaram looks for Grum...16:06
sitaram he's done LDAP + git at least, if not gitolite16:06
jeromegn left16:07
tchan1tchan16:07
tchan left16:07
tchan joined16:07
Yuffster joined16:08
ju2wheels sitaram: ok that makes sense to me so far.16:08
posciak left16:08
agib|awayagib16:08
sitaram so far? that's all I have :)16:10
schlortoo left16:10
engla joined16:10
engla left16:10
engla joined16:10
ju2wheels so i guess what i really should be looking for is how to define/change command= ldap16:10
ill start doing some research16:10
sitaram ju2wheels: your LDAP-backed ssh must somehow be able to infer the userid from the pubkey match, and invoke "[path]gl-auth-command user"16:10
ju2wheels k16:11
schlortoo joined16:11
kiliman joined16:12
hobodave joined16:14
copelco joined16:15
mkramer joined16:15
pcc1 I'm seeing post-receive-email mails classified as spam. anyone ever seen this?16:15
mkramer hi...16:15
steveire_ joined16:15
steveire_ left16:15
steveire_ joined16:15
mkramer I'd like to get a git status-like output for the difference between HEAD~3 and HEAD~216:16
not a git diff-like output16:16
giallu left16:16
beni- left16:17
workmad3 left16:18
rane_ "--stat" or something..16:18
steveire left16:18
walk left16:19
engla mkramer: you could use diff with --name-status to get a file list16:19
nevyn^_ joined16:19
steveire joined16:19
steveire left16:19
steveire joined16:19
schlortoo left16:19
stephenp joined16:20
walk joined16:20
schlortoo joined16:20
stephenp how can i copy the contents of HEAD exactly as they are to a different branch? I have a working HEAD,and I just want to make that HEAD the new tip of master.16:21
Eaven joined16:22
Fangorn_ stephenp: isn't that what merge is for?16:22
wereHamster stephenp: checkout the different branch, then reset --hard or read-tree or checkout the other ref16:22
rajeshsr_ joined16:22
beni- joined16:23
wereHamster if you want to preserve history, you should use the 'ours' merge strategy16:23
stephenp Fangorn_: for some reason that i fail to comprehend, merge screws it all up, and deletes lines, files, etc. it doesn't actually tell me it does this.16:23
sitaram wereHamster: you were trying to use LDAP auth + git weren't you?16:23
wereHamster sitaram: yes. DOes it work now? :)16:24
engla merge keeps the history and changes of both branches16:24
lbt_ left16:24
stephenp so, if I'm on "live" and i want to copy it's head to master, i should do "git checkout master", "git checkout <sha1 of live head>" then commit?16:24
intripoon left16:25
ehabkost left16:25
wereHamster stephenp: no. git merge -s ours master; git checkout master; git merge live16:25
sitaram wereHamster: how does LDAP authenticate and pass to git? Can it be made to pass a "command" to run also?16:25
wereHamster stephenp: that would preserve history16:25
stephenp alright, let me try that.16:25
corni left16:26
wereHamster sitaram: I solved it by using ForceCommand in /etc/ssh/sshd_config16:26
ehabkost joined16:26
wereHamster sitaram: so users authenticate with their own login and my script takes from there16:26
stephenp wereHamster: i should start out on branch "live" right?16:26
tstclair left16:27
wereHamster stephenp: yes, as you said (if I'm on "live" and ..)16:27
stephenp i've been futzing around with this for about two and half hours, and i'm starting to doubt my own sanity.16:27
wereHamster if you don't want to preserve the history, there are easier ways to do that16:27
schlortoo left16:27
engla stephenp: if you don't like the history graph after that you can turn the merges into a squash merge/normal commit if you reset --soft on master back to before the merge (then commit)16:28
sitaram wereHamster: so your LDAP-backed sshd still honors /etc/ssh/sshd_config then... hmm16:28
wereHamster sitaram: yes. LDAP is integrated through pam16:28
sukima left16:29
Cesario left16:29
stephenp okay, that seems to have worked.16:29
sitaram wereHamster: ok16:30
nevyn^_ left16:30
kenichi joined16:30
rubydiamond joined16:31
wereHamster sitaram: that solution, however, has its own 'problems'.. Namely, how to make sure users can clone each others' repos16:31
stephenp jesus. that was hard.16:31
kpreid joined16:31
shruggar left16:32
rajeshsr__ joined16:32
rajeshsr_ left16:32
stephenp is there some kind of special trick to merging two branches where each have had independent changes made to them, without losing your mind?16:33
stringoO joined16:33
schlortoo joined16:33
selckin git merge branch1 branch216:34
wereHamster that would merge three branches ;)16:34
ehabkost left16:34
selckin right16:34
stephenp yeah, that's what i did.16:34
sitaram wereHamster: unless your force_command basically runs a setuid-to-"git" and passes to the normal gitolite auth command with the current $USER as arg116:34
beni- left16:34
engla stephenp: look at gitk branch1...branch216:35
wereHamster sitaram: or init all repos with --shared=all16:35
stephenp yeah, no x-windows.16:35
engla stephenp: "X" or X Window System16:36
stephenp right, none of that.16:36
headless server.16:36
steveire left16:36
koruptid left16:37
stephenp probably why it's giving me such fits, because i normally have gitx to look at and keep track of the branches and where everything is.16:37
sitaram wereHamster: but you're saying this does preserve SSH_ORIGINAL_COMMAND env var at least?16:37
steveire joined16:37
steveire left16:37
steveire joined16:37
engla git log --graph --oneline <branches> and so is pretty nice16:37
ehabkost_ joined16:38
schlortoo left16:38
wereHamster yes16:38
stephenp engla: that's much better.16:39
schlortoo joined16:39
stephenp now, should i bother getting rid of this rats nest of commits and merges i seem to have made, or is it safer just to leave it?16:39
Fangorn_ stephenp: add --decorate=full to see tags,branches,etc16:39
RobertLaptop left16:39
wereHamster sitaram: sysadmins try to avoid suid, so I've chosen init --shared=all. But I think running all git commands suid-to-git would be much easier16:39
stephenp: or clone the repo to a host where you have X1116:40
and then inspect it with gitk16:40
alin-gym left16:40
alin joined16:40
aspotashev left16:42
shruggar joined16:42
stephenp yarg... "git push origin" error: unable to create temporary sha1 filename ./objects/79: File exists16:42
wereHamster stephenp: permission problems16:42
elmob joined16:44
ralf_e left16:44
alin left16:44
thierryp hi folks - a newbie question16:44
I accidentally ran 'git add' on a file that I was not intending to add to the repo16:45
how ca i undo that ?16:45
FauxFaux thierryp: git status tells you.16:45
ehabkost_ left16:45
aspotashev joined16:46
thierryp excellent - thanks16:46
ehabkost_ joined16:46
Andy joined16:46
jacobwg joined16:46
coderdad_ left16:46
AndyGuest2443216:46
hagabaka left16:47
jacobwg I can't get a post-commit hook to work - no matter what I do, I don't think it's being called. Any ideas?16:47
hagebake joined16:47
hagebake left16:47
hagebake joined16:47
coderdad joined16:47
wereHamster jacobwg: is the hook executable?16:47
jacobwg permissions are rwxr-xr-x16:48
aspotashev left16:48
jacobwg So, I would think so.16:48
wereHamster jacobwg: does it work if you execute it manually?16:49
ehabkost_ left16:49
jacobwg Yes, it does what is supposed to do.16:49
ehabkost_ joined16:49
poli left16:49
WebDragonWebDragon|away16:50
tstclair joined16:50
tedoc2000 joined16:50
MrGlass_Work joined16:50
coderdad left16:51
jacobwg wereHamster: I'm not exactly sure if I'm doing this the right way... I have a special user for git and have setup ssh access with my local account (so I'm pushing to gituser@localhost:repo.git). The post-commit hook is located at the server and is owned by the git user.16:51
macek joined16:52
wereHamster yeah, that won't work16:52
because commits are *local* in git16:52
MrGlass_Work hi, how do I commit a version of a file, then have git stop tracking the changes to it but not remove it from the repo? for instance, my project has a file with DB username and pass, I want to commit it with "user" and "pass" as those fields but then change it in my project. Similarly, my project has a /log folder that needs to exist, but I want it to not have contents16:52
wereHamster jacobwg: man githooks -> post/pre-receive/update16:52
RobertLaptop joined16:52
jacobwg So, I want post-receive?16:52
amerine joined16:53
jacobwg wereHamster: Do you know the difference between update and post-receive?16:53
wereHamster MrGlass_Work: usually you wouldn't track that config file at all. And only keep a template in the repo which each user can copy and edit16:53
macek left16:53
wereHamster jacobwg: the man page explains it16:54
MrGlass_Work: is it a rails project by any chance?16:54
jacobwg wereHamster: is that the man page like as in the terminal command man?16:54
wereHamster jacobwg: yes, a normal unix man page16:54
slonopotamus joined16:55
jacobwg wereHamster: Perfect! Thank you very much for your help!16:56
MrGlass_Work wereHamster: i dont want it tracked, i just want that tempalte to be in the repo16:56
im new to git16:56
and nto rails, symfony16:56
but ive needed to do this for lots of diff things16:57
and ive seen it done, jsut dont know how16:57
wereHamster MrGlass_Work: git mv the/config.file the/config.file.template; echo 'the/config.file' >> .gitignore; git add .gitignore; git commit -m 'Provide a template config file for the/config.file'16:58
theen instruct your users to 'cp the/config.file.template the/config.files; vi the/config.file'16:58
eighty4 joined16:59
MrGlass_Work ah i see16:59
hmm16:59
slonopotamus left16:59
ehabkost_ left16:59
florianb joined17:00
avar ju2wheels: get anywhere with bisecting?17:00
ehabkost_ joined17:00
steveire left17:01
macek joined17:01
poli joined17:01
ju2wheels avar: im actually @ work now, so i wont be able to do that testing until later tonight or tomorrow.17:02
IslandUsurperAFKIslandUsurper17:03
shruggar left17:03
neunon left17:03
Dreamer3 left17:04
leo2007 joined17:04
ehabkost_ left17:04
LiamH left17:05
tanoku joined17:05
gebi left17:05
steveire joined17:05
steveire left17:05
steveire joined17:05
avar great, anyway, if you mail the list now with the error perhaps someone will have fixed it by that time anyway17:05
brntbeer left17:05
unreal left17:06
avar ju2wheels: I recomend that, make sure to cc Jakub Narebski [email@hidden.address]17:06
unreal joined17:06
tstclair left17:06
apropos joined17:06
ju2wheels avar: ok, will do.17:06
Dreamer3 joined17:07
ehabkost_ joined17:07
khmarbaise left17:08
rajeshsr_ joined17:08
hsa2|gonehsa217:08
hsa2 hello17:08
hsa2 left17:08
hsa2 joined17:08
hsa2 i am having trouble :P17:08
apropos Aren't we all17:08
hsa2 i am not in sync with git repo, i want to ignore the changes i made and get the last version from git repo17:09
i tried git checkout -f17:09
but it didn't work17:09
Ilari dropandho: Sorry, was away...17:09
David-T left17:09
Ilari hsa2: fetch first. Checkout is local-only operation.17:10
Dreamer3 left17:10
avar git fetch && git reset --hard origin/master17:10
hsa2 why git rest is necessary avar?17:11
Vojto left17:11
wereHamster to update your working tree17:11
engla and change the whole branch's state17:12
karamorf joined17:12
level09 joined17:12
wereHamster alternatively you could checkout origin/master insteat of the reset17:12
daaku left17:12
level09 how do I make a non-master branch a Active branch (instead of master)17:12
rajeshsr__ left17:12
wereHamster level09: git checkout <that other branch>17:13
Elfe joined17:13
apropos I'm using gitolite, and I tried to push, but: "remote: Use of uninitialized value in do "file" at hooks/update line 32.17:13
remote: Null filename used at hooks/update line 32."17:13
The strange thing is though, from a different UNIX user account it works perfectly.17:13
karamorf ok I'm completely lost with git. I made a repo on github, managed to commit various config files from my home folder (.vimrc). Now I'm trying to pull those files down into my home folder on a second computer. first, i guess I can't create a WC on a non empty folder? symbolic links can fix that i suppose ... Did a clone but I can't get it to pull down the files from the repo (which i see are there from github.com). Also a svn convert if that matters...17:14
schlortoo left17:14
schlortoo joined17:14
level09 wereHamster: thanks, however, when I clone the master will still be the default branch , no ?17:14
wereHamster karamorf: first push the canhnges back to github (git push), the go to the otheer computer and do 'git clone [email@hidden.address]17:14
bdrewery karamorf: did you git push to github?17:14
wereHamster level09: yes17:14
level09 can i edit the config so the head is pointing to the non-master17:15
David-T joined17:15
wereHamster level09: for that you'd have to edit the config file on the server17:15
level09: on the server: git checkout <the other branch>17:15
karamorf Yes, I did a git push17:15
level09 okiez thanks17:15
tobiassjosten left17:15
ju2wheels does anyone know if i can get gitolite to list the actual repos available under a wildcard directory instead of listing the wild card dir itself when you do ssh git@server?17:16
sh1mmer left17:16
sitaram ju2wheels: http://github.com/sitaramc/gitolite/blob/pu/doc/4-wildcard-repositories.mkd#reporting17:17
EricInBNE left17:17
theoros joined17:17
mkramer engla: that works, thanks17:18
engla: re: diff --name-status17:18
Guest24432AndyJ17:18
j4cbo left17:18
slonopotamus joined17:19
t0rc joined17:19
dropandho Ilari- no problem...i got it to work! there is something funny going on...i need to use the server's ip17:19
Ilari dropandho: Vhosts.17:19
davidc_ left17:20
jstemmer left17:20
pipegeek left17:20
hagebake left17:20
neunon joined17:21
ju2wheels sitaram: awesome ty17:21
kipras left17:22
brntbeer joined17:22
[Po]lentino left17:22
Sho_ left17:22
Ilari dropandho: Can you also try what happens if you add some weird name for correct address in local /etc/hosts (or find one from DNS) and try to use that. What happens?17:22
dropandho def...i'll try that out!17:23
alex__c2022 joined17:24
Ilari dropandho: Since that sort of thing causes that weird name to be sent to server as vhost.17:24
trivol left17:24
level09 left17:25
tatsuya left17:25
thiago left17:25
engla left17:25
schlortoo left17:25
dropandho gotcha....it worked with that random entry in my hosts file17:26
ehabkost_ left17:26
curtana left17:26
bluenovember left17:26
ehabkost_ joined17:27
krawek joined17:27
dropandho the very first line of my 000default file for apache has: NameVirtualHost *:80 and all the directives are wrapped in <VirtualHost *:80>17:27
opalka left17:30
tanoku left17:30
macek left17:32
daaku joined17:33
roop_ joined17:33
Ilari dropandho: Seems that one vhost entry is somehow treated specially...17:34
neunon left17:35
dropandho yeah, it seems i'm missing a ServerAlias or ServerName somewhere17:35
i'll look into that17:35
level09 joined17:36
dropandho in the meantime, I have all my git repos in their respective subdirectory under /home/shared17:36
apropos It looks like gitolite has forgotten to add the command= bit in the .authorized_keys file.17:37
thiago joined17:37
dropandho however I only want some of the repos to be accessable via httpbackend...and i'm having trouble17:37
bdrewery works great for me17:37
dropandho i thought it only works for repos that have the following set: [http] receivepack = true17:38
kiliman left17:38
brizly joined17:38
ehabkost_ left17:38
dropandho but httpbackend works for anything in that home/shared dir because that's where i'm pointing its ScriptAlias17:39
kpreid left17:39
hohoho left17:39
apropos left17:40
Elfe left17:41
ehabkost_ joined17:41
Elfe_ joined17:41
_Vi left17:41
dreiss joined17:41
brizly left17:42
_Vi joined17:42
flaguy48 left17:42
steveire left17:43
radioman-lt left17:43
Sigma joined17:43
radioman-lt joined17:43
ehabkost_ left17:44
tildeequals left17:44
koruptid joined17:44
ehabkost_ joined17:45
koruptid is it possible to put a git repo inside an ignored directory within another repo?17:45
level09 left17:46
leo2007 koruptid: did you try it first?17:46
koruptid: clone a repo and abuse it.17:46
koruptid leo2007: just tried it... messed up on a command and that's why I got confused for a sec... forgot to cd into the repo17:47
leo2007 ;)17:47
jacobwg left17:47
henkboom left17:48
ehabkost_ left17:49
macek joined17:50
ehabkost_ joined17:50
ehabkost_ left17:50
henkboom joined17:51
steveire joined17:51
steveire left17:51
steveire joined17:51
slonopotamus_ joined17:52
zimbres left17:52
karamorf left17:52
ehabkost_ joined17:53
WebDragon|awayWebDragon17:54
slonopotamus left17:54
Ilari dropandho: Don't override the receivepack setting unless you know what you are doing.17:54
brntbeer left17:55
slonopotamus_slonopotamus17:56
shwaiil left17:56
dropandho I'm not trying to override the settings...I just noticed that it doesn't matter if I have the [http] receivepack = true in my configs they all seem to be accepting httpbackend....i was expecting only the repos with receivepack set to true to accept httpbackend17:57
loinclot_ joined17:58
KelebekSohbet935 joined17:58
schlortoo joined17:58
dropandho any idea how to stop the other repos from accepting httpbackend...even though they are all under the same main directory that I pointed the httpbackend ScriptAlias to?17:59
hsa2hsa2|gone17:59
loincloth left18:00
parasti left18:01
hobodave left18:01
hobodave joined18:01
Belna left18:02
babusri joined18:03
indygreg left18:04
slonopotamus left18:06
parasti joined18:06
hyperair left18:06
schlortoo left18:06
hyperair joined18:06
rseifert joined18:07
gbacon left18:07
daaku left18:07
Jippi_mac joined18:08
hyperair left18:09
brizly joined18:09
galderz left18:09
Yuffster left18:10
poli left18:12
poli joined18:12
KelebekSohbet935 Selam..18:12
nasýlsýnýz18:12
www.trsohbetci.com18:12
hyperair joined18:12
schlortoo joined18:12
KelebekSohbet935 94.102.5.9318:12
leo2007 spammer?18:12
sh1mmer joined18:13
gebi joined18:13
rajeshsr_ hi all, is it possible to have something like an update-only branch. That is i have a branch, which will "track" certain files only from some branch and updates it say with something like git pull when am in that branch..18:13
?18:13
tstclair joined18:14
florianb left18:15
loinclot_ left18:16
loincloth joined18:16
roop_ left18:17
steveire_ left18:18
hyperair left18:18
WebDragon|laptop joined18:20
WebDragon left18:20
WebDragon|laptopWebDragon18:21
whatdoesitwant joined18:21
KelebekSohbet935 left18:21
Rearden left18:21
redondos left18:22
redondos joined18:22
hyperair joined18:22
corni joined18:23
aspotashev joined18:23
_Vi left18:24
agibagib|away18:25
mbroeker left18:25
tildeequals joined18:25
tjholowaychuk left18:25
tjholowaychuk joined18:26
ProperN[out] joined18:26
ProperN[out] left18:26
ProperN[out] joined18:26
ProperNoun left18:27
ProperN[out]ProperNoun18:27
felipec left18:28
CoinOpeBoy joined18:28
schlortoo left18:29
walk left18:29
justin-george joined18:30
gebi left18:30
workmad3 joined18:32
charon rajeshsr_: you cannot merge only a subset of files (you can merge a full sub*tree* with the subtree strategy)18:32
other than that it seems your problem is already handled by the remote-tracking branches shown by 'git branch -r'18:33
thiago left18:33
thiago joined18:33
slyphonslyphon_away18:34
nkuttler joined18:35
BlindOracle left18:35
vinse joined18:35
bburhans_ left18:35
bburhans joined18:35
nkuttler can git svn give me a list of revisons on the remove server?18:36
Titosemi_ joined18:36
wereHamster nkuttler: svn log $(git config --git svn-remote.svn.url)18:37
Titosemi left18:38
Titosemi_Titosemi18:38
wereHamster or, git log git-svn (or whatever the branch name is that git-svn is importing into your git repo18:38
ska-fan joined18:38
BlindOracle joined18:38
gebi joined18:38
agib|awayagib18:39
krawek left18:40
krawek joined18:40
nkuttler wereHamster: thanks!18:41
schlortoo joined18:45
SvenDowideit left18:45
SvenDowideit_ joined18:45
SvenDowideit_SvenDowideit18:45
brntbeer joined18:46
mw_ left18:46
rajeshsr_ charon, can you throw more light? i don't quite get it..18:46
w00tz joined18:46
marc_kdab_ left18:47
marc_kdab_ joined18:48
aresnick Hi! I have a directory which is full of git repositories. I'd like to create a single git repository out of all them. What's the right way to do this?18:48
Grum not to do that, its not svn :(18:49
elitecoder joined18:49
aresnick Grum: Right =) Those repositories no longer represent separate projects, so they don't need to be managed separately. Does that make sense?18:49
rajeshsr_ aresnick: copy all of them into a folder and do git init! :)18:49
theoros modulify?18:49
rajeshsr_ u want commits to be preserved?18:49
Grum do you care for the history?18:49
aresnick rajeshsr_: I'd like to keep their commits, history, etc.18:49
Grum, rajeshsr_: yeah18:50
rajeshsr_ a grand merge?18:50
elitecoder I have a setup where developers are using a shared login on a dev server to work, and using public keys to commit would make all commits done by the same user... is there anything I can do?18:50
selckin plenty of google htis on how to do that18:50
elitecoder: gitolite18:50
theoros elitecoder: there are ways of modifying the commit user depending on which key is in use18:51
jtauber left18:51
elitecoder theoros: is there a manual page I can look at?18:51
aresnick selckin, rajeshsr_: I should be looking for how to do a "grand merge?"18:51
elitecoder I prefer not to setup additional software, and I may not have the option as our origin repo is on a hosted service...18:52
rajeshsr_ nope, i didn't mean that :)18:52
elitecoder beanstalk18:52
selckin aresnick: http://www.google.com/search?hl=en&q=git+combine++multiple+repositories&aq=f&aqi=&aql=&oq=&gs_rfai=18:52
p3rg2z joined18:52
aresnick selckin: Oh =p Thanks18:52
babusri left18:53
npgoog joined18:53
tvw left18:53
ShooterM_ joined18:54
npgoog Is there a git command to do the equivalent to `git branch | egrep '^\*' | cut -c3`?18:54
wereHamster npgoog: what does that do? what are you trying to get? the current brnach name?18:55
what if you are on detached head?18:55
npgoog Yeah, I want the current branch name, and I want git to tell me if I am on a detached head automatically. I have some scripts that want this information.18:56
poli left18:56
wereHamster npgoog: git symbolic-ref HEAD18:56
observe its output and return value18:57
npgoog Thanks18:57
theoros git rev-parse HEAD?18:57
wereHamster exit value18:57
theoros: rev-parse gives you the sha18:57
theoros oh the name, right18:57
name-rev is alright too if you don't want the full thing18:58
rorist joined18:58
ralf_e joined18:58
npgoog I want it to cut out the remotes/ or refs/heads/ part, so name-rev seems the closest, but not precisely what I am looking for.19:00
unix_lappy joined19:00
unix_lappy anyone know how to delete a directory under the auspices of git without having to kill gitcache.exe?19:01
npgoog I need to try these out some more and come back later once I know what I want.19:01
npgoog left19:01
dfr|work joined19:01
dfr|work hey all. I am trying to drop a couple of commits via git reabse -i master19:01
flaguy48 joined19:02
dfr|work but for some reason I get "nothing to commit" after "Finished one cherry pick". Here's a pastie: http://pastie.org/105741219:02
help? :)19:02
workmad3 dfr|work: doesn't that work like a merge... it commits the result automatically, as long as there weren't any conflicts?19:03
unix_lappy halp?19:03
is this a windows specific git error?19:04
dfr|work workmad3, I was hoping that it would just work like a regular rebase, except not worrying about patches by those commits19:04
workmad3 unix_lappy: what's the error?19:04
patrikf dfr|work: does that commit introduce any changes that are not already on master?19:04
vmiklos joined19:04
sh1mmer left19:04
unix_lappy rm: cannot remove directory `ninject1': Permission denied19:05
patrikf (or in the commits before it)19:05
dfr|work patrikf, the ones I threw out? um.. it's a bit tricky. probably not the ref specs19:05
patrikf dfr|work: what happens if you try to manually cherry-pick it?19:06
(in the state git rebase leaves you in)19:06
Grum unix_lappy: if a folder is open or a file in it you might not be able to delete it yeah19:06
unix_lappy Grum: even if Im' in the parent?19:06
jtauber joined19:06
dfr|work patrikf, seems fine: Finished one cherry-pick"19:07
unix_lappy rm: cannot remove directory `ninject1/.git/objects/pack': Directory not empty19:07
rm: cannot remove directory `ninject1/.git/objects': Directory not empty19:07
slonopotamus joined19:07
patrikf dfr|work: then just "rebase --skip" and go on19:07
unix_lappy do I have to remove it from source control first?19:07
rayners left19:07
dfr|work patrikf, should i restart the process?19:07
workmad3 unix_lappy: git rm -r directory19:07
dfr|work patrikf, can you perhaps explain what's going on?19:07
unix_lappy workmad3: I thought rm just unstaged things?19:08
fatal: Not a git repository (or any of the parent directories): .git19:08
workmad3 unix_lappy: no, rm removes it from the commit,19:08
unix_lappy ^19:08
patrikf dfr|work: nah, I don't see what's going on, what I proposed might "just work". if you want to find out why it's acting so strange, start a new branch at master and cherry-pick the commits by hand and see if you get an error19:09
dfr|work patrikf, so what I did right now is did git rebase --continue That would pick a commit and apply it alright, and then do same thing. So I had keep doing until I hit a conflict. Perhaps that conflict has something to do with it.19:10
patrikf, does git rebase -i just cherry-pick each of the commits and applies?19:10
unix_lappy workmad3: killing tgitcache.exe worked...19:10
I might need to update the git implementation for windows...it's been a few months.19:10
programble joined19:11
thiago left19:11
patrikf dfr|work: yeah, everything you can do with rebase can also be done with checkout, reset, cherry-pick, commit19:12
phantomcircuit left19:12
theoros dfr|work: git rebase rebases19:12
patrikf dfr|work: hmh... what does "git status" say after rebase stops?19:12
theoros and before19:12
dfr|work patrikf, it says I'm not on a branch19:12
patrikf dfr|work: paste it, please19:13
pastebin, that is19:13
thiago joined19:13
jtauber left19:15
dfr|work patrikf, http://pastie.org/105743219:16
Guest85240 joined19:17
entrigan joined19:17
patrikf dfr|work: well, the only thing I can think of is that you have a commit in there that doesn't introduce any new changes. but try manual cherry-picking and see what you ge19:18
get*19:18
hobodave left19:18
Jferro left19:19
carutsu_ joined19:19
dfr|work patrikf, mhmm.. For some reason when I cherry-pick the only active commit on a separate branch off master/sync, it doesn't show up anything in logs.19:21
weird.19:21
rajeshsr__ joined19:23
unix_lappy fatal: Not a git repository (or any of the parent directories): .git19:23
rajeshsr_ left19:23
unix_lappy when I do git rm -r ninject19:23
on a new cloned repo.19:23
wereHamster unix_lappy: did you cd into the directory you cloned?19:23
rajeshsr_ joined19:23
unix_lappy wereHamster: nope, still in the parent dir.19:24
wereHamster and what is ninject? the repo you just cloned?19:24
unix_lappy yar.19:24
workmad3 unix_lappy: oh, so you're not in the repository19:25
wereHamster uhm, why did you clone it if you want to remove it right away?19:25
unix_lappy nope.19:25
workmad3 unix_lappy: then why would you expect git commands to work?19:25
dfr|work patrikf, figure what was going on. One of the patches I accidently was gonna let to keep going was modifying files introduced by the skipped commits19:25
unix_lappy fatal: This operation must be run in a work tree19:26
dfr|work patrikf, once I skipped them as well, it started behaving more expectedly :D19:26
unix_lappy workmad3: when in the .git directory.19:26
wereHamster unix_lappy: what was your clone command you used?19:26
unix_lappy git clone [github-uri].git19:26
wereHamster unix_lappy: git clone ...github.com:yourusername/theproject.git; cd theproject; git whatever-command-you-are-trying-to-run19:27
rajeshsr__ left19:27
datapolitical joined19:28
unix_lappy wereHamster: ok, so git rm -r ran, but it still says another process is tracking the files.19:29
how can I get tgitcache.exe to release the files?19:29
wereHamster ask whoever wrote tgitcache.exe19:29
unix_lappy wereHamster: yea it seems it's a tgitcache.exe specific issue.19:29
http://code.google.com/p/tortoisegit/issues/detail?id=40119:30
_Vi joined19:30
slyphon_awayslyphon19:30
dfr|work patrikf, all in all, I got it to work! thanks :D19:31
schlortoo left19:31
xiong joined19:31
Alagar joined19:31
schlortoo joined19:32
workmad3 left19:33
unix_lappy heh, all this work for nothing.19:35
seems ninject only has compiled builds and not source for windows phone 7 up on github.19:35
rpg left19:38
Heimidal joined19:39
Heimidal left19:39
MrGlass_Work left19:40
alester joined19:40
mw_ joined19:41
peta joined19:41
tvw joined19:41
peta hello everybody19:41
name joined19:42
name__name__19:42
elitecoder How do I fix this? lol fatal: cannot do a partial commit during a merge.19:42
wereHamster elitecoder: run 'git commit' instead of 'git commit <file>'19:42
MrGlass_Work joined19:43
zenazn_ joined19:43
zenazn left19:43
jtauber joined19:43
peta i'm new to git and have the following problem ... i dunno how i managed to commit on "(no branch)". now i commited a bunch of changes to "(no branch)" and want to merge all but a few files into the other branch called "master". how can i do this?19:45
wereHamster peta: https://git.wiki.kernel.org/index.php/GitFaq#detached19:45
peta bingo ... "detached" was the keyword19:45
rubydiamond left19:46
schlortoo left19:47
theoros left19:50
schlortoo joined19:50
beni- joined19:52
Risar joined19:52
peta wereHamster: you saved my life :)19:52
thanks19:52
schlortoo left19:55
Guest79374 joined19:55
poli joined19:58
Guest85240 left19:58
lulinha joined19:59
lulinha left19:59
drubies left19:59
Guest79374 left20:01
lulinha joined20:02
lulinha left20:02
theoros joined20:02
sagsousuke joined20:03
gebi left20:04
schlortoo joined20:06
squentin left20:07
flaguy48 left20:11
WebDragon|laptop joined20:11
gebi joined20:11
jhunter joined20:12
squentin joined20:12
fod joined20:13
WebDragon left20:14
WebDragon|laptopWebDragon20:14
unix_lappy left20:14
jhunter newbie q: how can I visually see I've got stuff in previous branches I need to merge down to master?20:14
ie - branch X has changed - so when i do a git merge i know what head to reference20:15
schlortoo left20:15
schlortoo joined20:15
jtauber left20:17
slyphonslyphon_away20:17
rajeshsr_ left20:18
patrikf jhunter: you can check if anything changed with git log master..branch20:19
macek left20:20
patrikf but i usually don't have too many branches, as you can safely delete them once they're merged20:20
hipe joined20:21
TML left20:22
wereHamster also: git branch --[no-]merged20:22
ajpiano hey, i am trying to git reset --hard HEAD a repo that i just cloned, cause i forgot to setup my crlf stuff properly first20:22
but i'm getting Permission denied when trying to create file as part of that reset20:22
only on one particular file...what can i check on the file to see what's wrong20:23
it's not set to readonly20:23
fod left20:24
schlortoo left20:24
cannonball left20:25
elitecoder wereHamster: Thanks! :]20:26
heewa joined20:26
ralf_e left20:27
heewa I know I can specify a path for log (eg: git log -- path/), but that's relative to my current dir. Any way to specify relative to git repo root?20:27
slyphon_awayslyphon20:29
leo2007 left20:29
wereHamster heewa: git log -- (git rev-parse --cdup)path/20:29
$(git rev-parse --show-cdup)20:29
poli left20:29
heewa ewww...fine. Thanks :)20:29
schlortoo joined20:30
jtauber joined20:31
kpreid joined20:35
flaguy48 joined20:35
schlortoo left20:36
jhunter ty20:40
Jferro joined20:44
Octalot joined20:49
jaql left20:49
elitecoder left20:54
WebDragon left20:55
murr4y left20:56
ljungk I'm trying out git-cherry-pick for the first time. It seems like it messes up the connection between local and remote branches.20:57
agibagib|away20:57
ljungk so I have a branch A which has a number of commits on top of master20:58
now I want to cherry pick the first of those commits into master, and then rebase A on master20:58
hasen_ joined20:58
peta left20:59
shader left20:59
zenazn_ left20:59
flazz_ joined20:59
ljungk this, however, results in the corresponding remote branches NOT being rebased20:59
ajpiano if when i clone a repo, every single is instantly marked changed, how should i set up my CRLF settings on the machine to make sure that doesn't happen21:00
agib|awayagib21:00
zenazn joined21:00
hasen left21:02
flazz left21:02
dreiss left21:02
charon ljungk: can you spell that in git commands?21:03
bewst joined21:03
vinse ajpiano: we use auto.crlf = input. this works for everyone here as long as no one is actually using an editor that needs CRLF21:03
charon (so that we know precisely what you tried)21:03
ajpiano hm, that's what i'm trying .21:04
vinse ajpiano: i'm pretty sure it means that all CRLF will be converted to LF any time you pull/clone etc21:04
charon ajpiano: if you clone a repository with CRLFs in it on a machine with autocrlf enabled, madness will ensue21:04
vinse ajpiano: ah wait, if some one already comitted stuff that's using CRLF then you're out of luck21:04
ajpiano ohhhh21:04
flazz_ left21:04
ajpiano i'm in the very early stages of setting up a repo21:05
charon disclaimer: i don't use this stuff since i don't work on windows and refuse to work with anyone who does (well, almost ;)21:05
vinse ajpiano: when you commit it, then it'll be fine. but if they dont have the 'input' setting also, then you'll eventually need to hunt them down and kill them21:05
charon but basically you have to either disable autocrlf at least for this repo, or fix the repo.21:05
alester left21:05
ProperNoun left21:06
ljungk charon: sure21:06
vinse ajpiano: yeah, i did all that a while ago, i remember lots of problems like you're having, but they eventually worked themselves out, but everyone needs to be using a setting that will *not* commit CRLF. if just you have that setting i dont think it'll help21:06
whatdoesitwant left21:07
MrGlass_Work left21:07
ljungk git checkout master21:07
git cherry-pick 6ed128e21:07
git checkout A21:07
git rebase master21:07
koruptid left21:07
charon ljungk: and A is a local (not remote-tracking) branch?21:08
ajpiano vinse, here's the deal... i have a brand new set of files that i want to start tracking with git. on a mac, i ran git init, and then pushed to a bare repo that i set up on windows running virutal ubuntu. now, in another place on that windows machine, i want to clone that repo, and when i do so, everything comes up marked changed21:08
lhz left21:08
vinse ajpiano: so git status shows all files?21:09
HG` left21:09
charon ljungk: because so far you haven't involved remotes or remote branches at all. where would you expect them to change?21:09
vinse ajpiano: we also had strange cases where gitk showed files as changed, but the command line did not21:09
ajpiano i'm on command line21:09
schlortoo joined21:09
ljungk charon: yes21:10
heewa left21:11
ljungk and then I end up with this: http://tinypic.com/r/2uti8g0/321:11
vinse ajpiano: heh we had that exact issue at first, but sadly i dont remember how we eventually solved it21:11
ajpiano :/21:11
stringoO left21:11
charon ljungk: well, the purpose of remote-tracking branches (remotes/$nickname/$branchname) is to store git's current idea of the contents of remote $nickname21:12
ljungk charon: well, both A (which is really called vega-local) and master have remote branches21:12
charon ljungk: hence, they only update if you either change the remote yourself (git push $nickname $branchname) or if you update git's idea of what the remote has (git fetch $nickname)21:12
so this will only change when you push to the remote21:12
friskd joined21:13
charon (since until then, it will keep the old version of the branch)21:13
ljungk okay, which was not something I wanted to do until I knew things worked :)21:13
vinse ajpiano: asking if anyone else remembers, or if some one took notes (unlikely!), i'll get back to you if i remember anything useful ;p21:14
ajpiano vinse, thx21:14
schlortoo left21:14
alester joined21:15
agibagib|away21:15
agib|awayagib21:15
ehabkost joined21:17
ehabkost_ left21:17
Tureba left21:17
Dave^| left21:17
Dave^| joined21:17
lucsky left21:17
jtdowney joined21:18
ProperNoun joined21:18
ljungk okay, when i try to push, i get 'error: failed to push some refs to <servername>'21:20
drizzd joined21:20
ehabkost left21:20
ljungk and then git status yields: Your branch and 'origin/vega-local' have diverged, and have 14 and 14 different commit(s) each, respectively.21:21
brntbeer left21:21
airborn left21:21
ljungk so somhow the remote branch is not rebased, if i understand things correctly?21:21
Ilari ljungk: What is the branch update message when you attempt to push?21:22
dreiss joined21:24
TeckniX joined21:25
ljungk look: http://pastebin.com/kU8RReCU21:25
nurey joined21:26
charon ljungk: "look" seems a fairly appropriate response...21:27
hipe left21:27
charon as in, read the last paragraph, and see that note about fast-forwards.21:27
hipe joined21:28
charon ljungk: anyway, it's expected since you used rebase so you need to override the check eventually.21:28
hsa2|gonehsa221:28
Schmallon left21:28
ljungk charon: heh okay21:29
agibagib|away21:29
agib|awayagib21:30
Dave^| left21:31
Aikawa left21:31
Dave^| joined21:31
agibagib|away21:31
Aikawa joined21:32
agib|awayagib21:32
sh1mmer joined21:32
hipe left21:32
ljungk ah , rebase works quite differently from what i thought. seems there is much yet to learn for me.21:32
ignatp joined21:35
alex__c2022 left21:37
eighty4 left21:38
davidc_ joined21:39
dropandho left21:40
sh1mmer left21:41
spaceonline left21:42
adamm left21:43
adamm joined21:43
tstclair left21:43
thierryp left21:46
gebi left21:46
thierryp joined21:46
sh1mmer joined21:46
Jferro left21:47
davidc_ left21:47
davidc_ joined21:47
alexmchale joined21:47
Blackguard joined21:47
bcchocie joined21:48
henkboom left21:48
alexmchale left21:48
nevyn^_ joined21:49
IslandUsurper left21:49
charon ljungk: as tv said it: you cannot change. you can only rewrite (make a new object) and forget21:50
nevyn^_ left21:50
henkboom joined21:51
thierryp left21:51
jtbandes joined21:52
nurey left21:52
jtbandes How do submodules work with shared repos? if I add one, will people get it immediately when they pull?21:53
jrmuizel left21:53
gebi joined21:53
zackattack joined21:56
zackattack what is an insertion/deletion? it's certainly not a diret measure of LOC (lines of code)?21:56
Ilari zackattack: Insertions/deletions count?21:57
raichoo left21:57
hipe joined21:57
zackattack yeah.21:57
4 files changed, 27 insertions(+), 15 deletions(-)21:58
justin-george left21:58
zackattack Does that mean Only 12 LOC were added?21:58
justin-george joined21:58
Ilari zackattack: For text files, additions are + lines in diff and deletions are - lines. No idea what it does with binary files.21:58
zackattack cool21:58
is there a neat way to check out many LOC I modified in the last 12h, for example?21:59
Ilari zackattack: The line count change is 27-15 = 12, so target has 12 lines more than base.21:59
zackattack :)21:59
I wonder if github keeps track of those stats21:59
Ilari zackattack: 'git diff --stat master@{12.hours.ago} master'?21:59
zackattack wow22:00
*very cool*22:00
Ilari zackattack: Actually, that counts all changes in master in last 12 hours.22:00
zackattack: Including possible merges, pulls and rebases during that time.22:01
copelco left22:02
nurey joined22:02
zackattack Ilari: are there any cool GUI tools (web or desktop) that have these kinds of visuals?22:02
grey-monkey left22:04
Ilari zackattack: No idea.22:04
zackattack :)22:04
bcchocie All, I've got a bit of a complicated question about pushing a git repo into svn. Anyone familiar with that?22:05
jtbandes left22:06
bremner bcchocie: it is hard to judge whether what you think is complicated is the same as what we do, so give it a try.22:06
bcchocie The problem is that it's a kernel tree, and I'd really like the SVN version to have everything prior to a certain commit squashed22:07
Yet still, I would hope to occasionally push my git-side changes to svn22:07
adamm left22:07
masterkorp left22:08
rseifert left22:08
loincloth left22:08
adamm joined22:08
alester left22:08
bcchocie bremner, thanks... I'm just afraid that I might be asking the impossible :)22:08
AAABeef left22:09
p3rg2z left22:10
patrikf bcchocie: i don't know an easy way to do that. it would be easier if you'd apply the git changes as one svn commit22:10
gbacon joined22:10
patrikf (the real solution being of course not to have two revision control systems)22:10
altrux left22:11
markatto is there a way to checkout a single file from a different branch?22:11
bcchocie patrikf: Ah, yes. That seems obvious now that you've said it. Looks like I just needed another person's perspective. Thanks.22:11
bremner markatto: man git-checkout22:11
starcoder|Svr test22:12
bcchocie patrikf: a single vcs would be my choice too, but i've got to scratch the back of those who sign the checks around here... :)22:13
cpg|awaycpg22:13
bcchocie left22:14
ivanoats joined22:15
mkramer left22:15
ajpiano left22:16
avar charon: the + patch looks good22:17
Bennid left22:18
galderz joined22:19
gebi left22:19
smuf left22:22
tongueroo joined22:22
eighty4 joined22:23
hipe left22:25
hipe joined22:25
TeckniX left22:27
iruediger joined22:27
bdimcheff left22:28
hipe left22:29
ralf_e joined22:31
sneakret_ joined22:32
cpgcpg|away22:32
sneakret left22:33
tanoku joined22:33
nurey left22:34
kenichi left22:34
zorzar_ joined22:36
ignatp left22:36
Tuller joined22:37
beni- left22:38
zorzar left22:39
Ryback_ left22:39
mdel_ joined22:41
Titosemi left22:41
slakmagik left22:41
MattDiPasquale left22:41
mdel left22:41
slakmagik joined22:43
Dave^| left22:44
dreiss left22:45
stepnem left22:46
irc2samus joined22:47
irc2samus hi guys, I have a series of commits on a branch that was created from master, I want to apply only those commits in the branch to a different branch that diverged from master (so I can't just merge) what is the right way to do it?22:48
frooh joined22:48
thiago left22:48
ivanoats left22:49
stepnem joined22:50
patrikf irc2samus: look into git rebase22:50
tsbtmn joined22:50
carutsu_ left22:51
frooh left22:51
Heimidal joined22:52
galderz left22:52
Heimidal left22:54
t0rc left22:54
juanjoc left22:55
Tuller left22:57
bentob0x left22:58
hipe joined22:59
sitaram irc2samus: how many commits in master, out of which how many you want to carry across to the other branch? you should use cherry-pick, if it's just a few22:59
elmob left23:01
slakmagik left23:01
cpg|awaycpg23:01
AndyJ left23:01
Andy_ODT_1 left23:01
charon avar: i'm afraid junio is right actually23:01
irc2samus sitaram: yeah I could but I think it's a good oportunity to learn something new, in fact I've just screwed the rebase :) but I'll figure it out23:01
charon avar: i thought the extent of 9d2e942 was right up into this + case, but it only patches url_decode into the client call-chain23:02
tjholowaychuk left23:02
avar hrm, yes.23:03
murr4y joined23:04
xiong left23:05
vinse left23:05
slakmagik joined23:06
koruptid joined23:06
irc2samus ah I see I have to use --onto :) I got the rebase to do what I want but there's merge conflicts I think I'll merge into master and wait for the next deploy instead23:06
thanks guys!23:06
koruptid left23:06
hugoxrosa left23:07
aresnick I'd like to pull in an hg repo as a git submodule into an existing git repo. Is there a better way to do this than host my own git repo clone of the hg repo?23:08
disappearedng joined23:08
disappearedng I have 3 mirrors of my repos in my computer. How can I do this legally? git config --add alias.backup "push --mirror /mount/1t/backup/spontivity;push --mirror /mount/950gb/backup/spontivity;push --mirror /mount/350gb/backup/spontivity;"23:08
eletuchy_ left23:09
hipe left23:09
disappearedng I want to push to simultaneously 3 repos23:10
SlickT10 joined23:10
datapolitical left23:12
ignatp joined23:14
irc2samus left23:15
tsbtmn left23:15
ivanoats joined23:17
tizbac left23:18
ignatp left23:19
zenazn left23:19
thiago joined23:20
jtauber left23:20
Andy joined23:22
AndyGuest6881023:22
ju2wheels does anyone know how dependent gitolite is on git 1.6.2? Im installing on RHEL5 but i can only find git 1.5.5.6 packages and id rather not install from source23:22
iruediger left23:22
Modius left23:22
Jippi_mac left23:22
selckin that's ancient man23:22
charon disappearedng: git config alias.backup "!git push ...; git push ...; ..."23:23
ju2wheels i know lol23:23
charon disappearedng: i doubt --add makes sense with aliases. and the !... form runs a shell command23:23
datapolitical joined23:24
murz joined23:25
Paraselene_ left23:25
mdel_ left23:26
didlix left23:26
ju2wheels if i do it from source the prefix is the install root right? so if i use prefix=/usr/share i should get /usr/share/git-core, /usr/share/* etc for all the other git stuff?23:26
amerine left23:27
aspotashev left23:27
sitaram ju2wheels: 1.5.x won't work well at all. Just try and install from source; it's not hard23:28
eighty4 left23:28
ju2wheels k23:29
d0k left23:29
sitaram ju2wheels: prefix=/usr/local is best; /usr/share won't do since /usr/share/bin is likely not in the path23:29
ProperN[out] joined23:29
ProperN[out] left23:29
ProperN[out] joined23:30
ju2wheels sitaram: ok thx, i did see the general install command was /usr/local but i checked on my system and found git-core in /usr/share which is why i was asking. thx23:31
jtauber joined23:31
zackattack left23:31
sh1mmer left23:33
ProperNoun left23:33
ProperN[out]ProperNoun23:33
justin-george left23:34
zackattack joined23:37
ignatp joined23:38
drizzd left23:38
SlickT10 left23:42
ajpiano joined23:47
ShooterM_ left23:48
ralf_e left23:48
priidu left23:50
ju2wheels left23:50
ju2wheels joined23:51
rorist_ joined23:52
leonid joined23:52
JohnnyL joined23:53
JohnnyL i can download the kernel fine, but when I try to grab a read/write proejct allowed for my account i get:i can download the kernel fine. What do23:54
i mean: fatal: Unable to look up [email@hidden.address] (Unknown error)23:55
butter fingers tonight.23:55
am I missing a key or something?23:55
frsk Use [email@hidden.address]23:55
rorist left23:55
frsk And you can try "ssh [email@hidden.address] to make sure the key works :-)23:56
JohnnyL frsk: i get : http://nopaste.dk/p221323:57
ok i'll try23:57
frsk ah23:57
JohnnyL: Try [email@hidden.address]23:57
You're supposed to use ssh, not the git protocol.23:57
zackattack left23:58
frsk (iow, remove "git://")23:58
JohnnyL permission denied (publickey)23:58
frsk okey, and that goes for "ssh [email@hidden.address] as well?23:59
tanoku left23:59
molokai left23:59
RobertLaptop left23:59

Logs Search ←Prev date Next date→ Channels Documentation