| 2009-11-26 |
|
doener
| EugenMayer: once you do "git add file", the modified version gets into the index | 00:00 |
|
| EugenMayer: the changes are still uncommitted at that point, but "staged" | 00:00 |
|
EugenMayer
| is that file then "stashed" ? as its not commited? | 00:00 |
|
doener
| EugenMayer: i.e. the next commit will have those changes | 00:00 |
|
EugenMayer
| staged = stashed or "in the stash" ? | 00:00 |
|
cbreak
| stashed files will not become committed | 00:00 |
|
| they are stashed away | 00:00 |
|
| if you do git add, they are in the index/staging area | 00:00 |
| ← ajonat left | 00:00 |
|
doener
| EugenMayer: staged != stashed | 00:00 |
|
cbreak
| staged maybe | 00:00 |
|
EugenMayer
| ok, got that. So we have "unstaged -> staged -> committed | 00:01 |
|
doener
| EugenMayer: right | 00:01 |
|
EugenMayer
| doener: thanks a lot | 00:01 |
|
cbreak
| if you do git commit -a, it goes directly to committed | 00:01 |
|
| à la svn | 00:01 |
|
EugenMayer
| cbreak: only if its not a new file :) | 00:01 |
|
cbreak
| yes | 00:01 |
|
| details! :) | 00:01 |
|
doener
| like svn | 00:01 |
| ← lunks left | 00:01 |
|
EugenMayer
| don't use that dirty name to often! :) | 00:02 |
|
doener
| EugenMayer: a useful thing that uses "staging" and "stashing": | 00:02 |
|
| EugenMayer: you work on some stuff, and accidently start working on something else | 00:02 |
|
| EugenMayer: now, of course those two things should go into two different commits | 00:02 |
| ← cortana` left | 00:02 |
| ← flazz left | 00:02 |
| → loincloth joined | 00:03 |
|
| EugenMayer is reading interested | 00:03 |
|
doener
| EugenMayer: for simplicity, let's assume that change 1 affects fileA and fileB, while change 2 affect fileX and fileY | 00:03 |
| ← bcardarella left | 00:03 |
|
| EugenMayer checked | 00:03 |
| → erlehmann_ joined | 00:03 |
|
doener
| EugenMayer: then you'd do "git add fileA fileB" to "stage" those two files (adding them to the index as they are in the working tree) | 00:04 |
| ← erlehmann left | 00:04 |
|
doener
| EugenMayer: then you could immediately do "git commit" to get a commit that changes those two files. But that would mean that you never actually tested that version (because your working tree has fileX and fileY modified, too) | 00:04 |
|
| EugenMayer: you git offers "git stash save --keep-index" | 00:04 |
|
EugenMayer
| ah! | 00:05 |
| ← flazz_ left | 00:05 |
|
doener
| EugenMayer: the --keep-index options makes it drop only changes that you didn't add to the index yet | 00:05 |
| → jeffxl joined | 00:05 |
|
EugenMayer
| so I stash away the changes, test and if I like it | 00:05 |
|
| I "remove" the stash and work on the fileX / fileY project / task | 00:05 |
|
| how to get it back from stash | 00:05 |
|
doener
| EugenMayer: so after that command, the changes to fileA and fileB remain, but those to fileX and fileY have been stashed away | 00:05 |
|
| EugenMayer: then you can test, and if it works, commit | 00:05 |
|
| EugenMayer: and then you can restore the changes to fileX and fileY using "git stash apply" | 00:06 |
| erlehmann_ → erlehmann | 00:06 |
|
EugenMayer
| great. wait, just the order | 00:06 |
|
doener
| EugenMayer: and if you don't need the stash entry anymore, you can do "git stash drop <stash-entry>" to remove it (you can get a list of stash entries with "git stash list") | 00:07 |
|
| EugenMayer: as a shorthand, there's also "git stash pop", which applies the stash entry and deletes it at the same time | 00:07 |
|
EugenMayer
| "git add fileA fileB" "git commit -am 'this and that'" "git stash --keep-index" TESTING | 00:07 |
|
| then I get the stash back by "git stash apply" | 00:07 |
| → flazz joined | 00:08 |
|
EugenMayer
| ok I got it! Thank you a lot | 00:08 |
|
| the principle is clear | 00:08 |
|
doener
| EugenMayer: no. "git add fileA fileB; git stash --keep-index; *test*; git commit; git stash pop" | 00:08 |
| ← loincloth left | 00:08 |
|
EugenMayer
| ah! | 00:08 |
| ← dfr|work left | 00:08 |
|
doener
| EugenMayer: you want to test _before_ you commit | 00:08 |
|
EugenMayer
| clear, first test - then commit | 00:08 |
|
doener
| EugenMayer: in fact, the -a you used with "git commit" would have added fileX and fileY to the commit, too | 00:09 |
|
EugenMayer
| yeah, that's too | 00:09 |
|
| "clear" | 00:10 |
|
| doener: thank you a lot | 00:11 |
|
doener
| you're welcome | 00:11 |
|
cbreak
| git commit --amend is nice if you make as many spelling mistakes as I do | 00:13 |
| → wagle_ joined | 00:14 |
| ← wagle left | 00:14 |
| ← jrmuizel left | 00:15 |
| → cubuanic joined | 00:16 |
| ybit_ → ybit | 00:16 |
| ← tfarina left | 00:16 |
| ← Paraselene__ left | 00:16 |
| ← ded left | 00:17 |
|
cubuanic
| hello guys | 00:19 |
| m-takagi → m-takagi_ | 00:19 |
|
cubuanic
| how i can delete last commit locally, and then push this change to my remote? | 00:19 |
| → yaotti_aw joined | 00:20 |
| yaotti_aw → yaotti | 00:20 |
|
EugenMayer
| how to list the files in a bare repo? | 00:24 |
|
cbreak
| cubuanic: you can delete commits locally with git reset | 00:25 |
|
mugwump
| EugenMayer: see 'plumbing' commands in man git | 00:25 |
|
EugenMayer
| thanks | 00:25 |
|
cbreak
| but if you pushed them to a remote, that won't work | 00:25 |
|
mugwump
| you'll probably want 'git ls-tree' | 00:25 |
|
cubuanic
| why ? | 00:25 |
| ← Ryback_ left | 00:25 |
|
cbreak
| because git reset just removes a commit from local | 00:26 |
|
| among other things it can | 00:26 |
|
| then remote is just this commit ahead | 00:26 |
|
| if you want to undo it, you can use revert. you get a commit that removes the changes of an other commit | 00:26 |
|
cubuanic
| ok thanks | 00:26 |
|
cbreak
| I guess you can do something with force pushes, but I wouldn't dare to tell you what because it's probably dangerous | 00:26 |
|
| and if someone else pulled already, it'll be chaos | 00:27 |
| ← Analias left | 00:27 |
| ← jeffxl left | 00:28 |
|
EugenMayer
| can I let git run "git update-server-info" on every checkin? | 00:28 |
|
cbreak
| you mean push? | 00:28 |
|
EugenMayer
| yes, in that case, as its "bare", its would be a push from a client | 00:28 |
|
| its needed because I use git over dav | 00:29 |
|
cbreak
| there's a post-update hook | 00:29 |
|
EugenMayer
| ok, I will have a look into it | 00:29 |
|
| Thank you | 00:29 |
| → hipe joined | 00:31 |
| ← tetha left | 00:31 |
| → tetha joined | 00:32 |
| ← Yuuhi` left | 00:32 |
| ← imajes left | 00:32 |
| → Yuuhi` joined | 00:32 |
| ← tamm0r left | 00:33 |
| → rettub_ joined | 00:33 |
|
EugenMayer
| http://paste.debian.net/52431 | 00:34 |
|
| I cloned a bare repo, changed something and now trying to push it back..getting this "error". What did I do wrong? | 00:34 |
| ← milli left | 00:35 |
| → milli joined | 00:35 |
|
wereHamster
| EugenMayer: was the remote repository empty when you cloned it? | 00:35 |
|
EugenMayer
| no | 00:36 |
|
| it had ~400 files | 00:36 |
| → wrench joined | 00:37 |
| ← fualo left | 00:38 |
| → mikepence joined | 00:38 |
|
EugenMayer
| I don't get why the "master" seems not in that list | 00:39 |
| ← dominikh1 left | 00:39 |
| ← wrench left | 00:41 |
| → ereslibre joined | 00:41 |
| ← javatexan left | 00:42 |
| ← skyl left | 00:42 |
|
EugenMayer
| wereHamster: no idea? | 00:43 |
| → flaguy48 joined | 00:43 |
|
EugenMayer
| # Your branch is ahead of 'origin/master' by 2 commits. | 00:44 |
|
| that's what I get on the local clone | 00:44 |
|
wereHamster
| EugenMayer: try git push origin master | 00:44 |
| ← rettub left | 00:45 |
|
EugenMayer
| wereHamster: that worked. Could you explain it shortly? | 00:45 |
|
| I mean, I was on the master branch, there are no branches at all | 00:45 |
|
wereHamster
| EugenMayer: no idea | 00:46 |
| → Jinzhu joined | 00:49 |
| ← wagle_ left | 00:50 |
| ← Sonderblade_ left | 00:51 |
| → Sonderblade_ joined | 00:51 |
| ← godsflaw left | 00:52 |
| ← pantsman left | 00:52 |
| ← __iron left | 00:52 |
| → __iron joined | 00:53 |
| → Keiya_ joined | 00:54 |
| → chuck joined | 00:54 |
|
chuck
| Do you guys know what this notice means in "git-status"? | 00:54 |
| ← flazz left | 00:54 |
|
chuck
| # Your branch is ahead of 'origin/master' by 3 commits. | 00:54 |
|
| It said that my index file was corrupted, so I did "rm .git/index && git reset" and then that message started showing up | 00:54 |
| ← thenetduck left | 00:54 |
|
wereHamster
| your local branch has three more commits than the branch origin/master | 00:54 |
|
chuck
| this is git-push: http://gist.github.com/243141 | 00:54 |
|
| wereHamster: how do I fix that though? I can't push | 00:55 |
|
EugenMayer
| I just merged a branch and would like to revert. Is this possible? | 00:55 |
| ← mjf left | 00:55 |
|
wereHamster
| chuck: git fsck --full | 00:55 |
|
| EugenMayer: git reset --hard HEAD@{1} | 00:56 |
|
chuck
| fatal: object f1787fa06498501ae39535d062c522a299e1f97e is corrupted | 00:56 |
|
wereHamster
| I'm sure there is a faq entry what to do about corruption | 00:56 |
|
EugenMayer
| whis switch from git brach foo to git branch bar, I get a "git could not unlink XYZ .. it's a directory" | 00:57 |
|
| how could I fix that, stop him making hard / softlinks? | 00:57 |
| ← kpreid_ left | 00:57 |
| ← Keiya left | 00:58 |
| ← parasti left | 00:58 |
| → alex87 joined | 00:59 |
| → jrmuizel joined | 00:59 |
| ← alex87 left | 00:59 |
| → loincloth joined | 01:00 |
|
doener
| EugenMayer: git version? | 01:00 |
|
EugenMayer
| 1.6.5 | 01:00 |
|
| those dirs he can't reset are clones of other reps created by braid | 01:00 |
| ← sdboyer left | 01:01 |
| → alanhaggai joined | 01:01 |
| alanhaggai → Guest53017 | 01:02 |
|
doener
| EugenMayer: hm, I thought there was a "fix", but the log suggests there wasn't | 01:02 |
|
| EugenMayer: in the bare repo, you probably have a file called packed-refs | 01:02 |
|
EugenMayer
| this is not a bare right now | 01:02 |
|
doener
| EugenMayer: that's a file that has refs, well, packed into one file, instead of multiple files in refs/ | 01:03 |
| → jaysern joined | 01:03 |
|
doener
| EugenMayer: and the http transport doesn't really support that AFAIK, so I guess that's why you got the confusing message from "git push" | 01:03 |
|
| EugenMayer: (I'm actually one problem behind ;-)) | 01:03 |
|
EugenMayer
| what does HTTP transport not support? | 01:04 |
|
doener
| EugenMayer: the packed-refs file | 01:04 |
|
EugenMayer
| (iam a bit confused now, sorry) | 01:04 |
|
| ok, ok | 01:04 |
|
| sounds like http push / pull isn't the "recommened" way at all, or? | 01:06 |
|
doener
| EugenMayer: i.e. I (tried to) explain why this happened: http://paste.debian.net/52431 | 01:06 |
|
EugenMayer
| in my case, I use it because of my customers mostly have a proxy running, and then I can't reach the repo | 01:06 |
| → freenode joined | 01:06 |
| freenode → Guest73631 | 01:07 |
|
doener
| EugenMayer: http dav push is basically like "aarrghh" AFAIK. http fetch works, but is a dumb protocol (can just transfer given packs, not custom packs tailored to the needs of the client that does the fetch) | 01:07 |
|
EugenMayer
| ok so basically dav is shite? | 01:08 |
|
| (for git= | 01:08 |
|
doener
| EugenMayer: there's some work being done about a smart http transport, but I don't know its status. And it seems that there's also some recent work on http push, but I have no idea about that either. (I even build git without http support here, as I'm not an enterprise ;-)) | 01:08 |
| ← Determinist left | 01:09 |
|
EugenMayer
| are there alternatives if I need: authing on every repo, multible users ( would be great if I would be able to use read / write control, but that's opt) | 01:09 |
|
| as the client won't need push, I actually could use the alternative for me | 01:10 |
|
| I guess that would be "git over ssh", or? | 01:10 |
|
doener
| EugenMayer: Basically: ssh. gitosis/gitolite are currently the most popular solutions to that, offering ACLs using a single unix user accout + ssh public keys | 01:10 |
| ← tedoc2000 left | 01:11 |
| ← jaysern left | 01:12 |
|
EugenMayer
| gitosis sounds good, is gitolite any better? | 01:13 |
|
doener
| EugenMayer: perl instead of python, supposed to be easier to setup, AFAIK more fine-grained ACLs (branch level instead of repo level) | 01:14 |
|
| EugenMayer: sitaram will probably be happy to tell more (he's the author of gitolite) | 01:14 |
| → pklingem1 joined | 01:14 |
|
EugenMayer
| doener: that's sounds _awesome_! | 01:15 |
|
| You made my day | 01:16 |
|
doener
| EugenMayer: if I'm not mistaken, he should be online again in about two or three hours (he's in India) | 01:16 |
| ← mikepence left | 01:16 |
|
EugenMayer
| so I will use gitolite for anything "push/pull" related on my side, will use http pull if the customer has a proxy | 01:16 |
| ← squentin left | 01:19 |
| ← loincloth left | 01:19 |
| ← cao left | 01:19 |
| ← \ask left | 01:20 |
| ← zjason left | 01:21 |
| → zjason joined | 01:21 |
|
sitaram
| EugenMayer: http://github.com/sitaramc/gitolite/blob/pu/README.mkd for the readme | 01:22 |
|
doener
| sitaram: hey, you're too early! | 01:22 |
|
EugenMayer
| sitaram: I have read it, installing now | 01:22 |
|
doener
| ;-) | 01:22 |
|
sitaram
| EugenMayer: http://github.com/sitaramc/gitolite/blob/pu/doc/3-faq-tips-etc.mkd#diff for detailed differences/extras from gitosis | 01:22 |
|
EugenMayer
| sitaram: as iam a foswiki dev, I should go with perl anyway :) | 01:22 |
|
| sitaram: I buyed your project anyway | 01:22 |
|
sitaram
| doener: :) | 01:22 |
|
EugenMayer
| at least because of the huge "find a security bug" award! | 01:23 |
|
| ;-) | 01:23 |
|
sitaram
| doener: I'm late; it's 6:53am now, and I'm still groggy (not been well lately... tonsilitis, at my age!) | 01:23 |
| ← agib left | 01:23 |
| → cao joined | 01:23 |
| ← joel_ left | 01:24 |
|
doener
| sitaram: hm, 4.5 hours offset from here? I thought it was just 2.5 hours, but that was actually just my gut feeling, and you can probably guess how well I can judge the time of the day | 01:24 |
|
| it's about "not at all" | 01:24 |
| ← ia left | 01:24 |
|
sitaram
| EugenMayer: :) It's in production at work, in environments that need that security/auditability | 01:24 |
|
| doener: UTC+0530, no summer changes; so I guess 4.5 from DE | 01:25 |
|
| doener: however, I will be logging off soon to get dressed, go to work, etc., so you're right abuot me coming in in another 2 hours :) | 01:25 |
| → alanhaggai joined | 01:25 |
|
doener
| heh, at least something :-) | 01:25 |
|
EugenMayer
| doener: your german. I have written up some tutorials for submodule / braid / git dav / gitoriuos on http://wiki.impressive-media.de | 01:25 |
| → schmukkk joined | 01:26 |
|
EugenMayer
| doener: should I link them somewhere? | 01:26 |
| ← Yuuhi` left | 01:26 |
|
sitaram
| EugenMayer: what TZ are you in? and will you still be up in about 1.5-2 hrs from now? I'll be back around then if you need anything | 01:26 |
|
EugenMayer
| sitaram: DE, 2:30 here. So I will be of in sometime. | 01:27 |
|
| sitaram: I will try to set it up. Can't be harder then the bloody gitoriuos (hell what a bloody edge it is..) | 01:27 |
|
| doener: http://wiki.impressive-media.de/searchplus/results/taxonomy%3A138%2C418 | 01:28 |
|
| doener: that are basically or public article | 01:28 |
|
sitaram
| EugenMayer: I make the ssh piece a pre-requisite so it becomes very easy to install :) | 01:28 |
| → ia joined | 01:28 |
|
sitaram
| EugenMayer: gotta go; catch ya later. Session will be on so if anything comes up post or pm even if you aren't on by the time I get back | 01:28 |
| ← Guest53017 left | 01:28 |
|
EugenMayer
| great. Thanks | 01:29 |
| ← rettub_ left | 01:29 |
|
EugenMayer
| man, why people are so kind in here? | 01:29 |
| ← Keiya_ left | 01:29 |
|
sitaram
| (email to [email@hidden.address] is fine too, your choice) | 01:29 |
| ← jfkw left | 01:29 |
| → rettub_ joined | 01:29 |
| → Keiya joined | 01:30 |
|
doener
| EugenMayer: there might be some page in the wiki that has links to external resources like that, but honestly, I have no idea. Already too much brain power/time needing for this channel, I mostly leave the web for others | 01:30 |
|
EugenMayer
| sure, where is the wiki at all? | 01:30 |
| ← cubuanic left | 01:30 |
|
doener
| http://git.or.cz/gitwiki/ | 01:30 |
|
| EugenMayer: http://git.or.cz/gitwiki/GitDocumentation -- The "Non-english Language Documentation" section might fit | 01:31 |
| → me22 joined | 01:33 |
| → phoolishsan joined | 01:34 |
| ← Guest73631 left | 01:35 |
| → Keiya_ joined | 01:36 |
| ← phoolishsan left | 01:38 |
| ← m104 left | 01:38 |
| ← hgimenez left | 01:39 |
| ← Keiya_ left | 01:39 |
| ← Keiya left | 01:39 |
| ← blakemizerany left | 01:39 |
| ← WALoeIII left | 01:40 |
| ← ph^ left | 01:40 |
| → Keiya joined | 01:41 |
| ← lamont left | 01:41 |
|
EugenMayer
| doener: thanks, I updated that wiki | 01:42 |
| → lamont joined | 01:42 |
| ← psynaptic left | 01:44 |
| → AAA_awright_ joined | 01:44 |
| → hgimenez joined | 01:44 |
| → kpreid_ joined | 01:45 |
| ← AAA_awright left | 01:45 |
| AAA_awright_ → AAA_awright | 01:45 |
| ← lunks_ left | 01:48 |
| ← alanhaggai left | 01:48 |
| ← Sonderblade_ left | 01:52 |
| ← ia left | 01:53 |
|
EugenMayer
| doener: any idea how to choose the ssh port for the easy install in gitosis? | 01:55 |
|
doener
| EugenMayer: gitolite you mean? | 01:56 |
|
EugenMayer
| found it ( yes ) | 01:56 |
| → ia joined | 01:58 |
|
| doener calls it a day | 01:58 |
|
EugenMayer
| n8 | 01:59 |
| ← jrmuizel left | 02:00 |
| → jrmuizel joined | 02:01 |
| ← bentob0x left | 02:03 |
| d1b_ → d1b | 02:04 |
| ← d1b left | 02:04 |
| → d1b joined | 02:04 |
| ← shuffle2 left | 02:09 |
| → WALoeIII joined | 02:10 |
| ← WALoeIII left | 02:11 |
|
EugenMayer
| sitaram: some docu probs: To administer gitolite, make changes to the config file | 02:11 |
|
| (config/gitolite.conf) | 02:11 |
|
| sitaram: on my installation, there is only a conf/ directory, there is no gitolite.conf, only that example ones. That docu is in gl-easy-install | 02:12 |
|
| sitaram: and/or the pubkeys (in subdirectory 'keydir') in any clone, then git add, git commit, and git push. | 02:13 |
| → sh1mmer joined | 02:13 |
|
EugenMayer
| same place ( gl-easy-install tail ): its very unclear whether to create the directory under conf/keydir or /keydir | 02:13 |
| → shuffle2 joined | 02:14 |
|
pcc1
| I am attempting to rebase a subtree which includes manual merge conflict resolution onto a linear history. would I be correct in saying that "git rebase" does not take account of the conflict resolution, and if so is it possible to use this information (I am needing to resolve manually essentially the same conflicts as when the tree was originally created)? | 02:17 |
| → RaceCondition joined | 02:17 |
|
RaceCondition
| why does git "fatal: cannot handle STATUS internally" when git STATUS is called? :P | 02:18 |
| ← jrmuizel left | 02:18 |
|
wereHamster
| strange, I get this instead: git: 'STATUS' is not a git-command. See 'git --help'. | 02:19 |
|
rektide
| status not STATUS | 02:20 |
| → jackylee joined | 02:20 |
|
offby1
| RaceCondition: pleased to make your acquaintance. Mr Fencepost will be along shortly | 02:20 |
|
RaceCondition
| offby1: :) | 02:21 |
| → tedoc2000 joined | 02:24 |
| → VVSiz_ joined | 02:24 |
| ← orafu left | 02:24 |
| ← RaceCondition left | 02:25 |
| → orafu joined | 02:25 |
| → RaceCondition joined | 02:25 |
| ← RaceCondition left | 02:26 |
|
objorn
| warning: remote HEAD refers to nonexistent ref, unable to checkout. | 02:30 |
|
| how can i fix that? | 02:30 |
|
EugenMayer
| sitaram: well sorry, it was not clear to me, that the admin repo is on the client, not on the server actually | 02:30 |
|
objorn
| i own the remote git repo | 02:32 |
|
| i can do anything that needs to be done to it | 02:32 |
| → purpleidea joined | 02:32 |
| → jrmuizel joined | 02:33 |
|
purpleidea
| could anyone tell me how to list which files are being tracked by git? eg git status --someflag ? | 02:34 |
| ← FunkeeMonk left | 02:34 |
| ← sh1mmer left | 02:35 |
| → cedricv joined | 02:36 |
|
wereHamster
| objorn: is the remote repo empty? | 02:38 |
|
objorn
| wereHamster: no, it has 2 files and one directory | 02:40 |
| ← Sake left | 02:40 |
| ← aziz left | 02:40 |
| ← mithro left | 02:40 |
| ← linkinus left | 02:40 |
| ← xenoterracide left | 02:41 |
| ← lfranchi left | 02:41 |
| → xenoterracide joined | 02:41 |
| → lfranchi joined | 02:41 |
| ← ereslibre left | 02:42 |
| ← VVSiz left | 02:42 |
| ← jspiros left | 02:42 |
| ← Thralas left | 02:42 |
| ← madduck left | 02:42 |
| ← up_the_irons left | 02:42 |
| ← impulze left | 02:42 |
| ← yatiohi left | 02:42 |
| ← vkroll left | 02:42 |
| ← dirker left | 02:42 |
| ← dkr21 left | 02:42 |
| ← guerrilla left | 02:42 |
| ← shd left | 02:42 |
| ← corecode left | 02:42 |
| ← knittl left | 02:42 |
| ← jettero left | 02:42 |
| ← stick left | 02:42 |
| ← tychoish left | 02:42 |
| ← hansent|away left | 02:42 |
| ← halfline left | 02:42 |
| ← mikem23 left | 02:42 |
| ← fpcfan-away left | 02:42 |
| ← osfameron left | 02:42 |
| ← hatseflats left | 02:42 |
| ← eMBee left | 02:42 |
| ← ijuma left | 02:42 |
| ← charon left | 02:42 |
| ← tg left | 02:42 |
| ← f00li5h left | 02:42 |
| ← chty left | 02:42 |
| ← barrym left | 02:42 |
|
wereHamster
| objorn: can you pastebin 'git ls-remote origin' ? | 02:42 |
| → guerrilla joined | 02:43 |
| → dkr21 joined | 02:43 |
| → sunil joined | 02:44 |
|
objorn
| wereHamster: it shows nothing when i do that, it just goes to the next command line prompt | 02:44 |
| → chty joined | 02:44 |
|
objorn
| and it didn't pull in the files from the repo | 02:45 |
|
wereHamster
| git --version? | 02:45 |
| ← SunilThaha left | 02:45 |
|
objorn
| git version 1.5.6.5 | 02:45 |
|
wereHamster
| oh boy, you should upgrade | 02:45 |
|
alus
| git should auto-upgrade | 02:46 |
|
| like firefox | 02:46 |
| ← tedoc2000 left | 02:47 |
| ← stuffcorpse left | 02:47 |
| → stuffcorpse joined | 02:47 |
| → tedoc2000 joined | 02:48 |
| → jlilly joined | 02:49 |
|
EugenMayer
| sitaram: you should create the directory, the repos are in with "-r", as if the parentdir is also missing, it fails the complete install | 02:50 |
| ← hgimenez left | 02:52 |
|
objorn
| okay, git version 1.6.5.3 | 02:55 |
| m-takagi_ → m-takagi | 02:56 |
| ← kpreid_ left | 02:56 |
|
objorn
| fatal: http://helpme.net/please/info/refs not found: did you run git update-server-info on the server? | 02:57 |
| ← zjason left | 02:57 |
|
purpleidea
| how do you list which files are being tracked by git? eg: git status --show-tracked ? | 02:57 |
|
wereHamster
| purpleidea: git ls-files | 02:58 |
| ← ebneter left | 02:58 |
|
wereHamster
| objorn: did you? | 02:58 |
|
objorn
| wereHamster: yes | 02:58 |
|
purpleidea
| wereHamster: thanks! | 02:58 |
|
wereHamster
| does info/refs exist? | 02:59 |
|
objorn
| wereHamster: i was suppoed to run git "update-server-info" right? | 02:59 |
|
wereHamster
| git update-server-info | 02:59 |
|
objorn
| yes, that's what i did | 02:59 |
|
| with the "git" included | 03:00 |
|
wereHamster
| and, did it create info/refs? | 03:00 |
| → andrewa2 joined | 03:00 |
|
objorn
| yes | 03:01 |
|
| cat refs | 03:01 |
|
| 3cb10a15046190623b45d9d78b9cdbfd35d40706refs/heads/master | 03:01 |
|
Fissure
| should that not be /please/.git/info/refs? | 03:03 |
|
| i'm not sure http clone will auto-find .git like smart protocols | 03:03 |
|
objorn
| Fissure: that is /please/.git/info/refs | 03:04 |
|
Fissure
| i mean, you should be trying to clone /please/.git, not /please | 03:05 |
|
| worth trying, anyway | 03:05 |
|
objorn
| same error | 03:05 |
|
| oh wait | 03:06 |
|
| that worked! | 03:06 |
|
Fissure
| yay lucky guesses | 03:06 |
|
| (central repos should probably be bare anyway....) | 03:06 |
| ← jrmuizel left | 03:10 |
|
sitaram
| EugenMayer: still there? | 03:15 |
| → jspiros joined | 03:15 |
| → yatiohi joined | 03:15 |
| → fpcfan-away joined | 03:15 |
| → hatseflats joined | 03:15 |
| → tg joined | 03:15 |
| → ijuma joined | 03:15 |
| → impulze joined | 03:15 |
| → hansent|away joined | 03:15 |
| → mikem23 joined | 03:15 |
| → barrym joined | 03:15 |
| → corecode joined | 03:15 |
| → Thralas joined | 03:15 |
| → eMBee joined | 03:15 |
| → stick joined | 03:15 |
| → osfameron joined | 03:15 |
| → f00li5h joined | 03:15 |
| → dirker joined | 03:15 |
| → up_the_irons joined | 03:15 |
| → tychoish joined | 03:15 |
| → halfline joined | 03:15 |
| → charon joined | 03:15 |
| → madduck joined | 03:15 |
| → vkroll joined | 03:15 |
| → jettero joined | 03:15 |
| → knittl joined | 03:15 |
| → shd joined | 03:15 |
|
| sitaram just got in to work | 03:15 |
| → rchavik joined | 03:16 |
| ← pklingem1 left | 03:16 |
|
EugenMayer
| sitaram: yes | 03:16 |
|
| sitaram: I have some suggestions | 03:17 |
|
sitaram
| EugenMayer: sorry about that config/ instead of conf/ -- thanks for finding it; fixed | 03:17 |
|
EugenMayer
| first of, your tool is _great_ | 03:17 |
|
sitaram
| EugenMayer: can you elaborate on the "-r" bit? | 03:17 |
|
EugenMayer
| well, lets say, we want to create a dir /tmp/foo | 03:18 |
|
| "mkdir /tmp/foo" | 03:18 |
|
| it would work, as /tmp is already created | 03:18 |
|
| if we create | 03:18 |
|
| mkdir "nothereyet/foo" | 03:18 |
|
| it will fail | 03:18 |
| ← PataTwo left | 03:18 |
|
EugenMayer
| oh, its should not be "-r" but -p | 03:19 |
|
sitaram
| EugenMayer: I meant, within gitolite... because if you attempt to create a repo using the config file, (like "repo a/b/c") it does indeed create the missing directories | 03:19 |
|
EugenMayer
| yes, but it would not work, if the parent directories are not there yet | 03:19 |
|
| it will fail | 03:19 |
|
| you need the -p switch for mkdir | 03:19 |
| ← andrewa2 left | 03:19 |
| → andrewa2 joined | 03:19 |
|
sitaram
| EugenMayer: so I guess I'll rephrase my question: how exactly did you get that error, like what steps were you running? | 03:20 |
|
EugenMayer
| I installed gitolite | 03:20 |
| → schambers joined | 03:20 |
|
EugenMayer
| my repo was set to /home/git/repos | 03:20 |
| → jrmuizel joined | 03:20 |
| → ajonat joined | 03:20 |
|
EugenMayer
| neither /home/git | 03:20 |
| → cytrinox_ joined | 03:21 |
| → ben_h joined | 03:21 |
|
EugenMayer
| nor /home/git/repos was existing before | 03:21 |
| → zjason joined | 03:21 |
|
EugenMayer
| during the installtion, the "mkdir /home/git/repos" failed | 03:21 |
| → djgera joined | 03:21 |
|
sitaram
| EugenMayer: you mean you set $REPO_BASE to /home/git/repos? | 03:21 |
|
EugenMayer
| as it was not a "mdir -p /home/git/repos" | 03:21 |
|
| yes | 03:21 |
| ← cytrinox left | 03:21 |
| cytrinox_ → cytrinox | 03:21 |
|
EugenMayer
| you need to "create all parents on the path" | 03:22 |
|
sitaram
| hmm.. I thought you meant at the next level... | 03:22 |
|
| when creating repos *within* REPO_BASE | 03:22 |
|
EugenMayer
| no, before. Installation process, not repo init | 03:22 |
|
sitaram
| ok; I'll add that in -- sounds harmless and it's one time; thanks | 03:22 |
| → kpreid_ joined | 03:22 |
| → nevyn_ joined | 03:22 |
|
EugenMayer
| if your tools proves to do what it describes | 03:23 |
|
| I might want to write a GUI I would share | 03:23 |
|
| ah yes, I have a suggestion but I guess it will be harder to deal with | 03:23 |
|
| it would be cool, if I could provide a list of repos with a prefix | 03:23 |
|
| like | 03:23 |
|
sitaram
| EugenMayer: ok wait -- back to this directory thing; let me think about it a little more. I find that currently I'm using perl's internal mkdir, and I hate loading extra modules so I'd have to use "mkdir -p". Will do that later | 03:24 |
|
EugenMayer
| @modules(basic/) = foo bar | 03:24 |
| ← Keiya left | 03:24 |
|
EugenMayer
| this would result in basic/foo and basic/bar | 03:24 |
|
| sitaram: will it is not critical, you should simply warn the user. | 03:24 |
| → Keiya joined | 03:25 |
|
EugenMayer
| that "please create the directoy"..or use a regexp to split up the path | 03:25 |
|
| and create each level | 03:25 |
|
cbreak
| just put slashes into your folder names | 03:25 |
|
| done. | 03:25 |
|
sitaram
| EugenMayer: I didn't understand this: 08:55:08 < EugenMayer> that "please create the directoy"..or use a regexp to split up the path | 03:26 |
|
EugenMayer
| sitaram: well if you can't use mkdir -p, you could split up "/home/git/repos" into "/home" "/home/git" "/home/git/repos" | 03:27 |
|
| and run a mkdir for every | 03:27 |
|
sitaram
| EugenMayer: too much work for a one-time thing; I'll just use mkdir -p after thinking about any potential security issues (and putting in disclaimers, and using the list form of course!) | 03:28 |
|
EugenMayer
| its really cool that the list form is able to deal with subdirs | 03:29 |
| ← exygen left | 03:29 |
|
EugenMayer
| by the way, using the git repo for the config procedure - genius! | 03:30 |
|
| (with that hook) | 03:30 |
|
sitaram
| EugenMayer: gitosis-inspired | 03:30 |
|
| EugenMayer: aka, someone else's genius :) | 03:30 |
| ← andrewa2 left | 03:30 |
| ← kpreid_ left | 03:31 |
|
EugenMayer
| anyway, that I can set read and write rights, this is close to perfect | 03:31 |
|
| I have a DAV running run, next to gitolite | 03:31 |
| → kpreid_ joined | 03:31 |
|
| sitaram has never used DAV and has very little idea what it is except it needs Apache :) | 03:31 |
|
EugenMayer
| well, it needs only apache | 03:32 |
|
| and the only reason I use it are my customers | 03:32 |
| ← ab3 left | 03:32 |
|
EugenMayer
| which most probably are firewalled and therefor can't access the repo using the shell, only http port 80 | 03:32 |
|
| because browsing is most probably allowed | 03:33 |
| ← jrmuizel left | 03:35 |
|
EugenMayer
| now I need to rebase all those repos...hell of a work :/ | 03:36 |
| ← djgera left | 03:36 |
| ← malesca left | 03:37 |
|
EugenMayer
| sitaram: can I use lists in lists? | 03:38 |
|
| @foo = @bar foo @SomeList | 03:38 |
|
sitaram
| EugenMayer: yes but not recursively | 03:38 |
|
EugenMayer
| yeah, sure | 03:38 |
|
sitaram
| EugenMayer: at that point, bar and somelist must already be defined | 03:38 |
|
| it's one-pass parsing | 03:38 |
|
EugenMayer
| yeah, that's clear | 03:38 |
|
| substitution | 03:39 |
| ← bdowning left | 03:39 |
| ← plopix left | 03:39 |
| ← dwmw2 left | 03:39 |
| ← bauruine left | 03:39 |
| ← unreal left | 03:39 |
| ← crab left | 03:39 |
| ← pilif|away left | 03:39 |
| ← bs left | 03:39 |
| ← pfote left | 03:39 |
| ← Natch| left | 03:39 |
| ← jpieper left | 03:39 |
| ← mstormo left | 03:39 |
| ← zomg left | 03:39 |
| ← teuf left | 03:39 |
| ← russell_h left | 03:39 |
| ← ReinH left | 03:39 |
| ← exitstate left | 03:39 |
| ← metze left | 03:39 |
| ← tic left | 03:39 |
| ← spb left | 03:39 |
| ← tk left | 03:39 |
| ← exg left | 03:39 |
| ← merlin83 left | 03:39 |
| ← Soliton left | 03:39 |
| ← wanders left | 03:39 |
| ← Tronic left | 03:39 |
| ← dsop left | 03:39 |
| ← laj_ left | 03:39 |
| ← siprbaum left | 03:39 |
| ← emias left | 03:39 |
| ← pcc1 left | 03:39 |
| ← felipe left | 03:39 |
| ← ^Einstein left | 03:39 |
| ← zjason left | 03:39 |
| ← schambers left | 03:39 |
| ← stuffcorpse left | 03:39 |
| ← AAA_awright left | 03:39 |
| ← tetha left | 03:39 |
| ← eno__ left | 03:39 |
| ← Shyke left | 03:39 |
| ← Twisted_Mentat left | 03:39 |
| ← Rh0nda left | 03:39 |
| ← peper left | 03:39 |
| ← d1b left | 03:39 |
| ← WebDragon|away left | 03:39 |
| ← mutex left | 03:39 |
| ← tmz left | 03:39 |
| ← uau left | 03:39 |
| ← RurouniJones left | 03:39 |
| ← jstemmer left | 03:39 |
| ← Haarg left | 03:39 |
| ← yashi left | 03:39 |
| ← JEEB left | 03:39 |
| ← kusma_ left | 03:39 |
| ← karihre left | 03:39 |
| ← amirite left | 03:39 |
| ← stamina left | 03:39 |
| ← jujule2_ left | 03:39 |
| ← cYmen left | 03:39 |
| ← dbrock left | 03:39 |
| ← john268 left | 03:39 |
| ← shabble left | 03:39 |
| ← Cesario left | 03:39 |
| ← neldoreth left | 03:39 |
| ← x-demon left | 03:39 |
| ← maxb left | 03:39 |
| ← segher left | 03:39 |
| ← mikkom_ left | 03:39 |
| ← jjore left | 03:39 |
| ← bgerber left | 03:39 |
| ← imarcusthis left | 03:39 |
| ← wereHamster left | 03:39 |
| ← ferdy left | 03:39 |
| ← jrockway left | 03:39 |
| ← agile left | 03:39 |
| ← mapreduce left | 03:39 |
| ← pippijn left | 03:39 |
| ← wagle_home left | 03:39 |
| ← Strogg left | 03:39 |
| ← NetHawk left | 03:39 |
| ← jacobat left | 03:39 |
| ← _ikke_ left | 03:39 |
| ← GodEater left | 03:39 |
| ← ruphy left | 03:39 |
| ← ahf left | 03:39 |
| ← LotR left | 03:39 |
| ← VVSiz_ left | 03:39 |
| ← Woody2143 left | 03:39 |
| ← torben_ left | 03:39 |
| ← unixtippse left | 03:39 |
| ← simonb__ left | 03:39 |
| ← Thralas left | 03:39 |
| ← madduck left | 03:39 |
| ← impulze left | 03:39 |
| ← up_the_irons left | 03:39 |
| ← jspiros left | 03:39 |
| ← vkroll left | 03:39 |
| ← dirker left | 03:39 |
| ← shd left | 03:39 |
| ← corecode left | 03:39 |
| ← jettero left | 03:39 |
| ← stick left | 03:39 |
| ← tychoish left | 03:39 |
| ← hansent|away left | 03:39 |
| ← halfline left | 03:39 |
| ← mikem23 left | 03:39 |
| ← fpcfan-away left | 03:39 |
| ← osfameron left | 03:39 |
| ← hatseflats left | 03:39 |
| ← eMBee left | 03:39 |
| ← yatiohi left | 03:39 |
| ← ijuma left | 03:39 |
| ← charon left | 03:39 |
| ← tg left | 03:39 |
| ← f00li5h left | 03:39 |
| ← knittl left | 03:39 |
| ← barrym left | 03:39 |
| ← Keiya left | 03:39 |
| ← chty left | 03:39 |
| ← dkr21 left | 03:39 |
| ← jackylee left | 03:39 |
| ← lamont left | 03:39 |
| ← flaguy48 left | 03:39 |
| ← Lisimba left | 03:39 |
| ← gaveen_ left | 03:39 |
| ← UncleCJ_ left | 03:39 |
| ← s0ber left | 03:39 |
| ← Fullmoon left | 03:39 |
| ← kristian42 left | 03:39 |
| ← bigmack83 left | 03:39 |
| ← pom_ left | 03:39 |
| ← ybit left | 03:39 |
| ← Fatal_ left | 03:39 |
| ← JackWinter2 left | 03:39 |
| ← ToxicFrog left | 03:39 |
| ← Nafai left | 03:39 |
| ← _rane_ left | 03:39 |
| ← vital_ left | 03:39 |
| ← jas4711 left | 03:39 |
| ← juan_arandaalvar left | 03:39 |
| ← Aikawa_ left | 03:39 |
| ← edenc left | 03:39 |
| ← dominikh left | 03:39 |
| ← nevyn left | 03:39 |
| ← doener left | 03:39 |
| ← jds left | 03:39 |
| ← sneakret_ left | 03:39 |
| ← trodrigues left | 03:39 |
| ← jnl left | 03:39 |
| ← sbob left | 03:39 |
| ← arooni__ left | 03:39 |
| ← David-T left | 03:39 |
| ← eshear left | 03:39 |
| ← awx left | 03:39 |
| ← LoRe left | 03:39 |
| ← kadoban_ left | 03:39 |
| ← mgoetz[home] left | 03:39 |
| ← tjaway left | 03:39 |
| ← drfree left | 03:39 |
| ← kmap left | 03:39 |
| ← spacebat_ left | 03:39 |
| ← rotty left | 03:39 |
| ← thijso left | 03:39 |
| ← schlortoo left | 03:39 |
| ← aptituz left | 03:39 |
| ← hegge left | 03:39 |
| ← bartman left | 03:39 |
| ← PerlJam left | 03:39 |
| ← flex left | 03:39 |
| ← rtyler left | 03:39 |
| ← Tuomas left | 03:39 |
| ← doki_pen left | 03:39 |
| ← [dmp] left | 03:39 |
| ← jkp left | 03:39 |
| ← aussiegee left | 03:39 |
| ← gernot left | 03:39 |
| ← tha left | 03:39 |
| ← piroko left | 03:39 |
| ← teknotus left | 03:39 |
| ← morfic left | 03:39 |
| ← pigeon left | 03:39 |
| ← Ratler left | 03:39 |
| ← madmoose left | 03:39 |
| ← pdusen left | 03:39 |
| ← ianmcorvidae left | 03:39 |
| ← frsk left | 03:39 |
| ← reaVer left | 03:39 |
| ← Whtiger left | 03:39 |
| ← rektide left | 03:39 |
| ← Ingmar left | 03:39 |
| ← __bert__ left | 03:39 |
| ← jast left | 03:39 |
| ← m0 left | 03:39 |
| ← argonel left | 03:39 |
| ← Tommy[D] left | 03:39 |
| ← voker57_ left | 03:39 |
| ← Bass10 left | 03:39 |
| ← nick_fn left | 03:39 |
| ← dermoth left | 03:39 |
| ← tapple left | 03:39 |
| ← troyt left | 03:39 |
| ← bremner left | 03:39 |
| ← levifig left | 03:39 |
| ← warthog9 left | 03:39 |
| ← tomaw__ left | 03:39 |
|
sitaram
| EugenMayer: there's a wee little gotcha here... since list additions accumulate, you can add to @bar *later* but by then @foo has already been set | 03:39 |
| ← t0rc_ left | 03:39 |
| → Keiya joined | 03:40 |
| → zjason joined | 03:40 |
| → schambers joined | 03:40 |
| → shd joined | 03:40 |
| → knittl joined | 03:40 |
| → jettero joined | 03:40 |
| → vkroll joined | 03:40 |
| → madduck joined | 03:40 |
| → charon joined | 03:40 |
| → halfline joined | 03:40 |
| → tychoish joined | 03:40 |
| → up_the_irons joined | 03:40 |
| → dirker joined | 03:40 |
| → f00li5h joined | 03:40 |
| → osfameron joined | 03:40 |
| → stick joined | 03:40 |
| → eMBee joined | 03:40 |
| → Thralas joined | 03:40 |
| → corecode joined | 03:40 |
| → barrym joined | 03:40 |
| → mikem23 joined | 03:40 |
| → hansent|away joined | 03:40 |
| → impulze joined | 03:40 |
| → ijuma joined | 03:40 |
| → tg joined | 03:40 |
| → hatseflats joined | 03:40 |
| → fpcfan-away joined | 03:40 |
| → yatiohi joined | 03:40 |
| → jspiros joined | 03:40 |
| → stuffcorpse joined | 03:40 |
| → chty joined | 03:40 |
| → dkr21 joined | 03:40 |
| → VVSiz_ joined | 03:40 |
| → jackylee joined | 03:40 |
| → d1b joined | 03:40 |
| → AAA_awright joined | 03:40 |
| → lamont joined | 03:40 |
| → flaguy48 joined | 03:40 |
| → tetha joined | 03:40 |
| → Lisimba joined | 03:40 |
| → gaveen_ joined | 03:40 |
| → bauruine joined | 03:40 |
| → UncleCJ_ joined | 03:40 |
| → eno__ joined | 03:40 |
| → voker57_ joined | 03:40 |
| → Shyke joined | 03:40 |
| → s0ber joined | 03:40 |
| → Fullmoon joined | 03:40 |
| → kristian42 joined | 03:40 |
| → Twisted_Mentat joined | 03:40 |
| → bigmack83 joined | 03:40 |
| → peper joined | 03:40 |
| → Rh0nda joined | 03:40 |
| → pom_ joined | 03:40 |
| → ybit joined | 03:40 |
| → Fatal_ joined | 03:40 |
| → JackWinter2 joined | 03:40 |
| → mutex joined | 03:40 |
| → tmz joined | 03:40 |
| → uau joined | 03:40 |
| → RurouniJones joined | 03:40 |
| → ToxicFrog joined | 03:40 |
| → Nafai joined | 03:40 |
| → unreal joined | 03:40 |
| → _rane_ joined | 03:40 |
| → vital_ joined | 03:40 |
| → jstemmer joined | 03:40 |
| → jas4711 joined | 03:40 |
| → juan_arandaalvar joined | 03:40 |
| → Aikawa_ joined | 03:40 |
| → edenc joined | 03:40 |
| → Haarg joined | 03:40 |
| → yashi joined | 03:40 |
| → dominikh joined | 03:40 |
| → Bass10 joined | 03:40 |
| → doener joined | 03:40 |
| → JEEB joined | 03:40 |
| → laj_ joined | 03:40 |
| → mgoetz[home] joined | 03:40 |
| → jds joined | 03:40 |
| → siprbaum joined | 03:40 |
| → hegge joined | 03:40 |
| → LoRe joined | 03:40 |
| → sneakret_ joined | 03:40 |
| → Tuomas joined | 03:40 |
| → frsk joined | 03:40 |
| → trodrigues joined | 03:40 |
| → PerlJam joined | 03:40 |
| → doki_pen joined | 03:40 |
| → drfree joined | 03:40 |
| → gernot joined | 03:40 |
| → jnl joined | 03:40 |
| → bartman joined | 03:40 |
| → piroko joined | 03:40 |
| → madmoose joined | 03:40 |
| → aussiegee joined | 03:40 |
| → flex joined | 03:40 |
| → reaVer joined | 03:40 |
| → aptituz joined | 03:40 |
| → ianmcorvidae joined | 03:40 |
| → Ratler joined | 03:40 |
| → morfic joined | 03:40 |
| → kmap joined | 03:40 |
| → Whtiger joined | 03:40 |
| → rektide joined | 03:40 |
| → kadoban_ joined | 03:40 |
| → tha joined | 03:40 |
| → sbob joined | 03:40 |
| → arooni__ joined | 03:40 |
| → David-T joined | 03:40 |
| → teknotus joined | 03:40 |
| → Ingmar joined | 03:40 |
| → rtyler joined | 03:40 |
| → pigeon joined | 03:40 |
| → spacebat_ joined | 03:40 |
| → eshear joined | 03:40 |
| → [dmp] joined | 03:40 |
| → rotty joined | 03:40 |
| → pdusen joined | 03:40 |
| → jkp joined | 03:40 |
| → thijso joined | 03:40 |
| → schlortoo joined | 03:40 |
| → awx joined | 03:40 |
| → tjaway joined | 03:40 |
| → dbrock joined | 03:40 |
| → jpieper joined | 03:40 |
| → Natch| joined | 03:40 |
| → karihre joined | 03:40 |
| → merlin83 joined | 03:40 |
| → stamina joined | 03:40 |
| → segher joined | 03:40 |
| → simonb__ joined | 03:40 |
| → LotR joined | 03:40 |
| → m0 joined | 03:40 |
| → Tommy[D] joined | 03:40 |
| → NetHawk joined | 03:40 |
| → ReinH joined | 03:40 |
| → tic joined | 03:40 |
| → zomg joined | 03:40 |
| → teuf joined | 03:40 |
| → bs joined | 03:40 |
| → mstormo joined | 03:40 |
| → pfote joined | 03:40 |
| → spb joined | 03:40 |
| → plopix joined | 03:40 |
| → russell_h joined | 03:40 |
| → exitstate joined | 03:40 |
| → bdowning joined | 03:40 |
| → metze joined | 03:40 |
| → pilif|away joined | 03:40 |
| → crab joined | 03:40 |
| → dwmw2 joined | 03:40 |
| → dsop joined | 03:40 |
| → Tronic joined | 03:40 |
| → Soliton joined | 03:40 |
| → tk joined | 03:40 |
| → wanders joined | 03:40 |
| → exg joined | 03:40 |
| → mapreduce joined | 03:40 |
| → ferdy joined | 03:40 |
| → john268 joined | 03:40 |
| → jast joined | 03:40 |
| → torben_ joined | 03:40 |
| → ahf joined | 03:40 |
| → Strogg joined | 03:40 |
| → ^Einstein joined | 03:40 |
| → felipe joined | 03:40 |
| → emias joined | 03:40 |
| → unixtippse joined | 03:40 |
| → Woody2143 joined | 03:40 |
| → pcc1 joined | 03:40 |
| → amirite joined | 03:40 |
| → wagle_home joined | 03:40 |
| → pippijn joined | 03:40 |
| → jacobat joined | 03:40 |
| → jujule2_ joined | 03:40 |
| → ruphy joined | 03:40 |
| → tapple joined | 03:40 |
| → imarcusthis joined | 03:40 |
| → bremner joined | 03:40 |
| → maxb joined | 03:40 |
| → GodEater joined | 03:40 |
| → wereHamster joined | 03:40 |
| → x-demon joined | 03:40 |
| → shabble joined | 03:40 |
| → cYmen joined | 03:40 |
| → Cesario joined | 03:40 |
| → jrockway joined | 03:40 |
| → jjore joined | 03:40 |
| → neldoreth joined | 03:40 |
| → mikkom_ joined | 03:40 |
| → bgerber joined | 03:40 |
| → agile joined | 03:40 |
| → kusma_ joined | 03:40 |
| → _ikke_ joined | 03:40 |
| → argonel joined | 03:40 |
| → nick_fn joined | 03:40 |
| → __bert__ joined | 03:40 |
| → dermoth joined | 03:40 |
| → troyt joined | 03:40 |
| → warthog9 joined | 03:40 |
| → tomaw__ joined | 03:40 |
| → levifig joined | 03:40 |
| → Sake joined | 03:40 |
|
EugenMayer
| it would be cool if you would support direcotries and wildcards, but that's quite something | 03:40 |
| ← ryoma left | 03:40 |
|
EugenMayer
| @c1 = company1/* | 03:40 |
|
| @c2 = company2/* | 03:40 |
| → jrmuizel joined | 03:41 |
|
EugenMayer
| but I guess there are several problems that way ( not able to init the git repo in the hook and so on ) | 03:41 |
|
sitaram
| EugenMayer: where company1/foo and company1/bar already exist? | 03:41 |
| ← JasonWoof left | 03:41 |
|
EugenMayer
| sitaram: well, actually that should be "every repo in company1/" and respectivly "company2/" | 03:42 |
|
| I expect this to be hard to complete | 03:42 |
|
| the configuration right now is really easy to understand and use. This is great | 03:42 |
|
sitaram
| EugenMayer: let me rephrase: do you mean "autocomplete to every repo that currently exists in company1/" or a pure wildcard that stays as a wildcard? | 03:43 |
|
EugenMayer
| it stays a wildcard | 03:43 |
|
| so user can craete any repo under company1/ if the would have rw for @c1 | 03:43 |
| nevyn_ → nevyn | 03:44 |
|
sitaram
| EugenMayer: the former is doable; the latter not so much. And it doesn't affect the 2 programs I need to protect from bloat (gl-auth-command and hooks/update) | 03:45 |
| ← jschoolcraft left | 03:45 |
|
EugenMayer
| sitaram: yeah. I think its yet really got for what 95% need | 03:45 |
|
| sitaram: just for the docs, how is a username mapped. The filename of the key? | 03:46 |
|
sitaram
| user foo in conf/gitolite.conf maps to keydir/foo.pub | 03:46 |
|
EugenMayer
| ok, so it's the filename | 03:46 |
| ← ymanton left | 03:46 |
|
sitaram
| actually, keydir/foo@anything.pub -- any number of those | 03:46 |
|
| like I have keydir/sitaram@laptop.pub and keydir/sitaram@desktop.pub | 03:46 |
|
| both keys map to "sitaram" in the access config file | 03:47 |
|
| (its the part before the "@" that is considered username) | 03:47 |
|
EugenMayer
| well wait, so its about the key comment inside or the filename of the key? | 03:47 |
|
sitaram
| key comment inside is meaningless to ssh and to gitolite; it's the filename | 03:47 |
| ← jrmuizel left | 03:47 |
|
EugenMayer
| ok | 03:47 |
|
sitaram
| so I take my key file from my laptop, and copy it here as "keydir/sitaram@laptop.pub" etc | 03:48 |
|
EugenMayer
| is gitweb any good actually? | 03:48 |
|
| sitaram doesnt use it; the work environment here doesnt encourage unauthenticated *read* even | 03:48 |
| → mithro joined | 03:48 |
|
| EugenMayer hell | 03:48 |
| → jrmuizel joined | 03:49 |
|
sitaram
| (well I take that back; I did have gitolite itself up on gitweb for some time but no one looked at it, ever!) | 03:49 |
|
| EugenMayer: not hell, just that we work for multiple customers and our customers want to know that their stuff isn't being accidentally leaked to a different customer | 03:49 |
|
EugenMayer
| just for my infos, you only use hooks from gitolite-admin You don't insert hooks into every other repo, don't you? | 03:50 |
|
sitaram
| EugenMayer: any IT services company would (or should) have the same restrictions | 03:50 |
|
| EugenMayer: yes I do -- you cant get branch-level restrictions otherwise | 03:50 |
|
EugenMayer
| sitaram: this is EXACTLY what iam doing :) | 03:50 |
|
| so every repo gets hooks | 03:50 |
|
| ? | 03:50 |
|
sitaram
| EugenMayer: yes. without an "update" hook in *every* repo, I can't control who writes to what branch in that repo | 03:50 |
|
EugenMayer
| :q | 03:50 |
|
| hm, that's quite unhandy, because I simply moved in my bare repos | 03:51 |
|
sitaram
| EugenMayer: do an dummy install once | 03:51 |
|
EugenMayer
| and did not "create" them with gitolite | 03:51 |
|
sitaram
| s/an/a | 03:51 |
|
| EugenMayer: wait | 03:51 |
| ← Sake left | 03:52 |
|
sitaram
| EugenMayer: name each repo in the config file, give *some* user access to it (even if it is just yourself), and push the config. Then repeat the easy install once | 03:52 |
| → tjafk joined | 03:52 |
|
EugenMayer
| oh ok. You just locked me out of my server | 03:52 |
|
sitaram
| EugenMayer: assuming your repos are all *bare* repos, and each repo is called "foo.git" where "foo" is what you put in the config, it'll work | 03:52 |
|
EugenMayer
| I guess you are changing the shell for the "installtion" user to be the git shell :/ | 03:53 |
|
| well, I used root | 03:53 |
|
sitaram
| EugenMayer: playing as root? wow... you're a brave man. I wrote gitolite for the opposite case -- where people who do not have root need this | 03:53 |
|
EugenMayer
| you should really state this in the config more clearly, that this shell user becomes unavailable for the shell | 03:54 |
|
sitaram
| it doesn't become unavailable | 03:54 |
|
EugenMayer
| I can't login anymore.. | 03:54 |
|
| don't you change the default-shell ? | 03:54 |
|
sitaram
| can you tell me the *exact* command you used to do the easy install? | 03:55 |
|
EugenMayer
| ./gl-easy-install root XXXXXX.de 2201 EugenMayer | 03:55 |
|
| the domain is obfuscated | 03:56 |
|
sitaram
| can you look in ~/.ssh (on your workstation) and tell me how many ".pub" files there are, and if they have corresponding private keys? | 03:56 |
|
EugenMayer
| sitaram: iam not new to ssh :) | 03:56 |
|
sitaram
| humour me | 03:56 |
|
EugenMayer
| I can't use my root priv key to get on the server. | 03:56 |
|
| I get the git shell telling me, what access I have on repos | 03:57 |
|
sitaram
| please humour me | 03:57 |
|
| and tell me how many pub keys there are | 03:57 |
|
EugenMayer
| wait | 03:57 |
| → Sake joined | 03:57 |
|
EugenMayer
| 1 | 03:57 |
|
| for my user | 03:57 |
|
| all the others are priv only | 03:57 |
| ← Sake left | 03:57 |
|
sitaram
| that's weird | 03:58 |
|
EugenMayer
| so there is only a EugenMayer.pub | 03:58 |
|
| I CAN reach the server, that's not the point | 03:58 |
|
sitaram
| easy install could not have run with just that key... | 03:58 |
|
EugenMayer
| it just I don't get my zsh shell | 03:58 |
|
sitaram
| wait -- did you have that key available *before* you ran easy install? | 03:59 |
| ← Twisted_Mentat left | 03:59 |
|
EugenMayer
| yes. | 03:59 |
|
sitaram
| and that was your only key? | 03:59 |
|
EugenMayer
| yes | 03:59 |
|
| for that server, yes | 03:59 |
|
sitaram
| you didnt have the usual "id_rsa" or something? | 03:59 |
|
EugenMayer
| no | 03:59 |
|
sitaram
| oh damn! | 03:59 |
|
| wait | 04:00 |
|
EugenMayer
| it seems like you trigger something in the shell | 04:00 |
|
| it is NOT that the server does discard my connetion | 04:00 |
|
| I get to the servers shell, but then it becomes that gitolite shell | 04:00 |
|
sitaram
| http://sitaramc.github.com/0-installing/9-gitolite-basics.html | 04:01 |
|
| you can recover, here's how: | 04:01 |
|
| sitaram should refuse to do anything as root -- if arg1 is root I will not just fail | 04:02 |
|
sitaram
| cd ~/gitolite-admin | 04:02 |
|
| EugenMayer: wait let me write it up and pastebin it; may be easier | 04:02 |
|
| EugenMayer just go on | 04:02 |
|
EugenMayer
| fine | 04:03 |
|
sitaram
| http://pastebin.com/m11fed5b5 | 04:04 |
| ← stamina left | 04:05 |
| ← vbgunz left | 04:06 |
|
EugenMayer
| on the server? | 04:06 |
|
| no that's the workstation | 04:06 |
|
| but actually I don't get what you are doning | 04:06 |
|
sitaram
| letme explain | 04:06 |
|
EugenMayer
| you regen the key which is working | 04:06 |
|
sitaram
| wait | 04:06 |
|
EugenMayer
| but that's NOT the key iam using for root | 04:07 |
|
| EugenMayer reading | 04:07 |
|
sitaram
| you previously had access to root@host using EugenMayer and EugenMayer.pub right? | 04:07 |
|
EugenMayer
| no. | 04:07 |
|
sitaram
| hmm then I'm confused | 04:08 |
|
EugenMayer
| my root priv key has never been touched | 04:08 |
|
| hmm now I see | 04:08 |
|
| command="/root/.gitolite/src/gl-auth-command EugenMayer" | 04:08 |
|
sitaram
| yes | 04:09 |
|
EugenMayer
| that's what you add in the authorized_keys | 04:09 |
|
sitaram
| yes | 04:09 |
| ← tjaway left | 04:09 |
| ← berkes left | 04:09 |
|
sitaram
| that's how gitolite works (and gitosis too, which was sort of the inspiration) | 04:09 |
|
EugenMayer
| that's fine | 04:09 |
| ← schambers left | 04:09 |
|
EugenMayer
| I have 2 keys in authorized_keys on the server | 04:09 |
|
sitaram
| what gitolite does is prepends that command= stuff then writes out the pubkey file *as is* | 04:10 |
|
EugenMayer
| the second one has been installed by gitolite | 04:10 |
| → berkes joined | 04:10 |
| → ttelford joined | 04:10 |
|
sitaram
| EugenMayer: what is the first key? does it have the "command=" stuff in it? | 04:10 |
|
EugenMayer
| no. | 04:10 |
| ← troyt left | 04:10 |
|
sitaram
| then you should be able to login using that... no? | 04:10 |
|
EugenMayer
| that's my server pub key. | 04:10 |
|
| that's what I would suggest | 04:10 |
|
| but is somehow thinks, iam EugenMayer | 04:11 |
|
sitaram
| ssh-add -l | 04:11 |
| → cloudhead joined | 04:11 |
|
sitaram
| by the way how did you know there were 2 keys in authkeys file? do you have a login session on another xterm perhaps? | 04:12 |
|
EugenMayer
| yes | 04:12 |
|
| I still have a term open | 04:12 |
|
sitaram
| alright then ignore my pastebin, look in server side ~/.ssh and replace the authkeys file with the backup that gitolite creates | 04:13 |
|
| and please dont use root for this | 04:13 |
|
| I will now disable that forthwith :) | 04:13 |
|
EugenMayer
| ok, fine | 04:13 |
| → mikepence joined | 04:13 |
|
EugenMayer
| that's yet the only thing I ever have installed with root :) | 04:13 |
|
| sitaram: you should really go for a .deb packages | 04:13 |
|
objorn
| after deleting a directory of files, how can you sync with the current git commit(?) (not sure what to do call that) on the server you originally cloned? | 04:14 |
|
sitaram
| EugenMayer: someone is working on it, I dont use debian myself so I dont really care | 04:14 |
|
| EugenMayer: dont forget my target is *any* unix -- and I have installed on Solaris 9s also | 04:14 |
|
EugenMayer
| yeahm si get | 04:14 |
|
| ok | 04:14 |
|
sitaram
| $DAYJOB has more Solaris and HP-UX than Linux, I think | 04:15 |
|
| http://sitaramc.github.com/0-installing/9-gitolite-basics.html and http://github.com/sitaramc/gitolite/blob/pu/doc/6-ssh-troubleshooting.mkd -- would be useful to understand what's happening behind the scenes | 04:16 |
|
| EugenMayer: ^ | 04:16 |
|
| I will also try and see how to prevent this sort of thing from happening -- but it's not easy. I've never encountered your situation where there was only one key and that name was chosen; but a warning message at a certain point in the install is easy | 04:17 |
| → nitrate joined | 04:17 |
| ← nitrate left | 04:17 |
|
sitaram
| EugenMayer: thanks for catching a corner case; my apologies if it caused you some worry (though you *did* run as root!) | 04:17 |
|
EugenMayer
| well | 04:18 |
|
| its a ESXi VM box :) | 04:18 |
|
| its the only application there | 04:18 |
|
| so it nearly does not matter what user :) | 04:18 |
|
| it is yet only a test run | 04:18 |
| → Keiya_ joined | 04:19 |
|
sitaram
| regardless; I will be putting in a warning in the code where the pubkey is already found to exist, asking "using already existing pubkey blah; are you sure this key is not your only access to the server?" | 04:19 |
|
| EugenMayer: so... thanks for that! | 04:19 |
|
EugenMayer
| and thank you! | 04:20 |
| → zgold joined | 04:20 |
|
sitaram
| you're welcome! | 04:20 |
|
zgold
| Hi! Really quick, im reading the man page and perhaps im just missing it but is there a way for format-patch to output a single patch file for a range of commits (instead of 0001, 0002 etc.) without actually squishing them all with rebase? | 04:21 |
|
offby1
| good question. | 04:21 |
|
zgold
| hmm... I guess I could just branch, rebase, format-patch then kill the branch | 04:22 |
|
EugenMayer
| sitaram: another thing, please don't create a old_autkeys | 04:22 |
|
| sitaram: if its present. Because if it's the second install..you will overwrite | 04:22 |
|
| after removing the key, login works | 04:22 |
|
| its seem slike those "command" is valid for the whole authorized_keys, no matter what key I used | 04:23 |
|
offby1
| zgold: I wonder if "git diff" might do it. | 04:23 |
|
sitaram
| EugenMayer: the old-authkeys backup is meant more for debugging than re-gaining access (it cant be used for that anyway). Blocking root and that warning message are much better in terms of preventing what happened here | 04:24 |
|
objorn
| anyone? | 04:24 |
|
EugenMayer
| yeah, right | 04:24 |
| → paltman joined | 04:25 |
|
offby1
| objorn: don't understand your question. Perhaps you can provide a transcript | 04:25 |
| ← Keiya_ left | 04:25 |
| → Keiya_ joined | 04:25 |
|
sitaram
| EugenMayer: not really; but if you're using ssh-agent there is a quirk. If "ssh-add -l" shows any keys, then regardless of what key you specify using "ssh -i" it will only offer one of the listed keys | 04:25 |
|
EugenMayer
| well then that's my problem | 04:26 |
|
| anyway iam installing with a different user now | 04:26 |
|
objorn
| offby1: the question is that i would like to delete some files and then have git to automatically recognize that i am missing files that the git master repository has and fetch them for me | 04:26 |
|
| how do i do that? | 04:26 |
|
| can you do that? | 04:26 |
| → fynn joined | 04:27 |
| ← zgold left | 04:27 |
|
Ilari
| objorn: Only commits can be transferred between repositories. Not files. | 04:27 |
|
fynn
| I have a file, foo.js, that was changed recently in commit 123. How do I return it to the state it was before commit 123, but permanently? | 04:28 |
|
| (i.e. I'd like to commit it in that state) | 04:28 |
|
Ilari
| objorn: To resurrect a file, 'git checkout <revision> -- <file>' (leave <revision> out to use staged version). | 04:28 |
|
fynn
| it would seem git revert is the most appropriate, but it doesn't look like I can revert paths, only full commits. | 04:28 |
|
objorn
| thank you Ilari | 04:29 |
|
Ilari
| objorn: To take multiple at one go, just list each filename after '--' (as separate arguments) | 04:29 |
| ← Keiya_ left | 04:30 |
| → ab3 joined | 04:31 |
| → Keiya_ joined | 04:31 |
| → munichlinux joined | 04:33 |
| ← exitstate left | 04:33 |
| → munichpython joined | 04:36 |
|
Fissure
| fynn: git checkout 123^ -- foo.js | 04:36 |
|
sitaram
| EugenMayer: http://pastebin.com/md6ebd06 | 04:36 |
| ← Keiya left | 04:37 |
|
EugenMayer
| sitaram: you have an additional error. you need to chmod u+w authenticated_keys before you try to add one | 04:37 |
|
| on the server | 04:37 |
|
fynn
| Fissure: interesting; I though I should use checkout here since I want to commit it back. | 04:37 |
|
Ilari
| EugenMayer: Ugh. What creates that file but doesn't give u+w to it? | 04:37 |
|
EugenMayer
| me? | 04:38 |
| ← kukks left | 04:41 |
| → hyperair joined | 04:42 |
| ← pilif|away left | 04:43 |
|
sitaram
| EugenMayer: I dont mess with permissions; that is why I create the new content and cat > to the old file | 04:43 |
|
| EugenMayer: I had an argument about this with someone once who insisted I should "write" the file; I refuse | 04:43 |
|
EugenMayer
| hmm | 04:44 |
|
sitaram
| EugenMayer: so the permissions are as you had them... | 04:44 |
| ← munichlinux left | 04:44 |
|
sitaram
| and I assume you meant authorized_keys not authenticated_keys | 04:44 |
|
EugenMayer
| sure, typo | 04:44 |
|
sitaram
| np | 04:44 |
|
EugenMayer
| the installation does NOT work | 04:44 |
|
| if ~/.ssh/authorized_keys has 400 on the server | 04:45 |
|
sitaram
| EugenMayer: sorry, can't help it... I will not change permissions! | 04:45 |
|
| on security sensitive files | 04:45 |
|
EugenMayer
| change and change back | 04:45 |
|
sitaram
| I wont even *create* it if it doesnt exist | 04:45 |
|
EugenMayer
| soo 600, write, 400 | 04:46 |
|
sitaram
| EugenMayer: that's like :w! instead of :w on vi, (loosely speaking). I don't think it's upto me to do this; I'll look at detecting it and bailing out though | 04:46 |
| → pilif joined | 04:47 |
|
EugenMayer
| ok, fine | 04:47 |
|
nevyn
| EugenMayer: the ssh daemon needs to be able to read it.. | 04:47 |
| pilif → pilif|away | 04:47 |
|
EugenMayer
| but when you add the pubkey.. | 04:47 |
|
nevyn
| mmm... | 04:47 |
|
| it's pub keys. | 04:47 |
|
Ilari
| nevyn: Does it? SSH daemon has CAP_DAC_READ_OVERRIDE (or what was it). | 04:47 |
|
nevyn
| it does? | 04:47 |
|
sitaram
| EugenMayer: sorry I dont mean to be like that... I hope you understand! | 04:47 |
|
nevyn
| Ilari: it'll complain about permissions if it's group or world readable | 04:48 |
|
EugenMayer
| Sure, I actually don't care about this. It up to you. :) | 04:48 |
|
sitaram
| EugenMayer: well not entirely -- I always try to satisfy my users! | 04:48 |
|
| EugenMayer: but when I can't, I'll try and explain why as well as I can... (it's rare) | 04:49 |
|
Ilari
| nevyn: Or maybe it does require user readability (because it switches to that user before reading). I don't know exactly. | 04:49 |
| → roop joined | 04:49 |
|
sitaram
| EugenMayer: I dont regard this as me doing you a favour so you take it or leave it :) | 04:49 |
| ← purpleidea left | 04:49 |
|
EugenMayer
| sure | 04:49 |
|
Fissure
| wtf, somehow my jvm installation broke horribly in the last 2 hours | 04:50 |
|
sitaram
| EugenMayer: does http://pastebin.com/md6ebd06 look ok? (if you have time) | 04:51 |
|
EugenMayer
| sitaram: don't talk about the key, talk about the user | 04:52 |
|
| this should be the warning | 04:52 |
|
| ah "command line shell" | 04:52 |
|
Fissure
| nvm, it's because /tmp is full >_< | 04:52 |
| → PN joined | 04:53 |
| → Keiya joined | 04:53 |
| ← cedricv left | 05:00 |
|
EugenMayer
| sitaram: when I conntect to the server using the gitolite user, I need to let the repos own by that user, or? | 05:00 |
| ← rlan_ left | 05:01 |
| ← EugenMayer left | 05:01 |
| ← mederEsite left | 05:01 |
| ← vmiklos left | 05:02 |
| ← madewokherd left | 05:03 |
| → vmiklos joined | 05:05 |
| → rlan_ joined | 05:06 |
| ← rlan_ left | 05:07 |
| ← vmiklos left | 05:08 |
| → exygen joined | 05:08 |
| → \ask joined | 05:09 |
| ← Keiya_ left | 05:10 |
| → vmiklos joined | 05:10 |
| → rlan_ joined | 05:11 |
| ← schmukkk left | 05:12 |
|
sitaram
| yes | 05:12 |
| → girishr joined | 05:14 |
| ← fynn left | 05:15 |
| → JSLint joined | 05:16 |
| ← JSLint left | 05:16 |
| ← munichpython left | 05:16 |
| ← rettub_ left | 05:17 |
| → rettub_ joined | 05:18 |
| ← mithro left | 05:18 |
| ← agile left | 05:19 |
|
objorn
| if you create another branch "b", then you create a file, and finally switch back to the original branch ("a") make a change to some other file and commit the changes, is the file from branch b commited as well? | 05:19 |
| ← segher left | 05:20 |
|
Fissure
| objorn: depends if you committed while on b or not | 05:20 |
|
objorn
| what happens if you do or don't commite while in b? | 05:21 |
| → alanhaggai joined | 05:22 |
| alanhaggai → Guest34453 | 05:23 |
|
Fissure
| uncommitted changes are carried with you when switching branches | 05:24 |
| ← __iron left | 05:24 |
| ← wolog_ left | 05:24 |
| → schmukkk joined | 05:27 |
| ← comps left | 05:28 |
|
objorn
| thanks Fissure, wouldn't it make sense to create two directories where one holds the latest changes and the other directory is your modifications | 05:28 |
|
Fissure
| i'm not seeing the difference between "latest changes" and "your modifications" | 05:29 |
|
objorn
| let's assume i have a branch, how would i make this branch publicly available to others if it wasn't the master branch | 05:29 |
|
Fissure
| the same way you make master available | 05:30 |
|
objorn
| substitute 'latest' for 'official' | 05:30 |
|
Fissure
| put it in some place that is publicly readable | 05:30 |
|
| do you need to separately test the official version frequently without your changes? | 05:31 |
|
| i suppose it may make some sense in that situation, but not in general | 05:31 |
| ← rchavik left | 05:31 |
|
objorn
| i guess i don't need it with what git offers the user in reverting changes | 05:33 |
|
| thank you for the clarification Fissure, could you also point me to some documentation where what we have discussed is mentioned? | 05:34 |
| → sis joined | 05:35 |
| ← dalekurt left | 05:35 |
|
Fissure
| i suppose the "uncommitted changes are carried with you" bit is in man git-checkout | 05:36 |
|
Gitbot
| Fissure: the git-checkout manpage can be found at http://git.or.cz/man/git-checkout | 05:36 |
| → mithro joined | 05:36 |
| → agenteo joined | 05:41 |
| ← Haarg left | 05:43 |
| ← scarabx left | 05:44 |
| → jceb joined | 05:45 |
| → rchavik joined | 05:48 |
| → ryoma joined | 05:50 |
| → level09 joined | 05:51 |
| → wolog joined | 05:52 |
| ← Rolenun left | 05:52 |
| → Twisted_Mentat joined | 05:52 |
| → flask- joined | 05:55 |
| → comps joined | 05:56 |
| → Sake joined | 05:59 |
| → krawek_ joined | 06:00 |
| ← krawek left | 06:00 |
| → nicklepede joined | 06:02 |
| ← eletuchy_ left | 06:05 |
| ← giallu left | 06:07 |
| ← jrmuizel left | 06:08 |
| ← flask- left | 06:19 |
| ← Theravadan left | 06:19 |
| → dakota joined | 06:23 |
|
dakota
| Morning | 06:23 |
|
| I have finally convinced my boss to switch over to git | 06:23 |
|
| We do php based web development. | 06:23 |
|
| Does any git experts have any hints/tips on setting up a nice environment? | 06:24 |
|
| Also, how would one handle using databases? | 06:24 |
| ← cloudhead left | 06:25 |
| → ablemike joined | 06:26 |
| ← nicklepede left | 06:27 |
| → Darkas joined | 06:27 |
| ← patmaddox left | 06:28 |
| ← jceb left | 06:29 |
|
| rchavik points to sitaram's gitolite | 06:29 |
| → savant joined | 06:29 |
| ← jackylee left | 06:29 |
| → jceb joined | 06:29 |
|
dakota
| Looks interesting. Although, being a small company with only 4 php devs per-branch permissions aren't really an issue | 06:30 |
| → patmaddox joined | 06:31 |
|
savant
| what looks interesting? | 06:31 |
|
dakota
| I'm more looking for things on how to setup/configure a 'central' repository, etc. | 06:31 |
|
| savant: "rchavik points to sitaram's gitolite" | 06:31 |
|
| savant: For your sake: | 06:31 |
|
| Morning I have finally convinced my boss to switch over to git We do php based web development. Does any git experts have any hints/tips on setting up a nice environment? Also, how would one handle using databases? | 06:31 |
|
savant
| oh i remember seeing that before... | 06:31 |
| → karmi joined | 06:32 |
|
savant
| Databases can be done using migrations. You can handle them with pre-commit hooks | 06:32 |
| ← jjuran left | 06:32 |
|
dakota
| How would you handle different schemas for different branches? Probably with hooks? | 06:33 |
|
level09
| n00b question .. why git is not keeping track of my deleted files ? | 06:33 |
|
savant
| As for git, if you are a small team and everyone is respectful, you might be able to get away with just any old installation. Larger teams, probably shouldnt be handling the stuff yourself. I personally have hosting with CodebaseHQ, although I may go to something different if I find it. | 06:33 |
|
level09
| or . . how do I keep track of my deleted files ? | 06:33 |
|
savant
| level09: add them to the git index? | 06:34 |
|
level09
| got it | 06:34 |
|
| okay so first of all I use add . | 06:34 |
|
| then I do changes etc.. | 06:34 |
|
| then commit ? | 06:34 |
|
| I used to do changes .. then add ., then comit | 06:34 |
|
savant
| dakota: as for different branches, still, hooks are the answer. All you need to do is use a migration system, and that will take care of things for you. | 06:34 |
|
dakota
| level09: you need to use git rm (filename) | 06:34 |
|
savant
| level09: you need to rm the specific filename | 06:35 |
|
level09
| does that remove the file physcically / | 06:35 |
|
| *physically | 06:35 |
|
savant
| no | 06:35 |
|
| git rm path/to/filename | 06:35 |
|
level09
| savant: I want to remove the file physically | 06:35 |
|
savant
| that does not remove | 06:35 |
|
cehteh
| yes it does | 06:35 |
|
level09
| but still be able to get it later | 06:35 |
|
savant
| if you ALSO need to remove it, just "rm filename" | 06:35 |
|
| cehteh: oh right, i'm thinking —cached | 06:36 |
|
level09
| :D | 06:36 |
|
| so rm filename will remove the file ? | 06:36 |
|
cehteh
| well think more quiet! | 06:36 |
|
savant
| level09: as long as it was once committed, then you can grab it from history | 06:36 |
|
dakota
| savant: Awesome. | 06:36 |
|
level09
| great | 06:36 |
|
| savant: so git cant keep track of the file if deleted from the file system | 06:36 |
|
savant
| level09: git wont track anything thats never been committed | 06:37 |
|
dakota
| savant: Any suggestions for git repo web interfaces? Something like code.cakephp.org | 06:37 |
|
savant
| level09: but if has been committed at one point, that history is there. so you can grab the file at whatever point in time you recorded it. | 06:37 |
|
level09
| savant: I think I comitted it, but still cant restore it | 06:38 |
|
| maybe i'm wrong | 06:38 |
|
| let me try | 06:38 |
|
| thanks for the advice | 06:38 |
|
savant
| dakota: github.com codebasehq.com bitbucket.org (is there a git-hg thing out there?) et al. | 06:38 |
| → daifuku joined | 06:38 |
|
rchavik
| dakota: indefero.. but haven't tried it myself | 06:39 |
|
dakota
| savant: Looking for one we can host on our own servers - boss doesn't want to outsource that - mainly because SA bandwidth is so damn expensive | 06:39 |
| → jkestr joined | 06:39 |
|
rchavik
| managed to install the app, but haven't actually used it to manage git repos | 06:39 |
|
savant
| I never could get indefero to play nice with nginx... | 06:39 |
|
| dakota: redmine is a beauty if you can handle ruby on rails apps :) | 06:40 |
|
| dakota: trac has support as well for git (not sure if it is still experimental) | 06:41 |
| ← bigmack83_ left | 06:41 |
|
dakota
| savant: Well, we are planning on setting up a new, fresh server for our git repos. So whatever works :) | 06:41 |
| ← bigmack83 left | 06:41 |
| → imajes joined | 06:41 |
| → malesca joined | 06:42 |
| → roop_ joined | 06:43 |
| ← roop left | 06:43 |
| roop_ → roop | 06:43 |
| ← sieni left | 06:48 |
| ← gordonh left | 06:49 |
| ← agenteo left | 06:51 |
| ← Darkas left | 06:51 |
| ← savant left | 06:53 |
| → jjuran joined | 06:54 |
| → roop_ joined | 06:55 |
| roop → Guest64481 | 06:55 |
| roop_ → roop | 06:55 |
|
level09
| in order to use git for deployment I have to install git on my remote machine as well ? | 06:56 |
| ← karmi left | 06:56 |
|
Ilari
| level09: Yes. | 06:57 |
| ← mikepence left | 06:57 |
| → vbgunz joined | 07:00 |
| fpcfan-away → fpcfan | 07:02 |
| → mikepence joined | 07:05 |
| → bigmack83 joined | 07:06 |
|
level09
| Ilari: any guides on how to work with git on local/remote environment ? my local git is on windows, remote is centOS | 07:06 |
| → khmarbaise joined | 07:09 |
| ← Bass10 left | 07:09 |
| ← Guest64481 left | 07:11 |
| → sde_antrix1 joined | 07:11 |
| ← yashi left | 07:12 |
|
Ilari
| level09: If you want to use git for deployment, you need to put hooks in remote side. | 07:12 |
|
| level09: Because push doesn't update working copy nor staging area! | 07:13 |
|
level09
| Ilari: I'm sorry .. a little new here :D .. how do I put hooks :D | 07:13 |
|
Ilari
| level09: man githooks | 07:13 |
|
Gitbot
| level09: the githooks manpage can be found at http://git.or.cz/man/githooks | 07:13 |
|
level09
| thnx | 07:14 |
| → tobago joined | 07:15 |
| → yhager joined | 07:15 |
| → drizzd joined | 07:17 |
|
Ilari
| level09: One thing to note when writing hooks: Hooks on remote side execute with GIT_DIR set to '.' and git does not second-guess GIT_DIR, even if the value doesn't point to anything valid. | 07:17 |
|
level09
| thnx i'll read on that | 07:17 |
| ← Shyke left | 07:18 |
| VVSiz_ → VVSiz | 07:18 |
|
rchavik
| is there docs that explains the 'how' of gitosis or gitolite? | 07:18 |
| ankit9|zzz → ankit9 | 07:19 |
|
Ilari
| rchavik: IIRC, gitolite documentation includes such thing. | 07:19 |
| → thiago_home joined | 07:20 |
| → bcardarella joined | 07:20 |
|
rchavik
| Ilari: i'm trying to understand of how gitolite interact with ssh and git.. cause thinking of something similar in php.. | 07:21 |
| ← patcito left | 07:21 |
| ← opcode left | 07:22 |
|
rchavik
| (if that is even possible) | 07:22 |
|
Ilari
| rchavik: Essentially, each SSH key sets forced command with executable set to special command and argument being username. The command then executes, reads SSH_ORIGINAL_COMMAND and username given as argument. Then if access is authorized, it runs git server executable. | 07:23 |
|
| rchavik: Why would you want to reimplement it in PHP? Isn't PHP normally used with webservers? | 07:24 |
| ← Sake left | 07:26 |
|
rchavik
| Ilari: i need something like github.. that allows 'forking' and <username>/project.git structure, and possibly some ticket tracking. | 07:27 |
|
| Ilari: for that app, i'll be using php. and i'm thinking wether it's possible to do the git management/integration with the same language | 07:28 |
|
_rane_
| forget about php for a second maybe | 07:28 |
| _rane_ → _rane | 07:28 |
| ← mithro left | 07:29 |
| → ffrank joined | 07:32 |
| ← krawek_ left | 07:32 |
|
rchavik
| so, gitolite manages the authorized_keys file, adds the forced commands, and also implement hooks for access control.. is my understanding correct? | 07:32 |
| → ludde joined | 07:32 |
| → godsflaw joined | 07:32 |
| → priidu joined | 07:33 |
|
daifuku
| rchavik: maybe look at http://repo.or.cz/w/girocco.git | 07:36 |
|
| rchavik: it's the software used to run repo.or.cz | 07:37 |
|
rchavik
| daifuku: thanks.. i'll have a good read on this.. | 07:38 |
| ← yann|work left | 07:38 |
| ← jkestr left | 07:38 |
| → yann|work joined | 07:38 |
| → bigmack83_ joined | 07:41 |
| → JasonWoof joined | 07:41 |
| ← schmukkk left | 07:41 |
| → munichlinux joined | 07:42 |
| → schmukkk joined | 07:42 |
| → bentob0x joined | 07:42 |
|
daifuku
| rchavik: no prob. i've also heard of cgit... not sure if it does what you're looking for, but might be worth checking out: http://hjemli.net/git/cgit/ | 07:42 |
|
hyperair
| imo cgit > gitweb | 07:44 |
| ← mikepence left | 07:44 |
|
hyperair
| it has a much nicer looking interface | 07:44 |
| → psoo joined | 07:44 |
| ← jceb left | 07:44 |
| → mdm_git joined | 07:47 |
| → maattd joined | 07:47 |
| → psankar joined | 07:48 |
| → ntoll joined | 07:48 |
| ← elmex left | 07:48 |
| → opcode joined | 07:51 |
|
mdm_git
| is it a bug or a feature that git cherry-pick thinks a file has local changes when its timestamp is different than the index? (e.g. touch file; git cherry-pick -x ... fails) | 07:51 |
| ← tedoc2000 left | 07:53 |
|
sitaram
| rchavik: http://sitaramc.github.com/0-installing/9-gitolite-basics.html | 07:55 |
|
| rchavik: all about how ssh interacts with gitosis/gitolite | 07:56 |
|
| rchavik: also http://github.com/sitaramc/gitolite/blob/pu/doc/6-ssh-troubleshooting.mkd | 07:56 |
| ← ablemike left | 07:56 |
| ← nighthwk1 left | 07:56 |
|
sitaram
| rchavik: to your last statement but one: yes your understanding is correct | 07:57 |
|
| rchavik: how access control is implemented is described in detail in a section called "two levels of access rights checking" in http://github.com/sitaramc/gitolite/blob/pu/doc/3-faq-tips-etc.mkd | 07:58 |
| → giallu joined | 07:58 |
|
rchavik
| sitaram: thanks for those links.. i'm currently already using gitolite, it's a nice system.. i might simply have the app manipulate the gitolite-admin repo for configuring access control, and rely on gitolite for the actual git 'hosting' | 08:00 |
| → ixti joined | 08:01 |
|
rchavik
| btw, is it possible to have something like <username>/project.git with gitolite? i believe this are different than personal branch feature of gitolite? | 08:02 |
|
| s/this are/this is/ ;) | 08:02 |
| → r11t_ joined | 08:03 |
| ← iT|Free left | 08:03 |
| ← jjuran left | 08:03 |
| Rh0nda → Rhonda | 08:03 |
| → evl joined | 08:05 |
|
sitaram
| rchavik: first, re the app manipulating the gitolite-admin repo, you may be better off simply doing what I recommend for gitweb (though i dont use it myself) -- see the section "easier to specify gitweb "description" and gitweb/daemon access" in the same document linked above (faq, tips, etc) | 08:05 |
| → statim joined | 08:05 |
|
sitaram
| rchavik: the idea is that all the access control is already pre-parsed and placed in a nice perl hash -- php may even be able to read it with some tweaking | 08:05 |
| ← ajonat left | 08:05 |
|
sitaram
| rchavik: using this protects you from changes I make to the config file format | 08:06 |
| ← evl left | 08:06 |
| ← Adlai left | 08:06 |
|
sitaram
| rchavik: re your second point, not currently possible but as long as it doesn't affect two criticial programs (gl-auth-command and hokos/update) I'm open to ideas -- can you describe it a little more? | 08:07 |
|
statim
| if i add a file to .gitignore and then add -f it i can commit it. but after that it seems to stop being ignored. i guess i was thinking it would not show up if its in ignores even if its changed unless i add -f it. is that not how it works? | 08:07 |
| tango__ → tango_ | 08:08 |
|
sitaram
| statim: gitignore only ignores untracked files | 08:09 |
| → mastro joined | 08:10 |
|
sitaram
| statim: but see the very first para of man git-ignore for something that may work for you | 08:10 |
|
rchavik
| basically, something like github 'fork' feature. allowing a project to reside on your subdirectory. | 08:10 |
|
statim
| sitaram: ok thanks | 08:10 |
| ← hummingkid left | 08:11 |
|
rchavik
| sitaram: say i have a repo of a CMS software.. the software itself is already stable. i'd like to designers to fork the repo into a new repo in his directory, that will be used to develop a new website/client | 08:11 |
| → hummingkid joined | 08:11 |
|
sitaram
| rchavik: I think that might be stretching it a little... let me think about it. This morning someone wanted another feature: create a group that automatically includes every repo inside some directory (basically he wants me to autoexpand "@g1 = group/*") | 08:12 |
|
| rchavik: both of these involve situations where a repo is *created* without gitolite's knowledge, which means there's no way I can put in the second hook | 08:12 |
| → johan-s joined | 08:13 |
|
rchavik
| sitaram: by designer's 'subdirectory' here, i don't mean under his own /home/designer/repo, but possibly under /home/git/repositories/<designer>/subproject.git | 08:13 |
|
| where as the normal project resides in /home/git/repositories | 08:14 |
|
sitaram
| rchavik: so even if I say "ok, incoming user is dave, and he's asking for repo dave/bar.git [I'd prefer personal/dave/bar.git though], so lets allow it", the problem is how do we determine other people's access to it if the actual "personal/dave/bar" is not mentioned anywhere in the config file | 08:14 |
|
Ilari
| Wouldn't doing that just require wildcards with repository names? | 08:14 |
| ← opcode left | 08:15 |
| → lucsky joined | 08:15 |
| ← r11t left | 08:15 |
|
sitaram
| Ilari: yes; sort of... I have to think this through. Someone once asked for wildcards and I implemented it but he never came back and it went to bitrot (on a project that is basically 3 months old!) | 08:15 |
| ← younger left | 08:16 |
|
sitaram
| rchavik: I'll work it out in my head and try and come up with an elegant way to support wildcarded repos but it may not be pretty -- I hope this is not urgent :) | 08:16 |
|
Ilari
| rchavik: There's also smart HTTP, but it requires 1.6.6 and authentication support is poor. | 08:17 |
| → heliostech joined | 08:17 |
|
heliostech
| hi GIT folks ! | 08:17 |
|
| I'm wondering something, how good we can work with git-svn | 08:17 |
|
rchavik
| sitaram: not really.. for now i can manually copy the CMS project to a new one, then let my designer pull/push to the new repo. | 08:18 |
| → galderz joined | 08:18 |
|
heliostech
| I would like to fork an svn project | 08:19 |
|
| leave it into a branch | 08:19 |
|
| svn update that branch when necessary | 08:19 |
|
| and merge with my own branch | 08:19 |
|
Ilari
| heliostech: You ever need to commit changes back? | 08:20 |
|
heliostech
| I will with patch :-) | 08:20 |
|
| but no just pull changes | 08:20 |
|
| Also additionally since it's an old svn, I would like to know if I can compress svn history | 08:21 |
|
| like having only the last 20 commit details, and the rest in a huge patch (like initial import) | 08:21 |
|
Ilari
| heliostech: Probably not a good idea. | 08:21 |
| ← daifuku left | 08:22 |
|
heliostech
| Ilari: can I rebase it unstead of merging to my branch ? | 08:22 |
| ← drry left | 08:22 |
| → drry_ joined | 08:22 |
| → rachman joined | 08:22 |
|
heliostech
| I'm not even sure of what it means :-) | 08:22 |
| → zonque joined | 08:22 |
|
heliostech
| I guess create a huge commit into an empty branch, | 08:23 |
|
ffrank
| thumbs up on the rebase idea. but it will probably be your branch you will be rebasing | 08:24 |
| → karmi joined | 08:24 |
|
rachman
| sorry, was disconnected. | 08:24 |
| ← rchavik left | 08:24 |
| rachman → rchavik | 08:24 |
|
Ilari
| heliostech: Note that rebase and push/fetch do not mix well. | 08:24 |
| → Sho_ joined | 08:24 |
| → Stravy joined | 08:25 |
| ← psoo left | 08:26 |
| ← exygen left | 08:27 |
| → tasslehoff joined | 08:27 |
|
mastro
| help please: i got this while dcommitting: RA layer request failed: Server sent unexpected return value (502 Bad Gateway) in response to COPY request for '/repos/open/!svn/bc/1419/ISPintranet/trunk/ext/ext-impl/src/portal-ext.properties.template' at /usr/lib/git-core/git-svn line 558 | 08:27 |
|
| and now if I do git svn dcommit again I get: Cannot dcommit with a dirty index. Commit your changes first, or stash them with `git stash'. | 08:27 |
|
| I lost my local commit | 08:27 |
|
| can you help me getting them back? | 08:27 |
| → icwiener joined | 08:28 |
|
tasslehoff
| Anyone using emacs and magit? I'm trying to find out if magit can use ediff for diffing. | 08:28 |
| → india7145 joined | 08:29 |
| → ikrabbe joined | 08:29 |
|
mastro
| ok .. I think I did it with git reflog + cherry-pick | 08:30 |
| ← ben_h left | 08:33 |
|
ikrabbe
| hi, I'm trying to svn clone a svn repository with some tags and branches and provide a public git repository to clone from, making it possible afterwards to fetch from the svn base too. I cloned the svn repository with --stdlayout and it fetched me all the tags and branches. | 08:33 |
| ← bcardarella left | 08:34 |
| ← thiago_home left | 08:35 |
| ← karmi left | 08:35 |
|
ikrabbe
| After cloning the git clone again I tried to get the svn information again by copying the [svn-remote] section from .git/config, copying the packed-refs too (I ran gc before) | 08:35 |
| → jjuran joined | 08:35 |
|
ikrabbe
| but that restored only the trunk revision and the top branch | 08:35 |
|
| any tags where lost | 08:35 |
|
| and other branches too | 08:36 |
|
| what do I miss here? | 08:36 |
| → ph^ joined | 08:39 |
| → kssddy joined | 08:40 |
| → khali joined | 08:40 |
| ← Stravy left | 08:40 |
| → tbuehlmann joined | 08:41 |
| → Stravy joined | 08:42 |
| ← bigmack83_ left | 08:42 |
|
khali
| hi folks | 08:42 |
|
| if there a way to force git to push local changes to a remote branch? | 08:42 |
|
| when I try "git push -f <remote repo>" it replies "Everything up-to-date" | 08:43 |
|
jjuran
| khali: If it's up to date, what is it that you want to happen? | 08:43 |
|
ikrabbe
| khali you don't push changes but commits, you have to commit to your local branch before you can push that | 08:43 |
|
khali
| ahhh | 08:44 |
|
| apparently I had to create the remote branch first | 08:44 |
|
| I expected push to create it for me | 08:44 |
|
| sorry for the stupid question... | 08:44 |
| → zoniq_ joined | 08:45 |
|
Ilari
| khali: 'git push <remote> <branch>' | 08:45 |
|
khali
| Ilari: that would have created the branch for me? | 08:46 |
|
Ilari
| khali: Yes. | 08:46 |
| ← fpcfan left | 08:47 |
|
khali
| Ilari: OK, thanks for the info... I'll try to remember for next time! | 08:47 |
| → petrux joined | 08:50 |
| ← urbanmonk left | 08:55 |
| → hemmecke joined | 08:55 |
| → p_masho joined | 08:56 |
|
p_masho
| newbie (to linux and git) probem. I;ve messed up. Iwas trying to commit, when an editor I was unfamiliar with popped up. Now I try to commit and I get >> fatal: unable to create '.git/index.lock': File exists. Can I just erase it? Also can I set the editor to be nano | 08:58 |
| ← hummingkid left | 08:58 |
| → eletuchy joined | 08:59 |
|
ffrank
| p_masho: so you killed the editor? | 08:59 |
| ← \ask left | 08:59 |
|
p_masho
| ffrank: yes, I didnt understand how to use it | 08:59 |
|
ffrank
| humn | 08:59 |
|
| echo $EDITOR? | 09:00 |
| ← tasslehoff left | 09:00 |
|
p_masho
| echo $EDITOR > _blank_line_ ie its not set | 09:01 |
|
| can I just nuke .git/index.lock , or will that mess things up ? | 09:01 |
| → mcella joined | 09:01 |
|
Ilari
| p_masho: Yes, just unlink it. | 09:01 |
| → Russell^^ joined | 09:01 |
| → bigmack83_ joined | 09:02 |
| ← ryoma left | 09:02 |
|
p_masho
| muppet question. What the difference between rm and unlink ? | 09:02 |
|
ikrabbe
| none | 09:03 |
|
| on plain files | 09:03 |
|
Ilari
| p_masho: rm command unlinks files | 09:03 |
|
mdm_git
| more specifically, rm is the command, unlink is the system call it uses | 09:03 |
|
ffrank
| p_masho: to use nano, try git config --global core.editor nano | 09:03 |
|
vkroll
| how does git thinks that a file is binary? | 09:03 |
| → augustl joined | 09:03 |
|
augustl
| can I get rid of HEAD as a commit and move it into stash? | 09:04 |
|
Ilari
| vkroll: It tries to autodetect it from contents. | 09:05 |
|
ffrank
| augustl: git reset --soft HEAD^ | 09:05 |
|
p_masho
| lovely... tnaks all ;-) | 09:05 |
|
ffrank
| augustl: then stash away | 09:05 |
|
| p_masho oops .......^thanks all | 09:05 |
|
vkroll
| Ilari: and can I tell git, that the file is _not_ binary? | 09:05 |
|
augustl
| ffrank: great! | 09:06 |
|
Ilari
| vkroll: The detection can be overridden using attributes. | 09:06 |
| ← godsflaw left | 09:06 |
|
Ilari
| vkroll: Setting '+crlf +diff +merge' on file should do it. | 09:07 |
|
vkroll
| yes, just read the man. Thank you | 09:07 |
| ← Sho_ left | 09:07 |
| ← Fullmoon left | 09:10 |
| → naeu joined | 09:10 |
| ← juan_arandaalvar left | 09:10 |
| ← gaveen_ left | 09:12 |
| → tbf joined | 09:13 |
| → Sho_ joined | 09:14 |
|
cYmen
| I would like to look at a previous version of a file to recycle some code. What's the best way to do it? I don't really want to revert to that version... | 09:15 |
|
ikrabbe
| thats strange: after I did a svn clone -s and pushed the result to a bare repository, cloning that again, some revisions get lost (the ones that mark svn-remote branches obviously) | 09:15 |
| → juan_arandaalvar joined | 09:16 |
| ← Stravy left | 09:16 |
|
ikrabbe
| also what I don't understand is: when I try a git log @'{some quite old date}' it gives me warning: Log for '' only goes back to 24 Nov 2009, but commit dates actually go back to 2004 | 09:17 |
|
ffrank
| cYmen: git show -p <sha1>:/path/to/file | 09:17 |
|
| cYmen: err git cat-file | 09:18 |
| ← dakota left | 09:19 |
| → tvw joined | 09:19 |
|
cYmen
| ffrank: How do I get the hash value again? | 09:20 |
|
ffrank
| cYmen: git log -- file, and look for the commit that interests you | 09:21 |
| → ProperNoun joined | 09:21 |
| ← augustl left | 09:21 |
|
ffrank
| cYmen: if the commit is tagged, you can use that instead, of course | 09:21 |
| ← PN left | 09:21 |
| ← r11t_ left | 09:22 |
| → Stravy joined | 09:22 |
| → michelx joined | 09:25 |
| → jinzhu1 joined | 09:27 |
|
cYmen
| hm...all this copying and pasting is annoying | 09:27 |
|
| is it possible to output all revisions so I can grep through them? | 09:28 |
|
| OK, I'm pretty sure it is I just haven't figure out ranges yet. :) | 09:29 |
| ← berkes left | 09:29 |
|
ffrank
| cYmen: to find out where things may have gone awry, git log -p is your friend! | 09:29 |
| → berkes joined | 09:30 |
|
ikrabbe
| try man git-rev-parse "SPECIFIYING REVISIONS" | 09:30 |
|
Gitbot
| ikrabbe: the git-rev-parse manpage can be found at http://git.or.cz/man/git-rev-parse | 09:30 |
|
ffrank
| @botsnack | 09:30 |
| → gaveen_ joined | 09:31 |
|
cYmen
| hm..how do I get the git log -p output to stdout? | 09:32 |
| → Ogedei joined | 09:33 |
| ← wanders left | 09:33 |
|
ffrank
| cYmen: pipe it to cat. or rather, to where you actually want it | 09:34 |
|
ikrabbe
| I think git log --pretty=oneline | is hat you are searching for | 09:34 |
| ← bigmack83 left | 09:34 |
| ← bigmack83_ left | 09:34 |
|
cYmen
| yaay \o/ | 09:35 |
|
ffrank
| cYmen: what are you trying to do? | 09:36 |
| → asksol joined | 09:37 |
|
cYmen
| I wrote a function for purpose A a couple of days ago but then didn't need it anymore. Now I need a very similar one and I want to recycle. | 09:37 |
|
| And I'm horrible at writing useful commit messages. :/ | 09:37 |
| → bigmack83 joined | 09:37 |
| ← hemmecke left | 09:41 |
|
Ogedei
| is there a sane way to use git to query the time at which a file was first created/added? | 09:43 |
| ← ph^ left | 09:45 |
|
ffrank
| Ogedei: interactively, or by script? | 09:45 |
|
Ogedei
| ffrank: script | 09:46 |
| → Hendu joined | 09:46 |
| → juan_arandaalva1 joined | 09:46 |
| → ph^ joined | 09:47 |
|
michelx
| For backup purposes, is it enough to just save the .git subdirectory? AFAICT, git clone --bare does not do what I want as it renames branch heads. | 09:48 |
|
ffrank
| Ogedei: you could use git rev-list HEAD -- file, take the last line, put that into git show and grep the date | 09:48 |
|
| Ogedei: but there may be something simpler :) | 09:48 |
|
Ogedei
| ffrank: that works. thanks! | 09:50 |
|
ffrank
| Ogedei: ah: git rev-list --timestamp --reverse --max-count=1 HEAD -- file | 09:50 |
|
Ogedei
| ffrank: cool. are those unix times? | 09:51 |
|
ffrank
| yes. but wait - that didn't return the oldest for me | 09:52 |
|
| don't use max-count after all. pipe to head -n1 | 09:52 |
| → froschi joined | 09:54 |
| ← berkes left | 09:54 |
| ← asksol left | 09:54 |
|
Ilari
| michelx: Yes, its sufficient. Just be careful to deal with possiblity of corruption. | 09:55 |
| ← juan_arandaalvar left | 09:56 |
| → JohnFlux joined | 09:56 |
|
JohnFlux
| hey all | 09:56 |
|
| I have a really slow machine, but lots of hard disks | 09:57 |
|
michelx
| Thanks, llari. | 09:57 |
|
JohnFlux
| is there a way to 'save' the compiled version | 09:57 |
|
| I don't want to put the files in the git repository.. | 09:57 |
|
| but adding them as some sort of "note" or something | 09:57 |
|
| so if I checkout an older version from git, I want it to checkout the built version as well | 09:58 |
|
_ikke_
| well what's the difference with tracking it with git? | 09:58 |
| ← bauruine left | 09:58 |
| → kbingham joined | 09:58 |
|
ffrank
| _ikke_: the machine would be busy compressing and decompressing binary data to/from the repo i guess... | 09:59 |
| → squentin joined | 09:59 |
|
ffrank
| JohnFlux: i'd hack up a simple perl script to symlink to some place named after HEAD's sha1 on the fly | 10:00 |
|
_ikke_
| ffrank: But if he want's it to checkout the built version, it has to do that anyway? | 10:00 |
| ← zoniq_ left | 10:00 |
| → zoniq__ joined | 10:00 |
| → asksol joined | 10:00 |
|
JohnFlux
| ffrank: hmm, maybe that is what I want | 10:00 |
|
| I can do "mv git git_SHA" | 10:00 |
|
ffrank
| _ikke_: not if he just puts it away somewhere else on his disk | 10:00 |
|
_ikke_
| ffrank: true | 10:01 |
| ← khali left | 10:01 |
|
JohnFlux
| then do "checkout" copy | 10:01 |
| ← tetha left | 10:01 |
|
JohnFlux
| I mean, git has a fast way to copy one folder to another right? | 10:01 |
|
| using hard links | 10:01 |
| → tetha joined | 10:01 |
|
bentob0x
| I have in my git config a remote called 'github' which is me renaming my 'origin'. I want to rename that 'github' remote and put it back to 'origin', can I simply edit the config file and change [remote "github"] into [remote "origin"] ? | 10:02 |
|
ffrank
| JohnFlux: er, what? are you trying to switch repositories using mv? | 10:02 |
|
JohnFlux
| ffrank: ah no I mean, I use "mv" to rename the source+build files | 10:02 |
|
| ffrank: then use git to make a new clean checkout | 10:03 |
| ← mnt_ left | 10:03 |
|
JohnFlux
| hmm | 10:03 |
|
| maybe just doing a cp is better | 10:04 |
|
ffrank
| JohnFlux: mv inside the same physical volume is fast with any file system i am familiar with | 10:04 |
|
JohnFlux
| ffrank: yes, but I want to end up with two copies | 10:04 |
|
| I was thinking of trying to do it fast by using hard links | 10:04 |
|
ffrank
| JohnFlux: that won't work. what you have in mind implies a copy-on-write semantics, which in turn would imply a copying of data anyway | 10:05 |
| ← eletuchy left | 10:07 |
| → davos joined | 10:07 |
|
davos
| hi guys & gals, it seems i keep adding git-daemon-export-ok to my repos, but they seem to disappear regularly | 10:08 |
|
| anyone have any ideas? | 10:08 |
| ← tetha left | 10:09 |
|
davos
| when i say disappear i mean the git-daemon-export-ok file itself disappears | 10:09 |
| → tetha joined | 10:09 |
| → Adlai joined | 10:11 |
|
davos
| hmmm seems it may be a gitosis problem http://colabti.de/irclogger/irclogger_log/git?date=2009-10-20#l1495 | 10:12 |
|
Ilari
| davos: gitosis/gitolite? | 10:12 |
|
| davos: Its not gitosis problem. | 10:13 |
|
| davos: Do it right and gitosis even creates that file for you. | 10:13 |
|
davos
| ilari: aha, thanks! | 10:15 |
|
| it's been driving me crazy | 10:15 |
|
| i'll read up on gitosis more | 10:16 |
| → dominikh1 joined | 10:16 |
|
bentob0x
| it was 'git remote rename github origin', just a quick man git-remote brought me the answer, thx man | 10:17 |
|
Gitbot
| bentob0x: the git-remote manpage can be found at http://git.or.cz/man/git-remote | 10:17 |
|
bentob0x
| :) | 10:17 |
|
| thx Gitbot | 10:18 |
|
| ^^ | 10:18 |
| → juan_arandaalvar joined | 10:18 |
| → gordonh joined | 10:19 |
| ← Adlai left | 10:20 |
|
michelx
| I have cloned (only) the trunk from an SVN repo that doesn't contain any branches or tags yet, although the necessary directories are present. In my git clone I've added a few branches in the meantime that I'd like to commit as branches into the SVN repo. Is there a way to do this? | 10:21 |
| → Adlai` joined | 10:21 |
| → psynaptic joined | 10:21 |
| Adlai` → Adlai | 10:21 |
| ← ikrabbe left | 10:21 |
|
Ilari
| michelx: Via specifying -s or via setting URL to trunk? | 10:22 |
| → j416 joined | 10:23 |
| → zoniq joined | 10:23 |
| ← zoniq__ left | 10:23 |
| ← chris_n left | 10:23 |
| ← j416 left | 10:23 |
| → ikrabbe joined | 10:24 |
| ← juan_arandaalvar left | 10:24 |
|
davos
| Ilari: gitosis config works perfectly, thanks again for your help! | 10:25 |
| → juan_arandaalvar joined | 10:25 |
|
michelx
| @llari: specifying -s to which command? | 10:26 |
| ← jbrennan left | 10:26 |
| ← dominikh1 left | 10:26 |
| → psoo joined | 10:26 |
| → crazychenz joined | 10:26 |
|
Ilari
| michelx: svn clone / svn init | 10:26 |
|
| michelx: (--stdlayout is the long form) | 10:26 |
| → jbrennan joined | 10:27 |
| ← ffrank left | 10:27 |
| ← michelx left | 10:28 |
| → michelx joined | 10:28 |
|
michelx
| Oops, knocked myself out... | 10:29 |
| ← juan_arandaalva1 left | 10:29 |
|
michelx
| llari: I see how I can create a fresh clone from the SVN repo including branches and tags. What I don't see is how I can get all the branches from my earlier clone into the new clone. | 10:30 |
| → bambule joined | 10:30 |
| → chris_n joined | 10:30 |
|
Ilari
| michelx: Format-patch and am them? | 10:31 |
| ← spacebat_ left | 10:32 |
|
michelx
| llari: That may work, I'll give it a try on a copy. Thanks! | 10:32 |
| ← jarh left | 10:33 |
| → jarh joined | 10:33 |
| → juan_arandaalva1 joined | 10:33 |
| ← juan_arandaalvar left | 10:35 |
| → bousquet joined | 10:37 |
| ← voker57_ left | 10:38 |
| → voker57_ joined | 10:39 |
| ← gaveen_ left | 10:39 |
| ← davos left | 10:40 |
| ← Twisted_Mentat left | 10:40 |
| → becomingGuru joined | 10:40 |
| → RichiH joined | 10:41 |
|
RichiH
| what kind of UUIDs does git svn use when importing from svn? | 10:41 |
| → ponch joined | 10:41 |
|
RichiH
| it has a 0 at the start of the third segemtn | 10:41 |
|
| which is, ttbomk, invalid | 10:41 |
|
Ilari
| RichiH: AFAIK, that UUID comes from SVN. | 10:43 |
|
RichiH
| hmm, might be | 10:44 |
|
| if it does, the UI never exposes it (that i know of) | 10:44 |
| → Geralt joined | 10:44 |
| → ben_h joined | 10:44 |
|
RichiH
| i will poke them, as well | 10:44 |
| f00li5h → f00li5h[HireMe] | 10:45 |
| → juan_arandaalvar joined | 10:45 |
| ← JasonWoof left | 10:45 |
| ← Stravy left | 10:46 |
|
ponch
| hi all. I'm trying to make a patch with 'git diff HEAD~8 HEAD', in a branch where only a subdir is affected, but in HEAD~4 I renamed the directory, so git diff give me file deletions to /dev/null and creations. Is there a way to have git diff work as if I didn't the "mv dirname"? | 10:46 |
|
Ilari
| RichiH: AFAIK, git doesn't use UUIDs for anything. | 10:46 |
|
| ponch: '-M' to diff? | 10:47 |
| ← crazychenz left | 10:47 |
| ← brainbox1100 left | 10:47 |
|
ponch
| Ilari: thanks, I missed it in the man page! | 10:48 |
| → thm joined | 10:48 |
|
thm
| does --log not work together with --squash for git-merge? | 10:48 |
|
charon
| RichiH: 'svn info' shows a 'Repository UUID' | 10:49 |
| ← juan_arandaalva1 left | 10:49 |
|
Ilari
| RichiH: It wouldn't suprise me if somebody got the idea of generating UUIDs using 128 random bits as 32 random hex digits. | 10:49 |
|
ponch
| Ilari: but now the --relative don't work | 10:52 |
|
wereHamster
| thm: ? | 10:53 |
|
thm
| wereHamster: nvm, need to rethink my question. | 10:54 |
| → crazychenz joined | 10:54 |
| → catphish joined | 10:54 |
| ← catphish left | 10:55 |
| → tamm0r joined | 10:56 |
|
RichiH
| charon, Ilari: that might the explanation | 10:56 |
| ← drry_ left | 10:58 |
|
kampasky_
| $ git remote update | 10:58 |
|
| From git://gcc.gnu.org/git/gcc * branch HEAD -> FETCH_HEAD | 10:58 |
|
| how can this happen? | 10:58 |
|
| why weren't actual refs stored? | 10:59 |
| → jschoolcraft joined | 10:59 |
|
wereHamster
| kampasky_: they were stored, in FETCH_HEAD | 10:59 |
|
charon
| kampasky_: what are the fetch lines in .git/config? | 10:59 |
|
kampasky_
| hmmmmm | 10:59 |
|
| actually | 11:00 |
|
| there aren't any | 11:00 |
| → arossouw joined | 11:00 |
|
kampasky_
| that might be a problem :) | 11:00 |
|
| there's just the url attribute | 11:00 |
| → ereslibre joined | 11:00 |
|
arossouw
| hi , when i push a git repository with a branchname experimental to the remote host, it sends it to master on the remote host, how do i send it to the same branch name on the remote host | 11:00 |
| ← Geralt left | 11:04 |
| → dpino joined | 11:04 |
|
malesca
| arossouw: It probably sent master to master. git push origin experimental | 11:05 |
|
doener
| arossouw: "git push" by default pushes all branch heads for which same named branch heads exist in the remote repo | 11:05 |
|
malesca
| needed the first time | 11:05 |
|
doener
| arossouw: so if you have master, foo and experimental locally, and the remote has master and bar, then "git push" would only push master by default | 11:05 |
|
| arossouw: if you do "git push <remote> experimental", that explicitly pushes "experimental" (keeping the same name), thus you'd then have master, foo and experimental in the remote repo | 11:06 |
|
jacobat
| doener: Is it possible to set a mapping in which git will always push foo to master even if there's a local master branch? | 11:06 |
|
doener
| arossouw: and thus from then on a "git push" without refspecs would push master and experimental | 11:06 |
|
| jacobat: git push remote.<name>.push foo:master | 11:07 |
| → bauruine joined | 11:07 |
|
doener
| jacobat: that completely disables the name matching though. "git push <remote>" will act like "git push <remote> foo:master" for that remote | 11:07 |
|
jacobat
| doener: is that git config remote.<name>.push ? | 11:08 |
|
doener
| jacobat: ehrm, yeah | 11:08 |
| ← jinzhu1 left | 11:08 |
| ← bousquet left | 11:08 |
|
jacobat
| doener: thanks | 11:08 |
| → __iron joined | 11:08 |
|
doener
| jacobat: and while you could have the renaming rule foo:master in addition to the name matching, that makes no sense in that case, as you also have "master" locally. | 11:09 |
|
jacobat
| I'm not sure what you mean by renaming rule | 11:09 |
|
doener
| jacobat: foo:master "renames" foo to master for pushing | 11:10 |
|
| (it's not really a rename, but I have yet to find a better term...) | 11:10 |
|
| what's "foo" here will be called "master" there... | 11:11 |
|
jacobat
| Yeah | 11:11 |
|
| I seems to work beautifully :) | 11:11 |
|
ponch
| Ilari: I solved with sed, but just for the sake of curiosity, are there some rules of thumb to coope with directory renames? | 11:11 |
|
doener
| jacobat: I recently wrote this for someone: http://git.pastebin.com/m36cff837 | 11:12 |
|
| jacobat: outlines some setup where you have multiple remotes and how to avoid "push accidents" by using fixed default push refspecs for the remotes and avoiding any push magic | 11:12 |
| → SRabbelier joined | 11:14 |
|
jacobat
| doener: Thanks | 11:14 |
| → EugenMayer joined | 11:16 |
|
EugenMayer
| sitaram: ping | 11:16 |
| → luke` joined | 11:17 |
| ← psoo left | 11:21 |
| ← naeu left | 11:22 |
| → Skrot- joined | 11:25 |
|
Skrot-
| Does "git clone" preserve filename case by default or is there some flag to tell it to do so? | 11:26 |
|
| a friend keeps getting someFileName as somefilename | 11:26 |
|
tango_
| Skrot-: is he on windows? | 11:26 |
|
Skrot-
| ubuntu | 11:26 |
|
| tried on osx as well where it works fine | 11:27 |
| → luke`_ joined | 11:27 |
|
tango_
| Skrot-: case is preserved anyway | 11:27 |
|
| is he on a FAT disk? | 11:27 |
|
EugenMayer
| doener: ping | 11:27 |
|
Skrot-
| XFS apparently | 11:28 |
|
arossouw
| thanks malesca and doener | 11:28 |
| ← Ogedei left | 11:28 |
|
tango_
| Skrot-: very strange, never heard of this happening | 11:29 |
|
arossouw
| doener: is it possible to delete a previous commit, for example you made a commit but realized to late that you made a mistake | 11:29 |
| ← bigmack83 left | 11:29 |
|
wereHamster
| arossouw: possible, but not recommended if you already pushed ti | 11:29 |
| → bigmack83 joined | 11:29 |
| → bhierof joined | 11:30 |
| → vlv joined | 11:32 |
| ← ia left | 11:34 |
|
Ilari
| Skrot-: Git clone does preserve case (since commits are copied whole). | 11:35 |
| → ia joined | 11:35 |
| → Sigma[Mtp] joined | 11:36 |
| ← asksol left | 11:36 |
| ← vlv left | 11:38 |
| ← ereslibre left | 11:39 |
| → vlv joined | 11:40 |
| → hemmecke1 joined | 11:42 |
| ← luke` left | 11:43 |
| luke`_ → luke` | 11:43 |
| → Ryback_ joined | 11:44 |
| ← Adlai left | 11:47 |
| → d0k joined | 11:48 |
| ← dpino left | 11:48 |
| ← level09 left | 11:48 |
| → RaceCondition joined | 11:51 |
| ← rlan_ left | 11:51 |
| ← vmiklos left | 11:51 |
| → rlan_ joined | 11:52 |
| → vmiklos joined | 11:52 |
| ← vmiklos left | 11:53 |
| ← rlan_ left | 11:53 |
| m-takagi → m-takagi_ | 11:56 |
| ← __iron left | 11:56 |
| → vmiklos joined | 11:57 |
| → rlan_ joined | 11:57 |
| ← JakeSays left | 11:58 |
| → JakeSays joined | 11:59 |
| ← fero left | 11:59 |
| → dpino joined | 12:00 |
| ← doener left | 12:02 |
| → doener joined | 12:02 |
| → dexter joined | 12:04 |
|
doener
| EugenMayer: pong | 12:06 |
| → luke`_ joined | 12:06 |
| → evl joined | 12:06 |
| ← ponch left | 12:08 |
| → parasti joined | 12:08 |
| ← luke` left | 12:08 |
| luke`_ → luke` | 12:08 |
| → fero joined | 12:12 |
| → juan_arandaalva1 joined | 12:13 |
| → snearch joined | 12:13 |
| ← Guest34453 left | 12:15 |
|
EugenMayer
| doener: Hi. I was wondering where the gitolite.conf is used from, the reop/gitolite-admin.git repo is bare and ~/gitolite-admin/conf has no such config file | 12:15 |
| ← yann left | 12:16 |
| ← Lisimba left | 12:16 |
| ← RaceCondition left | 12:18 |
| → Haarg joined | 12:18 |
| ← erlehmann left | 12:19 |
| ← ben_h left | 12:20 |
| → asksol joined | 12:20 |
|
doener
| EugenMayer: the source suggests ~/.gitolite/gitolite.conf-compiled.pm | 12:21 |
|
| EugenMayer: at least according to my void perl skills | 12:21 |
| → zoniq_ joined | 12:21 |
| ← zoniq left | 12:21 |
| ← tbuehlmann left | 12:22 |
| → alanhaggai joined | 12:23 |
| ← juan_arandaalvar left | 12:23 |
| ← ferdy left | 12:23 |
| alanhaggai → Guest64422 | 12:23 |
| ← davido left | 12:23 |
| → cpg joined | 12:23 |
| → catphish joined | 12:24 |
|
cpg
| hi all, i started having this error: error: insufficient permission for adding an object to repository database ./objects .... even though i have permissions to write the files in the (though i do not own the files) | 12:25 |
|
| (in the repo) | 12:25 |
| ← catphish left | 12:25 |
|
cpg
| if i chown -R the files, then it works | 12:25 |
| → catphish joined | 12:25 |
|
cpg
| but then the other person has the same issue ... he cannot push, even though he can write the files ... | 12:25 |
|
| ideas? | 12:25 |
|
doener
| messed up _directory_ permissions | 12:26 |
|
| files in .git/objects/* aren't even supposed to be writable | 12:26 |
|
cpg
| i initialized the repo in a most generic fashion | 12:27 |
|
EugenMayer
| doener: oh, ok. Thanks! | 12:27 |
|
cpg
| the files are group users | 12:27 |
|
| both users are in that group | 12:27 |
| → T2000 joined | 12:27 |
|
doener
| cpg: so you didn't use "git init --shared" which tells git to make directories a) group writable and b) have the sgid bit set | 12:28 |
| → ferdy joined | 12:28 |
| ← juan_arandaalva1 left | 12:28 |
|
doener
| just being in a group doesn't mean that you can access (or even write to) anything owned by that group | 12:29 |
| → jetienne joined | 12:30 |
|
cpg
| doener: my bad, no ... no --shared | 12:30 |
|
jetienne
| q. i would like to have a tool to display my git repository to the web (similar to bonzai but for git), what is the recommended/most-used one ?* | 12:30 |
| → juan_arandaalvar joined | 12:31 |
|
cpg
| doener: any way it can be fixed now? | 12:31 |
|
| well, or anyone else | 12:31 |
| ← roop left | 12:33 |
| → v0n joined | 12:34 |
| ← catphish left | 12:34 |
| → juan_arandaalva1 joined | 12:35 |
|
v0n
| hi | 12:36 |
|
| sitaram, present ? | 12:36 |
|
jetienne
| ok gitweb will be :) | 12:36 |
| → smuf joined | 12:37 |
|
v0n
| somebody knows how to allow the public to read a repository with Gitolite ? (i.e. R permission for public) | 12:40 |
| ← fero left | 12:40 |
| ← vlv left | 12:40 |
| ← Gitzilla left | 12:41 |
| ← cpg left | 12:42 |
| → Lisimba joined | 12:44 |
| → psoo joined | 12:45 |
| → Sr_X joined | 12:45 |
|
wereHamster
| v0n: give the user 'daemon' access to the repo | 12:45 |
|
v0n
| wereHamster, I don't understand very well | 12:46 |
| → ehabkost joined | 12:46 |
|
wereHamster
| v0n: http://github.com/sitaramc/gitolite/blob/master/doc/2-admin.mkd -> specifying gitweb and daemon access | 12:47 |
| → gitte joined | 12:48 |
| ← jetienne left | 12:49 |
| → asksol_ joined | 12:49 |
| ← khmarbaise left | 12:49 |
| ← juan_arandaalvar left | 12:51 |
| → augustl joined | 12:51 |
|
augustl
| a git push --force says "error: denying non-fast forward refs/heads/edit_subscription (you should pull first)" | 12:52 |
|
| is there a git push --FORCE!!! ? ;) | 12:52 |
|
wereHamster
| augustl: apparently the admin of the remote repo doesn't want you to push non-ff updates | 12:52 |
|
augustl
| ah, so you can block --force? | 12:52 |
|
wereHamster
| sure | 12:53 |
| → EricSagnes joined | 12:53 |
| → Stravy joined | 12:59 |
| ← mstormo left | 13:00 |
| → til joined | 13:01 |
| → mstormo joined | 13:02 |
| → spacebat joined | 13:03 |
| → warlock_mza joined | 13:04 |
| → Paraselene_ joined | 13:04 |
| → thiago__ joined | 13:04 |
| ← asksol left | 13:05 |
| → dominikh1 joined | 13:05 |
| → aeiou joined | 13:06 |
|
aeiou
| me and another developer have been working together with our local machines and a publishing server on our dev machine and have had some errors where we think we are using git incorrectly and causing ourselves to overwrite our changes | 13:06 |
|
| we have a repo at dev (which we push/pull too over ssh) | 13:07 |
|
| we dont push and pull locally between ourselves | 13:07 |
|
| if i push files to dev, then he pulls from dev, then he creates a new branch and works away, then i push more changes to dev, then he pulls from dev and then pushes is that wrong? | 13:08 |
|
| what is rebase for? | 13:08 |
| → LiamH joined | 13:08 |
|
wereHamster
| nope, that's the correct way | 13:08 |
|
aeiou
| how is it possible that we are overwriting our changes? | 13:08 |
| ← thiago left | 13:08 |
|
aeiou
| i.e stuff we have definately commited / pushed is getting overwritten lateron | 13:08 |
| → aziz joined | 13:09 |
| ← EricSagnes left | 13:09 |
|
wereHamster
| maybe you resolve the conflicts so that you delet the other person's changes | 13:09 |
| ← snearch left | 13:09 |
|
aeiou
| the auto-resolved conflicts you mean? | 13:09 |
| ← Keiya left | 13:10 |
|
wereHamster
| well, that shouldn't remove anything, but you could check where the code lines disappear | 13:11 |
| ← munichlinux left | 13:11 |
|
aeiou
| what is the benifit of setting up a branch that tracks a remote branch? | 13:15 |
| ← psoo left | 13:15 |
| → tango__ joined | 13:17 |
| ← tango_ left | 13:19 |
| tango__ → tango_ | 13:19 |
| ← bazz left | 13:19 |
|
wereHamster
| so that git automatically knows where to fetch+merge from when you run 'git pull | 13:20 |
| → Yuuhi joined | 13:21 |
|
tango_
| this might seem like an odd question but: is there a not-too-complex way to recover git objects and packfiles from a partially destroyed .git dir? | 13:23 |
|
wereHamster
| destroyed == rm -rf? | 13:23 |
|
tango_
| I mean I have quite a few objects and a packfile, and nothing else. I would like to unpack and see what they contain. any options? | 13:23 |
|
wereHamster
| tango_: man git-unpack-objects | 13:24 |
|
Gitbot
| tango_: the git-unpack-objects manpage can be found at http://git.or.cz/man/git-unpack-objects | 13:24 |
|
dexter
| wereHamster: is there any way, that when i've pushed initially to a remote branch, so that the local branch will tarck the remote one? | 13:24 |
|
| s/tarck/track | 13:24 |
|
wereHamster
| dexter: not automatically, but you can set up the tracking optinos manually | 13:24 |
|
dexter
| wereHamster: ok, thank | 13:25 |
|
| s | 13:25 |
|
tango_
| wereHamster: thanks. what about the loose objects? they all seem binary, can I recover their textual form? | 13:25 |
| ← omerj left | 13:25 |
|
michelx
| I'm trying to apply changes I've made in one repo to another repo. I've exported the changes with git format-patch and now I'm trying to apply them with git am. Strangely, I'm getting a bunch of failures where a patch can't be applied. This happens in even such a simple case as when a file has been deleted. Everything *should* apply cleanly, but doesn't. How do I resolve these things? | 13:26 |
|
wereHamster
| tango_: man git-cat-file | 13:26 |
| → Altreus[hireme] joined | 13:26 |
|
Gitbot
| tango_: the git-cat-file manpage can be found at http://git.or.cz/man/git-cat-file | 13:27 |
| → fero joined | 13:27 |
|
Altreus[hireme]
| If I have a merge conflict when I do `git stash apply`, how do I move it from unmerged to unstaged so I can stash it again? | 13:27 |
|
wereHamster
| michelx: why do you think it should apply cleanly? | 13:27 |
|
Altreus[hireme]
| rather, stash the resolved version | 13:28 |
|
tango_
| wereHamster: thanks, but these commands (inc. git show) expect an actual working .git dir, which is not my case | 13:28 |
|
| hm maybe I should git init and try then ... | 13:28 |
|
wereHamster
| Altreus[hireme]: git add <file> to mark the conflict as resolved | 13:28 |
|
| tango_: there are very few commands that can operati without a .git dir | 13:29 |
|
Altreus[hireme]
| wereHamster: then reset HEAD <file> ? | 13:29 |
| ← evl left | 13:29 |
| → tfarina joined | 13:29 |
| → Adlai joined | 13:29 |
| ← kssddy left | 13:30 |
|
tango_
| wereHamster: ok, git init apparently gives me enough structure to operate on stuff | 13:30 |
| → dexter__ joined | 13:30 |
|
michelx
| wereHamster: the original repo is a clone from svn where branches and tags are missing. There I've worked in a local (git) branch and now I want to get these changes back into an svn branch. For that I've cloned the svn repo again, this time with branches and tags. I've created a new branch in it with git svn branch. And now I'm trying to apply the changes I've made in the local branch of my other repo. | 13:30 |
|
wereHamster
| well, given that is the point of git init, I'm not surprised ;) | 13:30 |
|
| Altreus[hireme]: that would reset the index, but I guess you'll get more conflicts. You can try anyway | 13:31 |
|
Altreus[hireme]
| wereHamster: oh - I saw that stash takes things from staged changes as well as unstaged so I don't need to do that :) | 13:32 |
| ← v0n left | 13:32 |
|
Altreus[hireme]
| I didn't think it would but it does so that's cool | 13:32 |
| ← dexter left | 13:32 |
|
wereHamster
| michelx: better way would be to fetch from your original repo, and rebase the commits on top of the new svn branch | 13:32 |
|
michelx
| wereHamster: How do I get my repo to know about the svn branches and tags directories if I haven't done so originally in git svn clone? | 13:34 |
|
wereHamster
| michelx: no, I mean instead of git-fromat-patch|git-am use git-fetch/git-rebase | 13:34 |
| ← augustl left | 13:35 |
| → ihoka joined | 13:35 |
| → maio joined | 13:35 |
|
maio
| hi | 13:36 |
| → RaceCondition joined | 13:36 |
|
michelx
| wereHamster: I'm dealing with two separate git repos. The one containing my changes in a branch was originally cloned from svn without branches and tags. My new clone has branches and tags -- but I need to move over my changes from the other git repo. | 13:36 |
| ← Paraselene_ left | 13:37 |
| ← girishr left | 13:37 |
| → omerj joined | 13:38 |
|
wereHamster
| michelx: I understood that. What I'm suggesting is: cd newrepo; git fetch ../oldrepo branchwiththenewcommits; git checkout FETCH_HEAD; git rebase --onto master ^firstcommityouwanttorebase | 13:39 |
|
| (or something along these lines) | 13:40 |
| → ben_h joined | 13:40 |
| ← omerj left | 13:40 |
|
michelx
| wereHamster: Ah, I see, I'll try that. Thanks. | 13:40 |
| → omerj joined | 13:40 |
|
sitaram
| EugenMayer: hi | 13:41 |
|
EugenMayer
| sitaram: hi. Things are clear now :) | 13:41 |
|
| I have written some german tutorials | 13:41 |
|
| for the installation and a user guide | 13:41 |
|
sitaram
| EugenMayer: ok -- sorry I was in an offsite meeting most of the afternoon | 13:41 |
| → NET||abuse joined | 13:41 |
|
sitaram
| oh wow -- thanks! | 13:41 |
|
EugenMayer
| They are not public yet | 13:42 |
|
| I will work on them an remove critical informations later, then release them. it's a great tool | 13:42 |
|
| People stumble of Gitoriuos first, then crap-destroy their server with it, even try git-daemon then | 13:42 |
|
| And in the end, its all crap compared to what you have here | 13:43 |
|
| Same ist with Submodules and Braid | 13:43 |
| ← heliostech left | 13:43 |
|
Altreus[hireme]
| How do I discard an unmerged file's changes? | 13:43 |
|
sitaram
| EugenMayer: I don't know much about submodules and I dont even know what Braid is :) | 13:44 |
|
Altreus[hireme]
| it's not mentioned in `git status` output | 13:44 |
|
| It tells me I can add it or checkout it | 13:44 |
|
EugenMayer
| sitaram: submodule is crap. Braid is quiet coo, especially the forked one | 13:44 |
|
charon
| Altreus[hireme]: discard wrt. what? you can 'git checkout --ours $file' to get the HEAD side, or 'git checkout --theirs $file' to get the merged branch's side | 13:44 |
|
Altreus[hireme]
| charon: ah, that's what I needed, ta | 13:44 |
|
| still says it's unmerged | 13:45 |
|
| am I going to have to reset it? | 13:45 |
|
| I did `git stash apply` and then I decided I didn't want any of the changes the stash gave me so now I want HEAD back | 13:45 |
|
| sitaram googles Braid | 13:46 |
|
charon
| Altreus[hireme]: oh that was after a stash. just 'git reset --hard'. | 13:46 |
|
Altreus[hireme]
| ah ok :) | 13:46 |
|
charon
| note the usual warnings about it though. | 13:46 |
|
| (you irreversibly lose all other uncommitted changes too...) | 13:46 |
|
Altreus[hireme]
| indeed - hence I was avoiding doing it :) | 13:46 |
|
| yeah I didn't have any | 13:46 |
|
| But I am forgetful | 13:46 |
|
| So I might have forgotten other bad side effects of it | 13:46 |
|
| ;) | 13:47 |
| → hgimenez joined | 13:47 |
| ← jlilly left | 13:47 |
| → gordonh_ joined | 13:50 |
| → cenuij joined | 13:53 |
| ← hipe left | 13:54 |
| m-takagi_ → m-takagi | 13:57 |
| ← gordonh left | 13:58 |
| gordonh_ → gordonh | 13:58 |
| → mattayers joined | 13:59 |
| → stamina joined | 14:01 |
| ← lucs left | 14:02 |
| ← RaceCondition left | 14:02 |
| ← luke` left | 14:02 |
| ← tg left | 14:03 |
| → tg joined | 14:04 |
| → tasslehoff joined | 14:06 |
|
tasslehoff
| I have a git repository inside a git repository. What's the common way to make git understand that this isn't untracked files. Add an ignore to the outer repo? | 14:07 |
|
tango_
| submodules | 14:07 |
| ← voker57_ left | 14:09 |
|
tasslehoff
| thanks | 14:10 |
| → voker57_ joined | 14:10 |
| ← jschoolcraft left | 14:11 |
| → RaceCondition_ joined | 14:14 |
| → DrAk0 joined | 14:15 |
|
tasslehoff
| Can I add a submodule by just pointing to a directory that's already there? | 14:15 |
|
jast
| not with submodule add, I think | 14:16 |
|
| but you can manually add entries to .git/config | 14:16 |
|
| and perhaps .gitmodules, especially if you want others to be able to clone the submodules structure (in which case the submodule needs to be available publicly somewhere) | 14:17 |
|
tasslehoff
| jast: don't want that. all I want is for the outer repo to know about it. | 14:17 |
|
jast
| tasslehoff: well, you can either simply ignore the subdir using .gitignore, or add the submodule stuff to .git/config (I don't recall the right syntax, though). | 14:18 |
| ← RaceCondition_ left | 14:18 |
|
jast
| I think it's simply a section [submodule "path here"] with an entry url = <something> | 14:19 |
|
tasslehoff
| jast: thanks | 14:20 |
| → Paraselene_ joined | 14:22 |
| ← pdusen left | 14:24 |
| → drd20 joined | 14:26 |
|
drd20
| Hi guys, I am trying to clone a specific revision from an SVN repository. The revision is found on a branch and not within the trunk. | 14:27 |
|
| Git-svn is giving me the following error: http://pastebin.com/m1499f924 | 14:28 |
|
wereHamster
| drd20: which command are you running? | 14:28 |
| ← voker57_ left | 14:28 |
| ← mdm_git left | 14:29 |
|
drd20
| wereHamster: http://pastebin.com/m172c1e42 | 14:29 |
| → voker57_ joined | 14:29 |
| ← dpino left | 14:30 |
|
wereHamster
| drd20: why do you want this particlar revision? Do you want to work on that and nothing else? | 14:31 |
|
| r1793 is the latest revision, so the '-r 1793' doesn't make much sense | 14:32 |
| → botanicus joined | 14:32 |
| → wanders joined | 14:32 |
|
drd20
| wereHamster: I'm not an SVN user normally why doesn't it make sense to checkout the latest revision? | 14:33 |
|
wereHamster
| ah, I misunderstood what -r does, sorry | 14:33 |
| ← asksol_ left | 14:33 |
| ← voker57_ left | 14:37 |
| → voker57_ joined | 14:37 |
| ← bigmack83 left | 14:40 |
| ← flaguy48 left | 14:40 |
|
wereHamster
| drd20: just ignore the warning and run 'git checkout -t -b master remotes/david_damerell_git_staging_area | 14:40 |
| ← schmukkk left | 14:40 |
|
wereHamster
| drd20: you requested r1793, and this revision only changed files in the one branch, so git-svn didn't fetch anything else | 14:41 |
| → kukks joined | 14:42 |
| → cilly joined | 14:42 |
|
drd20
| wereHamster: Thanks saved me a lot of time | 14:43 |
| ← Skrot- left | 14:43 |
| → JoseLobato joined | 14:43 |
| ← JoseLobato left | 14:44 |
| Thell_ → Thell | 14:47 |
| → asksol joined | 14:47 |
| ← d0k left | 14:48 |
| ← dominikh1 left | 14:50 |
| ← giallu left | 14:51 |
|
Wolfman2000
| ...okay, I'm possibly a BIG idiot. I created a new repo on github, and I was adding files in bits at a time. I accidentally added a directory without committing yet (had to remove files from said directory), so I tried to fix the mistake by doing git reset --hard HEAD. What it did was remove the entire directory! Is there a way to recover it? | 14:51 |
| → marcusb joined | 14:52 |
| ← marcusb left | 14:52 |
| ← omerj left | 14:54 |
|
wereHamster
| you mean the files you git-add'ed before? | 14:55 |
|
| you can recover those | 14:55 |
|
Wolfman2000
| wereHamster: How? | 14:55 |
|
wereHamster
| git fsck --lost-found and look for objects that are marked as 'tee' | 14:55 |
|
| 'tree' | 14:55 |
| → bcardarella joined | 14:56 |
|
Wolfman2000
| one dangling tree | 14:56 |
| ← bcardarella left | 14:56 |
|
wereHamster
| great. Now git read-tree <the hash> | 14:56 |
|
| and git checkout -- path/to/directory | 14:56 |
|
Wolfman2000
| wereHamster: I see no changes | 14:56 |
|
| ...and I'm in the directory | 14:57 |
|
wereHamster
| I think you have to supply the full path anyway | 14:57 |
|
Wolfman2000
| ...huh. I think it's back | 14:57 |
| → omerj joined | 14:57 |
|
Wolfman2000
| wereHamster: Thanks for that. I probably read the wrong part of the tutorial or something | 14:58 |
| → iT|Free joined | 14:58 |
|
Wolfman2000
| wereHamster: ...still have a problem. I still added the directory, and I want to unadd it | 14:58 |
|
wereHamster
| Wolfman2000: git rm --cached -r path/to/directory | 14:59 |
|
Wolfman2000
| wereHamster++: thanks | 14:59 |
| → voker57__ joined | 15:00 |
| ← cookiemon5ter left | 15:00 |
| ← Stravy left | 15:02 |
| thiago__ → thiago | 15:04 |
| → cookiemon5ter joined | 15:04 |
| → Lgb joined | 15:05 |
| ← s0ber left | 15:05 |
| ← tasslehoff left | 15:05 |
| ← jds left | 15:09 |
| ← voker57_ left | 15:09 |
| ← DrNick left | 15:10 |
| → Rolenun joined | 15:10 |
| → jlilly joined | 15:13 |
| ← __bert__ left | 15:16 |
| → psoo joined | 15:19 |
|
LiamH
| Is there a way to get a text-based listing of commits like what gitk shows? | 15:22 |
| → futoase joined | 15:23 |
|
doener
| LiamH: git log --oneline --graph ... | 15:24 |
|
| LiamH: or use tig | 15:24 |
| → selckin joined | 15:24 |
| → sh1mmer joined | 15:25 |
|
LiamH
| doener: Thanks. | 15:26 |
| → tomtt joined | 15:26 |
| ← arossouw left | 15:27 |
|
tomtt
| I seem to have a ghost directory: it existed in the repo history, but was deleted since. When I checkout a version where it was present, then the current version, the directory is still there. But git knows nothing about it so it can not be 'git rm'-ed. Suggestions? | 15:28 |
| ← malesca left | 15:28 |
| ← johan-s left | 15:29 |
| ← Paraselene_ left | 15:29 |
| → _khaos joined | 15:29 |
| → zonque__ joined | 15:29 |
| ← zonque left | 15:30 |
|
T2000
| tomtt: git does not track directories... remove all files in it if you dont need it anymore | 15:30 |
| ← drd20 left | 15:30 |
| → corni joined | 15:30 |
|
tomtt
| T2000: it is just an empty directory, when I delete it, then checkout the old version, then the new version it is back again though | 15:31 |
|
| question is: how do i make the empty directory no longer appear? | 15:31 |
|
_khaos
| Hi. I've a slight problem. I create several topic branches, checkout one, do modifications and try to switch to a different branch. AFAICT git used to refuse switching as long as there were uncommitted changes. Unfortunately, git switches to the new branch which is now a mix of two topic branches. Is there a way to force git to refuse to switch and just issue warning? | 15:31 |
| ← zonque__ left | 15:31 |
| → zonque joined | 15:32 |
|
Wolfman2000
| http://github.com/wolfman2000/Perl-6-Pastebin Here is, my newest git repo. Hopefully you guys find it useful. | 15:32 |
|
cbreak
| tomtt: git doesn't track directories, if it's empty, you can delete it and git won't bother about it | 15:32 |
|
doener
| _khaos: git refuses to switch only when there's a modified file in the working tree/index that also differs between HEAD and the thing you're trying to checkout | 15:32 |
|
| _khaos: when you switch with modified files, git will print something like "M Makefile", so you know that things are modified | 15:33 |
|
| _khaos: you can just switch back to the previous branch and commit there, or stash the changes | 15:33 |
| → davey joined | 15:34 |
|
_khaos
| doener: Ah. Ok. That explains it. Thanks. So I was partly right at least. :-) The same goes for new files I guess. As long as I haven't stashed, ignored or committed them, they are going to end up w/ the branch I just switched to? | 15:35 |
|
cbreak
| they are just in your working directory | 15:36 |
|
| git won't touch them | 15:36 |
|
| git won't stash them either | 15:36 |
|
| until you add new files, they are untracked | 15:36 |
| → Paraselene_ joined | 15:36 |
|
_khaos
| cbreak: I noticed. I thought I remembered that git would restore the working directory to the exact branch "layout". So you could also loose all your new files or changes if you haven't stashed or committed. | 15:38 |
|
tomtt
| _khaos: yes: this is often what you want: for example: you made some changes, but they belong on the master branch. You checkout master and commit your changes there, then switch back to the current branch | 15:38 |
|
| _khaos: it will error only when changes you made will be changed by the checkout | 15:39 |
| → jtrindade joined | 15:39 |
|
tomtt
| therefor doing a checkout is safe | 15:39 |
| → RaceCondition joined | 15:40 |
|
_khaos
| tomtt: Ok, from this pov I can see the reason why it's this way. That's probably why I haven't run into this problem earlier because most of my branches were quite differently and thus git naturally failed the checkout. | 15:40 |
|
| s/differently/different | 15:40 |
| → __bert__ joined | 15:41 |
|
_khaos
| tomtt/cbreak/doener: Thanks for your kind explanations. One more thing: Is there a way to run a specific command every time one switches a branch for example to get rid of all the object files coming from the other branch which are naturally untracked? | 15:42 |
|
cbreak
| maybe you could make an alias | 15:42 |
|
| one that does git clean | 15:43 |
|
tomtt
| _khaos: add those to your .gitignore? | 15:43 |
|
| making an alias that deletes new files could be rather dangerous | 15:44 |
| ← omerj left | 15:44 |
|
_khaos
| tomtt: That would stop git reporting them as untracked and all but those files would still end up mixed up when switching branches. | 15:44 |
|
cbreak
| git config alias.killcheckout = clean -d ; checkout | 15:44 |
|
| maybe | 15:44 |
|
| or maybe not | 15:44 |
| ← JohnFlux left | 15:45 |
| ← michelx left | 15:45 |
|
tomtt
| _khaos: if you never commit them, switching branches leaves them untouched | 15:45 |
|
_khaos
| tomtt: I know. I was hoping I could automate git a bit to clean the tree from back up copies and obj files once I switch branches. | 15:46 |
|
cbreak
| I'd say an alias is the way to go :) | 15:46 |
|
| but it's dangerous | 15:46 |
|
tomtt
| _khaos: they should never be in your tree in the first place. If they are, remove them, then you should be fine | 15:46 |
|
cbreak
| you'll probably lose something very dear to you if you use this power :) | 15:46 |
|
_khaos
| cbreak: Thanks for the hint. I'll give that I try later tonight! | 15:47 |
| ← hgimenez left | 15:47 |
| → hgimenez joined | 15:47 |
|
_khaos
| tomtt: I know. They are in my local working directory... never committed or anything like it. I guess I should finally get used to out of tree building... | 15:48 |
|
tomtt
| _khaos: you'll probably^H^H^H^H^H^H^H^H definitely lose something very dear to you if you use this power | 15:48 |
|
_khaos
| tomtt/cbreak: Ok, I get. :-) I know Murphys Law, so I just try to get used to out of tree building or doing the clean up manually if necessary, so at least nothing happens unintentionally. | 15:49 |
| → przemoc86 joined | 15:49 |
| ← przemoc left | 15:49 |
| ← zoniq_ left | 15:49 |
| → zoniq_ joined | 15:50 |
| → Stravy joined | 15:52 |
|
_khaos
| Thanks again everyone! So long, khaos. | 15:52 |
|
cbreak
| may the backups be with you! | 15:52 |
|
_khaos
| :-) | 15:53 |
| ← RaceCondition left | 15:53 |
| ← crazychenz left | 15:54 |
| → mattions joined | 15:54 |
| ← Paraselene_ left | 15:55 |
| → albari joined | 15:55 |
| ← albari left | 15:55 |
| → erlehmann joined | 15:55 |
| → t0rc_ joined | 15:55 |
|
Ilari
| gitte: HFS+ uses nonstandard variant of NFD (Decomposed), not NFC (Composed). I regard NFC as the only sane Unicode normal form for filenames. | 15:56 |
| → Paraselene_ joined | 15:56 |
| ← _khaos left | 15:57 |
| → omerj joined | 15:57 |
|
gitte
| Ilari: we respect content. In whatever form it is. If you want your filenames in KOI-8, that is your decision, not the SCMs. | 15:57 |
| ← warlock_mza left | 15:57 |
|
gitte
| Ilari: I take exception to this moron being explained how wrong it is that MacOSX mangles filenames, and then telling everybody that this is what Git should do, too! | 15:58 |
|
| Ilari: my time is needed somewhere else than with such people. | 15:58 |
|
selckin
| if macos does it, its really the right way | 15:59 |
|
gitte
| selckin: shut up. | 15:59 |
|
selckin
| humor detector failure | 15:59 |
| → nighthwk1 joined | 15:59 |
|
gitte
| selckin: it is not humor if you put salt into an obvious wound. | 15:59 |
|
| selckin: it is bad taste to do so. | 16:00 |
|
selckin
| sorry, i blame my boredom :( | 16:00 |
| ← psankar left | 16:00 |
| → fcuk112 joined | 16:02 |
|
Ilari
| Well, the fact is that only kind of filenames in repository most can handle is NFC UTF-8 or some subset of that (e.g. US-ASCII). | 16:03 |
| ← psoo left | 16:03 |
| → psoo joined | 16:04 |
| ← rchavik left | 16:04 |
| → rchavik joined | 16:05 |
|
Ilari
| Maybe there should be support for at least trying to fix the damage HFS+ does to filenames? I really don't want to see HFS+ corrupted filenames in repositories. | 16:05 |
| → Geralt joined | 16:05 |
| → flazz joined | 16:05 |
|
Ilari
| (and if project uses KOI-8, well most likely its not something I need to deal with)... | 16:06 |
| → edenc_ joined | 16:07 |
| ← edenc left | 16:07 |
| ← EugenMayer left | 16:07 |
| → madewokherd joined | 16:09 |
| → mbroeker joined | 16:09 |
| ← tbf left | 16:11 |
| ← jtrindade left | 16:11 |
| → tbf joined | 16:11 |
|
Ilari
| Even better if encoding filenames are in repository would be given. But there's no space for storing that, so oh well... | 16:11 |
| → aresnick joined | 16:12 |
| ← bentob0x left | 16:12 |
|
cbreak
| since when does HFS corrupt file names? | 16:13 |
|
| I never noticed that | 16:13 |
| ← Haarg left | 16:13 |
|
cbreak
| and I had files with Kanji and other exotic multi byte UTF glyphs in their names | 16:13 |
|
| tamm0r is curious as well | 16:14 |
|
Ilari
| cbreak: It does. Basically any kind of accented character is corrupted. Base-forms of various alphabet are no problem. | 16:14 |
| → Geralt1 joined | 16:15 |
| ← Geralt left | 16:15 |
| Geralt1 → Geralt | 16:15 |
| → bentob0x joined | 16:15 |
|
Ilari
| For instance, ä and ö are corrupted, but β and π are not. | 16:15 |
|
cbreak
| you mean characters built from several glyphs? | 16:15 |
|
tamm0r
| Ilari: you mean characters like á etc.? | 16:15 |
|
Ilari
| tamm0r: Yes. | 16:15 |
|
cbreak
| I never had problems with them | 16:16 |
|
tamm0r
| wtf *checking* | 16:16 |
|
cbreak
| not that I have many umlauts in file names though | 16:16 |
|
Ilari
| If you want to test, create file with umlaut in its name, read its name and dump the byte sequence. Then try dumping byte sequence corresponding to name you entered. | 16:17 |
|
| Gets bad if you clone git repo containing umlauts in filenames from external source. Just see what happens to those files on checkout. | 16:18 |
|
cbreak
| so you mean the problem is that unicode can represent the same glyphs with different byte sequences? | 16:19 |
| → krawek joined | 16:21 |
| → eno joined | 16:21 |
| ← tfarina left | 16:22 |
|
Ilari
| cbreak: Yes, and HFS+ isn't preserving in that regard. | 16:22 |
|
cbreak
| so they convert it to their standard sequence? | 16:23 |
| → jtrindade joined | 16:25 |
| ← Geralt left | 16:25 |
| ← eno__ left | 16:25 |
|
Ilari
| cbreak: And worse yet, that standard isn't NFC, but bastardized version of NFD. | 16:25 |
| → tedoc2000 joined | 16:25 |
| → intripoon joined | 16:26 |
| ← tobago left | 16:26 |
|
cbreak
| wikipedia says: "normalized to a form very nearly the same as Unicode Normalization Form D (NFD)" | 16:27 |
|
| does that mean there are A, B, C forms too? | 16:27 |
| ← froschi left | 16:27 |
| ← flazz left | 16:27 |
| → tamm0r_ joined | 16:28 |
| → fcuk112_ joined | 16:28 |
| → drry joined | 16:28 |
|
Ilari
| cbreak: There are normalized forms C, D, KC and KD. | 16:28 |
| → patcito joined | 16:30 |
|
Ilari
| cbreak: C forms compose as much as possible. D forms decompose as much as possible. K forms normalize more heavily (proper rendering can change in way that loses data). | 16:31 |
|
cbreak
| D sounds most reasonable. | 16:32 |
| → crazychenz joined | 16:32 |
|
Ilari
| IIRC, NFKC changes "N³" to "N3" | 16:32 |
|
cbreak
| relying on basic building blocks instead of precomposed things | 16:32 |
|
Ilari
| cbreak: Wrong. | 16:32 |
| ← Adlai left | 16:33 |
|
Ilari
| cbreak: Entering NFD from keyboard is nearly impossible if terminal emulator doesn't specifically support it. | 16:33 |
|
cbreak
| I always enter ä as ¨and a | 16:33 |
|
| especially for ¨ and A -> Ä | 16:33 |
| ← tomtt left | 16:33 |
|
Ilari
| cbreak: 'echo <dead "><a> | od -t x1' -> "0000000 c3 a4 0a" | 16:34 |
|
| cbreak: NFC. | 16:34 |
| ← sergiodj left | 16:34 |
|
cbreak
| maybe because I have an ¨ key :) | 16:34 |
| ← sis left | 16:34 |
|
charon
| though for git's purposes the only relevant bit is that successfully creating $file does not mean it will turn up on the next readdir() scan through its containing directory | 16:34 |
|
| cbreak: odds are that key will still give a composed character | 16:34 |
| ← jtrindade left | 16:34 |
|
cbreak
| Maybe. | 16:34 |
|
charon
| it's merely another way of typing the composed char | 16:34 |
| ← tamm0r_ left | 16:35 |
|
cbreak
| But since I am on OS X, maybe not | 16:35 |
|
Ilari
| cbreak: That key is presumably exactly the <dead "> key... | 16:35 |
| → tamm0r_ joined | 16:35 |
|
cbreak
| I am not sure how key entry works here. | 16:35 |
|
Ilari
| cbreak: Well, try the echo-od combo I gave. | 16:35 |
|
cbreak
| c3 a4 0a | 16:36 |
|
| same as with the ä key directly | 16:36 |
|
Ilari
| cbreak: Exactly. | 16:37 |
| → krunk- joined | 16:38 |
|
Ilari
| cbreak: And then one has to consider those that have filesystems that are not just unicode normalization preserving, but unicode normalization sensitive. | 16:38 |
|
krunk-
| with git svn, how would I clone starting at a specific revision? so I don't have to replay the whole history? | 16:38 |
| → jrmuizel joined | 16:39 |
|
charon
| krunk-: use 'git init && git svn init <args>' manually, and then 'git svn fetch -r<range>' | 16:39 |
|
cbreak
| Ilari: that's probably the same problem as case sensitive systems | 16:39 |
| ← Jinzhu left | 16:39 |
|
cbreak
| which HFS+ is not by default either | 16:39 |
| ← fcuk112 left | 16:39 |
|
charon
| cbreak: even FAT32 is case-*preserving* (though not sensitive). HFS+ is not unicode representation *preserving* which is what causes the headaches (for git) | 16:40 |
|
Ilari
| cbreak: For it to be same problem, you would need to have filesystem that's not even case-preserving. I don't think there are any GP filesystems that fall into that category. | 16:40 |
|
krunk-
| charon: ok, so git svn init http://foourl.com/svn/trunk && git svn fetch -r250: ? | 16:40 |
|
cbreak
| HFS+ preserves case at least :) | 16:40 |
|
krunk-
| I use HFS+ case sensitive myself | 16:41 |
|
| to avoid those problems | 16:41 |
|
cbreak
| I write everything lowercase. | 16:41 |
|
| more convenient :) | 16:41 |
|
Ilari
| krunk-: Won't be enough to avoid the unicode problems. | 16:41 |
| → riverrat66 joined | 16:41 |
| → RaceCondition joined | 16:41 |
| → seanmcl joined | 16:41 |
|
krunk-
| Ilari: not sure exactly waht unicode representation preserving refers to | 16:42 |
|
cbreak
| I don't even use spaces in my filenames | 16:42 |
| → r11t joined | 16:42 |
| → hummingkid joined | 16:42 |
|
krunk-
| I get bit by the spaces deal enough | 16:42 |
|
| reality is spaces are sometimes a problem, though if a program can't handle spaces it's normally a reflection of poor programming practices | 16:42 |
|
Ilari
| krunk-: There are two ways to present 'Ä' in UTF-8: <C3 84> and <41 CC 88>. | 16:44 |
| → sergiodj joined | 16:44 |
|
krunk-
| Ilari: interesting, so characters have non-unique codes? | 16:44 |
|
Ilari
| krunk-: First is normal form C for that character, second is normal form D for that character. | 16:44 |
|
| krunk-: Some characters do. Some even have more than two (have forms that are neither normal form C nor normal form D). | 16:45 |
| ← ankit9 left | 16:45 |
| ← tamm0r left | 16:45 |
| tamm0r_ → tamm0r | 16:45 |
|
krunk-
| Ilari: do you knwo what, if any, benefit this gives the specification? seems like rquiring unambiguous unique codes would be preferable | 16:46 |
|
Ilari
| Not having precomposed forms and requiring codepoint order for combining characters would give unique encoding for any charcter. Unfortunately, it wouldn't be compatible with latin1 and would add quite much baggage to be needed. | 16:47 |
|
charon
| krunk-: well, you'll have to do that in a git repo, so you should start with 'mkdir foo && cd foo && git init', but otherwise yes, that should work | 16:47 |
| ← tamm0r left | 16:47 |
| ← leaf-sheep left | 16:48 |
| ← dexter__ left | 16:48 |
| → bartek- joined | 16:48 |
|
bartek-
| Hi there. I currently have a remote branch and I would like to merge it. Would I git pull origin <branch name> and then git merge <branch>? I'm not quite sure on the process of a remote branch merge. | 16:49 |
|
Ilari
| bartek-: Pull already merges. | 16:49 |
|
bartek-
| Ilari: Ah, so I just pull my branch, then? | 16:49 |
| ← iT|Free left | 16:50 |
| ← bambule left | 16:50 |
|
krunk-
| charon: I got it, thanks | 16:51 |
|
Ilari
| bartek-: Yes. | 16:51 |
|
| bartek-: You might want to commit/stash first (if you have uncommitted changes). | 16:51 |
|
| bartek-: Also, you might want to create temporary branch to do the merge in. | 16:52 |
| → Alagar joined | 16:53 |
| → s0ber joined | 16:53 |
|
krunk-
| temporary branch is a smart move imo | 16:53 |
| → mikepence joined | 16:54 |
|
bartek-
| thanks Ilari, everything worked smoothly (huge branch!) | 16:55 |
| ← rchavik left | 16:56 |
| Borbus_ → Borbus | 16:58 |
| → rudi_s joined | 16:59 |
| ← omerj left | 17:01 |
| → Darkas_ joined | 17:01 |
| → Keiya joined | 17:02 |
| → ankit9 joined | 17:03 |
| → Aikawa joined | 17:04 |
| ← imajes left | 17:05 |
| → dpino joined | 17:07 |
| ← galderz left | 17:09 |
| → patrikf joined | 17:10 |
| → hebz0rl joined | 17:10 |
| → heliostech joined | 17:10 |
|
heliostech
| hi guys, this is getting anoying | 17:10 |
|
| i'm in the same group as the repository | 17:11 |
| ← mikepence left | 17:11 |
|
heliostech
| i create the repo with git --bare init --shared=group | 17:11 |
|
| fatal: Unable to create temporary file: Permission denied ! | 17:11 |
|
| where does it tries to create the temp files? | 17:11 |
|
Ilari
| heliostech: What command gives that error? | 17:12 |
| ← Alagar left | 17:12 |
| ← psoo left | 17:12 |
|
heliostech
| git push ssh... master | 17:13 |
|
selckin
| and you thought the init was more relevant then the command giving the error? | 17:13 |
| → Alagar joined | 17:13 |
| ← nothingHappens left | 17:14 |
| ← t0rc_ left | 17:14 |
|
heliostech
| it was clear for me. | 17:14 |
| ← t0rc left | 17:14 |
|
selckin
| lol | 17:14 |
|
heliostech
| so yes, I can't push to the freshly created repo | 17:14 |
|
Ilari
| heliostech: chgrp it? | 17:14 |
| → mikepence joined | 17:14 |
| ← pencilo left | 17:16 |
|
heliostech
| chgrp my repo ? | 17:16 |
|
| well I did for sure | 17:16 |
| → pencilo joined | 17:16 |
| ← LRN left | 17:17 |
|
heliostech
| well obviously it didn't | 17:17 |
|
| it worked | 17:17 |
|
| I'm surprised, I use to chmod g+s | 17:17 |
|
| then git init --shared would work fine | 17:17 |
|
| indeed 2 objects where not in the sguid | 17:18 |
|
| ./objects/pack is not in the setguid I don't know how | 17:19 |
| ← s0ber left | 17:20 |
| ← Aikawa_ left | 17:21 |
| ← ntoll left | 17:21 |
| ← aziz left | 17:21 |
| ← bauruine left | 17:22 |
| → kumbayo joined | 17:22 |
| ← crazychenz left | 17:22 |
| ← tvw left | 17:23 |
| ← mikepence left | 17:23 |
| ← Alagar left | 17:23 |
| ← NetHawk left | 17:23 |
| → Hawk416 joined | 17:23 |
|
wereHamster
| peps: gentoo? | 17:24 |
| → LRN joined | 17:24 |
| ← RaceCondition left | 17:25 |
| ← wolog left | 17:26 |
| ← Russell^^ left | 17:26 |
| ← bartek- left | 17:27 |
| ← magcius left | 17:27 |
| → magcius joined | 17:27 |
| → Alagar joined | 17:27 |
| → NetHawk joined | 17:31 |
| ← NetHawk left | 17:31 |
| → luke` joined | 17:32 |
| dwmw2 → dwmw2_gone | 17:32 |
| ← T2000 left | 17:33 |
| ← Hendu left | 17:34 |
| → s0ber joined | 17:36 |
|
MacGyverNL
| selckin: You were gone when I said it, so I figure I still owe you an apology for tuesday night. | 17:36 |
|
| After re-reading your suggestions, I saw I misunderstood what you said about warning being on stderr. I thought it was on stdout because I thought I'd tried redirecting stderr for diff earlier. I was wrong, obviously. Next time I'll make sure brain is in gear before engaging keyboard. | 17:37 |
| → Tordmor joined | 17:38 |
|
selckin
| MacGyverNL: <3 | 17:39 |
| ← thm left | 17:40 |
| ← sde_antrix1 left | 17:40 |
| ← jonmastet left | 17:41 |
| → RaceCondition joined | 17:41 |
| → FunkeeMonk joined | 17:41 |
| → jonmasters joined | 17:41 |
| ← seanmcl left | 17:42 |
| → mikepence joined | 17:42 |
| → dyqith joined | 17:44 |
|
dyqith
| hey guys, had a question on how to add in older history into a git repo. | 17:45 |
| ← kpreid_ left | 17:45 |
| → imajes joined | 17:46 |
|
dyqith
| I started a git repo from some code in a zip file and made some changes to it | 17:46 |
| ← nighthwk1 left | 17:46 |
|
dyqith
| Now I have another git repo that made the zip, but would like to merge these two repos together | 17:47 |
| ← mcella left | 17:47 |
|
selckin
| so sepertaly created git trees based on the same starting code? | 17:48 |
|
dyqith
| yup | 17:48 |
| → DavidKlein joined | 17:48 |
|
cbreak
| maybe you can do something with fast export and import. Hmm... | 17:48 |
|
| cbreak has no idea | 17:48 |
|
wereHamster
| or grafts + git filter-branch | 17:49 |
| ← becomingGuru left | 17:49 |
| → bambule joined | 17:49 |
|
wereHamster
| or a simple merge, git doesn't care that the two started out as separate projects | 17:49 |
| → brainbox1100 joined | 17:49 |
|
dyqith
| hmm.. okay, let me see if a simple merge would do. thanks | 17:50 |
| ← mattayers left | 17:50 |
| → aziz joined | 17:50 |
| → tbuehlmann joined | 17:53 |
| ← mastro left | 17:56 |
| ← hemmecke1 left | 17:56 |
| → pflanze joined | 17:59 |
| ← krawek left | 18:00 |
| → krawek joined | 18:00 |
| → viiitor joined | 18:01 |
| → ereslibre joined | 18:02 |
| → maattd_ joined | 18:02 |
|
viiitor
| Hello. Is there any way to see a tag? Like the way I do with branches, I want to move to a specific tag and see what's there. I could only see the diffs between it and the current rev. | 18:02 |
|
pflanze
| I'm looking into cleaning up quite some history, ~250 commits; since I'll need several attempts (doing it partially), is there something "better" than rebase -i to do it? | 18:03 |
|
| Plus if it allows handling patches as files and letting me edit them (as files). | 18:03 |
| → pao joined | 18:03 |
| ← FunkeeMonk left | 18:03 |
|
pao
| hi all | 18:03 |
| → crazychenz joined | 18:03 |
|
pao
| I've the impression that git checkout <checkout_id> truncates my history... is that correct? | 18:04 |
|
pflanze
| viiitor: do you mean, read the tag message, or what the tag is pointing to? | 18:04 |
| ← petrux left | 18:04 |
| ← Tordmor left | 18:05 |
|
pflanze
| pao: truncate? | 18:05 |
| ← ereslibre left | 18:06 |
|
pao
| pflanze: I've just tried on a sample project.... | 18:06 |
|
viiitor
| pflanze: I have a tag named 0.1. I want to tar its contents... | 18:06 |
|
pao
| pflanze: and committed 3 changesets | 18:06 |
|
pflanze
| viiitor: just give the tag as the revision argument to the git tool you want | 18:06 |
|
pao
| pflanze: if I "git checkout HEAD^" ... I cannot see the 3rd any longer in any way | 18:06 |
| ← crazychenz left | 18:07 |
|
viiitor
| pflanze: Like git checkout 0.1? | 18:07 |
| ← maattd left | 18:07 |
| maattd_ → maattd | 18:07 |
|
pflanze
| viiitor: yes, but I think tags cannot begin with a digit | 18:07 |
|
| viiitor: also there's git tar-tree which can do what you want without changing the checkout | 18:08 |
|
| ehr, git archive | 18:08 |
|
viiitor
| pflanze: Well... I have a tag named 0.1... it was imported with git-svn, if that matters... | 18:08 |
|
pflanze
| viiitor: what does "git rev-parse 0.1" say? | 18:08 |
| ← kkaefer left | 18:09 |
|
viiitor
| pflanze: 9179e2ac7c390e9b9154d01fb1ab86d8cec5777d | 18:09 |
|
pflanze
| viiitor: ok, then I was mistaken and digits seem to work just fine | 18:09 |
| ← futoase left | 18:09 |
|
pflanze
| pao: run "gitk --all" or "git branch -av" | 18:10 |
| → Adlai joined | 18:10 |
|
pao
| hypermac:git-test paolo$ git branch -av | 18:10 |
|
| * (no branch) 7446e23 versione 2 | 18:10 |
|
| master 9c3aa9e versione 3 | 18:10 |
|
viiitor
| pflanze: git checkout 0.1^ does exactly what I want | 18:10 |
|
| pflanze: Thanks :) | 18:10 |
|
pao
| pflanze: I think I'm detached | 18:10 |
|
pflanze
| pao: so, master should have all 3 versions, as you see. | 18:10 |
|
| yes | 18:10 |
|
pao
| pflanze: is there any reason to work (commit) on a detached status? | 18:11 |
|
pflanze
| pao: usually you want a named branch, since you would loose your new commits if you checkout something else. | 18:11 |
| ← Alagar left | 18:11 |
|
pao
| pflanze: thanks | 18:12 |
| → Alagar joined | 18:12 |
|
pflanze
| viiitor: note that the caret "^" means that you're checking out something older than 0.1 | 18:13 |
|
wereHamster
| pao: HEAD^ == parent of HEAD. So if you checkout HEAD^ then you ovbiously lose the very last commit | 18:13 |
|
viiitor
| pflanze: So I should do git checkout ^0.1? Or what? | 18:14 |
| → wolog joined | 18:14 |
|
viiitor
| git checkout 0.1 don't works... | 18:14 |
|
wereHamster
| pao: there may be reasons why you want to work on detached HEAD. If you just want to test things for example and don't want to create a temporary branch | 18:14 |
|
pao
| wereHamster: yep, but I had the impression to have lost my last commit in the history (git log didn't show it)... | 18:14 |
|
pflanze
| what does it say? | 18:14 |
| → crazychenz joined | 18:14 |
|
pao
| wereHamster: clear | 18:14 |
|
viiitor
| pflanze: It's trying to checkout to the branch 0.1, which don't exists... | 18:15 |
|
wereHamster
| pao: say your history is A - B - C - D (with HEAD pointing at D), you now git checkout HEAD^ and HEAD will point at C, so git-log will show only A,B,C | 18:15 |
| → iT|Free joined | 18:15 |
|
wereHamster
| you did not lose the commit, it just wasn't reachable from HEAD anymore | 18:15 |
|
pflanze
| viiitor: try "git checkout -b mytemporarybranch 9179e2ac7c390e9b9154d01fb1ab86d8cec5777d" | 18:15 |
|
pao
| wereHamster: yep... I'm used to hg... you always see all changesets with "hg log" | 18:16 |
|
wereHamster
| pao: git log --graph --all --decorate | 18:16 |
|
viiitor
| pflanze: It worked, I think | 18:17 |
|
| pflanze: git checkout -b mytemporarybranch 0.1 worked too | 18:17 |
|
pao
| wereHamster: perfect... many thanks :-) | 18:17 |
|
viiitor
| It seems hacky to me, but it's ok :) | 18:18 |
|
| pflanze: thanks | 18:18 |
|
pao
| wereHamster: just one more question... where is HEAD, HEAD~2 ... syntax documented? | 18:18 |
|
wereHamster
| pao: man git-rev-parse | 18:18 |
|
Gitbot
| pao: the git-rev-parse manpage can be found at http://git.or.cz/man/git-rev-parse | 18:18 |
| ← erlehmann left | 18:18 |
|
pao
| wereHamster: thanks a lot! | 18:18 |
| ← NET||abuse left | 18:19 |
|
wereHamster
| viiitor: <viiitor> pflanze: I have a tag named 0.1. I want to tar its contents... - did you take a look at man git-archive? | 18:19 |
|
Gitbot
| viiitor: the git-archive manpage can be found at http://git.or.cz/man/git-archive | 18:19 |
|
viiitor
| wereHamster: I will, but what I really wanted was to see the tag as a branch, so I could checkout into it and see its contents... | 18:20 |
|
wereHamster
| viiitor: git checkout 0.1 should work. Why did you think it didn't? | 18:20 |
| Guest64422 → alanhaggai | 18:20 |
|
viiitor
| duh | 18:21 |
|
| wereHamster: You are right... | 18:21 |
| → FunkeeMonk joined | 18:21 |
|
viiitor
| wereHamster: I read the first lines of the output, which seems like errors | 18:21 |
|
| But I double checked now and you're right. It works ok | 18:21 |
| ← crazychenz left | 18:21 |
|
wereHamster
| if 0.1 is a remote branch, it will detach the head, but if you just want to take a look what's in there that's fine | 18:22 |
|
viiitor
| Thanks | 18:22 |
| ← gordonh left | 18:22 |
| → kpreid_ joined | 18:25 |
|
kampasky_
| From git://gcc.gnu.org/git/gcc c5d33fc..170d361 trunk -> trunk c5d33fc..170d361 trunk -> trunk | 18:25 |
|
| now i wonder how can *this* happen :) | 18:26 |
| → loinclot_ joined | 18:26 |
|
wereHamster
| the duplicated lines | 18:27 |
|
| ? | 18:27 |
|
Ilari
| kampasky_: ls-remote gives anything odd? | 18:27 |
| loinclot_ → loincloth_ | 18:30 |
| ← patmaddox left | 18:30 |
| → drizzd_ joined | 18:30 |
| ← ben_h left | 18:30 |
|
pflanze
| If I'm just looking for a tool to do a "git rebase -i" but with more interactivity, should I look into Guilt or StGIT or TopGit or? | 18:31 |
|
| (Once I'm done, I want the result to be in normal git and drop the patches) | 18:31 |
| → ojacobson joined | 18:31 |
|
pflanze
| (drop the patch files, I mean) | 18:31 |
|
ojacobson
| Google is being singularly unhelpful here: what's the Done Thing for converting a mercurial repo to git these days? | 18:32 |
|
wereHamster
| pflanze: what kind of interactivity do you want? | 18:32 |
|
pflanze
| Reorder patches, squash them, and some of them I'd like to edit. | 18:32 |
| ← cenuij left | 18:33 |
|
pflanze
| One of the hairier things I want to try is split some big file into subfiles retroactively. | 18:33 |
|
wereHamster
| I don't know how much more interactive than rebase -i it can get. Are you looking for a graphical user interface? | 18:33 |
|
tango_
| ojacobson: hg2git or something like that | 18:33 |
|
selckin
| ojacobson: thats why you ask stackoverflow | 18:33 |
|
ojacobson
| stackoverflow is even worse than IRC | 18:33 |
|
selckin
| it's nice ! | 18:33 |
|
pflanze
| wereHamster: the main problem with rebase -i is that it's not really possible to do the rebasing in pieces, | 18:34 |
|
| if I start with the oldest part, after the first rebase the commit ids have changed, | 18:34 |
|
| so I can't save any edits I did in the rebase list. | 18:34 |
|
kampasky_
| Ilari: hm, looks like odd git-svn'd mess, there's both refs/heads/trunk and refs/remotes/trunk | 18:34 |
|
pflanze
| (that is, I can't copy my rebase list to reuse it (maybe with corrections)) | 18:34 |
| → cenuij joined | 18:35 |
| ← Keiya left | 18:35 |
|
cbreak
| if you change an old commit, that commit will be replaced by it's changed version, and everything after it changes | 18:35 |
|
wereHamster
| pflanze: what kind of 'edits in the rebase list'? | 18:35 |
|
cbreak
| that's unavoidable | 18:35 |
|
pflanze
| squash, reordering.. | 18:35 |
|
| I'd like to turn my history into patch files, then reorder them on disk, update them while keeping them ordered. | 18:36 |
|
| But I want to go back in the end to just using plain git. | 18:36 |
|
wereHamster
| pflanze: git format-patch | git am | 18:36 |
|
pflanze
| I've thought about this, | 18:36 |
| ← cenuij left | 18:37 |
|
pflanze
| the problem is that it doesn't renumber things. | 18:37 |
|
| i.e it does not do any kind of updating. | 18:37 |
|
wereHamster
| well, that's up to you, the tool can't possible know how you would like to reorder the patches ... | 18:37 |
|
pflanze
| And there's no easy way to squash either. | 18:37 |
|
cbreak
| what's wrong with rebase? | 18:38 |
|
| you first order the commits in the order you want | 18:38 |
|
| and then you can change them | 18:38 |
|
pflanze
| I've explained above, ok? | 18:38 |
|
cbreak
| git will not change the order anymore, so order is preserved | 18:38 |
| ← corni left | 18:38 |
|
pflanze
| Have you tried git rebase -i on a history of 250 patches? | 18:39 |
|
| I have and I'm looking for something else. | 18:39 |
|
Wolfman2000
| ...oh joy. Somehow broke my ability to push. | 18:40 |
|
| fatal: '=' does not appear to be a git repository <-- What's the right way to fix this? I know the git URL that contains the repo if that helps. | 18:40 |
| edenc_ → edenc | 18:41 |
|
cbreak
| how do you push? | 18:41 |
|
| what's the content of your .git/config file? | 18:41 |
| → jkp_ joined | 18:41 |
|
wereHamster
| Wolfman2000: git config remote.origin.url <url of the remote repo> | 18:41 |
|
Wolfman2000
| cbreak: hold on | 18:42 |
|
| http://gist.github.com/243605 I think I messed this up when I was trying to configure pulling from my own repo | 18:42 |
| → Grahack joined | 18:43 |
|
wereHamster
| Wolfman2000: git config branch.master.remote origin | 18:43 |
|
cbreak
| yes. | 18:43 |
|
| your remote is "=" | 18:43 |
|
| you can replace that with your remote as wereHamster said :) | 18:43 |
|
wereHamster
| I guess you ran 'git config branch.master.remote = something' sometime earlier (notice the stray '=') | 18:43 |
|
Wolfman2000
| wereHamster: think so | 18:44 |
|
| alright, let me try to push what I just did, and then pull and see if I have to adjust more. | 18:44 |
| → thiago_home joined | 18:44 |
|
Wolfman2000
| okay, pushing works | 18:44 |
| ← bentob0x left | 18:44 |
|
brainbox1100
| Can I clone a git repo, zip it up, and send the archive to a WinXP user to use? | 18:45 |
| ← bhierof left | 18:45 |
|
Wolfman2000
| hmm...seem to be missing branch.master.merge, remote.origin.url, and remote.origin.fetch | 18:45 |
|
cbreak
| you can use git archive | 18:45 |
| → lhz joined | 18:45 |
|
cbreak
| well, just zipping a git directory makes it usable from git though | 18:45 |
| ← sh1mmer left | 18:45 |
|
brainbox1100
| cbreak: I'll go read up on it. | 18:45 |
| → sh1mmer joined | 18:46 |
|
wereHamster
| brainbox1100: not recomended (especially if you are on linux/mac - due to crlf) | 18:46 |
| ← drizzd left | 18:46 |
|
cbreak
| windows users can deal with just LF. | 18:46 |
|
Wolfman2000
| wereHamster: branch.master.merge = <remote-ref> What is remote-ref supposed to be here? | 18:46 |
|
wereHamster
| yeah, but he'll have to set autocrlf and rebuild the index... | 18:46 |
|
brainbox1100
| wereHamster: Is the git archive the thing to do, or should I make the clone from a Win32 host then send them that archive? | 18:46 |
|
wereHamster
| Wolfman2000: the remote ref you'd like to merge with when running 'git pull' | 18:47 |
|
| brainbox1100: I would create a bundle and tell them to import it into an existing repo | 18:47 |
|
Wolfman2000
| ...I should understand that, but I don't. | 18:47 |
| → xanonus joined | 18:48 |
| ← jrmuizel left | 18:49 |
|
Wolfman2000
| wereHamster: I think I got it working. I set it to refs/heads/master, and it confirmed that I was up to date. | 18:49 |
| → jrmuizel joined | 18:50 |
| ← smuf left | 18:50 |
| ← viiitor left | 18:51 |
| ← fcuk112_ left | 18:52 |
| → fcuk112 joined | 18:52 |
| ← jkp left | 18:55 |
| → tvoet_ joined | 18:59 |
|
tvoet_
| anyone know how to update the "description" file on a remote git repository? | 18:59 |
|
bremner
| you need shell access, basically | 19:00 |
|
tvoet_
| that's what i figured, but was hoping there was another way | 19:00 |
| → \ask joined | 19:01 |
|
tvoet_
| that kinda sucks though, no? | 19:01 |
| → Pupeno_ joined | 19:01 |
|
Ilari
| tvoet_: There may be other (not in git) tools to do that... | 19:01 |
| ← Pupeno left | 19:01 |
| Pupeno_ → Pupeno | 19:02 |
|
Ilari
| tvoet_: Web interfaces, repository hosting remote admin interfaces, etc... | 19:02 |
|
tvoet_
| ok | 19:02 |
|
| thanks Ilari | 19:03 |
| → jstephenson joined | 19:03 |
| ← alanhaggai left | 19:05 |
| ← Alagar left | 19:06 |
| → bigmack83 joined | 19:06 |
| ← mattions left | 19:07 |
| → yann joined | 19:09 |
| → spaceonline joined | 19:10 |
| → Aku joined | 19:12 |
| → tvw joined | 19:13 |
| ← dyqith left | 19:13 |
| ← sh1mmer left | 19:15 |
| → minaguib_ joined | 19:16 |
| ← tvoet_ left | 19:16 |
| Sigma[Mtp] → Sigma | 19:17 |
| ← yhager left | 19:17 |
| → yhager joined | 19:18 |
| ← pao left | 19:18 |
| → sh1mmer joined | 19:20 |
| → freenode joined | 19:20 |
| freenode → Guest282 | 19:21 |
| → wagle joined | 19:22 |
| ← loincloth_ left | 19:23 |
| → agib joined | 19:24 |
| → ghostman joined | 19:24 |
|
ghostman
| Don´t use gentoo! | 19:24 |
| ← rphillips left | 19:24 |
|
offby1
| Just Say No | 19:25 |
|
| ghostman: any other advice? | 19:25 |
| → exygen joined | 19:25 |
| ← Adlai left | 19:25 |
| ← paltman left | 19:25 |
|
selckin
| don't feed trolls! | 19:26 |
| → Adlai joined | 19:26 |
|
charon
| also, don't troll the feds. | 19:26 |
| ← bigmack83 left | 19:26 |
| ← zonque left | 19:26 |
| ← minaguib left | 19:27 |
| ← \ask left | 19:28 |
| → \ask joined | 19:29 |
| ← tedoc2000 left | 19:29 |
| → rphillips joined | 19:29 |
| ← ihoka left | 19:30 |
| ← icwiener left | 19:32 |
| → patmaddox joined | 19:32 |
| ← ghostman left | 19:34 |
| ← wagle left | 19:34 |
| → wagle joined | 19:35 |
| → Hendu joined | 19:36 |
| → segher joined | 19:38 |
| ← gitte left | 19:39 |
| ← wagle_home left | 19:40 |
| → alanhaggai joined | 19:42 |
| alanhaggai → Guest6767 | 19:43 |
| → loincloth joined | 19:43 |
| Guest6767 → alanhaggai | 19:43 |
| ← mikepence left | 19:45 |
| → remi joined | 19:45 |
| → mikepence joined | 19:45 |
| → robinsmidsrod joined | 19:46 |
| → j416 joined | 19:46 |
| → flazz joined | 19:46 |
| → arrenlex joined | 19:47 |
|
arrenlex
| Hi, all. I have stashed my changes and pulled. I get this after applying: CONFLICT (delete/modify): <filename> deleted in Stashed changes and modified in Updated upstream. Version Updated upstream of <filename> left in tree. | 19:47 |
|
| ... nevermind, sorry. xD | 19:48 |
| ← aresnick left | 19:50 |
| ← unreal left | 19:50 |
| → __iron joined | 19:50 |
| → unreal joined | 19:52 |
|
p_masho
| newbie question. I;ve got a .gitignore in the root of my project. However can I also put a .gitignore in sub directories eg one I want to add ignore *.pdf.. | 19:53 |
| ← Hendu left | 19:53 |
|
p_masho
| ie I want a "main .gitignore, but one in a subdirectory also that excludes stuff in that particular directory (sorry not good at explaining) | 19:54 |
|
selckin
| p_masho: man gitignore | 19:55 |
|
Gitbot
| p_masho: the gitignore manpage can be found at http://git.or.cz/man/gitignore | 19:55 |
| ← lhz left | 19:55 |
| → jelmer joined | 19:55 |
| → icwiener joined | 19:55 |
|
j416
| p_masho: yes you can. | 19:55 |
|
| you can also specify everything in your root .gitignore file. | 19:55 |
|
| man page explains all. | 19:56 |
| ← kpreid_ left | 19:56 |
| ← arrenlex left | 19:58 |
| ← mikepence left | 19:58 |
| → [1]intripoon joined | 19:59 |
| → Twisted_Mentat joined | 19:59 |
| ← Strogg left | 20:02 |
| ← hebz0rl left | 20:03 |
| → Strogg joined | 20:03 |
| ← wagle left | 20:06 |
| ← r11t left | 20:07 |
| → pantsman joined | 20:08 |
| → wagle joined | 20:08 |
| ← loincloth left | 20:08 |
| → malumalu joined | 20:08 |
| → galderz joined | 20:10 |
| ← flazz left | 20:11 |
| ← CarlFK left | 20:11 |
| → bauruine joined | 20:16 |
| ← intripoon left | 20:16 |
| [1]intripoon → intripoon | 20:16 |
| ← \ask left | 20:18 |
| ← zoniq_ left | 20:20 |
| → eletuchy joined | 20:23 |
| → bibinou joined | 20:24 |
| ← bibinou left | 20:24 |
| → ryoma joined | 20:25 |
| → bibinou joined | 20:25 |
| ← bibinou left | 20:26 |
| ← RaceCondition left | 20:27 |
| → bibinou joined | 20:27 |
| → CarlFK joined | 20:27 |
| → kennethlove joined | 20:30 |
| → luke`_ joined | 20:30 |
| → luke`__ joined | 20:31 |
| → RaceCondition joined | 20:34 |
| ← RaceCondition left | 20:34 |
| → mama joined | 20:34 |
|
mama
| Is there a cmd line tool that would present commit log similarly to gitk? | 20:35 |
|
charon
| mama: git log --decorate --graph --oneline | 20:35 |
|
mama
| show-branch almost does it, but get's confusing on merges. | 20:35 |
|
Thell
| mama: try ... yeah that | 20:35 |
|
charon
| mama: if your git is too old for --oneline, use --pretty=oneline --abbrev-commit | 20:35 |
|
mama
| charon, no, seems to be new enough. | 20:36 |
|
| charon, Thell, also, thanks! Exactly what I needed. | 20:36 |
| → ereslibre joined | 20:37 |
| ← luke` left | 20:38 |
| luke`__ → luke` | 20:38 |
|
| j416 wonders why ubuntu still uses 1.6.3.3 :/ | 20:38 |
|
j416
| hey... I didn't install git.. it was pre-installed o_O | 20:39 |
|
| how odd. hah | 20:39 |
|
mama
| 1.6.6 on that box, but I have no idea what distribution that is. | 20:39 |
|
charon
| considering that there is only a 1.6.6-rc0, that seems odd :) | 20:39 |
| ← luke`_ left | 20:39 |
| ← sergiodj left | 20:40 |
|
mama
| it actually said 1.6.6.rc0.15.g4fa80.dirty but I didn't know what's relevant. | 20:40 |
|
charon
| that means it's built from 4fa80 which is 15 commits away from the tag 1.6.6-rc0, and had uncommitted changes too | 20:41 |
|
mama
| g stands for git ? | 20:42 |
|
charon
| yes | 20:43 |
| → omerj joined | 20:44 |
| ← alanhaggai left | 20:45 |
| → Fernandos joined | 20:49 |
|
Fernandos
| hi | 20:49 |
| → GSaldana joined | 20:50 |
| ← GSaldana left | 20:50 |
|
Fernandos
| I'm project-leader in a student team and we're using Aptana and dropbox+git. We share our repository with dropbox and use git for version control. My question is: Is it the right behaviour when I create a project in the dropbox and clone that to my local machine edit it there and push changes that are approved back to the dropbox? | 20:51 |
| → tedoc2000 joined | 20:51 |
| ← patrikf left | 20:55 |
| ← kennethlove left | 20:58 |
| ← maattd left | 20:58 |
| → RaceCondition joined | 20:59 |
| → maattd joined | 21:00 |
|
bremner
| normally git repos are pushed to via ssh, and in weird cases by webdav | 21:00 |
|
| Fernandos: when you say push, do you mean the "git push" command? | 21:01 |
| → Araneidae joined | 21:01 |
|
Fissure
| Fernandos: i've had a group member lose objects when his repository was inside a dropbox folder before | 21:02 |
| → Hendu joined | 21:02 |
|
Araneidae
| Trying to understand merging, and I've got an odd problem: after a failed merge a file reports "needs merge" | 21:02 |
|
Fissure
| can't be sure it was dropbox's fault, but it was a pain to fix and we lost a nice series of commits and had to instead put all his changes in one big one | 21:02 |
|
Araneidae
| ... unfortunately the file doesn't exist! | 21:02 |
|
Fissure
| Araneidae: if the file was deleted locally and changed on the remote, i think it leaves it removed in the worktree | 21:03 |
|
Araneidae
| Well, that's odd. I think I've managed to `git rm` it. | 21:03 |
|
jast
| after git rm the file shouldn't show up as unmerged anymore | 21:04 |
|
Araneidae
| Although it complained: fatal: pathspec 'extras/busybox/busybox-default-1.12.3.config' did not match any files -- but it's gone anyway! | 21:04 |
|
jast
| hmm, so it was already gone for some reason | 21:04 |
| ← xenosoz2 left | 21:04 |
|
jast
| what Fissure said makes sense | 21:04 |
|
| afr | 21:04 |
|
| whoops | 21:04 |
|
| Araneidae: try with git rm --cached | 21:04 |
|
Fernandos
| bremner: I mean commit not push | 21:05 |
|
| bremner: I still don't understand the difference though. | 21:05 |
|
j416
| Fernandos: I think you mean push | 21:05 |
|
Araneidae
| Well, it seems to be gone now. But I still have this complaint: "Your branch and origin/extras have diverged and have 17 and 4 different commits respectively" | 21:06 |
|
| bremner apparently doesn't know enough about drop box to contribute further, but I have to say, git over networked file systems is generally bad news | 21:06 |
| → xenosoz2 joined | 21:06 |
|
j416
| you can push using a regular file system as well | 21:06 |
|
jast
| Araneidae: well, have you finished the merge yet, using git commit? | 21:06 |
|
Araneidae
| Ahh, no. The last commit I don't want to do just now. | 21:06 |
|
jast
| Araneidae: that just says that there are commits on both sides that don't exist on the other side, and a merge and a push or something like that can take care of that | 21:06 |
|
Araneidae
| THink maybe I'll stash it and try commiting what I've got | 21:06 |
|
Fernandos
| bremner: dropbox saves files locally and syncs it. so I don't think there could be a problem in lifetime. | 21:06 |
| ← Darkas_ left | 21:06 |
| ← Grahack left | 21:06 |
|
jast
| well, if you're in the middle of a merge that will record a merge commit | 21:07 |
| → blakemizerany joined | 21:07 |
|
Araneidae
| Haha. Refuses to stash :( | 21:07 |
| → Darkas joined | 21:07 |
|
jast
| and you really don't want to commit a merge commit that has part of the merge missing | 21:07 |
|
Fernandos
| j416: where is the difference between git push and git commit? I've used svn for years.. so I usually do commits and that's all | 21:07 |
| ← minaguib_ left | 21:07 |
|
jast
| Fernandos: git is decentralized. commit creates a local commit; push transfers it to a remote repository | 21:07 |
|
Araneidae
| Well, the bit that's gone horribly wrong is a document that got updated in two different places. | 21:07 |
|
Fernandos
| I guess push is used to push change to another repo right?? | 21:07 |
|
| ah :D | 21:07 |
|
| yes | 21:07 |
|
j416
| Fernandos: commit stores a change in the repo. push sends your repo to a remote. | 21:08 |
|
Araneidae
| The remote has to win, but I don't want to lose what I was doing before just yet | 21:08 |
|
Fernandos
| jast: thanks for clarification | 21:08 |
|
| and j416 thank you too | 21:08 |
|
jast
| Araneidae: well, your local commits won't disappear either way. it's a merge, after all. so if you fix the conflicted file and add/commit that, the merge should contain both local and remote changes. | 21:08 |
| ← cilly left | 21:08 |
|
Araneidae
| So, I think what I want to do is: revert my conflicting file to the version before I tried to merge, but leave the commit alone | 21:08 |
|
| Basically I can't *fix* it right now | 21:09 |
|
j416
| Araneidae: read the git-merge man page | 21:10 |
|
| it will tell you all about it | 21:10 |
|
| about fixing conflicts, that is. | 21:10 |
|
Araneidae
| I'll try | 21:10 |
|
Fernandos
| look: my setup is like following My dropbox is saved on my safe external hd. which syncs to the dropbox (where I've also version control too). then I clone that repo to my computer's home directory and told all my team members to do that too. They only commit if things work. I can see immediately what they do, because they work on servers each. Now when the declare their work as ok. I allow them to push things to the dropbox | 21:10 |
|
| I think that is kinda xp nature of project management | 21:11 |
|
Araneidae
| But I don't understand how to specify the right version! | 21:11 |
|
| Araneidae still doesn't grok how the two parents of a merge are addressed | 21:11 |
|
j416
| Fernandos: as long as the syncing works safely (that is, no one can pull from a repo that is only half-updated), I see no problem in your workflow | 21:12 |
|
Fernandos
| Araneidae: everybody is tied to a sub-project, that mean nobody is crossing | 21:12 |
|
j416
| except perhaps for the "only commit if things work" thing | 21:12 |
|
| you can commit locally and then squash commits if needed | 21:12 |
| ← CarlFK left | 21:12 |
|
j416
| better than to commit seldom and risk losing changes :) | 21:12 |
|
Araneidae
| Basically I did some local changes, then tried to merge with upstream, and I'm confused. | 21:13 |
|
Fernandos
| j416: thank you very much! I really appreciate hearing that my workflow is valid from you :) | 21:13 |
|
Araneidae
| I can manually go through the offending file, removing all the <<<< >>>> lines, but surely there's a quicker way to simply checkout the version I had before I tried to merge? But leave the original remote version untouched... | 21:13 |
| → godsflaw joined | 21:14 |
|
Fernandos
| j416: it is hard to explain to my prof.. I told him it's centrally in dropbox but decentrally on every team members home dir.. which is a paradoxon he didn't understand | 21:14 |
|
j416
| Fernandos: you can also consider having a separate branch for each user | 21:14 |
|
| and then you are in charge of merging them together if you think they are ok | 21:14 |
|
| hehe | 21:14 |
| ← mama left | 21:14 |
|
Fernandos
| j416: yes I've though about that.. but then there is the problem that they'll feel more free and do more adventures in the "land of code" which might stretch our time-line too much | 21:15 |
|
j416
| Fernandos: you have a publicly accessible repository on the dropbox, and everyone has their copy, which they work on, and then they update the public repo over time. | 21:15 |
|
Fernandos
| j416: that's what branches are for I think.. for experimenting | 21:15 |
|
Fissure
| Fernandos: if people share the repository on dropbox, pushes won't be atomic | 21:15 |
|
| which is bad | 21:15 |
|
j416
| Maybe he understands if you explain it like that? | 21:15 |
| ← lucsky left | 21:15 |
| → CarlFK joined | 21:15 |
|
j416
| Fissure: could you elaborate? | 21:16 |
| → loincloth joined | 21:16 |
|
charon
| Araneidae: are you still in the middle of the merge? do you want to declare the 'ours' side the merge result, or merely look at it? | 21:16 |
|
Fissure
| Araneidae: if you're not ready to merge, then you should just abort the merge and try again later when you are ready | 21:16 |
|
Fernandos
| Fissure: what you mean by pushed won't be atomic? Yes it's dropbox share, everyone has the same repo in the dropbox. | 21:16 |
|
Araneidae
| It's just one file I need to put to one side | 21:16 |
|
| The rest of the merge is fine (and will probably vanish...) | 21:17 |
|
Fissure
| j416: as i understand it, dropbox watches a directory and periodically syncs changes to the central server, which then propagates them to the other clients | 21:17 |
|
Fernandos
| yes | 21:17 |
|
j416
| Fissure: so it seems | 21:17 |
| ← malumalu left | 21:17 |
|
Fissure
| since the pushes will be local as far as the kernel is concerned, and then synced to the server, you could have both people think a push succeeded and the server will flip out when it sees both people have updated the same file (e.g. refs/heads/master) | 21:18 |
|
j416
| it sounds like it could be dangerous if two people push at the same time | 21:18 |
|
| but I don't know how dropbox works. | 21:18 |
|
| (that is, technically) | 21:18 |
|
| yeah.. | 21:18 |
|
Araneidae
| Right now I just want to *unstage* the file from the current merge. How can I do that? | 21:18 |
|
Fernandos
| j416 and Fissure dropbox has a conflict management | 21:19 |
|
Fissure
| Araneidae: merges don't work like that; you don't want to revert part of the changes during the merge | 21:19 |
|
j416
| Fernandos: how does that work? | 21:19 |
|
Fernandos
| two files don't collide that easily | 21:19 |
| → sergiodj joined | 21:19 |
|
Araneidae
| Fissure, seriously? But then how can I resolve the merge conflict if I can't say: *this* file stays as it was? | 21:19 |
|
jast
| Araneidae: so, in other words, you want that file to be as it was locally, even after the merge? | 21:20 |
|
Fissure
| Araneidae: the merge should be the sum of the changes on both branches; you should wait until both are ready before trying to combine them | 21:20 |
|
Araneidae
| Of course, I can copy it out of tree and then do a git show to overwrite it and then do a git add and then do the resulting empty commit -- bit it doesn't seem right. | 21:20 |
|
| Fissure, but then the merge will never happen | 21:20 |
|
jast
| git checkout --ours thefile | 21:21 |
|
Araneidae
| --ours ! Aha, sounds promising! | 21:21 |
| → sis joined | 21:21 |
|
Fernandos
| Fissure: Even dropbox isn't totally silent, in a conflict such as this, their server keeps revisions (so you can pick and choose the correct one, making it not silent). | 21:22 |
|
Araneidae
| Ouch. I need to *unstage* an rm! | 21:22 |
| → aresnick joined | 21:22 |
|
j416
| Fernandos: cool | 21:22 |
|
wereHamster
| Araneidae: git status | 21:22 |
|
Fissure
| Fernandos: that still sounds like a pain to deal with | 21:22 |
|
j416
| is dropbox free? | 21:22 |
|
Fernandos
| Fissure: I haven't had any conflict yet and hope it stays so. | 21:22 |
|
| j416 checks | 21:22 |
|
j416
| free up to 2 GB? neat | 21:23 |
|
Araneidae
| `git status` tells me that I am going to delete the file on my next commit (*not* quite what I'd planned) | 21:23 |
|
j416
| I'll use that for backup.. | 21:23 |
|
Fernandos
| Fissure: I guess you're talking about binary files and conflicts. But Silent Sync (in a automated no-user-interaction way) has , is, and always be a dream (at least for the foreseeable future). | 21:23 |
|
| ----- | 21:23 |
|
Araneidae
| I need to rm the rm -- how to do that? | 21:23 |
|
wereHamster
| Araneidae: did you run 'git status'? It tells you how to unstage the rm | 21:23 |
|
Fernandos
| j416 you earn more gb when you tell others ;) | 21:23 |
|
| my friend has 4gb free | 21:23 |
|
j416
| really | 21:23 |
|
| Fernandos: want to earn? | 21:24 |
|
| hehe | 21:24 |
|
Fernandos
| yep :) | 21:24 |
|
Araneidae
| wereHamster, thanks | 21:24 |
|
j416
| then hurry up | 21:24 |
|
| i'm downloading that thing now | 21:24 |
|
Fernandos
| j416: click this and I'll get a little more space https://www.dropbox.com/referrals/NTMwNTE5MTA5 | 21:24 |
| → gasbag joined | 21:24 |
|
j416
| Fernandos: will that make my dropbox available to you or anything? | 21:25 |
|
| hmm | 21:25 |
|
| suspicious :P | 21:25 |
|
Fernandos
| j416: nooo! it's just your private dropbox and NOT associated to mine in any way! | 21:25 |
|
| I find that solution with dropbox quite decent. Yes a network share would do that same, but there wouldn't be conflict management and automatic backups. | 21:26 |
|
| though this could be set up..(not easily to be honest) | 21:26 |
|
j416
| ah... | 21:27 |
|
| i need to create my account using that link huh? | 21:27 |
|
Fernandos
| j416: yes | 21:27 |
|
j416
| arf | 21:27 |
|
| I did that through the installer thing | 21:27 |
|
| sorry :/ | 21:27 |
|
Fernandos
| np | 21:28 |
|
j416
| you could create a fake account though | 21:28 |
|
| lol | 21:28 |
|
Fernandos
| 2.25GB is ok.. | 21:28 |
|
j416
| yeah... | 21:28 |
|
| it's more than ok | 21:28 |
|
bremner
| conflict resolution? on a git repo? that sounds catastrophic. | 21:28 |
|
j416
| it's a great off-site backup solution | 21:28 |
|
bremner
| s/catastrophic/potentially catastrophic/ | 21:28 |
|
Fernandos
| bremner: dropbox has nothing to do with git. It resolves physicall conflicts only | 21:28 |
|
Fissure
| bremner: my thoughts exactly | 21:29 |
|
bremner
| physical conflicts? | 21:29 |
| → v0n joined | 21:29 |
| → tfarina joined | 21:29 |
|
Fissure
| though fortunately, the objects directory shouldn't get conflicts | 21:29 |
| ← Stravy left | 21:29 |
| ← tg left | 21:29 |
|
Fernandos
| bremner: if a file collides with another file. when A and B create the same file at the same time.. | 21:29 |
|
| or comit or whatever then there is that conflict management | 21:30 |
|
Fissure
| just refs/packed-refs/"info/refs"/"objects/info/*" ... this is a long list :) | 21:30 |
|
bremner
| yes, and that you don't think that is a problem suggests you are in over your head | 21:30 |
| → tg joined | 21:30 |
|
v0n
| I'm using Gitolite and try to give read access to the public to a repo. What's the difference between deamon and gitweb user ? | 21:30 |
| ← tg left | 21:30 |
|
bremner
| sorry if that sounds harsh | 21:30 |
|
| where is GItte when we need someone grumpy but smart :) | 21:31 |
|
Fernandos
| bremner: ok. I accept, it's your opinion. But if you know better I'm open for advancement. | 21:31 |
| ← Araneidae left | 21:31 |
| ← tango_ left | 21:31 |
|
Fissure
| Fernandos: since you seem to be in charge of integration for the most part anyway, just give everyone their own repo on the dropbox | 21:32 |
| → tango_ joined | 21:32 |
|
Fissure
| if it's only ever updated from one place, you can't get conflicts | 21:32 |
| Hawk416 → NetHawk | 21:32 |
|
Fernandos
| Fissure: indeed | 21:32 |
| ← ehabkost left | 21:32 |
|
bremner
| Fernandos: I assume you have a good reason not to use github or some similar service? | 21:32 |
| ← tango_ left | 21:32 |
|
Fissure
| though i might be better to just throw a few bucks a month at github and not have to do this yourself | 21:33 |
| → tango_ joined | 21:33 |
|
Fissure
| or your own server; gitosis/gitolite isn't too hard to set up and git doesn't require much bandwidth | 21:33 |
| m-takagi → m-takagi_ | 21:33 |
|
Fernandos
| bremner: Yes. github releases your files to the public. Which is not our intention it's universitiy project. A little privacy isn't wrong | 21:33 |
| ← Darkas left | 21:33 |
| ← ankit9 left | 21:33 |
|
bremner
| Fernandos: doesn't your university have servers you can ssh into? | 21:34 |
| ← gasbag left | 21:34 |
| ← davey left | 21:34 |
|
wereHamster
| v0n: daemon is git-daemon, gitweb is a web interface | 21:34 |
| → ankit9 joined | 21:34 |
|
Fernandos
| bremner: yes, but we've no rights to install gitosis or any other application | 21:34 |
| → Stravy joined | 21:34 |
|
Fernandos
| and git is not preinstalled | 21:34 |
|
bremner
| well, compiling git is easy. maybe sitaram can discuss if root is needed for installing gitolite | 21:35 |
| → tg joined | 21:35 |
|
wereHamster
| v0n: if you want people to be able to fetch the commits, enable daemon access. If you want to allow them to browse the repository through a web interface, enable gitweb access. Keep in mind that cloning/fetching through the web interface is not possible | 21:35 |
|
Fernandos
| I would setup a server with gitosis if we had one. But for the practical environment I'd like to setup, dropbox is a good to go. | 21:35 |
|
charon
| bremner: it's not... but sadly in some setups ssh pubkey login is not possible (at least at my university it's not) | 21:35 |
|
Fernandos
| and all in all the holy principle in the team is KISS - Keep It Simple Stupid. | 21:36 |
|
v0n
| wereHamster, thanks ;) | 21:36 |
|
wereHamster
| charon: is pubkey auth. disabled on your university's servers? | 21:36 |
|
bremner
| charon: your university stupider than mine even, thanks for cheering me up :) | 21:37 |
|
charon
| wereHamster: long story but basically they mount your slice of the NAS too late for sshd to (reliably; it might be mounted already) find your authorized_keys | 21:37 |
|
j416
| Fernandos: your setup is very interesting | 21:37 |
|
Fernandos
| I found that setting up gitosis explaining ssh keys and such is just too much work to explain. And my experience is that user's don't accept hassle | 21:37 |
| ← mbroeker left | 21:38 |
|
charon
| part of that brain damage comes from running a windows-oriented NAS. when they switched to that from AFS, it didn't work *at all* on *nix for a few months, then only intermittently for another half year or so | 21:38 |
| ← loincloth left | 21:38 |
|
v0n
| wereHamster, I just have to touch gitolite-admin/git-daemon-export-ok then add/commit/push to enable git deamon ? | 21:38 |
|
wereHamster
| charon: that sucks. I thought home directories had to be mounted before you can do anything on a system.. | 21:38 |
|
charon
| as you can probably guess by now, i'm very happy to have a personal laptop, and the ID (IT services) have a rather horrible reputation around here | 21:38 |
|
| wereHamster: sure, before _you_ can do anything, but not before the LDAP PAM module can verify your login | 21:39 |
|
j416
| Fernandos: seems a few people do use this kind of setup (bare repo on the dropbox) | 21:39 |
|
wereHamster
| v0n: did you read http://github.com/sitaramc/gitolite/blob/master/doc/2-admin.mkd ? | 21:40 |
|
j416
| although I am worried about the possible conflicts when pushing, it seems it can be an easy way to share things | 21:40 |
| → Geralt joined | 21:40 |
|
j416
| Fernandos: however, perhaps even better, how about you pull from their dropboxes? | 21:40 |
|
Fernandos
| Fissure: If you really want versioned automated conflict-managemant you need money. And a Commercial application that syncs as dropbox does but more intelligently in the manner you need. If you have the budget ok. Indeed you could also setup gitosis.. but then things wouldn't be so easy as with dropbox. | 21:40 |
| ← godsflaw left | 21:40 |
|
Fernandos
| SugarSync in example.. I don't know if conflict management is automated but it's versioned. | 21:41 |
|
Fissure
| Fernandos: yes, you need money | 21:41 |
| r0bby_ → r0bby | 21:41 |
|
Fissure
| but possibly only "get a burger at chili's" money | 21:42 |
| ← tedoc2000 left | 21:42 |
|
Fissure
| not even "new hard drive" money | 21:42 |
|
Fernandos
| Fissure: one argument only. Student. | 21:42 |
| → godsflaw joined | 21:42 |
|
v0n
| wereHamster, yes, "for daemon, create the file git-daemon-export-ok in the repository" | 21:42 |
|
| Fernandos "we were you and needed the money" | 21:42 |
|
Fissure
| is this for *research*, or a project for a class? | 21:43 |
|
bremner
| Fernandos: if you won't invest money, and you won't invest time, I guess that narrows your options quite a lot. | 21:43 |
|
wereHamster
| v0n: I mean the whole text (especially the sentence just before what you posted! | 21:44 |
|
bremner
| Fernandos: a foolproof, and pretty easy thing to do is mail patches | 21:44 |
|
Fernandos
| bremner: I never said I don't invest time. But time is something that I might have as project-leader but I want my team to code efficiently. nothing else | 21:44 |
|
| Both, we have a 8crp project to do for our university. | 21:44 |
|
| bremner: I've heard of that | 21:45 |
|
bremner
| email? yeah for old people, I know :) | 21:45 |
|
Fernandos
| hehe | 21:45 |
|
| we use OpenGoo as WebOffice and yes you might be right j416 a private repo for everyone might be the solution. The shared repository could be used to merge only right? | 21:46 |
|
Fissure
| if you're the integrator, then shared repo == your repo | 21:47 |
|
Fernandos
| j416: I'm not sure how you would like to solve that with private repos in dropbox. Isn't at least one shared repo needed? | 21:47 |
|
j416
| Fernandos: the shared repo would be writable by one person only, to prevent any conflicts | 21:47 |
|
| Fernandos: every user shares a copy of their repo | 21:47 |
|
Fernandos
| Ah! I see | 21:48 |
|
j416
| they may have that repo set up as a bare repo, or they may have their entire repo in the dropbox, but I suspect pushing to a bare repo in it would be faster | 21:48 |
|
| (less network traffice) | 21:48 |
|
| s/traffice/traffic/ | 21:48 |
| → Bass10 joined | 21:48 |
|
j416
| and as you have access to everyone's shared repos | 21:48 |
|
| you can easily pull from them, and push to your shared repo | 21:48 |
|
| (and everyone else would do the same) | 21:49 |
|
| pull from your repo, do their changes, and push to theirs | 21:49 |
|
| then you'd have to define who has the "main" repo that everyone has to keep up-to-date with | 21:49 |
| ← Bass10 left | 21:49 |
|
Fernandos
| j416: But this is xtreme programming. Every person in the team works on a subproject or specific area whereas the others work on other areas. Thus resulting in more effciency, but probably less quality because the code reviews aren't so fast as they would be in 10men on one project. | 21:49 |
| → dtrott joined | 21:50 |
| → Bass10 joined | 21:50 |
|
j416
| Fernandos: sure, even easier to merge then :) | 21:51 |
|
| you must integrate everyone's work at some point, right? | 21:51 |
|
Fernandos
| j416: yes | 21:52 |
|
j416
| the one who integrates everyone's work, is the one everyone should pull from every now and then | 21:52 |
|
Fernandos
| j416: they already do so. I've shared my repo | 21:52 |
|
j416
| you want them to base their new work on top of the same shared code base, right | 21:52 |
|
| ok ) | 21:52 |
|
| :) | 21:52 |
|
| then what is the problem? | 21:52 |
|
dtrott
| I am working with maven but I donWhats the difference between these urls: git://github.com/dtrott/release-test.git and [email@hidden.address] ? | 21:53 |
|
| ... don't understart what ... | 21:53 |
|
j416
| dtrott: one is ssh, the other is git | 21:53 |
|
| use the ssh one for pushing, use git for sharing | 21:53 |
|
Fernandos
| j416: I've a local backup of it where I work. A clone. That was my initial question. I didn't know if that was right. But this discussion was very interesting and claryfiying :) Thank you all | 21:53 |
|
j416
| (the latter is the ssh one) | 21:53 |
|
dtrott
| K thanks | 21:53 |
|
j416
| dtrott: for the ssh one you need your login | 21:54 |
|
| for the other one, anyone can access it | 21:54 |
|
| Fernandos: indeed. thank you for reminding me of dropbox :) | 21:54 |
|
Fernandos
| j416: no problem :) | 21:54 |
|
dtrott
| Appologies for going off topic so the first on is the "connection" in maven terms and the second on is the "developerConnection" | 21:55 |
|
Fernandos
| j416: you couldn't do that easier without letting one computer online all the time, which is a waste of energy imho | 21:55 |
|
j416
| dtrott: I don't know what maven is | 21:55 |
|
| sorry | 21:55 |
|
dtrott
| K, np thanks for you help. | 21:55 |
|
j416
| dtrott: the one with the @ in is your ssh url. | 21:55 |
|
| use that for publishing your stuff. | 21:56 |
|
| give the other one to people who wish to have a copy of your work. | 21:56 |
| → haider joined | 21:56 |
| ← Adlai left | 21:56 |
| → Adlai joined | 21:57 |
|
j416
| Fernandos: indeed, seems great | 21:57 |
|
| if your project is not private though, check out github. | 21:57 |
| ← ludde left | 21:57 |
|
Fernandos
| j416: we registered at github initially but then dismissed it the favor of dropbox | 21:58 |
| ← patmaddox left | 21:58 |
|
j416
| because of privacy issues? | 21:58 |
|
| and.. keep in mind that even though dropbox may be more or less private, you never know when something will leak.. :) | 21:58 |
| ← Stravy left | 21:58 |
| → r11t joined | 21:58 |
|
j416
| be sure to encrypt sensitive stuff | 21:58 |
| → Stravy joined | 21:58 |
|
v0n
| wereHamster, oups, I have to install git deamon, then add touch a git-daemon-export-ok file | 21:58 |
| ← Stravy left | 21:59 |
| → Sonderblade joined | 21:59 |
| ← DavidKlein left | 22:00 |
| → Stravy joined | 22:01 |
|
wereHamster
| v0n: about 50% in your sentence is true | 22:02 |
|
| I don't think sitaram's documentation is that hard to understand.. | 22:02 |
| ← thiago_home left | 22:02 |
| ← Stravy left | 22:04 |
|
v0n
| wereHamster, the problem is that english is not my mother tongue, and I think I don't understand very well the meaning of this sentence "that is a one-time setup you must do separately. All this does is: for daemon, create the file git-daemon-export-ok in the repository" | 22:05 |
|
| :s | 22:05 |
| → Stravy joined | 22:05 |
| ← aresnick left | 22:05 |
|
wereHamster
| v0n: and just before that: Note that gitolite does not install or configure gitweb/daemon -- that is a one-time setup you must do separately. All this (=gitolite) does is: | 22:06 |
| → decto joined | 22:07 |
| → davido joined | 22:08 |
|
v0n
| so I just have to install git deamon >< thanks | 22:09 |
| → loincloth joined | 22:09 |
| ← shtylman left | 22:10 |
| → shtylman joined | 22:11 |
| ← shtylman left | 22:11 |
| ← ojacobson left | 22:12 |
| → [1]intripoon joined | 22:12 |
| → shtylman joined | 22:13 |
| ← fcuk112 left | 22:13 |
| ← ankit9 left | 22:15 |
| → ankit9 joined | 22:15 |
| ← ph^ left | 22:15 |
| → djszapi joined | 22:15 |
|
djszapi
| Hello! | 22:16 |
|
| Can someone show me a good describtion to use postfix for git-send-email ? | 22:17 |
| ← til left | 22:17 |
| → irc2samus joined | 22:18 |
| ← loincloth left | 22:18 |
|
wereHamster
| djszapi: git-send-email isn't any different than any other mua | 22:19 |
| ← tbf left | 22:19 |
|
djszapi
| not sure I understand this post. | 22:19 |
| ← Stravy left | 22:19 |
|
j416
| djszapi: if your postfix setup is working properly, git will be able to use it to send e-mail | 22:20 |
|
wereHamster
| there is nothing special in git-send-email that would warrant a special configuration in postfix | 22:20 |
|
| if you are having trouble with postfix, #postfix would be a better place to ask questions | 22:21 |
| ← Fernandos left | 22:22 |
| → DrNick joined | 22:23 |
| → Stravy joined | 22:23 |
| ← Stravy left | 22:24 |
| ← kumbayo left | 22:24 |
| → Stravy joined | 22:25 |
| ← Stravy left | 22:25 |
| → flazz joined | 22:25 |
| ← drry left | 22:26 |
| → Stravy joined | 22:26 |
| → aresnick joined | 22:26 |
| ← Ryback_ left | 22:26 |
| ← sergiodj left | 22:27 |
| ← hyperair left | 22:27 |
| ← tvw left | 22:29 |
| ← intripoon left | 22:30 |
| ← decto left | 22:31 |
| ← bauruine left | 22:32 |
| ← [1]intripoon left | 22:32 |
| → bauruine joined | 22:32 |
| ← Stravy left | 22:34 |
| → decto joined | 22:34 |
| ← godsflaw left | 22:35 |
| → Stravy joined | 22:36 |
|
v0n
| wereHamster, excuse me, I wrote deamon instead of daemon... | 22:38 |
|
| hum, it still asks for git user's password... :s | 22:38 |
|
charon
| djszapi: note that git-send-email supports smtp (over tls/ssl too) so unless you already have a postfix setup running locally, you may just want to point it at your usual outgoing server instead. | 22:38 |
| → Keiya joined | 22:39 |
| ← icwiener left | 22:40 |
| ← Stravy left | 22:40 |
| → Stravy joined | 22:41 |
| ← ixti left | 22:41 |
| ← decto left | 22:41 |
| ← Stravy left | 22:41 |
|
wereHamster
| v0n: you have to use a different url to clone via the daemon | 22:41 |
|
| git@host:path/to/repo uses ssh and requires a password/key. The anonymous URLs have the for git://host/path/to/repo | 22:42 |
|
| s/for/form/ | 22:42 |
| → Stravy joined | 22:42 |
| ← xanonus left | 22:42 |
| ← Stravy left | 22:44 |
| ← jelmer left | 22:44 |
|
djszapi
| charon: it works. | 22:44 |
|
| I could figure out, but thanks. | 22:44 |
|
v0n
| wereHamster, with gitolite too ? | 22:44 |
| ← djszapi left | 22:44 |
| ← vbgunz left | 22:44 |
|
wereHamster
| v0n: yeah | 22:44 |
| ← Hendu left | 22:45 |
| → Stravy joined | 22:46 |
| ← bambule left | 22:50 |
|
v0n
| wereHamster, path/to/repo should be the full path ? i.e. /home/git/repo.git or juste repo | 22:50 |
|
wereHamster
| v0n: when using the ssh urls then no, and when using git-daeon it depends on how cyou configure the daemon | 22:50 |
| → jelmer joined | 22:51 |
|
v0n
| wereHamster, I just install git-daemon-run, add R = daemon to my repo, then push the config | 22:51 |
| → schmukkk joined | 22:52 |
|
wereHamster
| did you configure git daemon properly? | 22:52 |
| ← Stravy left | 22:52 |
|
v0n
| wereHamster, I just said what I did ^^ | 22:52 |
|
| I didn't touch daemon config for the moment | 22:53 |
|
charon
| v0n: debian? | 22:53 |
|
v0n
| charon, yes, ubuntu. I run aptitude install git-daemon-run | 22:53 |
| → agenteo joined | 22:53 |
|
charon
| i manually had to point the daemon's repo directory to ~gitosis/repositories on debian. maybe try something similar | 22:54 |
|
wereHamster
| obviously, git daemon can't magically know that you use gitolite and where the repositories are... so you need to configure the daemon | 22:55 |
| → Stravy joined | 22:55 |
|
v0n
| wereHamster, ok | 22:56 |
|
| charon, which file do you edit ? | 22:56 |
|
wereHamster
| I had to edit /etc/sv/git-daemon/run | 22:57 |
| ← Sigma left | 22:57 |
| ← ikrabbe left | 22:57 |
|
charon
| v0n: what he said. if you want to learn how to fish: stare at 'dpkg -L git-daemon-run' and guess | 22:58 |
| ← jrmuizel left | 22:58 |
|
v0n
| charon, nice command :) | 22:59 |
| ← aresnick left | 22:59 |
| ← omerj left | 23:00 |
| → omerj joined | 23:00 |
| ← botanicus left | 23:01 |
| ← AAA_awright left | 23:02 |
| → AAA_awright joined | 23:02 |
| → loincloth joined | 23:03 |
| → aresnick joined | 23:04 |
|
v0n
| I don't really understand the [directory...] argument of git-daemon command | 23:05 |
|
| in /etc/sv/git-daemon/run I change --base-path to /home/git/repositories, but don't know what to put as [directory...] argument | 23:07 |
|
wereHamster
| the same | 23:09 |
| ← Sho_ left | 23:10 |
|
v0n
| I just have to restart git-daemon service then ? | 23:11 |
| → Sho_ joined | 23:11 |
| → onigiri joined | 23:12 |
|
v0n
| that's what I did and I still can't clone my repo | 23:12 |
| ← tfarina left | 23:14 |
|
wereHamster
| what's the error? | 23:14 |
| ← blakemizerany left | 23:14 |
|
cehteh
| whats the easiest way to check from a script if a file is versioned or not? | 23:14 |
| → tfarina joined | 23:15 |
|
wereHamster
| cehteh: git rev-parse :path/to/file 1>/dev/null 2>&1; $? == 0 -> versioned | 23:15 |
| ← schmukkk left | 23:15 |
|
v0n
| wereHamster, test@desktop:~$ git clone git://redbox/compress.git | 23:16 |
|
| Initialized empty Git repository in /home/test/compress/.git/ | 23:16 |
|
| fatal: The remote end hung up unexpectedly | 23:16 |
| ← sis left | 23:16 |
|
wereHamster
| does the repository exist? What does the log on the server say? | 23:16 |
|
| (log file is here: /var/log/git-daemon/current) | 23:17 |
| ← Yuuhi left | 23:18 |
| ← galderz left | 23:22 |
|
cehteh
| wereHamster: damnit i use rev-parse from lua's popen but it has no pclose to get the exit code :P | 23:22 |
| ← psynaptic left | 23:24 |
|
cbreak
| you could execute a shell script that gives it to you :) | 23:27 |
|
wereHamster
| cehteh: git ls-tree HEAD | grep path/to/file | 23:28 |
|
| or git ls-files to see if the file is in the index | 23:29 |
|
cehteh
| i just call it twice for now once with system to check if its versioned and once for the hash | 23:29 |
|
wereHamster
| cehteh: or, git rev-parse :path/to/file 2>/dev/null == path/to/file then the file is not versioned, otherwise you get the hash on stdout | 23:30 |
|
v0n
| wereHamster, '/home/git/repositories/compress.git': unable to chdir or not a git archive | 23:31 |
|
| but /home/git/repositories/compress.git exists as well | 23:31 |
|
wereHamster
| v0n: does the daemon have rights to access that repository? | 23:32 |
|
cehteh
| wereHamster: yes seen that | 23:32 |
| ← SRabbelier left | 23:32 |
| ← Geralt left | 23:34 |
|
v0n
| wereHamster, sudo ls -l /home/git/repositories/drwx------ 7 git git 4096 2009-11-26 23:33 compress.git | 23:34 |
|
| drwx------ 8 git git 4096 2009-11-26 23:33 gitolite-admin.git | 23:34 |
| ← voker57__ left | 23:35 |
|
wereHamster
| daemon probably runs as root, so no access for him | 23:35 |
| ← rudi_s left | 23:35 |
| → voker57__ joined | 23:35 |
|
v0n
| ps -aux | git-daemon | 23:36 |
|
| loups | 23:36 |
|
| wereHamster, yes, git-daemon runs as root | 23:37 |
|
cbreak
| that sounds insecure | 23:39 |
| → hipe joined | 23:39 |
|
v0n
| what should I do ? | 23:43 |
| → CarlFK1 joined | 23:45 |
| → mithro joined | 23:46 |
| → EugenMayer joined | 23:48 |
|
EugenMayer
| how to rebuild the index? | 23:48 |
|
wereHamster
| EugenMayer: do you have any changes in the working tree? | 23:49 |
| ← spaceonline left | 23:49 |
|
EugenMayer
| now | 23:49 |
|
| *no | 23:49 |
|
wereHamster
| git reset --hard HEAD | 23:49 |
|
EugenMayer
| iam running into probles with braid.. | 23:50 |
|
| you can't run bread on a clone from a bare-repo, but you can run in on a clone from a normal repo | 23:50 |
| ← aresnick left | 23:51 |
|
wereHamster
| what's braid/bread? | 23:51 |
|
EugenMayer
| the only file different is the index | 23:51 |
|
| http://github.com/dreamcat4/braid | 23:51 |
| → seanmccann joined | 23:51 |
|
wereHamster
| any errors from braid? | 23:52 |
|
EugenMayer
| yes, on the "bare one" | 23:52 |
|
| http://paste.debian.net/52515 | 23:53 |
| ← ToxicFrog left | 23:53 |
|
wereHamster
| well, I'd dig into the braid source to see where exactly it fails | 23:53 |
|
v0n
| I change the exec line for : exec git-daemon --verbose --base-path=/home/git/repositories and now the error I get is : fatal: unable to connect a socket (Connection refused) | 23:53 |
| → ToxicFrog joined | 23:54 |
|
cehteh
| firewall? | 23:54 |
|
EugenMayer
| how to make a diff of to directories ( subdir ) | 23:55 |
| ← Stravy left | 23:55 |
|
v0n
| I should not put the hyphen : exec git daemon --verbose --base-path=/home/git/repositories | 23:55 |
|
wereHamster
| v0n: change the exec line to: 'exec chpst -u git git-daemon --whateve --arguments=you/want' | 23:56 |
|
v0n
| now it works ^^ | 23:56 |
| ← Guest282 left | 23:56 |
| → digilord joined | 23:56 |
| ← seanmccann left | 23:56 |
| ← digilord left | 23:57 |
|
v0n
| wereHamster, is " chpst -u git" important ? | 23:57 |
| ← onigiri left | 23:57 |
| → ankit9_ joined | 23:57 |
| → digilord joined | 23:57 |
| ← ankit9 left | 23:57 |
|
wereHamster
| how did you solve the problem that the daemon runs as root and thus can't access the repositories? | 23:57 |
| m-takagi_ → m-takagi | 23:57 |
| → cortana` joined | 23:57 |
|
digilord
| Anyone have an issue where gitosis suddenly stops allowing access to repos? | 23:57 |
|
EugenMayer
| digilord: yes | 23:58 |
|
| digilord: they work in the next try again | 23:58 |
|
digilord
| EugenMayer: How did you fix it? | 23:58 |
|
v0n
| wereHamster, runsv git-daemon and git-daemon are still running as root ! | 23:58 |
|
EugenMayer
| digilord: I can't reproduce it. sitaram ping | 23:58 |
| ← Lisimba left | 23:58 |
| ← CarlFK left | 23:59 |
|
digilord
| EugenMayer: It's happened twice. I had to uninstall and re-install gitosis then it worked for ~1week | 23:59 |
|
EugenMayer
| well for me, it was just one pull | 23:59 |