| 2013-10-06 |
| ← bwreilly left | 00:02 |
| ← petey left | 00:02 |
| → v1n joined | 00:02 |
| → dyng joined | 00:03 |
| ← Cowmoo` left | 00:03 |
| → xobb joined | 00:04 |
| ← grilix_ left | 00:07 |
| → CKyle joined | 00:07 |
| ← dyng left | 00:07 |
| → grilix joined | 00:07 |
| ← alan_o left | 00:07 |
| → Risto- joined | 00:08 |
| → D-Chymera joined | 00:09 |
| ← CKyle left | 00:13 |
| → shinnya joined | 00:13 |
| → aslaen joined | 00:14 |
| ← King_Hual left | 00:16 |
| ← arand left | 00:16 |
| → thierryp_ joined | 00:17 |
| ← barq left | 00:17 |
| ← grilix left | 00:19 |
| ← skorgon left | 00:19 |
| ← thierryp left | 00:20 |
| ← GT4066 left | 00:21 |
| → grilix joined | 00:22 |
| ← CheckDavid left | 00:22 |
| ← Mars` left | 00:22 |
| → Mars` joined | 00:23 |
| ← Mars` left | 00:27 |
| ← RaceCondition left | 00:30 |
| ← skered- left | 00:30 |
| → PaulCapestany joined | 00:31 |
| → RaceCondition joined | 00:31 |
| → normanrichards joined | 00:31 |
| → skorgon joined | 00:33 |
| → skered- joined | 00:35 |
| ← DonRichie left | 00:36 |
| → DonRichie joined | 00:36 |
| ← travisstaton left | 00:37 |
| → angelsl joined | 00:38 |
| → CKyle joined | 00:40 |
| ← Davey left | 00:41 |
| → jfinn joined | 00:41 |
| ← CKyle left | 00:41 |
| ← redrocket left | 00:43 |
| ← Skrypter left | 00:43 |
| ← Artpicre left | 00:45 |
| ← ozette left | 00:45 |
| ← Milossh left | 00:45 |
| ← edran left | 00:45 |
| ← minim left | 00:47 |
| → milestone joined | 00:48 |
| ← dfanjul left | 00:48 |
| → Skrypter joined | 00:49 |
| → Milossh joined | 00:50 |
| → arjun_ joined | 00:50 |
| imMute^ → imMute | 00:50 |
| ← cigarshark left | 00:53 |
| → minim joined | 00:55 |
| → CKyle joined | 00:55 |
| → rfoust joined | 00:57 |
| ← milestone left | 00:58 |
| ← FernandoBasso left | 01:01 |
| ← HerrK left | 01:03 |
| ← ErKa left | 01:03 |
| ← St_Marx left | 01:04 |
| → cagedwisdom joined | 01:05 |
| ← RobW_ left | 01:08 |
| → Vampire0 joined | 01:09 |
| ← mikepack left | 01:10 |
| → mikepack joined | 01:11 |
| ← Vampire0_ left | 01:11 |
| → Mars` joined | 01:11 |
| → travisstaton joined | 01:12 |
| → Davey joined | 01:12 |
| ← tagava|2 left | 01:13 |
| ← tagava left | 01:13 |
| ← iderik left | 01:14 |
| → mizu_no_oto joined | 01:15 |
| ← mikepack left | 01:16 |
| ← pbujok left | 01:16 |
| ← notjohn left | 01:18 |
| ← looper left | 01:19 |
| ← styles left | 01:20 |
| → looper joined | 01:21 |
| → Goplat joined | 01:23 |
| → nathancahill joined | 01:24 |
| ← ItSANgo left | 01:24 |
| → ItSANgo_ joined | 01:25 |
| ← oojacoboo left | 01:25 |
| ← Misan left | 01:26 |
| ← nathancahill left | 01:26 |
| ← frgtn left | 01:28 |
| → frgtn joined | 01:28 |
| ← fuzzybunny69y left | 01:29 |
| ← Mars` left | 01:29 |
| → Mars` joined | 01:30 |
| → oojacoboo joined | 01:31 |
| ← frgtn left | 01:33 |
| → dyng joined | 01:33 |
| → intripoon joined | 01:34 |
| ← Mars` left | 01:34 |
| ← RaceCondition left | 01:34 |
| ← intripoon_ left | 01:37 |
| ← mitsuhiko left | 01:38 |
| ← dyng left | 01:38 |
| ← ska-fan left | 01:38 |
| → ska-fan joined | 01:39 |
| → mitsuhiko_ joined | 01:40 |
| ← chrisss404 left | 01:44 |
| ← minim left | 01:46 |
| → m0ltar joined | 01:47 |
| → chrisss404 joined | 01:48 |
| → R1KRDO joined | 01:49 |
| ← looper left | 01:50 |
| ← NicolasTarzia left | 01:50 |
| → NicolasTarzia joined | 01:50 |
| → looper joined | 01:51 |
| ← oonska left | 01:51 |
| ← CKyle left | 01:51 |
| → threesome joined | 01:51 |
| → minim joined | 01:52 |
| → oonska joined | 01:52 |
| → tmcmahon joined | 01:52 |
| ← chrisss404 left | 01:52 |
| ← NicolasTarzia left | 01:53 |
| ← kexd left | 01:53 |
| → NicolasTarzia joined | 01:53 |
| → milestone joined | 01:54 |
| ← R1KRDO left | 01:55 |
| ← minim left | 01:56 |
| ← kpreid left | 01:56 |
| ← tmcmahon left | 01:57 |
| ← milestone left | 01:59 |
| → chrisss404 joined | 01:59 |
| → frgtn joined | 01:59 |
| ← threesome left | 01:59 |
| → kpreid joined | 02:00 |
| ← shabob left | 02:02 |
| → Prudhvi joined | 02:03 |
| → shabob joined | 02:04 |
| → Alenah joined | 02:04 |
| ← kwmiebach left | 02:04 |
| → spiff joined | 02:05 |
| ← f8l left | 02:06 |
| ← akitada left | 02:07 |
| ← skelterjohn left | 02:07 |
| ← frgtn left | 02:07 |
| ← robstanley left | 02:07 |
| → f8l joined | 02:07 |
| gitinfo set mode: +v | 02:07 |
| ← rryoumaa left | 02:08 |
| ← mattp_ left | 02:08 |
| ← jds left | 02:08 |
| → skelterjohn joined | 02:08 |
| → robstanley joined | 02:08 |
| → jds joined | 02:08 |
| ← penguin42 left | 02:08 |
| → akitada joined | 02:08 |
|
spiff
| So I want to set up a repo that looks something like lib/ lib/perl/ lib/python/ lib/tcl/ etc... | 02:09 |
| → mattp_ joined | 02:09 |
| → rkpai joined | 02:09 |
|
spiff
| where contribs can work on particular languages and not have access to other languages | 02:10 |
|
| should I use seperate repos? or use branches? | 02:10 |
|
pdurbin
| separate repos or gitolite | 02:10 |
|
spiff
| in the branches scenerio lib/ would be "master" | 02:11 |
|
| @pdurbin - thats what I was thinking | 02:11 |
|
| would there be any benefit to branching the languages? | 02:12 |
| → crocket joined | 02:12 |
| → mribeirodantas joined | 02:12 |
|
spiff
| eventually the whole set would need to be distributed as a package | 02:13 |
|
crocket
| http://pastebin.com/bfctSc3n is my ~/.gitconfig. However, git doesn't seem to use git-credential-gnome-keyring | 02:13 |
|
| After I type in a password, a password is not saved. | 02:13 |
| ← aslaen left | 02:14 |
| → errr joined | 02:14 |
|
pdurbin
| spiff: controling access per branch is not something you can do with git out of the box, from what I understand | 02:14 |
|
Hello71
| git doesn't *have* access control | 02:15 |
| → CKyle joined | 02:15 |
| ← chrisss404 left | 02:15 |
|
spiff
| thats my understanding as well, developers will only work on one language, I'll be maintaining the whole and releasing | 02:16 |
|
pdurbin
| spiff: but you don't want the python people to even see the perl code? | 02:16 |
| → chrisss404 joined | 02:17 |
|
spiff
| i suppose they could, what i'm trying to accomplish (if I go with branches) is that the lib/perl/ branch can be independently fetched/pulled with out the other languages. I dont think this is really feasible (and probably not doable), it was just a thought with this new project | 02:19 |
|
crocket
| Does anyone know how to make git-credential-gnome-keyring work? | 02:19 |
| → RobW_ joined | 02:20 |
|
pdurbin
| spiff: sure, you can have the perl people work on branch called "perl" ... and merge it in to master at some point | 02:21 |
| ← CKyle left | 02:21 |
| → cads joined | 02:21 |
| → Dougie1871 joined | 02:21 |
|
spiff
| pdurbin: I guess I got to think about this a little more, but it's dinner time. enough work for Saturday! :) | 02:22 |
| → diegoviola joined | 02:22 |
|
pdurbin
| crocket: sorry, I just use ssh-add (ssh-agent) before I git push or whatever | 02:22 |
|
| spiff: good luck | 02:22 |
| ← spiff left | 02:23 |
| ← mfulz left | 02:23 |
| → bwreilly joined | 02:24 |
| ← rkpai left | 02:25 |
| ← bwreilly left | 02:26 |
| ← relipse left | 02:27 |
| → hanser_ joined | 02:27 |
| → relipse joined | 02:27 |
| → dyng joined | 02:27 |
| ← f8l left | 02:30 |
| → f8ld joined | 02:30 |
| → amunoz joined | 02:30 |
| ← hanser left | 02:30 |
| → frsk joined | 02:30 |
| → yhager|away joined | 02:32 |
|
crocket
| pdurbin, ssh-add? | 02:32 |
|
| meh | 02:33 |
|
pdurbin
| crocket: ssh-add is at https://help.github.com/articles/generating-ssh-keys | 02:34 |
|
crocket
| pdurbin, /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring | 02:34 |
| ← RobW_ left | 02:37 |
| → dreiss joined | 02:39 |
| → Mars` joined | 02:40 |
| ← suy left | 02:42 |
| → suy joined | 02:42 |
| ← yacks left | 02:42 |
| ← mizu_no_oto left | 02:44 |
| ← v1n left | 02:44 |
| → jefflyne joined | 02:44 |
| ← Mars` left | 02:46 |
| → |Freeman| joined | 02:46 |
| ← sfz left | 02:49 |
| → mikepack joined | 02:49 |
| ← arjun_ left | 02:50 |
| ← Risto- left | 02:50 |
| → rchavik joined | 02:50 |
| ← mobileblue left | 02:52 |
| → RobW_ joined | 02:53 |
| ← joki left | 02:54 |
|
RobW_
| Is there a way to pull in all the refs / commits from a remote branch onto a local branch without checking the local branch out? | 02:54 |
| → mobileblue joined | 02:54 |
| → Shaladdle joined | 02:55 |
| → milestone joined | 02:55 |
| ← jason237 left | 02:55 |
|
RobW_
| Trying to update the local branch before moving its HEAD ref to an existing working directory -- checkout without checking out. | 02:56 |
| ← edwardly left | 02:56 |
|
crocket
| What the hell??? | 02:56 |
|
milki
| lol | 02:56 |
|
| RobW_ has been doing strange things for a while | 02:56 |
| → jason237 joined | 02:57 |
|
RobW_
| Ha, yeah. | 02:57 |
|
crocket
| "git push" and "git fetch" don't execute credential.helper when a remote's protocol is ssh. | 02:57 |
| ← m0ltar left | 02:57 |
|
RobW_
| It's true. | 02:57 |
|
crocket
| When its protocol is https, it executes credential.helper. | 02:57 |
|
milki
| maybe | 02:57 |
|
| i use ssh-agent for that | 02:57 |
|
| does ssh normally execute credntial.helper? | 02:57 |
| ← chrisss404 left | 02:57 |
|
milki
| i probably does it if your key is id_rsa | 02:58 |
| → edwardly joined | 02:58 |
|
milki
| and if you explicitl specify a key | 02:58 |
| ← milestone left | 02:59 |
| → joki joined | 03:00 |
|
crocket
| milki, "git fetch" should execute credential.helper even if a remote is an SSH host. | 03:01 |
| → chrisss404 joined | 03:01 |
|
RobW_
| … git fetch <remote> <remote branch>:<local branch> fails if the current branch is the local branch and has a dirty working directory. So I'm trying to avoid the "Refusing to fetch into current branch refs/heads/test-branch of non-bare repository" error. | 03:02 |
| ← dyng left | 03:03 |
|
RobW_
| And there's only one branch in the local repo. Maybe I have to change workflow in order to avoid this. | 03:03 |
| → dyng joined | 03:03 |
|
crocket
| Does git execute credential.helper even when a remote is SSH? | 03:04 |
| ← donmichelangelo left | 03:04 |
| → donmichelangelo joined | 03:05 |
|
crocket
| https://help.github.com/articles/set-up-git says "The credential helper only works when you clone an HTTPS repository URL. If you use the SSH repository URL instead, SSH keys are used for authentication. This guide offers help generating and using an SSH key pair." | 03:05 |
|
| man | 03:05 |
| → Squarism2 joined | 03:06 |
| ← yhager|away left | 03:07 |
| ← Squarism left | 03:07 |
| ← jefflyne left | 03:07 |
| → abstrusenick joined | 03:08 |
| ← dyng left | 03:08 |
| → jefflyne joined | 03:08 |
| ← jefflyne left | 03:08 |
| → jefflyne joined | 03:10 |
| → yhager|away joined | 03:11 |
|
RobW_
| Fixed! | 03:13 |
|
| Thanks, rubber duckies. | 03:13 |
| → bwreilly joined | 03:14 |
| ← guampa left | 03:14 |
| → tjj joined | 03:15 |
| ← bitkiller left | 03:16 |
| ← nwertman1 left | 03:17 |
| ← Zarthus left | 03:20 |
| → yacks joined | 03:22 |
| → Sakako1 joined | 03:23 |
| ← Sakako left | 03:25 |
|
RobW_
| Damn, not fixed. | 03:25 |
|
crocket
| woo | 03:27 |
|
| pdurbin, how do you use ssh-add? | 03:27 |
| ← edwardly left | 03:29 |
| → Sakako joined | 03:32 |
| ← raonyguimaraes left | 03:32 |
| ← Sakako1 left | 03:34 |
| ← dropdrive left | 03:35 |
| → minim joined | 03:35 |
| → edwardly joined | 03:36 |
| → dyng joined | 03:40 |
| → mouse_ joined | 03:41 |
| ← travisstaton left | 03:43 |
| ← MouseTheLuckyDog left | 03:45 |
| → dropdrive joined | 03:45 |
| ← mouse_ left | 03:48 |
| → harish__ joined | 03:49 |
| ← dyng left | 03:50 |
| ← harish_ left | 03:50 |
| → dyng joined | 03:50 |
| ← Earnestly left | 03:51 |
| ← _Harm_B_ left | 03:54 |
| ← rchavik left | 03:54 |
| ← dyng left | 03:55 |
| → _Harm_B_ joined | 03:55 |
| → milestone joined | 03:56 |
| → notjohn joined | 03:56 |
| → mizu_no_oto joined | 03:57 |
| → preflex_ joined | 03:58 |
| → Dreadnaught joined | 03:58 |
| ← preflex left | 03:58 |
| preflex_ → preflex | 03:58 |
| → petey joined | 03:59 |
| ← milestone left | 04:00 |
| ← the_cybersphinx left | 04:00 |
| → mouse_ joined | 04:00 |
| ← yhager|away left | 04:01 |
| → Tommy[D]_ joined | 04:01 |
| ← petey left | 04:03 |
| → petey joined | 04:03 |
| ← kukks left | 04:04 |
| ← Tommy[D] left | 04:05 |
| → vkz joined | 04:07 |
| ← petey left | 04:08 |
| → lresende joined | 04:09 |
| → petey joined | 04:09 |
| ← lresende left | 04:10 |
| ← Naoe-Kanno left | 04:10 |
| ← mikepack left | 04:11 |
| → mikepack joined | 04:11 |
| → nathancahill joined | 04:13 |
| ← dropdrive left | 04:13 |
| → ewnd9 joined | 04:13 |
| ← GGMethos left | 04:15 |
| ← yacks left | 04:15 |
| ← mikepack left | 04:16 |
| ← PaulCapestany left | 04:17 |
| ← madewokherd left | 04:18 |
| ← raijin left | 04:18 |
| → PaulCapestany joined | 04:18 |
| ← amcsi left | 04:20 |
| ← Sakako left | 04:21 |
| → ErKa joined | 04:21 |
| → HerrK joined | 04:21 |
| → alezost joined | 04:22 |
| ← mizu_no_oto left | 04:24 |
| → _iron joined | 04:24 |
| → cmpera_ joined | 04:25 |
| ← _iron left | 04:25 |
| → _iron joined | 04:26 |
| ← cmpera left | 04:27 |
| cmpera_ → cmpera | 04:27 |
| → pigeon joined | 04:27 |
| ← mj12albert left | 04:30 |
| ← Dougie1871 left | 04:31 |
| → dropdrive joined | 04:32 |
| ← Shaladdle left | 04:33 |
| ← _iron left | 04:35 |
| → sriracha joined | 04:36 |
| → _iron joined | 04:36 |
| ← _iron left | 04:37 |
| → _iron joined | 04:39 |
| ← dropdrive left | 04:40 |
| ← druonysus left | 04:40 |
| → druonysus joined | 04:40 |
| ← druonysus left | 04:40 |
| → druonysus joined | 04:40 |
| ← sriracha left | 04:43 |
| → tallest_red joined | 04:45 |
| ← cmpera left | 04:45 |
| ← crocket left | 04:46 |
| ← skorgon left | 04:47 |
| ← m0viefreak left | 04:48 |
| ← _iron left | 04:48 |
| ← fridim_ left | 04:48 |
|
RobW_
| Fixed my use case with `--update-head-ok`, which allows fetches on the current branch | 04:49 |
| ← lazers left | 04:54 |
| → lazers joined | 04:55 |
| → milestone joined | 04:56 |
| → Tommy[D] joined | 05:00 |
| ← milestone left | 05:01 |
| ← minim left | 05:01 |
| ← Tommy[D]_ left | 05:02 |
| → CKyle joined | 05:04 |
| → sferry joined | 05:05 |
| ← sferry left | 05:05 |
| → sferry joined | 05:06 |
| → introom joined | 05:06 |
| ← vkz left | 05:06 |
| ← sferry left | 05:07 |
| → sferry joined | 05:07 |
| ← sferry left | 05:07 |
| → sferry joined | 05:08 |
| ← sferry left | 05:08 |
| → mizu_no_oto joined | 05:09 |
| → sferry joined | 05:09 |
| → yhager|away joined | 05:09 |
| ← sferry left | 05:09 |
| → sferry joined | 05:10 |
| ← mizu_no_oto left | 05:10 |
| ← sferry left | 05:10 |
| → sferry joined | 05:11 |
| ← sferry left | 05:11 |
| → sferry joined | 05:11 |
| ← sferry left | 05:12 |
| → sferry joined | 05:12 |
| ← sferry left | 05:13 |
| → sferry joined | 05:13 |
| ← sferry left | 05:13 |
| → sferry joined | 05:13 |
| → rudak joined | 05:13 |
| ← sferry left | 05:14 |
| → emergion joined | 05:14 |
| ← relipse left | 05:14 |
| → sferry joined | 05:14 |
| ← sferry left | 05:14 |
| → sferry joined | 05:15 |
| ← sferry left | 05:15 |
| → sferry joined | 05:15 |
| ← sferry left | 05:15 |
| → sferry joined | 05:15 |
| ← sferry left | 05:16 |
| → sferry joined | 05:16 |
| ← sferry left | 05:17 |
| → sferry joined | 05:17 |
| ← sferry left | 05:18 |
| → sferry joined | 05:18 |
| ← sferry left | 05:18 |
| → marcmarc joined | 05:19 |
| → sferry joined | 05:19 |
| ← sferry left | 05:19 |
| → sqlnoob joined | 05:20 |
| → sferry joined | 05:20 |
| → jruiz joined | 05:23 |
| → rurufufuss joined | 05:25 |
| ← marcmarc left | 05:26 |
| ← Squarism2 left | 05:29 |
| ← rudak left | 05:29 |
| → dropdrive joined | 05:32 |
| ← petey left | 05:35 |
| → lpapp joined | 05:35 |
| → petey joined | 05:36 |
|
lpapp
| hi, is there an option for git show HEAD not to show the content of renamed or moved files? They are noise, and it would be enough to see that they were renamed or moved, and show the inline content of the changed files instead that were not renamed, not moved? | 05:36 |
| ← dropdrive left | 05:40 |
| ← petey left | 05:40 |
| ← ianmcorvidae left | 05:40 |
| ← akurilin left | 05:42 |
| → ianmcorvidae joined | 05:42 |
| ← Nicholas_Rishel left | 05:43 |
| ← CKyle left | 05:51 |
| → skorgon joined | 05:54 |
|
milki
| lpapp: --stat | 05:54 |
|
| o | 05:54 |
| → Jackneill joined | 05:54 |
| ← Jackneill left | 05:54 |
| → Jackneill joined | 05:54 |
|
milki
| theres no hybrid mode -.- | 05:55 |
| → Caritade joined | 05:55 |
| → milestone joined | 05:57 |
| ← jruiz left | 05:58 |
| → irqq joined | 05:58 |
|
lpapp
| milki: yeah, I would need hybrid mode. | 05:59 |
|
| I would like to review the content, but rename and moves are just noise | 05:59 |
| ← tjj left | 05:59 |
| ← notjohn left | 05:59 |
| → dropdrive joined | 05:59 |
|
lpapp
| sounds like a feature request then! | 05:59 |
| → tjj joined | 06:00 |
| ← milestone left | 06:01 |
| ← mribeirodantas left | 06:01 |
|
milki
| lpapp: people would just tell you not to do moves and renames in the same commit >.> | 06:02 |
|
| you are making noise for yourself | 06:03 |
| ← RobW_ left | 06:05 |
| → maleknet joined | 06:07 |
| ← dropdrive left | 06:07 |
| ← chuckharmston left | 06:08 |
| ← hyperair left | 06:09 |
| → sakkemo joined | 06:10 |
| → h0bbit_ joined | 06:10 |
|
lpapp
| milki: disagree. | 06:10 |
|
| when you want to move and adjust the buildsystem, you do not wanna move first to break the software! | 06:11 |
|
| so people saying that would not make sense imho. :) | 06:11 |
| → raik joined | 06:11 |
|
milki
| lpapp: disagreed. you can do these changes in a branch | 06:11 |
|
| lpapp: and your merge commit will have all the changes in a single commit | 06:12 |
|
lpapp
| yay for extra work for no real gain! | 06:12 |
|
milki
| right now you are trying to work around git show because of the "no gain" | 06:12 |
|
lpapp
| it is like introducing a bug for extra work to be able to fix with further extra work | 06:12 |
|
milki
| i highly doubt anyone will entertain your "hybrid mode" patch | 06:12 |
|
| and you can maintain your own fork of git all you want | 06:13 |
|
lpapp
| git simply should have a feature rather than advising the introduction of bugs with further work which can then be fixed with additional furter work. | 06:13 |
|
milki
| we call this !sausage | 06:13 |
|
gitinfo
| [!sausage_making] Some developers like to "hide the sausage making", transforming their commits before presenting them to the outside world. See http://sethrobertson.github.com/GitBestPractices/#sausage and !perfect | 06:13 |
|
lpapp
| I am sure no sane person would agree with you. | 06:13 |
|
| yeah because people keep maintaining forks for their own features... that is agains sooo realistic. | 06:14 |
|
milki
| and !pretty | 06:14 |
|
gitinfo
| [!gitpretty] git pretty is a flowchart of how to get yourself out of trouble http://justinhileman.info/article/git-pretty/ | 06:14 |
|
milki
| hm, maybe not | 06:14 |
|
| that trigger changed | 06:14 |
|
lpapp
| again* | 06:14 |
|
| milki looks | 06:14 |
|
lpapp
| git should simply have this useful feature | 06:14 |
|
milki
| anyways, i pretty good diffs with small overhead rather than patching git to make git show be nice | 06:15 |
|
| milki goes back to work | 06:15 |
|
milki
| s/pretty/prefer | 06:15 |
|
lpapp
| you should not demand your preference. | 06:16 |
|
| I mean, if you prefer the full rename mess, you can check that | 06:16 |
|
| you might get 90% noise, or even higher ratio. | 06:16 |
|
| that is unlikely to be productive. | 06:16 |
| → sumali joined | 06:17 |
| ← ewnd9 left | 06:18 |
| ← sumali left | 06:18 |
|
lpapp
| I would think this can be a --no-rename/remove option. | 06:18 |
| → sumali joined | 06:20 |
|
milki
| lpapp: btw, if you do submit a patch, you would submit it to the git mailing list: [email@hidden.address] | 06:22 |
| → dyng joined | 06:22 |
| → dropdrive joined | 06:23 |
| → dhruvasagar joined | 06:23 |
| → Chiko joined | 06:24 |
| ← dyng left | 06:26 |
| → dyng joined | 06:26 |
| → Bosox20051 joined | 06:27 |
| ← normanrichards left | 06:27 |
| → Targen joined | 06:27 |
|
lpapp
| milki: no, I would only request this feature. I do not have time for yet another FOSS project. | 06:28 |
| → geomyidae__ joined | 06:28 |
| ← geomyidae left | 06:29 |
| → hoschi joined | 06:29 |
| ← dropdrive left | 06:30 |
|
milki
| lpapp: then thats the mailing list to request as well | 06:30 |
| ← kcj left | 06:30 |
| ← dyng left | 06:31 |
| → ewnd9 joined | 06:32 |
| → minim joined | 06:34 |
| ← h0bbit_ left | 06:38 |
| → chuckharmston joined | 06:39 |
|
lpapp
| milki: I know | 06:40 |
| → _nova joined | 06:40 |
| → yacks joined | 06:45 |
| → dropdrive joined | 06:46 |
| ← raik left | 06:46 |
| → sumali_ joined | 06:47 |
| ← chuckharmston left | 06:47 |
| ← sumali left | 06:49 |
| ← ErKa left | 06:50 |
| ← HerrK left | 06:50 |
| ← minim left | 06:50 |
| ← Jonesboro left | 06:50 |
| ← sumali_ left | 06:50 |
| ← ewnd9 left | 06:51 |
| → Jonesboro joined | 06:51 |
| → ewnd9 joined | 06:51 |
| ← irqq left | 06:55 |
| → milestone joined | 06:57 |
| ← youlysse` left | 06:58 |
| ← milestone left | 07:02 |
| ← Jonesboro left | 07:03 |
| → mFacenet joined | 07:03 |
| → Jonesboro joined | 07:03 |
| → ewokchewy joined | 07:03 |
| → minim joined | 07:05 |
| ← Skrypter left | 07:07 |
| → arietis joined | 07:09 |
| → h0bbit_ joined | 07:10 |
| ← yhager|away left | 07:12 |
| ← PaulCapestany left | 07:13 |
| ← barneybook|2 left | 07:18 |
| → barneybook|2 joined | 07:18 |
| ← dreiss left | 07:19 |
| ← sferry left | 07:20 |
| → sferry joined | 07:20 |
| ← ecube left | 07:21 |
| → rat_thing joined | 07:21 |
| → ecube joined | 07:21 |
| → kongthap joined | 07:23 |
| ← minim left | 07:27 |
| → dreiss joined | 07:28 |
| → ngladitz joined | 07:29 |
| → babilen joined | 07:31 |
| ← nathancahill left | 07:31 |
| ← dropdrive left | 07:31 |
| → Kicer86 joined | 07:32 |
| ← echo-area left | 07:32 |
| ← rat_thing left | 07:33 |
| ← Kicer86 left | 07:33 |
| → rat_thing joined | 07:33 |
| → totem joined | 07:33 |
| → Kicer86 joined | 07:36 |
| ← babilen left | 07:36 |
| ← h0bbit_ left | 07:37 |
| → dyng joined | 07:39 |
| → Prazanna joined | 07:39 |
| → chuckharmston joined | 07:40 |
| ← diegoviola left | 07:42 |
| ← Goplat left | 07:43 |
| → nathancahill joined | 07:44 |
| → vurma joined | 07:47 |
| ← chuckharmston left | 07:48 |
| ← rat_thing left | 07:49 |
| → Shusshu joined | 07:50 |
| → Mars` joined | 07:51 |
| ← Nuck left | 07:51 |
| → PLejeck joined | 07:52 |
| ← Shusshu left | 07:52 |
| → milestone joined | 07:58 |
| ← kerrick left | 07:59 |
| → h0bbit_ joined | 07:59 |
| ← milestone left | 08:03 |
| → mnathani joined | 08:04 |
|
mnathani
| I cloned linus | 08:04 |
| → maqr joined | 08:04 |
|
mnathani
| I cloned linus's kernel tree | 08:04 |
| ← PLejeck left | 08:04 |
|
mnathani
| but I cant find the latest tag Linux 3.12-rc3 | 08:04 |
| → Nuck joined | 08:04 |
| ← bwreilly left | 08:04 |
| ← Caritade left | 08:05 |
|
iveqy
| mnathani: what does git tag says? | 08:06 |
|
mnathani
| v3.9-rc8 | 08:06 |
|
| a whole list that goes upto that tag | 08:06 |
|
iveqy
| where did you clone from? | 08:06 |
|
mnathani
| my bad, 12 is < 9 | 08:07 |
|
| so it was in the list | 08:07 |
|
| I was simply expecting it at the bottom | 08:07 |
|
iveqy
| :) | 08:07 |
|
osse
| git: y u no have builtin version sort! :( | 08:07 |
|
iveqy
| osse: it | 08:09 |
|
| osse: it's not easy to have a good default sort | 08:09 |
|
osse
| Maybe not | 08:10 |
|
| I for one would expect it to stort alphabetically by default, as it does now. Just saying --sort=version would be nice :) Could yank the code from sort -v | 08:11 |
| ← arietis left | 08:12 |
| → asQuirreL joined | 08:12 |
| → Tritania joined | 08:13 |
|
iveqy
| osse: yeah that would have been nice. However, there's a lot of other features I would rather have since git tag | sort -v is pretty easy to do | 08:14 |
| → HelloShitty joined | 08:14 |
| ← totem left | 08:16 |
|
osse
| iveqy: sure. It's not a big deal. I'd rather have in-memory merges for example :P Btw, a lot of sorts don't have -v | 08:17 |
|
| Is "in-memory merge" a thing or something I've imagined? I seem to recall a short discussion on the mailing list some time ago about the ability to merges A into B while having C checked out (or having none checked out at all, ie. a bare repo). | 08:19 |
| ← chrisss404 left | 08:20 |
|
iveqy
| osse: but how would you hande a conflict? | 08:20 |
|
| seems like it would speedup merges a bit | 08:20 |
| → soa2ii joined | 08:21 |
| ← dyng left | 08:21 |
| → dyng joined | 08:21 |
|
osse
| maybe the conlict aspect was the nail in the coffin for the whole feature; I don't remember. Could dump them in /tmp/tmp.git-merge.DRGEAR¤#R34 like diff-/mergetool does now | 08:21 |
|
soa2ii
| Hi. I just have to commit a file to a svn (it's about 13GB :-/). Can I somehow just commit something with git svn instead of cloning it first? | 08:21 |
| → rat_thing joined | 08:22 |
|
charon
| soa2ii: you can use git svn init <args>; git svn fetch -r <revisions> to limit fetching, or patch exclusions to remove stuff, but no, you can't "blindly" commit | 08:23 |
| → Zarthus joined | 08:24 |
|
soa2ii
| charon: Hm, ok. Thanks :-) | 08:24 |
| ← dreiss left | 08:25 |
|
j416
| soa2ii: would probably be easier to just use svn to commit that, I suppose | 08:25 |
|
| less of a hassle | 08:25 |
| ← dyng left | 08:25 |
|
soa2ii
| j416: Hm, I'd have to look that up. But ok :-) | 08:26 |
| → dyng joined | 08:28 |
| → danicampa901 joined | 08:28 |
| ← sferry left | 08:29 |
| ← dyng left | 08:29 |
| → matanya__ joined | 08:29 |
| → dyng joined | 08:30 |
| ← matanya__ left | 08:30 |
| → doev joined | 08:33 |
| ← rat_thing left | 08:33 |
| → dyng_ joined | 08:34 |
| ← dyng left | 08:34 |
| → herdingcat joined | 08:36 |
|
lpapp
| milki: thanks for letting me know there is no hybrid mode just yet. | 08:37 |
| ← dyng_ left | 08:37 |
| → dyng joined | 08:38 |
| → dyng_ joined | 08:39 |
| ← dyng left | 08:39 |
| → arietis joined | 08:39 |
| → leeN joined | 08:39 |
| Baluse → SugarDaddy | 08:39 |
| → chuckharmston joined | 08:40 |
| SugarDaddy → Baluse | 08:41 |
| ← dyng_ left | 08:43 |
| → dyng joined | 08:44 |
| ← chuckharmston left | 08:45 |
| ← asQuirreL left | 08:45 |
| → rat_thing joined | 08:46 |
| → ewokchew_ joined | 08:46 |
| → Mode-M joined | 08:46 |
| → mouse__ joined | 08:47 |
| ← _nova left | 08:47 |
| ← dyng left | 08:48 |
| → dyng joined | 08:50 |
| ← ewokchewy left | 08:50 |
| ← mouse_ left | 08:50 |
| ← hoschi left | 08:51 |
| ← ewokchew_ left | 08:52 |
| → ciampix joined | 08:53 |
| ← mouse__ left | 08:53 |
| → chrisss404 joined | 08:54 |
| → King_Hual joined | 08:54 |
| → longbeach joined | 08:54 |
| sadistik → Saddickstick | 08:58 |
| → milestone joined | 08:59 |
| ← dyng left | 08:59 |
| → dyng joined | 08:59 |
| ← introom left | 09:01 |
| → introom joined | 09:01 |
| ← milestone left | 09:03 |
| ← dyng left | 09:04 |
| ← thiago left | 09:07 |
| → mouse__ joined | 09:07 |
| Saddickstick → gaybagel | 09:08 |
| ← ciampix left | 09:08 |
| → kamikaz31 joined | 09:09 |
| ← jefflyne left | 09:10 |
| → khmarbaise joined | 09:12 |
| ← harish__ left | 09:12 |
| → harish__ joined | 09:13 |
| gaybagel → barking_dog | 09:13 |
| → nilg joined | 09:15 |
| → Fingolfin joined | 09:15 |
| ← King_Hual left | 09:19 |
| → dyng joined | 09:23 |
| → Guest20398 joined | 09:23 |
| → jnavila joined | 09:25 |
| → Misan joined | 09:25 |
| ← introom left | 09:25 |
| ← sayanee left | 09:25 |
| → sayanee joined | 09:26 |
| → introom joined | 09:26 |
| ← vigs left | 09:26 |
| ← h0bbit_ left | 09:27 |
| ← sayanee left | 09:30 |
| ← introom left | 09:30 |
| ← dyng left | 09:36 |
| → dyng joined | 09:37 |
| → Xethron joined | 09:38 |
| ← catsup left | 09:40 |
| → chuckharmston joined | 09:40 |
| ← dyng left | 09:41 |
| → dyng joined | 09:44 |
| ← realeyes left | 09:44 |
| ← terminalRepeat left | 09:45 |
| ← chuckharmston left | 09:45 |
| → dropdrive joined | 09:45 |
| ← dyng left | 09:47 |
| → dyng joined | 09:47 |
| → marhaban joined | 09:48 |
| → ozette joined | 09:49 |
| → Burer joined | 09:49 |
| ← Burer left | 09:49 |
| → Burer joined | 09:49 |
| ← _Harm_B_ left | 09:51 |
| ← rat_thing left | 09:51 |
| → _Harm_B_ joined | 09:51 |
| ← dyng left | 09:52 |
| → Balliad joined | 09:53 |
| → dyng joined | 09:53 |
| ← druonysus left | 09:55 |
| ← dhruvasagar left | 09:55 |
| → druonysus joined | 09:55 |
| ← D-Chymera left | 09:56 |
| → asQuirreL joined | 09:57 |
| → milestone joined | 09:59 |
| ← dsdeiz left | 09:59 |
| → King_Hual joined | 10:00 |
| ← el3ctron left | 10:00 |
| → dsdeiz joined | 10:00 |
| → Sniffer joined | 10:01 |
| ← Sniffer left | 10:02 |
| → kcj joined | 10:02 |
| ← Mars` left | 10:03 |
| ← asQuirreL left | 10:03 |
| → Mars` joined | 10:03 |
| ← milestone left | 10:04 |
| → edran joined | 10:04 |
| → milestone joined | 10:04 |
| → dfanjul joined | 10:05 |
| ← khmarbaise left | 10:05 |
| → chimay joined | 10:05 |
| → introom joined | 10:06 |
| → Anchakor joined | 10:07 |
| ← Mars` left | 10:08 |
| → GODDOG joined | 10:10 |
| → asQuirreL joined | 10:10 |
| ← asQuirreL left | 10:11 |
|
Anchakor
| hi, I need a repo mirror on my server to which I can push to, so I created a bare repo, but now I also need to view the HEAD working tree there. how do I do this? or is it possible to have a non-bare mirror repo which I can push to? | 10:11 |
| → threesome joined | 10:12 |
| → asQuirreL joined | 10:12 |
|
osse
| Anchakor: you can use git log, git show, etc. even in a bare repo | 10:13 |
|
| Anchakor: if you need a working tree I suggest you use git archive to create a tarball and extract it somewhere | 10:14 |
|
Anchakor
| well I also need the history there | 10:14 |
|
osse
| or have a non-bare clone somewhere else on the server | 10:14 |
|
Anchakor
| I want it so I don't have to do nothing else then the push from my workstation | 10:14 |
|
osse
| since the non-bare clone will be local (with respect to the server) you can use a post-receive hook in the bare repo to update the non-bare one | 10:15 |
|
Anchakor
| ok so I will have my workstation main repo, and on server a bare repo and non-bare repo, which is updated by a post-recieve hook of the bare repo? | 10:16 |
| ← doev left | 10:16 |
| → roxlu joined | 10:16 |
|
roxlu
| hi | 10:16 |
|
osse
| Anchakor: that's my suggestion, yes. Don't know if it's the best way to do it but it's the best I can think of. In any case avoid pushing to a non-bare repo, because that'll just be a mess | 10:17 |
| → freestyl3r joined | 10:17 |
| ← Georg3 left | 10:17 |
| ← introom left | 10:17 |
|
Anchakor
| yeah. this seems to be quite a common config, strange that it is such complicated | 10:18 |
| → introom joined | 10:18 |
| ← Balliad left | 10:18 |
|
osse
| why do you need a non-bare repo with full history on the server? Don't you do all your work on your workstation ? | 10:19 |
| ← DonRichie left | 10:19 |
|
muep
| !deploy | 10:19 |
|
gitinfo
| Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html | 10:19 |
| ← lpapp left | 10:20 |
| → DonRichie joined | 10:20 |
| → Balliad joined | 10:20 |
|
Anchakor
| osse: I do, but that repo is for my supervisors to see what I am working on | 10:21 |
| → Sendoushi joined | 10:24 |
|
roxlu
| hey guys, what is a good way to deal with binary files and git repositories? | 10:25 |
| ← marhaban left | 10:25 |
| ← p3lim left | 10:25 |
| → harish_ joined | 10:25 |
|
osse
| Anchakor: heh, tell them to clone it themselves :P Or you can setup something like gitweb or redmine or whatever. | 10:26 |
| ← asQuirreL left | 10:26 |
| ← harish__ left | 10:26 |
| → _iron joined | 10:27 |
| → catsup joined | 10:28 |
| ← _iron left | 10:28 |
| → _iron joined | 10:29 |
| ← _iron left | 10:30 |
| ← vurma left | 10:30 |
| → smlgs joined | 10:30 |
| → marhaban joined | 10:30 |
| → the_cybersphinx joined | 10:30 |
| → _iron joined | 10:30 |
| → HumptyDumpty001 joined | 10:31 |
| gitinfo set mode: +v | 10:32 |
| → Ozch joined | 10:32 |
|
HumptyDumpty001
| Hello | 10:32 |
|
gitinfo
| HumptyDumpty001: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 10:32 |
| ← _iron left | 10:33 |
| → Kakera joined | 10:33 |
| → mdiers joined | 10:34 |
| ← dyng left | 10:34 |
| → dyng joined | 10:34 |
| → sebrock joined | 10:36 |
| ← kcj left | 10:36 |
| ← jnavila left | 10:38 |
| ← maleknet left | 10:38 |
| → babilen joined | 10:38 |
| → arand joined | 10:38 |
| → maroloccio joined | 10:38 |
| → trandatnh joined | 10:38 |
| ← herdingcat left | 10:38 |
| ← Balliad left | 10:39 |
| ← dyng left | 10:39 |
| → h0bbit_ joined | 10:39 |
| → opmrcrab joined | 10:40 |
| → aChatir joined | 10:41 |
| → rednaks joined | 10:41 |
| → Balliad joined | 10:41 |
| → hoschi joined | 10:42 |
| ← dfanjul left | 10:42 |
|
Anchakor
| hmm my post-receive hook "cd worktree && git pull" doesn't work. any ideas? | 10:44 |
|
| ofc it is a proper sh script with execute rights | 10:44 |
| → ahri joined | 10:44 |
| ahri → Guest19296 | 10:45 |
| → rouf joined | 10:46 |
| → CheckDavid joined | 10:46 |
| → Nixola joined | 10:47 |
| ← maqr left | 10:47 |
| → rouf_ joined | 10:47 |
|
Nixola
| hi, I'd need a little help with Git | 10:47 |
|
| I've only started recently to use it, so I'm a bit unsure about lots of things | 10:48 |
| → _iron joined | 10:48 |
|
Nixola
| if the branch A is selected in my local repo and I do "git push github B", will the local branc A be pushed to the B branch on Github? | 10:48 |
| ← nemesit|znc left | 10:49 |
|
Nixola
| (github is correctly set so that I can push changes) | 10:49 |
| ← HumptyDumpty001 left | 10:49 |
| → HumptyDumpty002 joined | 10:49 |
|
opmrcrab
| thats basicly all i do for bitbucket, for what its worth, im relativly new myself | 10:49 |
|
Nixola
| opmrcrab: so it works? | 10:50 |
|
opmrcrab
| typicaly im doing "git push origin master" where orign is my bitbucket remote, and master is the branch im pushing to | 10:50 |
|
arand
| Nixola: Normally no, it would push local branch B to remote B, you can use A:B to push some ref to another. | 10:50 |
| ← rouf left | 10:51 |
| → cmpera joined | 10:51 |
|
Nixola
| git push github A:B or what? | 10:51 |
| → mklappstuhl joined | 10:51 |
| → dhruvasagar joined | 10:51 |
| ← trandatnh left | 10:52 |
| ← Guest19296 left | 10:52 |
|
arand
| If they have the same name both locally and on the remote, or if the default push branch for the local branch is set (iirc) then you can use just the single ref syntax. | 10:52 |
|
| Nixola: That should push local A to remote B, yes. | 10:52 |
|
Nixola
| ok, thanks | 10:53 |
|
| ...damn | 10:54 |
|
| I've been developing in branch B instead of A | 10:54 |
|
| well, thanks anyway | 10:54 |
|
| that'll come in handy later, probably | 10:54 |
| ← Baluse left | 10:54 |
|
Nixola
| bye! | 10:54 |
| ← Nixola left | 10:54 |
| ← Balliad left | 10:55 |
| → eletuchy joined | 10:55 |
| → chairabanta joined | 10:56 |
| → Baluse joined | 10:56 |
| ← edwardly left | 10:56 |
| ← Anchakor left | 10:56 |
| → edwardly joined | 10:56 |
| ← edwardly left | 10:57 |
| ← Fingolfin left | 10:58 |
| → edwardly joined | 10:58 |
| ← edwardly left | 10:59 |
| → edwardly joined | 11:00 |
| ← Baluse left | 11:00 |
| → Baluse joined | 11:00 |
| ← edwardly left | 11:01 |
| → rat_thing joined | 11:02 |
| → edwardly joined | 11:02 |
| ← introom left | 11:02 |
| → RaceCondition joined | 11:02 |
| → kcj joined | 11:02 |
| ← edwardly left | 11:03 |
| → edwardly joined | 11:03 |
| → penguin42 joined | 11:06 |
| ← rat_thing left | 11:06 |
| ← _Harm_B_ left | 11:06 |
| → _Harm_B_ joined | 11:07 |
|
osse
| !hooks | 11:08 |
|
gitinfo
| [!hook_pitfalls] Guidelines for writing hooks: 1. Consume all input (cat >/dev/null if you don't want it). 2. If you use any 'cd', also 'unset GIT_DIR'. 3. Don't git-pull in a hook (or any other script). | 11:08 |
| → milStaja joined | 11:08 |
| → jefflyne joined | 11:09 |
| ← rjc left | 11:10 |
| → nemesit|znc joined | 11:10 |
| → Balliad joined | 11:12 |
| → rjc joined | 11:13 |
| ← mklappstuhl left | 11:13 |
| → TomyLobo joined | 11:13 |
| ← Balliad left | 11:15 |
| ← h0bbit_ left | 11:17 |
| ← chimay left | 11:19 |
| ← rednaks left | 11:20 |
| ← Misan left | 11:21 |
| ← chairabanta left | 11:21 |
| → dyng joined | 11:22 |
| → mklappstuhl joined | 11:23 |
| ← Mode-M left | 11:24 |
| ← Sendoushi left | 11:24 |
| → vurma joined | 11:26 |
| → FernandoBasso joined | 11:27 |
| ← mklappstuhl left | 11:27 |
| → mklappstuhl joined | 11:28 |
| ← mdiers left | 11:28 |
| → harobed_ joined | 11:29 |
| → Mode-M joined | 11:29 |
| ← dyng left | 11:29 |
| → dyng joined | 11:30 |
| ← devoldmx left | 11:31 |
| → devoldmx joined | 11:31 |
| → Balliad joined | 11:32 |
| ← mklappstuhl left | 11:32 |
| → zhost joined | 11:32 |
| ← eletuchy left | 11:33 |
| ← pencilcheck left | 11:33 |
| → eletuchy joined | 11:34 |
| ← dyng left | 11:34 |
| → introom joined | 11:36 |
| ← Balliad left | 11:36 |
| → h0bbit_ joined | 11:37 |
| ← kcj left | 11:38 |
| → Balliad joined | 11:38 |
| → trandatnh joined | 11:40 |
| ← cads left | 11:40 |
| → dfanjul joined | 11:42 |
| → chairabanta joined | 11:44 |
| ← Balliad left | 11:45 |
| → Balliad joined | 11:47 |
| → dyng joined | 11:49 |
| → greengriminal joined | 11:50 |
| → mklappstuhl joined | 11:50 |
|
greengriminal
| Most likely pretty basic but I have a git commit that i'd like to remove. I have the commit id. But what is the command to remove this particular commit from the master branch | 11:51 |
|
| Would it be `git revert <commit-id>` | 11:51 |
|
cbreak
| greengriminal: no. | 11:52 |
|
| greengriminal: git revert would remove the EFFECT of that commit | 11:52 |
| → Cromulent joined | 11:52 |
|
cbreak
| greengriminal: that might be the best you can do (if you pushed history and don't work alone for example) | 11:53 |
|
| or you could try to rewrite history with git rebase -i, but that is more involved | 11:53 |
| ← nemesit|znc left | 11:53 |
|
greengriminal
| I have a commit I'd like to revert to | 11:53 |
| → pbujok joined | 11:53 |
|
cbreak
| reverting is not to a commit | 11:54 |
|
bremner
| !revert | 11:55 |
|
gitinfo
| That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]? | 11:55 |
|
cbreak
| resetting is to a commit (but that is history rewriting) | 11:55 |
| ← Kwpolska left | 11:55 |
| → kcj joined | 11:56 |
| ← dhruvasagar left | 11:56 |
| → eletuchy_ joined | 11:56 |
| ← chairabanta left | 11:56 |
|
greengriminal
| I think i need to re-write history. In other words my master branch is on "d32ce7b" but I want to get rid of this and go back to "cdde845" | 11:57 |
|
cbreak
| greengriminal: then, make sure you have no uncommitted changes | 11:58 |
|
| greengriminal: then git tag backup | 11:59 |
|
| then git reset --hard cdde845 | 11:59 |
| → blathijs joined | 11:59 |
| ← eletuchy left | 11:59 |
| ← introom left | 12:00 |
|
greengriminal
| cbreak: And "git reset --hard cdde845" will put back to that commit | 12:00 |
| → Misan joined | 12:00 |
| → introom joined | 12:00 |
| ← eletuchy_ left | 12:01 |
| → Kwpolska joined | 12:02 |
| ← aChatir left | 12:03 |
| ← dsdeiz left | 12:04 |
| ← introom left | 12:05 |
| → dsdeiz joined | 12:08 |
| → eletuchy joined | 12:09 |
| ← HumptyDumpty002 left | 12:09 |
| ← iron_houzi left | 12:10 |
| → Risto- joined | 12:11 |
| → Earnestly joined | 12:11 |
| → nardev joined | 12:12 |
| ← mklappstuhl left | 12:12 |
| ← jefflyne left | 12:13 |
| ← dyng left | 12:13 |
| ← Balliad left | 12:13 |
| → skeuomorf joined | 12:14 |
|
skeuomorf
| guys, I have a repo on github, with 3 branches, the master, one that I created, one that my coworker created, He deleted some files from the branch that I created, I did a git pull but the files aren't removed locally, how do I completely sync the remote and local branch? | 12:15 |
| → introom joined | 12:15 |
| → dyng joined | 12:16 |
| → iron_houzi joined | 12:16 |
|
cbreak
| skeuomorf: be sure you merged the right things | 12:16 |
|
| skeuomorf: look at the commit your coworker made that removes the files | 12:16 |
|
| did you merge that? | 12:16 |
|
skeuomorf
| I thought git pull is short for (git fetch && git merge) | 12:16 |
| → raonyguimaraes joined | 12:16 |
|
cbreak
| it is. | 12:17 |
| ← CheckDavid left | 12:17 |
|
skeuomorf
| ok, so I did a git pull | 12:17 |
|
cbreak
| but it pulls upstream. Did you configure upstream properly? | 12:17 |
|
skeuomorf
| file not removed from local branch | 12:17 |
|
cbreak
| so answer my questions | 12:17 |
|
skeuomorf
| I configured it using --track origin/branch | 12:18 |
|
cbreak
| did you merge that commit? | 12:18 |
|
| (is it visible in git log branch?) | 12:18 |
| → nemesit|znc joined | 12:18 |
|
skeuomorf
| it is visible in git log | 12:19 |
|
iveqy
| skeuomorf: does your coworker has push access to your repo on github? That is are you working with the same repo? | 12:19 |
|
cbreak
| skeuomorf: then you merged it | 12:19 |
|
skeuomorf
| iveqy, affirmative | 12:19 |
|
cbreak
| skeuomorf: then it was removed | 12:19 |
| → raijin joined | 12:19 |
|
skeuomorf
| cbreak, but the file is still there | 12:19 |
|
cbreak
| skeuomorf: maybe you resolved a merge conflict in favor of your side | 12:19 |
|
| a change/remove conflict | 12:19 |
|
| skeuomorf: do you see the merge commit in the history? | 12:20 |
|
| (the one from your pull? | 12:20 |
|
skeuomorf
| no | 12:20 |
|
| no merges in git log | 12:20 |
|
cbreak
| then it was fast forward? | 12:20 |
|
| git log --stat | 12:20 |
|
| you see his commit | 12:21 |
|
| after that, the files must be recreated | 12:21 |
|
| because you said that commit removed them | 12:21 |
|
skeuomorf
| yeah | 12:21 |
|
| they are recreated | 12:21 |
|
cbreak
| then delete them again if you want them gone. | 12:22 |
| ← grilix left | 12:22 |
|
skeuomorf
| cbreak, awesome, thanks a dozen :) | 12:22 |
| → grilix joined | 12:22 |
| ← Cromulent left | 12:23 |
| → _nova joined | 12:23 |
| → CheckDavid joined | 12:24 |
| ← sqlnoob left | 12:24 |
| ← xobb left | 12:25 |
| → subhojit777 joined | 12:25 |
| ← dyng left | 12:26 |
| → dyng joined | 12:27 |
| ← JPeterson left | 12:30 |
| ← harobed_ left | 12:31 |
| ← dyng left | 12:31 |
| → mklappstuhl joined | 12:31 |
| ← raonyguimaraes left | 12:32 |
| ← Kakera left | 12:35 |
|
greengriminal
| why is it if I do "git rebase -i d32ce7b^" delete the offending commit and then :wq and it says "Nothing to do" | 12:37 |
|
| Then when I view go back into that same commit using the git rebase -i d32ce7b^ the line is still there. Its as though it doesn't save my changes | 12:38 |
|
cbreak
| greengriminal: maybe the list is empty | 12:38 |
|
| greengriminal: rebase -i requires a non-empty work list | 12:38 |
| ← kcj left | 12:39 |
|
greengriminal
| cbreak: What does that mean? | 12:39 |
|
cbreak
| greengriminal: rebase -i. do you know what it does? | 12:40 |
| ← mklappstuhl left | 12:40 |
| → Guest68708 joined | 12:40 |
| → irqq joined | 12:40 |
|
greengriminal
| cbreak: it allows you to make change from one branch into another | 12:40 |
|
cbreak
| it cherry-picks a series of commits onto the chosen base, optionally stopping in between for editing or changing commit messages | 12:41 |
|
| it does that by using a list of work items, which it presents to the user (you) | 12:41 |
|
| if that list is empty, it will not do anything | 12:41 |
| → chuckharmston joined | 12:44 |
| ← thierryp_ left | 12:44 |
| → thierryp joined | 12:45 |
| → tmcmahon joined | 12:46 |
| ← pbujok left | 12:46 |
| ← amunoz left | 12:47 |
|
skeuomorf
| I added a file to my master branch, Now I want to add that file to another branch, I checked out the 2nd branch and did git merge master, resolved some conflicts regarding files that has already been there, but the file wasn't merged | 12:47 |
| → Amandil joined | 12:48 |
| ← greengriminal left | 12:48 |
|
iveqy
| skeuomorf: have you solved the conflict and commited? | 12:48 |
|
skeuomorf
| yes | 12:48 |
| ← chuckharmston left | 12:48 |
|
cbreak
| skeuomorf: after a merge, all commits you merged are part of history | 12:48 |
| → hyperair joined | 12:48 |
|
cbreak
| if one of those commits added a file, then you either have that file, or a later commit removed it again. | 12:48 |
|
skeuomorf
| hmmm | 12:49 |
|
| I will look at the git log again | 12:49 |
|
cbreak
| you can do git log --stat -- file if you want | 12:49 |
| ← thierryp left | 12:50 |
|
cbreak
| (beware of merge commits) | 12:50 |
|
skeuomorf
| hmmm | 12:50 |
| → lotus joined | 12:51 |
|
lotus
| hey, I'm working on a programming project and I want to upgrade the old core CMS that the project was built around. However, the CMS files have been hacked a bit. The versions aren't too far from eachother and I'm wondering if I can just use a diff of the current directory against a clean version of the old CMS. Then use that diff, somehow, to apply the same changes to the new version of the core CMS files | 12:51 |
|
skeuomorf
| cbreak, Can I send screenshots on #git? | 12:51 |
|
lotus
| I've made a branch off dev and I'm thinking if I just unzip the clean version of the old CMS ontop of the current hacked version, then make a reverse diff? | 12:51 |
|
cbreak
| skeuomorf: heard of pastebin? | 12:51 |
| → mklappstuhl joined | 12:52 |
|
lotus
| I'm just wondering what the best way to do this would be using the git diff tool? | 12:52 |
|
skeuomorf
| cbreak, yeah, yeah, I meant printscreen, image | 12:52 |
|
cbreak
| what's the point of that? | 12:52 |
|
| there are image upload pages too though | 12:52 |
|
skeuomorf
| show something from gitg | 12:52 |
|
| by can I send it, I meant it's not against channel rules, correct? | 12:53 |
|
cbreak
| no | 12:53 |
|
| links are OK. | 12:53 |
| ← tmcmahon left | 12:53 |
|
skeuomorf
| ok | 12:54 |
| → Kakera joined | 12:54 |
| ← twoface88 left | 12:54 |
| → joelmo joined | 12:55 |
|
skeuomorf
| cbreak, here are the commits http://i.imgur.com/XQUDhPJ.jpg | 12:55 |
|
| cbreak, the file local.py has been added to master, I want to add it to the "social" branch | 12:55 |
|
cbreak
| everything on master is there already | 12:56 |
|
| you're done. | 12:56 |
|
joelmo
| i have tracked https repositoreis that requires password, is there any way i could have a password manager for these so that i only need to type in that password say twice a day? | 12:56 |
| → m0ltar joined | 12:56 |
|
skeuomorf
| cbreak, the file local.py is not availabe on social | 12:56 |
|
cbreak
| skeuomorf: then you deleted it again | 12:56 |
|
| skeuomorf: add it again if you want to have it. | 12:56 |
|
skeuomorf
| cbreak, No, didn't delete it, but how do I add it? | 12:56 |
|
cbreak
| skeuomorf: in the merge commit, you likely deleted it as result of the resolution | 12:56 |
|
| skeuomorf: of course you deleted it. | 12:56 |
|
skeuomorf
| cbreak, hmm, ok | 12:56 |
|
cbreak
| skeuomorf: look at the diff between the merge and master | 12:57 |
|
| skeuomorf: git diff master..social | 12:57 |
|
| skeuomorf: you can do git checkout master -- local.py | 12:57 |
|
| that'll get you master's local.py file | 12:57 |
|
| then commit it | 12:57 |
|
skeuomorf
| git checkout master -- local.py showed me "error: pathspec 'local.py' did not match any file(s) known to git." | 12:58 |
|
cbreak
| then master didn't have that file. | 12:59 |
|
skeuomorf
| cbreak, I checked out master, navigated to the folder, it's there | 12:59 |
|
| cbreak, hold on | 13:00 |
|
cbreak
| no folder... | 13:00 |
|
| you told git it's in the root... | 13:00 |
|
skeuomorf
| cbreak, I edited git checkout master -- directory/local.py, that's when I got the error | 13:00 |
|
| but I think I know my problem | 13:00 |
| → dyng joined | 13:00 |
|
skeuomorf
| the local.py file is in .gitignore | 13:00 |
| ← threesome left | 13:01 |
|
skeuomorf
| stupid! | 13:01 |
|
cbreak
| that's irrelevant | 13:01 |
|
| .gitignore doesn't affect tracked files | 13:01 |
| ← edwardly left | 13:01 |
| → asQuirreL joined | 13:01 |
|
skeuomorf
| I am confused right now | 13:01 |
| → edwardly joined | 13:01 |
| ← Prazanna left | 13:02 |
| ← dyng left | 13:02 |
| ← m0ltar left | 13:02 |
| ← edwardly left | 13:02 |
| → dyng joined | 13:02 |
| → edwardly joined | 13:02 |
| ← nfroidure left | 13:03 |
| ← edwardly left | 13:03 |
| → edwardly joined | 13:03 |
| → thierryp joined | 13:04 |
| ← edwardly left | 13:04 |
| → edwardly joined | 13:04 |
| → GT4066 joined | 13:06 |
| → tobscore joined | 13:06 |
| ← edwardly left | 13:06 |
| ← thierryp left | 13:06 |
| ← dyng left | 13:07 |
|
skeuomorf
| cbreak, I fixed it, thanks a lot for your help, sorry about my noobiness :) | 13:07 |
| → thierryp joined | 13:07 |
| → edwardly joined | 13:07 |
|
cbreak
| np | 13:07 |
| → zheng joined | 13:07 |
| → mixel joined | 13:07 |
| ← asQuirreL left | 13:07 |
| → doev joined | 13:07 |
| ← edwardly left | 13:08 |
|
BinGOs
| .version | 13:08 |
|
gitinfo
| BinGOs: .version: still at 1.8.4, not updating topic. | 13:08 |
|
BinGOs
| lies | 13:08 |
| → edwardly joined | 13:09 |
| ← edwardly left | 13:10 |
| → dyng joined | 13:10 |
| → edwardly joined | 13:10 |
| → SHyx0rmZ joined | 13:11 |
| ← thierryp left | 13:11 |
| ← edwardly left | 13:12 |
| → stamina joined | 13:12 |
| → edwardly joined | 13:12 |
| ← edwardly left | 13:14 |
| → asQuirreL joined | 13:14 |
| ← dyng left | 13:14 |
| → edwardly joined | 13:14 |
| → dyng joined | 13:14 |
| ← edwardly left | 13:15 |
| → Scorchin joined | 13:15 |
| → edwardly joined | 13:15 |
| ← arietis left | 13:15 |
| ← edwardly left | 13:16 |
| → edwardly joined | 13:16 |
| → koda joined | 13:17 |
|
Scorchin
| What are the best resources to read to learn more about how git and gpg signing works? | 13:18 |
| ← dyng left | 13:18 |
|
Scorchin
| Even better if they explain the shortcomings of using git and gpg | 13:18 |
| → dyng joined | 13:18 |
| ← _Harm_B_ left | 13:20 |
|
cbreak
| shortcommings? | 13:20 |
| → _Harm_B_ joined | 13:21 |
| ← koda left | 13:22 |
| ← dyng left | 13:23 |
| → dyng joined | 13:23 |
| → koda joined | 13:23 |
| ← introom left | 13:23 |
| ← dyng left | 13:23 |
| → dyng joined | 13:24 |
| ← Davey left | 13:25 |
| ← lotus left | 13:27 |
| ← trandatnh left | 13:28 |
| → bsaboia_ joined | 13:28 |
| ← Guest68708 left | 13:29 |
| ← asQuirreL left | 13:29 |
| ← Risto- left | 13:30 |
| → introom joined | 13:30 |
| MrDHat → MrDHat|offline | 13:30 |
| ← nemesit|znc left | 13:31 |
| ← dfanjul left | 13:32 |
| → dfanjul joined | 13:32 |
| → tagava joined | 13:34 |
| ← Edgan___ left | 13:34 |
| → Guest68708 joined | 13:34 |
| ← stamina left | 13:35 |
| → Balliad joined | 13:36 |
| → Balliad_ joined | 13:37 |
| → thierryp joined | 13:38 |
| → szx joined | 13:39 |
| ← dyng left | 13:40 |
| → dyng joined | 13:40 |
| → m0viefreak joined | 13:41 |
| ← Balliad left | 13:41 |
| → travisstaton joined | 13:41 |
| → trandatnh joined | 13:42 |
| → whowantstolivef3 joined | 13:43 |
| ← cmpera left | 13:43 |
| ← Guest68708 left | 13:44 |
| → chuckharmston joined | 13:44 |
| f8ld → f8l | 13:44 |
|
Scorchin
| cbreak: yeah, I'm thinking about using gpg to sign commits to know that they were created by they claim to be | 13:45 |
| ← dyng left | 13:45 |
|
cbreak
| git doesn't add shortcommings. | 13:45 |
|
Scorchin
| cbreak: one of the failings I have to deal with, is that transferring files between sites can only be done through HTTP (no SSL) and I want to guarantee someone can't change the repo in transfer | 13:45 |
|
cbreak
| it's just a signature of a tag (or commit) | 13:45 |
|
Scorchin
| okay | 13:46 |
| ← thierryp left | 13:46 |
|
cbreak
| you can look up the involved parts. | 13:46 |
| ← whowantstolivefo left | 13:46 |
|
cbreak
| potential weaknesses are sha1 (which is used for all git hashes), and the usual GPG weaknesses such as bad keys, insecure storage of private keys, ... | 13:47 |
| ← mdupont left | 13:47 |
| ← zheng left | 13:47 |
| ← King_Hual left | 13:47 |
|
cbreak
| sha1 is kind of nearing the end of its lifetime | 13:47 |
|
| with gpg, if you use a 2048bit or bigger RSA key, you might be OK for the next few years | 13:47 |
|
Scorchin
| great, thanks | 13:47 |
|
| as long as I can use signed tags/commits to guarantee the integrity of my repos when they're in transfer :-) | 13:48 |
| ← szx left | 13:50 |
| ← asakura left | 13:51 |
| ← chuckharmston left | 13:51 |
| ← trandatnh left | 13:53 |
| → dyng joined | 13:53 |
| ← Mode-M left | 13:54 |
| → nemesit|znc joined | 13:55 |
| ← salamanderrake left | 13:56 |
| ← dfanjul left | 13:56 |
| → ferdev joined | 13:57 |
| ← ferdev left | 13:57 |
| → King_Hual joined | 13:58 |
| → dfanjul joined | 13:59 |
| → ehmatthes joined | 14:01 |
|
cbreak
| guarantee within limits. | 14:02 |
| ← emergion left | 14:04 |
| ← koda left | 14:06 |
| ← rurufufuss left | 14:06 |
| → trandatnh joined | 14:07 |
| → ciampix joined | 14:08 |
| → bodom joined | 14:10 |
| ← milStaja left | 14:10 |
| ← mklappstuhl left | 14:10 |
| ← edran left | 14:11 |
| ← dyng left | 14:12 |
| → jefflyne joined | 14:12 |
| ← dfanjul left | 14:12 |
| → dyng joined | 14:12 |
| → amcsi joined | 14:13 |
| ← dyng left | 14:13 |
| ← Balliad_ left | 14:13 |
| → dyng joined | 14:13 |
| ← nemesit|znc left | 14:13 |
| → koda joined | 14:14 |
| barking_dog → barking_cat | 14:15 |
| → Balliad joined | 14:15 |
| → fridim_ joined | 14:15 |
| ← koda left | 14:17 |
| → koda joined | 14:17 |
| → mklappstuhl joined | 14:18 |
| ← RaceCondition left | 14:18 |
| ← dyng left | 14:18 |
| ← Milossh left | 14:18 |
| → dyng joined | 14:19 |
| → RaceCondition joined | 14:19 |
| → rurufufuss joined | 14:19 |
| ← introom left | 14:20 |
| → nemesit|znc joined | 14:21 |
| → dyng_ joined | 14:21 |
| ← dyng left | 14:21 |
| → staafl joined | 14:23 |
| → Milossh joined | 14:24 |
| ← dyng_ left | 14:25 |
| → dyng joined | 14:25 |
| → jaskirat joined | 14:27 |
| → sayanee joined | 14:27 |
| gitinfo set mode: +v | 14:28 |
| gitinfo set mode: +v | 14:29 |
| ← NicolasTarzia left | 14:29 |
| → petey joined | 14:29 |
| ← dyng left | 14:29 |
| → chairabanta joined | 14:30 |
| ← cagedwisdom left | 14:30 |
| ← Fandekasp left | 14:30 |
| → NicolasTarzia joined | 14:30 |
| → Destos joined | 14:30 |
| → lite_ joined | 14:30 |
|
jaskirat
| y | 14:31 |
| ← abstrusenick left | 14:31 |
|
canton7
| z | 14:31 |
| ← jaskirat left | 14:33 |
| → pantsman joined | 14:34 |
| ← pantsman left | 14:34 |
| → pantsman joined | 14:34 |
| → dyng joined | 14:34 |
| → emergion joined | 14:34 |
| ← dyng left | 14:35 |
| → dyng joined | 14:36 |
|
bremner
| !why | 14:36 |
|
gitinfo
| Why? Because screw you, that's why. | 14:36 |
| → whowantstolivef2 joined | 14:37 |
| ← nemesit|znc left | 14:39 |
| → jaskirat joined | 14:39 |
| ← jaskirat left | 14:39 |
| ← whowantstolivef3 left | 14:39 |
| → nemesit|znc joined | 14:40 |
| → bitkiller joined | 14:40 |
| ← dyng left | 14:41 |
| ← RaceCondition left | 14:43 |
| → kukks joined | 14:44 |
| ← hoschi left | 14:44 |
| → dfanjul joined | 14:44 |
| → RaceCondition joined | 14:44 |
| ← sayanee left | 14:45 |
| → sayanee joined | 14:45 |
| → tmcmahon joined | 14:47 |
| → arietis joined | 14:47 |
| → salamanderrake joined | 14:47 |
| → LuxuryMode joined | 14:49 |
| ← tmcmahon left | 14:49 |
| → Dougie187 joined | 14:50 |
| → cmpera joined | 14:50 |
| ← sayanee left | 14:50 |
| ← marhaban left | 14:50 |
| → yhager|away joined | 14:52 |
| → d3c joined | 14:53 |
| ← trandatnh left | 14:55 |
| ← bodom left | 14:56 |
| → notjohn joined | 14:56 |
| ← mklappstuhl left | 14:57 |
| → dhruvasagar joined | 14:59 |
| → taptapdan joined | 15:00 |
| → tho joined | 15:02 |
| ← dfanjul left | 15:02 |
| → CKyle joined | 15:03 |
| → JPeterson joined | 15:04 |
| → mklappstuhl joined | 15:04 |
| → xxpor_ joined | 15:05 |
| ← nathancahill left | 15:05 |
| ← koda left | 15:06 |
| ← rurufufuss left | 15:06 |
| ← xxpor left | 15:08 |
| → PeterBooker joined | 15:10 |
| → dfanjul joined | 15:10 |
| ← h0bbit_ left | 15:12 |
| → nathancahill joined | 15:12 |
| ← nathancahill left | 15:14 |
| ← CKyle left | 15:15 |
| ← mklappstuhl left | 15:15 |
| ← jefflyne left | 15:16 |
| ← arietis left | 15:17 |
| → mklappstuhl joined | 15:17 |
| ← LuxuryMode left | 15:17 |
| → sriracha joined | 15:17 |
| → aslaen joined | 15:18 |
| → thierryp joined | 15:18 |
| → wrouesnel1 joined | 15:18 |
| → chimay joined | 15:18 |
| → rurufufuss joined | 15:19 |
| ← yhager|away left | 15:20 |
| ← thierryp left | 15:20 |
| → arietis joined | 15:21 |
| → vkz joined | 15:21 |
| → twoface88 joined | 15:22 |
| → thierryp joined | 15:23 |
| ← dsdeiz left | 15:23 |
| ← freestyl3r left | 15:23 |
| → LuxuryMode joined | 15:24 |
| ← twoface88 left | 15:24 |
|
Ivo
| I have 3 commits going out to a pr, and i want to back out/store/stash the outer two and leave the middle two, what's the path of least resistence for that | 15:25 |
| → stamina joined | 15:26 |
| → byprdct joined | 15:27 |
| ← byprdct left | 15:27 |
| → v1n joined | 15:27 |
| → freestyl3r joined | 15:28 |
|
iveqy
| Ivo: why do you wan't to do that? | 15:28 |
|
| Ivo: do you wanna remove those two from the PR? | 15:28 |
| ← FernandoBasso left | 15:29 |
|
milki
| Ivo: !fixup | 15:30 |
|
gitinfo
| Ivo: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 15:30 |
| → h0bbit_ joined | 15:31 |
| → Peter joined | 15:31 |
| ← bsaboia_ left | 15:31 |
| ← dfanjul left | 15:31 |
| ← JPeterson left | 15:31 |
| Peter → Guest50810 | 15:31 |
| → pdx joined | 15:35 |
| → geak joined | 15:35 |
| → CKyle joined | 15:37 |
| gitinfo set mode: +v | 15:37 |
|
Guest50810
| asdf | 15:38 |
|
| diff --git a/thirdfile.txt b/thirdfile.txt | 15:38 |
|
| index 7caac66..f6eb45c 100644 | 15:38 |
|
| Binary files a/thirdfile.txt and b/thirdfile.txt differ | 15:38 |
|
| This is all I get with diff. How do I get to show the lines that have been changed? | 15:38 |
| → dfanjul joined | 15:38 |
|
iveqy
| diff --git? What diff program is that? | 15:39 |
|
Ivo
| iveqy: yeah basically. I ended up going back, branching, and cherrypicking commits | 15:40 |
|
Guest50810
| just git diff on the command line in windows 7 | 15:40 |
| ← Ozch left | 15:40 |
|
iveqy
| Guest50810: no... you runned the diff program | 15:41 |
| ← gitpicker left | 15:42 |
|
Guest50810
| What does that mean? | 15:42 |
| ← lite_ left | 15:42 |
| → gitpicker joined | 15:43 |
|
iveqy
| Guest50810: diff is one program, git is an other program | 15:43 |
|
| try git diff instead | 15:43 |
| ← Burer left | 15:43 |
|
Guest50810
| That what's I did | 15:44 |
|
iveqy
| Guest50810: you said you did: diff --git | 15:44 |
|
| what did you do? | 15:44 |
| ← CKyle left | 15:44 |
|
Guest50810
| I did git diff and got this back: | 15:46 |
|
| diff --git a/thirdfile.txt b/thirdfile.txt | 15:46 |
|
| index 7caac66..f6eb45c 100644 | 15:46 |
|
| Binary files a/thirdfile.txt and b/thirdfile.txt differ | 15:46 |
| → nathancahill joined | 15:46 |
| ← nathancahill left | 15:46 |
| → nathancahill joined | 15:48 |
| ← nathancahill left | 15:48 |
|
iveqy
| Guest50810: okay, so git thinks that your files are binary, do you have any .gitattributes? | 15:48 |
| → threesome joined | 15:49 |
|
Guest50810
| I don't know. I'm trying to figure out how to tell | 15:49 |
| → hrefchef joined | 15:51 |
| ← dfanjul left | 15:51 |
| ← nemesit|znc left | 15:52 |
| → dfanjul joined | 15:52 |
|
Guest50810
| How do I see/edit attributes? | 15:53 |
|
cbreak
| attributes? | 15:53 |
| ← mixel left | 15:53 |
| ← chimay left | 15:53 |
|
cbreak
| Guest50810: you mean man gitattributes? | 15:53 |
|
gitinfo
| Guest50810: the gitattributes manpage is available at http://jk.gs/gitattributes.html | 15:53 |
|
cbreak
| Guest50810: with a text editor. | 15:53 |
| ← pantsman left | 15:54 |
| → mixel joined | 15:55 |
|
Guest50810
| I don't have any attributes file | 15:55 |
| → chuckharmston joined | 15:56 |
|
grawity
| then you don't have any attributes yet, either | 15:57 |
| ← threesome left | 15:58 |
| → twoface88 joined | 15:58 |
|
cmn
| are you sure the files *are* text? | 15:58 |
| → mfulz joined | 15:58 |
| → Squarism joined | 15:59 |
|
cmn
| does 'file' agree it's a plain text file? | 15:59 |
| ← Scorchin left | 15:59 |
|
iveqy
| Guest50810: what does: file thirdfile.txt show you? | 15:59 |
| ← CheckDavid left | 16:00 |
| → joshsmith joined | 16:01 |
|
j416
| iveqy: that's normal output from git diff | 16:01 |
| → a-l-e joined | 16:02 |
|
j416
| (diff --git a/path b/path) | 16:02 |
| ← emergion left | 16:02 |
| → JPeterson joined | 16:02 |
|
iveqy
| j416: yes I know, I missunderstood him that that was the command he runned | 16:02 |
|
j416
| Guest50810: I bet your file is in UTF-16. Use UTF-8. | 16:03 |
| → ThomasCompix joined | 16:04 |
| → Edgan___ joined | 16:04 |
|
Guest50810
| file: command not found | 16:05 |
|
iveqy
| Guest50810: how about: cat thirdfile.txt | 16:05 |
| → Scorchin joined | 16:05 |
| → shuaib joined | 16:06 |
|
j416
| sigh. UTF-16. *hint* | 16:06 |
|
| :) | 16:06 |
|
Scorchin
| Is it possible for someone to spoof signing of a git tag? How does the signing of commits work in git? How hard is it for others to tamper with? | 16:06 |
| → shoshin joined | 16:06 |
|
j416
| Microsoft loves UTF-16. | 16:06 |
| → victorbjelkholm joined | 16:06 |
|
cmn
| Scorchin: it works exactly the same as every other time you sign anything | 16:07 |
|
| if someone else has the private key, they can sign too | 16:07 |
|
| there's nothing git specific aboutit | 16:07 |
|
Guest50810
| j416 I heard you, I takes me a long time to figure anything out. | 16:07 |
| → shihan joined | 16:08 |
|
iveqy
| Scorchin: signing a commit is not the same as signed-off: ... | 16:08 |
| ← mklappstuhl left | 16:08 |
|
Scorchin
| iveqy: I got that bit. I'm more trying to work out how someone might break the use of signed commits. | 16:09 |
| → mklappstuhl joined | 16:09 |
|
grawity
| Git uses PGP for signed tags and commits – so it depends on the security of PGP itself | 16:09 |
|
cbreak
| Scorchin: easiest method: remove the signature. | 16:10 |
|
grawity
| (and on the security of the SHA1 hash) | 16:10 |
| → CKyle joined | 16:11 |
| → nathancahill joined | 16:11 |
| → oriba joined | 16:12 |
| ← nathancahill left | 16:12 |
|
j416
| Guest50810: wild guess, you're using visual studio or similar | 16:13 |
|
Guest50810
| I was able to get the diff details by changing the file to utf-8 | 16:13 |
|
j416
| :) | 16:13 |
|
Guest50810
| I'm using Ultraedit | 16:13 |
|
j416
| ah | 16:13 |
|
cmn
| right, you make the file text, you can get a diff | 16:13 |
| → CheckDavid joined | 16:13 |
|
j416
| good to know that ultraedit uses utf-16 by default (?) too | 16:13 |
| → hoschi joined | 16:14 |
|
j416
| cmn: hm well, utf-16 is also text :) | 16:14 |
|
Guest50810
| But if my files are no utf-16 doesn't that mean I can't use some unicode charactars? | 16:14 |
|
j416
| git just doesn't get that | 16:14 |
| → rudak joined | 16:14 |
|
cmn
| j416: it's not | 16:14 |
| → buhman joined | 16:14 |
| ← dhruvasagar left | 16:14 |
|
buhman
| how do I create a new branch that has no parent commit? | 16:14 |
|
j416
| Guest50810: you can use all unicode characters | 16:14 |
|
| Guest50810: UTF-8 is just a different, more common, representation of Unicode | 16:15 |
| → nemesit|znc joined | 16:15 |
| neal__- → neal__ | 16:15 |
|
Guest50810
| Ok thanks. | 16:15 |
|
cbreak
| UTF-8 can represent more characters than UTF-16, in theory | 16:15 |
|
cmn
| huh? | 16:15 |
|
cbreak
| in practice, those characters were removed from the Unicode standard | 16:15 |
|
cmn
| are you thinking of UCS-2? | 16:15 |
| → tatsuya_o joined | 16:15 |
|
cbreak
| cmn: no | 16:15 |
|
j416
| what characters were removed? | 16:16 |
|
| j416 lost | 16:16 |
| ← arietis left | 16:16 |
|
cmn
| what would utf-8 be able to represent that utf-16 can't? | 16:16 |
|
cbreak
| originally, utf-8 was planed to be up to 6 bytes per glyph | 16:16 |
|
| it is now only up to 5 | 16:16 |
|
| 4 | 16:16 |
| → jruiz joined | 16:16 |
|
iveqy
| Guest50810: my guess is that msys doesn't really like utf-16... | 16:17 |
|
cbreak
| cmn: the UTF-16 encoding is weird. It uses special characters for multi-16-bit groups | 16:17 |
|
j416
| iveqy: it doesn't matter. Git doesn't know how to diff UTF-16, even on not-windows | 16:17 |
| ← hyperair left | 16:17 |
|
cbreak
| I forgot the details but it was quite different from utf8 | 16:17 |
|
iveqy
| j416: really? I thought so... :( | 16:18 |
| → Saurabh joined | 16:18 |
|
cmn
| but you can still have more than 16 bits per codepoint | 16:18 |
|
cbreak
| yes. | 16:18 |
| ← aslaen left | 16:18 |
|
cbreak
| but it's only enough for all of the existing unicode code points | 16:18 |
|
| not for all of the unicode code points that existed before they removed them | 16:18 |
|
j416
| iveqy: I haven't experimented much, maybe there is some setting. You could use your own diff driver to convert it first I suppose. | 16:18 |
|
cbreak
| as I said above: not a practical problem | 16:18 |
|
j416
| cbreak: interesting | 16:19 |
|
cmn
| that sounds for the par for unicode | 16:19 |
|
| j416: there is no setting; UTF-16 embeds zeroed bytes | 16:19 |
| ← mixel left | 16:20 |
| → CycoCid joined | 16:20 |
| ← nicxvan_ left | 16:21 |
| → raonyguimaraes joined | 16:21 |
| ← Dreadnaught left | 16:22 |
| ← ehmatthes left | 16:22 |
| → mizu_no_oto joined | 16:23 |
| ← Vampire0 left | 16:23 |
|
j416
| cmn: what's a zeroed byte? | 16:23 |
|
cmn
| a byte that is zero | 16:23 |
| ← chairabanta left | 16:23 |
| ← h0bbit_ left | 16:23 |
|
cmn
| which hits git's heuristic for binary data | 16:24 |
|
j416
| aah | 16:24 |
|
| clever | 16:24 |
|
| could easily check for a BOM, though | 16:25 |
|
| UTF-16 without BOM is wrong anyway | 16:25 |
|
| might as well treat it as binary | 16:25 |
| → arietis joined | 16:26 |
| ← dfanjul left | 16:26 |
| ← shinnya left | 16:26 |
|
cmn
| but that would involve adding a shitton of extra handling inside git | 16:26 |
| → frgtn joined | 16:27 |
|
j416
| just read the first two bytes before diffing? | 16:27 |
|
| j416 shrugs | 16:27 |
|
j416
| I don't know much about the internals | 16:27 |
|
cbreak
| just add a new diff driver for .utf16 | 16:27 |
|
| easy. | 16:27 |
|
cmn
| the internals are made for utf-8 | 16:27 |
|
j416
| that's what I thought | 16:28 |
|
| @ driver | 16:28 |
|
cmn
| reading the BOM is the least | 16:28 |
|
cbreak
| you'll have to rename your text files, but that shouldn't be an issue | 16:28 |
|
j416
| rename.. nah | 16:28 |
|
| well | 16:28 |
| ← mfulz left | 16:28 |
|
j416
| if the project uses both UTF-8 and UTF-16, then it's.. fail lol | 16:29 |
|
| just .gitattribute whatever file | 16:29 |
| ← Saurabh left | 16:30 |
|
cbreak
| j416: renaming is legit | 16:31 |
|
| j416: windows uses file extensions to designate file content | 16:31 |
|
| OS X too, nowadays. | 16:31 |
|
| no one knows what linux uses... :) | 16:31 |
|
| (probably nothing at all) | 16:31 |
| ← nemesit|znc left | 16:31 |
|
j416
| magic :) | 16:31 |
|
grawity
| a mix of extensions and magic | 16:31 |
|
cbreak
| git apparently fails at magic | 16:31 |
|
| so you'll have to rely on extensions :) | 16:32 |
| → nemesit|znc joined | 16:32 |
| ← ozette left | 16:32 |
| → dfanjul joined | 16:32 |
|
hrefchef
| The linux command "file" determines filetype. Extensions usually determine icons in graphical file browsers. | 16:34 |
| → Vampire0 joined | 16:34 |
| → emergion joined | 16:34 |
|
skorgon
| and 'file' implementes magic | 16:34 |
|
ojacobson
| The lookup tables and rule lists file(1) uses are (A) very long and (B) prone to fucking up in hilarious ways | 16:35 |
| ← mklappstuhl left | 16:36 |
| → hyperair joined | 16:36 |
| ← v1n left | 16:37 |
| ← skeuomorf left | 16:37 |
| → VictorCL joined | 16:37 |
| → mklappstuhl joined | 16:37 |
| → mribeirodantas joined | 16:37 |
| → diget joined | 16:38 |
| ← jday_ left | 16:40 |
|
Guest50810
| When using save as for local files in Ultraedit it uses whatever encoding was selected the last time save as was used. I probably selected utf-16 once many years ago but I rarely save files locally so I never noticed it since them | 16:40 |
|
| . | 16:40 |
| ← notjohn left | 16:41 |
| ← arietis left | 16:42 |
|
ojacobson
| whack the file with iconv and move on :) | 16:42 |
| ← wrouesnel1 left | 16:43 |
| ← rue_XIV left | 16:43 |
| → rue joined | 16:44 |
| → xobb joined | 16:44 |
|
Guest50810
| UTF-16 is a historical accident that persists mainly due to inertia. UTF-16 has no practical advantages over UTF-8, and it is worse in some ways. | 16:44 |
|
| http://benlynn.blogspot.com/2011/02/utf-8-good-utf-16-bad_07.html | 16:44 |
|
| I never knew that. | 16:44 |
| ← mklappstuhl left | 16:44 |
| ← vkz left | 16:44 |
| → mklappstuhl joined | 16:45 |
| → rue_XIV joined | 16:45 |
|
ojacobson
| Written by someone whose entire universe is European and North American languages first, everything else second. | 16:46 |
| ← dfanjul left | 16:46 |
| ← stfn left | 16:46 |
| ← pdx left | 16:46 |
| → dfanjul joined | 16:46 |
| → stfn joined | 16:46 |
| → Ozch joined | 16:47 |
| ← rue left | 16:47 |
| ← _Harm_B_ left | 16:50 |
| → _Harm_B_ joined | 16:51 |
| ← Baluse left | 16:53 |
| ← nilg left | 16:54 |
|
cbreak
| Guest50810: that UTF-16-is-countable person in the comments seems clueless | 16:54 |
| → vkz joined | 16:55 |
| → DaSourcerer joined | 16:55 |
|
cbreak
| Guest50810: apparently he hasn't even heard of combining characters | 16:55 |
| ← jfinn left | 16:55 |
|
cbreak
| unicode is a complex thing. | 16:56 |
|
ojacobson
| No, it's worse | 16:56 |
| → Etheco joined | 16:56 |
| → minim joined | 16:56 |
|
ojacobson
| his first post talks about "if you ensure there are no Surrogate Chars" which is, uh, the point of UTF-16, so | 16:57 |
|
| if you ensure that your string is valid UCS-2, then yes, you can use UCS-2 techniques on it | 16:57 |
|
DaSourcerer
| I've got a question regarding git subtrees: Is it possible to only import a given subdirectory of a remote repository into my project? | 16:57 |
|
ojacobson
| well done son | 16:57 |
| → chairabanta joined | 16:57 |
|
cbreak
| DaSourcerer: not without rewriting history. | 16:57 |
|
| git history is atomic and can not be split (without creating new history) | 16:58 |
|
| or breaking sha1 :D | 16:58 |
|
DaSourcerer
| Hm, okay | 16:58 |
| → skoop joined | 16:58 |
|
DaSourcerer
| I just thought there were a way to pollute my local repo with less clutter. Oh well. | 16:59 |
|
| Anyway, thanks for you help | 17:00 |
| ← PParth left | 17:01 |
| ← melee left | 17:01 |
| → chisler joined | 17:02 |
| → jnavila joined | 17:02 |
| → pbujok joined | 17:03 |
| → jday_ joined | 17:03 |
| ← unreal left | 17:04 |
| → matanya joined | 17:05 |
| → mixel joined | 17:05 |
| → unreal joined | 17:05 |
| ← taptapdan left | 17:06 |
| ← dfanjul left | 17:06 |
| → dhruvasagar joined | 17:06 |
| → jwmann joined | 17:08 |
| ← Etheco left | 17:08 |
| → Etheco joined | 17:08 |
| ← kamikaz31 left | 17:09 |
| ← Soliton left | 17:09 |
| → Soliton joined | 17:11 |
| → jefflyne joined | 17:15 |
| → mikepack joined | 17:15 |
| ← dhruvasagar left | 17:16 |
| ← babilen left | 17:17 |
| ← tatsuya_o left | 17:18 |
| → tatsuya_o joined | 17:19 |
| ← shoshin left | 17:21 |
| ← jnavila left | 17:21 |
| ← doev left | 17:22 |
| → thiago joined | 17:22 |
| → v0n joined | 17:22 |
| ← mixel left | 17:23 |
| ← tatsuya_o left | 17:23 |
| → jruiz_ joined | 17:23 |
| ← ewnd9 left | 17:24 |
|
jwmann
| So I've attempted to rename the directory that my submodule resides in (doing a 'mv' command and relinking it in .gitmodules) but it didn't quite work out. Is there somewhere that I've missed in relinking it? | 17:25 |
| ← petey left | 17:25 |
| ← maroloccio left | 17:25 |
| → petey joined | 17:25 |
| ← jruiz left | 17:25 |
| → rat_thing joined | 17:25 |
| ← petey left | 17:26 |
| → petey joined | 17:26 |
| → LindsayMac joined | 17:26 |
|
LindsayMac
| hey guys. Ive been using github for some time on my machine with no problems. Today I open terminal to try and install node.js frm a repo and i'm told that git is not a command (i am on a mac) | 17:27 |
|
| what in the world am i doing wrong? | 17:27 |
| → RobW_ joined | 17:27 |
|
SamB
| did you recently upgrade anything? | 17:28 |
|
| for example, xcode? | 17:28 |
| ← subhojit777 left | 17:28 |
|
LindsayMac
| I am actually installing XCode now | 17:29 |
|
| per the node.js install instriuctions | 17:29 |
| ← nemesit|znc left | 17:29 |
| → daanavitch joined | 17:29 |
| → shoshin joined | 17:30 |
| ← matanya left | 17:31 |
|
LindsayMac
| woah. why is xcode 2GB?! | 17:31 |
|
SamB
| so did you perhaps have a half-installed copy of git from XCode? | 17:31 |
|
ojacobson
| It's the entire dev kit and SDK for OS X. | 17:31 |
|
| And iOS. | 17:31 |
|
LindsayMac
| AHH ok | 17:31 |
|
| so yea, uits half installed | 17:32 |
| ← mklappstuhl left | 17:32 |
|
LindsayMac
| currently. I didnt know it was SO DAMN BIG | 17:32 |
|
ojacobson
| You can, of course, install git on its own. The version in XCode is a bit out of date, though not badly. | 17:32 |
| → nemesit|znc joined | 17:32 |
|
LindsayMac
| I had it installed on it's own | 17:32 |
|
ojacobson
| XCode also gets you important things like clang and gcc so I'd say let it rice | 17:32 |
| → dfanjul joined | 17:32 |
|
ojacobson
| ride | 17:32 |
| ← rouf_ left | 17:32 |
|
LindsayMac
| but found a bug http://www.hongkiat.com/blog/mountain-lion-git-fix/ | 17:32 |
|
SamB
| LindsayMac: what happens when you run "which git"? | 17:32 |
|
| (also, where had you installed git?) | 17:32 |
| ← barking_cat left | 17:32 |
| ← freestyl3r left | 17:33 |
|
LindsayMac
| i get 'git is not a command | 17:33 |
| → freestyl3r joined | 17:33 |
|
LindsayMac
| where.. hmm that is a good damn question. It was a long time ago | 17:34 |
|
| i'm pretty sure inthe user root | 17:34 |
| → barking_cat joined | 17:34 |
| → arietis joined | 17:35 |
|
cbreak
| LindsayMac: get a mac | 17:35 |
|
LindsayMac
| i am on a mac | 17:36 |
|
cbreak
| then get Xcode | 17:36 |
|
| then install the command line tools | 17:36 |
|
| -> instant git | 17:36 |
|
LindsayMac
| did you not read anything that was said? | 17:36 |
| → axs joined | 17:36 |
|
LindsayMac
| just curious, because if you had, you would see i am in the process of installing xcode | 17:36 |
|
cbreak
| then git will be a valid command. | 17:37 |
|
LindsayMac
| I' not about to explain this again for oyu | 17:37 |
|
| sorry | 17:37 |
| ← |Freeman| left | 17:37 |
|
LindsayMac
| SamB: thank you. hopefully letting this install will finish the job | 17:37 |
| ← mFacenet left | 17:38 |
| → iderik joined | 17:38 |
| → mklappstuhl joined | 17:38 |
|
SamB
| cbreak: the current theory is that the in-progress xcode install has somehow disrupted the previous git install ... | 17:40 |
| ← shoshin left | 17:40 |
|
cbreak
| Xcode installs to /usr/bin, normal git is likely /usr/local/bin | 17:41 |
| ← v0n left | 17:42 |
| ← petey left | 17:42 |
| ← frgtn left | 17:43 |
| → frgtn joined | 17:43 |
| → petey joined | 17:43 |
| → Skrypter joined | 17:44 |
| ← Bosox20051 left | 17:44 |
| → koda joined | 17:44 |
|
LindsayMac
| installing xcode command line tools | 17:44 |
|
| That SHOULD do it | 17:44 |
|
| love how this happens during a hackathon with a deadline | 17:46 |
| → madewokherd joined | 17:46 |
| → mixel joined | 17:46 |
| → devoldmx3 joined | 17:46 |
| ← petey left | 17:47 |
|
LindsayMac
| awesome. UP AND RUNNING AGAIN! | 17:47 |
|
| makes me happy | 17:47 |
| ← Skrypter left | 17:48 |
| ← frgtn left | 17:48 |
| → petey joined | 17:48 |
| ← devoldmx left | 17:48 |
| → Skrypter joined | 17:49 |
| ← Skrypter left | 17:49 |
| → Skrypter joined | 17:50 |
| ← jruiz_ left | 17:51 |
| → rouf joined | 17:51 |
| → mFacenet joined | 17:52 |
| ← DaSourcerer left | 17:53 |
|
LindsayMac
| wow installing node.js was worryingly easy :) | 17:53 |
|
cbreak
| java script... | 17:53 |
| ← thierryp left | 17:53 |
| → thierryp joined | 17:54 |
| → thierryp_ joined | 17:54 |
| ← thierryp left | 17:54 |
| ← Jonesboro left | 17:55 |
| ← axs left | 17:55 |
| ← tho left | 17:55 |
|
LindsayMac
| yes | 17:55 |
| → zarubin joined | 17:55 |
| ← Etheco left | 17:56 |
| → Etheco joined | 17:56 |
| ← looper left | 17:56 |
| → Nicholas_Rishel joined | 17:57 |
| → devoldmx joined | 17:57 |
| ← devoldmx3 left | 17:57 |
| ← Etheco left | 17:57 |
| → rgr joined | 17:57 |
| → Etheco joined | 17:57 |
| ← minim left | 17:58 |
| → tatsuya_o joined | 17:58 |
| ← Guest20398 left | 17:59 |
| → jceb joined | 17:59 |
|
roxlu
| hi guys, what is the best way to deal with static libraries and git? Do I just add them to the repos? | 17:59 |
| ← mizu_no_oto left | 17:59 |
| jceb → Guest7119 | 17:59 |
| → asakura joined | 18:00 |
|
LindsayMac
| you can add and then ignore i believe | 18:00 |
|
| that way you aren't always messing with them | 18:00 |
|
rgr
| Should I use the pre-commit hook to run a script to update some files that get included in that git invocation? (in this case I want to run a script to pack and obfuscate a suite of js files). | 18:00 |
|
roxlu
| LindsayMac: thanks | 18:00 |
|
canton7
| rgr, generally you shouldn't track that stuff in a git repo | 18:00 |
|
LindsayMac
| or you can use a CDN i suppose | 18:00 |
|
roxlu
| ah yeah I thought about that | 18:00 |
| ← dfanjul left | 18:01 |
|
canton7
| make creating them part of your deploy process | 18:01 |
|
rgr
| canton7: I want to so the git push and resultnt side server pull ensures its all up to date and "in sync". | 18:01 |
| → shoshin joined | 18:02 |
| ← emergion left | 18:02 |
|
canton7
| rgr, !deploy | 18:02 |
|
gitinfo
| rgr: Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html | 18:02 |
| ← sebrock left | 18:02 |
|
canton7
| don't use 'git pull' for deploying | 18:02 |
|
roxlu
| canton7: yeah, thought about that.. but compiling the libraries is quite a process for people who aren't experienced with it | 18:02 |
|
canton7
| make it so that a 'git push' runs a post-receive hook (see the link in the trigger), which creates the packfiles, and deploys the lot | 18:03 |
| → sm0ke joined | 18:03 |
|
roxlu
| canton7: can you explain that a bit? | 18:03 |
| → v0n joined | 18:04 |
|
canton7
| oops, I'm getting rgr and roxlu confused | 18:04 |
|
sm0ke
| hey guys so i had this fork on which i was changing code .. and i made a commit to it bfore merging upstream and pushing it my local fork.. | 18:04 |
| ← v0n left | 18:04 |
|
roxlu
| haha | 18:04 |
|
sm0ke
| now how do i handle this | 18:04 |
| ← Guest7119 left | 18:04 |
|
rgr
| works fine for years - but I'll lookin into why it/I shouldnt. I want the packed files local and remote you see. I also dont want to have to install the packing routines on the remove foreign owned web server. So If I need them locally as well as remotely it's fairly straightforward to just include them in the repo. They're not large. thanks anyway. | 18:05 |
| ← Chiko left | 18:05 |
| ← rgr left | 18:05 |
| → FernandoBasso joined | 18:05 |
|
sm0ke
| if i submit a pull request it will be a mess | 18:05 |
|
canton7
| 1) they're an absolute pig to merge, 2) you've got two different files holding the same content, and they're gonna get out of sync | 18:05 |
| ← tatsuya_o left | 18:06 |
| → tatsuya_o joined | 18:06 |
| ← devoldmx left | 18:07 |
| → Advocation joined | 18:08 |
| → axs joined | 18:08 |
| → devoldmx joined | 18:08 |
| → tvw joined | 18:08 |
|
sm0ke
| so can i undo a 'git merge upstream/master' and then undo my commit to local changes? | 18:10 |
| ← tatsuya_o left | 18:11 |
| ← Droolio left | 18:11 |
| → v0n joined | 18:12 |
|
skorgon
| sm0ke: i guess the question is, what do you try to achieve? merging upstream into your branch shouldn't break anything, imho, but might have been useless. | 18:12 |
|
sm0ke
| skorgon: exactly its harmless..but the git summary of pull request will look ugly..containing all the changes which have been made since i last did a merge with my current commit | 18:14 |
|
| ideally i should have done a merge upstream before commiting and pushed to my fork | 18:14 |
|
| then commit my changes | 18:14 |
| → dfanjul joined | 18:15 |
|
sm0ke
| i just messed up..there has to be a way out right? | 18:15 |
| → peroht joined | 18:15 |
|
skorgon
| sm0ke: IMHO, you should not have merged upstream at all. or you should have rebased your changes on top of upstream, in case there is a conflict | 18:15 |
|
LindsayMac
| has anyone found an issue with permissions denied when trying to pull a repo? | 18:15 |
|
| She has tried this http://stackoverflow.com/questions/13195814/trying-to-git-pull-with-error-cannot-open-git-fetch-head-permission-denied | 18:15 |
|
skorgon
| sm0ke: check out the state you want from the !reflog | 18:16 |
|
gitinfo
| sm0ke: The git reflog (`git log -g`) records the SHAs of your HEADs for 2+ weeks. `git checkout -b myrestore OLDSHA` and `git reset --hard OLDSHA` will relink to that state via a new and current branch respectively, see http://sethrobertson.github.com/GitFixUm/ for full details. WARNING: reset --hard will trash any uncommitted changes! Visualize with: gitk --all --date-order `git log -g --pretty=%H` | 18:16 |
| → asQuirreL joined | 18:16 |
|
LindsayMac
| tried to do the chown thing and i get chown: username: illegal group name | 18:16 |
|
An_Ony_Moose
| LindsayMac: which OS are you on? | 18:17 |
| ← mklappstuhl left | 18:17 |
|
LindsayMac
| I am asking for someone, but she is on a mac | 18:17 |
|
cmn
| chown is the right thing (and stop doing stuff as root) | 18:17 |
|
An_Ony_Moose
| LindsayMac: if they have admin rights, try using username:staff instead | 18:18 |
|
cmn
| what is the *actual* command that's causing issues? | 18:18 |
|
An_Ony_Moose
| so chown -R username:staff .git/ | 18:18 |
|
LindsayMac
| An_Ony_Moose: she said she is logged in as admin on your computer. | 18:18 |
|
adaptr
| cat /etc/issue | 18:18 |
|
An_Ony_Moose
| LindsayMac: chown -R username:staff .git/ | 18:18 |
| → kwmiebach joined | 18:18 |
|
LindsayMac
| She's using a GUI for git called Source Tree. | 18:18 |
|
| An_Ony_Moose: ok i will relay the message. Thank you | 18:19 |
|
sm0ke
| it just has a commit which i just made followed by commit which is did 1 month back..in betweenthe upstream repo has many commits which got merged into my latest commit | 18:19 |
| → frgtn joined | 18:19 |
|
sm0ke
| wtf why does git work that way why doesnt fetching upstream fetches the commits seperately instead of merging them in latest commit | 18:19 |
|
skorgon
| fetch never merges | 18:20 |
|
An_Ony_Moose
| ^ | 18:20 |
| ← v0n left | 18:20 |
|
skorgon
| and i doubt that git merges anything "into" your commits | 18:20 |
| ← GODDOG left | 18:20 |
| → youlysses joined | 18:20 |
|
skorgon
| if you pull it'll merge into your current branch, but well, that's what you ask for when you pull | 18:20 |
| → Prazanna joined | 18:21 |
| → v0n joined | 18:21 |
| ← Kronuz left | 18:21 |
|
skorgon
| sm0ke: you should be able to find the HEAD revision your branch was at before the merge you try to undo. find that commit and create a new branch pointing at that commit. from there you should be able to go whatever way you deem to be right. rebase, merge, neither or something else | 18:22 |
| ← offby1 left | 18:22 |
| → offby1 joined | 18:23 |
|
offby1
| !gka | 18:23 |
|
gitinfo
| For a better way to view the reflog, try: gka() { gitk --all $(git log -g --format="%h" -50) "$@"; }; gka | 18:23 |
|
offby1
| sm0ke: that's for you ^^ | 18:23 |
|
| easy way to find out the previous commit | 18:23 |
| ← arietis left | 18:25 |
| → mklappstuhl joined | 18:26 |
| → Goplat joined | 18:26 |
|
sm0ke
| offby1: AHA nice | 18:26 |
| → Kronuz joined | 18:26 |
| ← Tuna-Fish left | 18:26 |
| → Baluse joined | 18:27 |
| → Tuna-Fish joined | 18:27 |
|
sm0ke
| now i see a subtree which has all the changes in between my two commits | 18:27 |
| ← koda left | 18:27 |
|
sm0ke
| what do i do now? | 18:27 |
| ← mklappstuhl left | 18:27 |
| ← d3c left | 18:27 |
| → dreiss joined | 18:28 |
| ← travisstaton left | 18:28 |
| → arietis joined | 18:29 |
| → cmr joined | 18:29 |
|
sm0ke
| reading upon advice you gave how do i create a new brach pointing at a particular commit | 18:30 |
| ← v0n left | 18:30 |
|
sm0ke
| i can see the SHA | 18:30 |
| ← CKyle left | 18:30 |
|
skorgon
| git branch <name> <commit> | 18:30 |
|
| or if you want to check it out immediately 'git checkout -b <name> <commit>' | 18:31 |
| → jruiz joined | 18:32 |
| → sq-one joined | 18:32 |
| → v0n joined | 18:32 |
| ← v0n left | 18:32 |
| → v0n joined | 18:33 |
| → bwreilly joined | 18:33 |
| → chlue joined | 18:34 |
| ← frgtn left | 18:35 |
| → mklappstuhl joined | 18:35 |
| → frgtn joined | 18:35 |
|
LindsayMac
| love it when you enter a hackathon, someone says they have experience with git, and then spends 4 hours asking about git | 18:35 |
| → h0bbit_ joined | 18:36 |
|
cbreak
| what's a hackathon? | 18:36 |
|
LindsayMac
| 'hackathon is a set time where teams get together and build SOMETHING that will benefit the world/planet/environment/people | 18:36 |
|
sm0ke
| crap i need to stash changes i dont want a resolve common conflicts .. be back in 5 mins | 18:36 |
|
LindsayMac
| then at the end the ideas/projects are judged and a winner is selected | 18:36 |
|
cbreak
| sounds weird. | 18:36 |
| ← mklappstuhl left | 18:36 |
|
LindsayMac
| surprised so many people haven't heard of or done a hackathon | 18:36 |
|
cbreak
| good luck. | 18:36 |
|
LindsayMac
| yea well.. the person with all of the style files can't give them to us | 18:37 |
|
cmr
| I'm trying to get a commit timestamp for a given commit. `git show --format=%ct -s $sha` works for some things, but also dumps lots of stuff I don't care about when the sha is, for example, a tag. Is there a plumbing command that can help me here? | 18:37 |
| → CKyle joined | 18:37 |
|
cmr
| LindsayMac: that's only one kind of hackathon | 18:37 |
|
LindsayMac
| its the common definition | 18:38 |
|
grawity
| cmr: how about `git log -1 --format=%ct $sha` | 18:38 |
|
cbreak
| show needs a --no-diff option. | 18:38 |
|
sm0ke
| skorgon: nice.. i created a new branch pointing to just before my change with all the upstream changes let me push that...how do i now get my last commit from previous branch now | 18:38 |
|
cmr
| cbreak: that's what -s is | 18:39 |
|
| grawity: that does it, thanks! what does -1 do? I don't see it in the man page | 18:39 |
|
grawity
| cmr: a shortcut for -n 1 | 18:39 |
|
cmr
| Ah | 18:39 |
|
skorgon
| sm0ke: i'm not 100% sure i have the correct picture of your branche's histories, but i guess you want to cherry-pick that one missing commit into your new branch | 18:40 |
| ← frgtn left | 18:40 |
| ← RaceCondition left | 18:40 |
| → Pyrogerg joined | 18:40 |
| → tatsuya_o joined | 18:40 |
| → mklappstuhl joined | 18:41 |
|
sm0ke
| OK i fu**ed everything up now | 18:41 |
| ← mklappstuhl left | 18:42 |
| ← tatsuya_o left | 18:42 |
|
sm0ke
| i did a git push from my new branch .. doesnt github creates a new branch for me? | 18:42 |
| → Sam_OTnosc joined | 18:42 |
| ← freestyl3r left | 18:43 |
| → tatsuya_o joined | 18:43 |
| ← Balliad left | 18:43 |
|
skorgon
| might depend on your push settings and used syntax. | 18:43 |
| → freestyl3r joined | 18:43 |
|
sm0ke
| i just did a "git push" | 18:43 |
| → mklappst_ joined | 18:44 |
| ← DonRichie left | 18:45 |
| ← rouf left | 18:45 |
| → Balliad joined | 18:46 |
|
cbreak
| git push doesn't create new branches | 18:46 |
|
| (unless you explicitly configure it that way) | 18:46 |
|
grawity
| I think the new push.default does | 18:46 |
|
cbreak
| tell git to push a specific branch if you want that | 18:46 |
| ← JEEB left | 18:46 |
| → rouf joined | 18:46 |
| → frgtn joined | 18:46 |
|
sm0ke
| ok i am in deep shit now | 18:46 |
|
cbreak
| grawity: it configures upstream to some non-existing branch? | 18:47 |
| ← LuxuryMode left | 18:47 |
| ← tatsuya_o left | 18:47 |
| → yhager|away joined | 18:47 |
| ← Advocation left | 18:48 |
| ← Sam_OTnosc left | 18:49 |
|
sm0ke
| ok so now i have my stupid commit on my forked repo...just need to find a way to delete this commit i guess | 18:49 |
| ← staafl left | 18:49 |
| ← rouf left | 18:50 |
| → staafl joined | 18:50 |
|
skorgon
| sm0ke: sort things out locally in some branch. and once you're happy with that branch (force) push it to publish it | 18:50 |
| ← dreiss left | 18:50 |
| ← jruiz left | 18:51 |
|
sm0ke
| skorgon: yea trying that | 18:51 |
| ← rat_thing left | 18:51 |
| ← Kronuz left | 18:52 |
| → threesome joined | 18:53 |
|
sm0ke
| skorgon: got it 1) create a branch pointing to latest commit on upstream branch 2) push ( this time without fail by) git push origin dev2 | 18:55 |
| ← shoshin left | 18:55 |
| → Fernando1asso joined | 18:55 |
|
sm0ke
| everything seems ok .. same no. of commits in my fork and upstream development branch | 18:56 |
| → dreiss joined | 18:56 |
| → khushildep joined | 18:56 |
|
sm0ke
| now how do i cherry pick my transction from another branch ( orginally on which i was working) ? | 18:56 |
| → JEEB joined | 18:56 |
|
sm0ke
| my commit* | 18:56 |
|
| wow i dont know shit about git | 18:57 |
|
| hey that rhymed | 18:57 |
| ← Balliad left | 18:58 |
| → ehmatthes joined | 18:59 |
| ← FernandoBasso left | 18:59 |
| ← frgtn left | 18:59 |
|
sm0ke
| i guess i just need the commit hash? | 19:00 |
| → frgtn joined | 19:00 |
| ← yhager|away left | 19:00 |
|
skorgon
| right, just git cherry-pick <commit> | 19:00 |
| ← hoschi left | 19:00 |
| ← shuaib left | 19:01 |
| → Balliad joined | 19:01 |
|
sm0ke
| thanks i think i got it just failed .. but thats due to confilicting file | 19:02 |
| ← vkz left | 19:02 |
| ← frgtn left | 19:02 |
| → jnavila joined | 19:04 |
| ← mklappst_ left | 19:04 |
|
skorgon
| just resolve the conflict(s), add the change and run git cherry-pick --continue (IIRC, git status tells you the same) | 19:04 |
|
sm0ke
| oh crap..is that necessary i just manually added all files for commit and pushed the commit | 19:06 |
|
| everything looks fine though | 19:06 |
| → kerrick joined | 19:06 |
|
skorgon
| run git status. it might still think you're cherry-picking | 19:06 |
| ← Dougie187 left | 19:07 |
|
sm0ke
| no i just see untracked files | 19:07 |
| → shoshin joined | 19:08 |
| ← devoldmx left | 19:09 |
|
skorgon
| then you should be fine. i hope with "i just manually added all files for commit", you mean, that you resolved the merge conflicts. | 19:09 |
| → devoldmx joined | 19:09 |
| → Davey joined | 19:10 |
|
sm0ke
| skorgon: yes i did..i remove the weird markers >>>> and ==== manually | 19:10 |
|
| skorgon: thanks much! | 19:10 |
|
skorgon
| okay | 19:10 |
|
| np | 19:10 |
| ← RobW_ left | 19:10 |
| → harobed joined | 19:12 |
| ← rudak left | 19:12 |
| → rudak1 joined | 19:12 |
| ← thierryp_ left | 19:12 |
| ← Davey left | 19:12 |
| → wizard_A joined | 19:12 |
|
sm0ke
| just need to clean up everything but may be in morning..got to sleep now..how sometimes a 5 minute works turns into 1 hour | 19:14 |
|
wizard_A
| when i issued a pull command it asks for username and password, i entered both but after this there is a great pause in the terminal. | 19:14 |
| → thierryp_ joined | 19:14 |
|
sm0ke
| learned a few thing though | 19:14 |
|
| have a good one. | 19:14 |
| ← sm0ke left | 19:15 |
|
skorgon
| sm0ke: well, at least you just had to do soem git magic and not rewrite your code | 19:15 |
| ← nemesit|znc left | 19:15 |
| → yhager|away joined | 19:15 |
| → rat_thing joined | 19:15 |
| → beastd joined | 19:17 |
|
wizard_A
| i deleted my master remote is that why it is not able to merge. | 19:17 |
| → Mars` joined | 19:17 |
| → nemesit|znc joined | 19:19 |
| → frgtn joined | 19:19 |
| ← zarubin left | 19:19 |
| → mikef joined | 19:20 |
| → shuaib joined | 19:20 |
| ← shuaib left | 19:20 |
| → Gamecubic joined | 19:20 |
| → ewokchewy joined | 19:22 |
| → vigs joined | 19:23 |
| → tatsuya_o joined | 19:24 |
| → Dunedan joined | 19:25 |
| → |Freeman| joined | 19:25 |
| ← Dunedan left | 19:26 |
| ← rat_thing left | 19:26 |
| ← ewokchewy left | 19:27 |
| ← Jackneill left | 19:28 |
| → Saurabh_ joined | 19:31 |
| → mklappstuhl joined | 19:31 |
| ← axs left | 19:31 |
| ← yhager|away left | 19:33 |
| → p3lim joined | 19:33 |
| ← CheckDavid left | 19:34 |
| ← Fernando1asso left | 19:34 |
| → zarubin joined | 19:36 |
| ← joshsmith left | 19:36 |
| ← arietis left | 19:36 |
| → cirenyc joined | 19:37 |
| → idoru joined | 19:37 |
| ← raonyguimaraes left | 19:38 |
| → kamikaz3 joined | 19:39 |
| → arietis joined | 19:40 |
| ← mikef left | 19:41 |
| ← wizard_A left | 19:41 |
| → mklappst_ joined | 19:43 |
| → devoldmx3 joined | 19:44 |
| ← mklappstuhl left | 19:45 |
| ← devoldmx left | 19:45 |
| → rat_thing joined | 19:45 |
| → therealGent joined | 19:45 |
| → Orbitrix joined | 19:46 |
| ← Orbitrix left | 19:46 |
| → Orbitrix joined | 19:46 |
| ← asQuirreL left | 19:47 |
| → mikef joined | 19:47 |
| ← rat_thing left | 19:47 |
| → cff joined | 19:48 |
| → jchen joined | 19:48 |
|
jchen
| if I need to move the path where a submodule currently lives, how would I go about doing so? | 19:48 |
| ← a-l-e left | 19:49 |
|
jchen
| do it deinit the submodule then re-add it to the new location? | 19:49 |
| ← robbyoconnor left | 19:50 |
| ← mklappst_ left | 19:52 |
| ← cirenyc left | 19:52 |
|
thiago
| git mv | 19:53 |
| → Sendoushi joined | 19:53 |
|
thiago
| or do you mean the repository URL? | 19:53 |
| → gondalier_ joined | 19:53 |
|
jchen
| no, the actual dir location | 19:53 |
|
| git mv doesn't work: fatal: source directory is empty | 19:53 |
| ← vurma left | 19:54 |
|
thiago
| is it already initialised? | 19:54 |
|
jchen
| yes | 19:54 |
| ← Gamecubic left | 19:54 |
|
thiago
| so the directory is not empty, right? | 19:55 |
| → robbyoconnor joined | 19:55 |
|
OMGOMG
| !quiz hint | 19:55 |
| ← Sendoushi left | 19:55 |
|
jchen
| right, there's stuff in there | 19:55 |
|
gitinfo
| Error: I'm not a quiz master | 19:55 |
| → Shaladdle joined | 19:56 |
| → Sendoushi joined | 19:56 |
|
thiago
| jchen: then try to mv manually, git rm the old one, use the normal git submodule stuff to add the new path | 19:56 |
| ← ciampix left | 19:56 |
| → framling joined | 19:56 |
|
jchen
| tahts what i'm trying to avoid, cuz that seems really jank | 19:56 |
|
| unless that's how it's supposed to be done? | 19:56 |
| → snearch joined | 19:57 |
| → jalama joined | 19:57 |
|
OMGOMG
| gitinfo: sorry | 19:58 |
|
jchen
| also fwiw, i've been doing rm, then git mv all the stuffs and then trying to re-initialize | 19:58 |
|
| but it doesn't work as expected because there are still references to the old path in .gitmodules | 19:58 |
| ← robbyoconnor left | 20:00 |
| → pantsman joined | 20:01 |
| ← pantsman left | 20:01 |
| → pantsman joined | 20:01 |
| ← arietis left | 20:02 |
| ← _Harm_B_ left | 20:03 |
| → _Harm_B_ joined | 20:03 |
| → CheckDavid joined | 20:04 |
| ← shoshin left | 20:04 |
| → Risto- joined | 20:04 |
| → Devastator_ joined | 20:05 |
| ← mikef left | 20:05 |
| ← Devastator_ left | 20:05 |
| → Devastator_ joined | 20:05 |
| → shoshin joined | 20:05 |
| ← milestone left | 20:05 |
| ← mikepack left | 20:06 |
| ← Devastator left | 20:06 |
| Devastator_ → Devastator | 20:07 |
| → mikepack joined | 20:07 |
| ← Mars` left | 20:07 |
| → Mars` joined | 20:07 |
| ← chairabanta left | 20:08 |
| → Gamecubic joined | 20:08 |
| → milestone joined | 20:08 |
| ← TomyLobo left | 20:10 |
| ← jalama left | 20:10 |
| ← mikepack left | 20:11 |
| ← Mars` left | 20:12 |
| ← milestone left | 20:12 |
| → devoldmx joined | 20:13 |
| → cirenyc joined | 20:13 |
| → LuxuryMode joined | 20:13 |
| ← beastd left | 20:14 |
| ← gondalier_ left | 20:14 |
| ← chisler left | 20:14 |
| ← devoldmx left | 20:15 |
| ← bitkiller left | 20:15 |
| ← devoldmx3 left | 20:15 |
| → LBV_User joined | 20:15 |
| → devoldmx joined | 20:16 |
| ← CKyle left | 20:16 |
| → gondalier joined | 20:18 |
| → rpg joined | 20:19 |
| ← roxlu left | 20:20 |
| ← arand left | 20:20 |
| → robbyoconnor joined | 20:21 |
| → AWinterman joined | 20:21 |
| ← Risto- left | 20:22 |
| ← gondalier left | 20:22 |
| → RaceCondition joined | 20:22 |
| ← h0bbit_ left | 20:23 |
| → Mars` joined | 20:25 |
| ← Destos left | 20:25 |
| → gondalier joined | 20:26 |
| ← staafl left | 20:26 |
| ← thomas_b left | 20:28 |
| ← gondalier left | 20:29 |
| ← cmpera left | 20:30 |
| ← devoldmx left | 20:30 |
| → devoldmx joined | 20:30 |
| → ahri joined | 20:32 |
| → devoldmx3 joined | 20:32 |
| ahri → Guest37539 | 20:33 |
| → lotus joined | 20:34 |
| ← shoshin left | 20:35 |
| ← longbeach left | 20:35 |
| ← devoldmx left | 20:35 |
| ← sq-one left | 20:36 |
| ← Spyro left | 20:37 |
| ← devoldmx3 left | 20:37 |
| ← Prazanna left | 20:38 |
| → Destos joined | 20:40 |
| ← peroht left | 20:40 |
| ← Destos left | 20:41 |
| ← Balliad left | 20:45 |
| → PaulCapestany joined | 20:45 |
| → Destos joined | 20:45 |
| ← Destos left | 20:45 |
| → Spyro joined | 20:46 |
| ← daanavitch left | 20:46 |
| → theRealGentleman joined | 20:46 |
| → thomas_b joined | 20:46 |
| → Balliad joined | 20:47 |
| → valgrind joined | 20:47 |
| ← kongthap left | 20:47 |
| ← therealGent left | 20:47 |
| ← AWinterman left | 20:47 |
| → AWinterman joined | 20:48 |
| ← Sendoushi left | 20:51 |
| ← Balliad left | 20:51 |
| ← cirenyc left | 20:52 |
| ← AWinterman left | 20:52 |
| ← petey left | 20:53 |
| → Prazanna joined | 20:53 |
| → petey joined | 20:53 |
| → koda joined | 20:53 |
| → linukso joined | 20:53 |
| → Balliad joined | 20:53 |
|
linukso
| It's git transfer of sources reliable? | 20:54 |
|
| In other words, could I trust the downloaded source? | 20:54 |
| ← danicampa901 left | 20:54 |
|
thiago
| yes, it's totally reliable | 20:55 |
|
| it's cryptographically secure | 20:55 |
|
cmn
| if you trust the source of the data | 20:55 |
|
skorgon
| linukso: depends on how much you trust the server and the transport channel | 20:55 |
| ← _iron left | 20:55 |
|
thiago
| you don't need to trust the server or the transport channel | 20:55 |
|
skorgon
| you can sign tags though | 20:55 |
|
thiago
| Git can verify that the transfer was correct | 20:55 |
|
skorgon
| thiago: but not that it was not tempered with | 20:56 |
|
thiago
| that's implied | 20:56 |
|
| you need something to compare *with* | 20:56 |
|
skorgon
| well, that why you can signed tags, right? so you don't have to trust anybody but the signing key | 20:57 |
|
thiago
| it's like connecting to an https server that has a self-signed certificate: if you accept it, you know that you're connected to the server. You just don't know if it's the right server. | 20:57 |
|
| that's one way | 20:57 |
|
| I could just tell you the SHA-1. If you trust me or if you can get the SHA-1 from another source, it's enough. | 20:57 |
|
skorgon
| right | 20:57 |
| ← petey left | 20:57 |
|
thiago
| the public signature is just a way to confirm that the SHA-1 was the one you wanted. | 20:57 |
| → ping-pong joined | 20:57 |
|
skorgon
| that's why i said, if you trust the origin and transport channel, you're fine | 20:57 |
|
thiago
| you transfer the trust to the public key. Do you trust that key? | 20:58 |
| → rat_thing joined | 20:58 |
| ← LuxuryMode left | 20:58 |
|
iveqy
| linukso: if you can verify that the tip of the branch you're interested in has the same sha1 as the one you trust, then you can trust all history and all source | 20:58 |
|
thiago
| if you trust the origin and the transport channel, you don't need to verify SHA-1 or tags | 20:58 |
|
| you know it's right | 20:58 |
|
iveqy
| thiago: yes you do, otherwise you don't check for harddisc errors | 20:59 |
|
thiago
| that's something completely different. That's corruption, not trust. | 20:59 |
|
skorgon
| thiago: faking a git identity is easier than a signed tag | 20:59 |
|
thiago
| skorgon: that assumes the origin and transport channel couldn't be trusted. | 20:59 |
|
iveqy
| with git, you never need to trust the transport channel nor the origin. The transport channel is harmless | 20:59 |
|
skorgon
| thiago: right | 21:00 |
| ← Misan left | 21:00 |
|
iveqy
| thiago: I would say that's trust too | 21:00 |
|
thiago
| what iveqy said now: you don't need to trust the transport channel or the origin | 21:00 |
|
iveqy
| corruption is just an other evil | 21:00 |
|
thiago
| you need to get some out-of-band data to compare with | 21:00 |
|
| examples: the SHA-1 written in a piece of paper, hand-delivered by someone you know and trust | 21:00 |
| → noname001 joined | 21:00 |
| → cirenyc joined | 21:00 |
|
thiago
| the public key of someone you trust, who signed a tag | 21:01 |
| ← _nova left | 21:01 |
|
thiago
| 10000 copies of the repository in multiple servers, reporting the same SHA-1, plus posts on the mailing lists | 21:01 |
|
iveqy
| however, most people don't only need to trust their source, they also need to be sure that noone else can access their source. In that case, the answer is a bit more complicated | 21:03 |
| ← dfanjul left | 21:03 |
| ← rat_thing left | 21:03 |
|
thiago
| trust always comes via an out-of-band piece of information | 21:03 |
|
skorgon
| iveqy: why? a signed tag should sovle exactly that? if somebody alters your code on the server the signature check won't pass | 21:04 |
|
thiago
| right | 21:04 |
|
| but that's because the SHA-1 of the tag wouldn't match | 21:04 |
|
| because the SHA-1 of the commit wouldn't match. If you can verify the SHA-1 of the commit, you don't need the tag. | 21:04 |
|
iveqy
| skorgon: yes, but that doesn't prevent someone else from stealing your code, just insert evil code inside your project | 21:04 |
|
skorgon
| thiago: but i as downstream user probably don't know the correct sha1 | 21:05 |
|
thiago
| the tag helps because you can use the signature embedded in it as a verification | 21:05 |
|
| exactly | 21:05 |
| → dfanjul joined | 21:05 |
| → Caritade joined | 21:05 |
|
skorgon
| iveqy: i don't follow. if you always push signed tags and tell your users to verify the tags before building you're good. even if something evil is in your repo, you would recognize it by a failing signature check and throw it away | 21:07 |
| ← threesome left | 21:07 |
| ← penguin42 left | 21:07 |
| → yhager|away joined | 21:08 |
| → Asenar joined | 21:08 |
| ← geak left | 21:08 |
| → HerrK joined | 21:08 |
| ← vigs left | 21:09 |
| → geak joined | 21:09 |
| → milestone joined | 21:09 |
|
linukso
| holy sh... | 21:09 |
| → ErKa joined | 21:09 |
| ← Xethron left | 21:09 |
| ← graphitemaster left | 21:09 |
|
linukso
| so, what's the conclusion? I'm asking for git own transport | 21:10 |
|
| it implements any TLS? it have WoT + GPG? | 21:10 |
| → cads joined | 21:10 |
|
skorgon
| i guess the question is, what are you concerned about? | 21:10 |
|
| how do you clone? | 21:10 |
|
| via http or git, it's insecure | 21:10 |
|
| ssh uses ssh, so secure | 21:10 |
|
| https uses ssl and is encrypted as well | 21:11 |
| → graphitemaster joined | 21:11 |
| ← cff left | 21:11 |
|
thiago
| the git protocol is unauthenticated and unencrypted. Git will take care of verifying the integrity of the data by itself. | 21:12 |
|
| the git protocol will prevent corruption problems | 21:12 |
| ← noname001 left | 21:13 |
| ← PeterBooker left | 21:13 |
| → Sendoushi joined | 21:14 |
| ← irqq left | 21:14 |
|
linukso
| thiago, I'm saying about security to | 21:15 |
| ← tvw left | 21:15 |
| ← bwreilly left | 21:15 |
|
linukso
| well, we wait for some tls implementation in git protocol... | 21:15 |
|
cmn
| that won't happen | 21:16 |
|
linukso
| cmn, could you see the future? | 21:16 |
| ← cirenyc left | 21:17 |
|
cmn
| I don't see adding enormous complexity so something that doesn't need it when there are at least two transports that already provide anything you could ask of it | 21:17 |
| → petey joined | 21:17 |
|
linukso
| or whatever that satisfies integrity and authenticity | 21:17 |
|
skorgon
| there is transport via ssh and https... what esle do you need? | 21:18 |
|
linukso
| skorgon, just it | 21:18 |
|
| most of the servers don't provide it | 21:18 |
|
| just git protocol | 21:18 |
|
| http://git.savannah.gnu.org/cgit/hurd/hurd.git/ | 21:18 |
| ← gitpicker left | 21:18 |
| ← petey left | 21:18 |
|
linukso
| ssh, but do I have access? | 21:18 |
|
cmn
| those are not interested then | 21:19 |
|
skorgon
| why would you want encrypted transport to an FOSS project? | 21:19 |
|
| that doesn't make sense | 21:19 |
|
thiago
| use https for anonymous, encrypted support | 21:19 |
| → petey joined | 21:19 |
| ← koda left | 21:19 |
|
cmn
| why would they deploy this additional layer on top of the tcp transport when they won't for one that does have it? | 21:19 |
| ← khushildep left | 21:19 |
|
skorgon
| it's open source and will be published on the web anyway, why would you go through the overhead of encryption for that? | 21:19 |
|
linukso
| skorgon, sure | 21:19 |
| → osmosis joined | 21:19 |
|
linukso
| cmn, yes I'm asking that, https | 21:19 |
|
thiago
| if you need authentication, like we discussed before, you need a piece of out-of-band information confirming you've reached the right server | 21:19 |
|
linukso
| skorgon, why not? | 21:20 |
|
cmn
| asking what? | 21:20 |
|
skorgon
| and github and similar services usually use ssh | 21:20 |
|
thiago
| that usually means the CA signing the server's certificate | 21:20 |
| ← rudak1 left | 21:20 |
|
skorgon
| and actually most other services for push as well, since ssh provides auth | 21:20 |
|
linukso
| I just need https | 21:20 |
|
cmn
| use that then | 21:20 |
|
thiago
| linukso: then use https | 21:20 |
|
cmn
| why add TLS to git://? | 21:20 |
|
linukso
| but most of the servers don't provide it | 21:20 |
|
skorgon
| linukso: because it costs resources for no benefit | 21:20 |
|
linukso
| cmn, not TLS | 21:20 |
|
thiago
| linukso: what should it use, if not TLS? | 21:21 |
|
linukso
| <linukso> or whatever that satisfies integrity and authenticity | 21:21 |
|
thiago
| Git itself satisifes integrity | 21:21 |
|
| authentication requires a piece of out-of-band information | 21:21 |
|
cmn
| linukso: yes, you just did ask for that | 21:21 |
|
cbreak
| linukso: if you need https, then use https | 21:21 |
|
| but ssh is better. :) | 21:21 |
|
linukso
| cbreak, why it should be better? | 21:21 |
|
thiago
| TLS solves that by using the CA ceritificate-signing method | 21:21 |
|
cbreak
| linukso: it's not that it should be better | 21:21 |
|
| linukso: it is that it is better | 21:22 |
|
linukso
| cbreak, I'm asking why not saying | 21:22 |
|
| skorgon, man, I'll give you a project with 1 gSLOC by git | 21:22 |
|
cbreak
| ssh is better than https because it is a faster and more streamlined protocol than https | 21:22 |
|
linukso
| skorgon, open source, just with http, you'll run it? | 21:22 |
|
cbreak
| it is easier to set up for git | 21:22 |
|
| it has way stronger client authentication by default | 21:23 |
|
thiago
| cbreak: do you mean git-over-ssh is faster and more streamlined than git-over-https? | 21:23 |
|
linukso
| cbreak, yeah that's true | 21:23 |
|
| cbreak, by default | 21:23 |
|
| cbreak, but | 21:23 |
| ← petey left | 21:23 |
|
skorgon
| linukso: i don't get what you want. for authenticated access use git via ssh. | 21:23 |
|
cbreak
| thiago: yes. http is still a pull based protocol, and the pure existence of dumb http pulls down the average streamlining and speed | 21:23 |
|
linukso
| cbreak, SSH needs WoT, TLS uses centralized trustworthy | 21:23 |
|
cbreak
| linukso: no. | 21:23 |
|
linukso
| cbreak, yes | 21:23 |
|
thiago
| cbreak: how about the smart http? | 21:23 |
|
cbreak
| linukso: use your brain a bit :( | 21:24 |
|
linukso
| cbreak, always | 21:24 |
|
cbreak
| SSH doesn't even have a WoT | 21:24 |
|
skorgon
| linukso: which has proven so secure... | 21:24 |
|
linukso
| cbreak, what the f... | 21:24 |
|
thiago
| SSH doesn't have a WoT | 21:24 |
|
| you are supposed to get the server's key or fingerprint out-of-band | 21:24 |
|
linukso
| cbreak, I have a WoT for ssh, the place that's trustworthy were I list my SSH keys | 21:25 |
|
| that's a verification for my assinatures in SSH | 21:25 |
| ← knigitz left | 21:25 |
|
linukso
| that's SSH WoT | 21:25 |
| → LuxuryMode joined | 21:25 |
|
cbreak
| it seems you don't know what a web of trust is. | 21:25 |
| ← Nicholas_Rishel left | 21:25 |
|
cbreak
| honestly, https has more web of trust like features than ssh will ever have | 21:26 |
|
patagonicus
| There's a tool that uses GPG for SSH auth, if I remember correctly. Not directly WoT, but you can just check if you trust a key and if so add it to authorized_keys. Same for host keys. | 21:26 |
|
cbreak
| but with https you have to trust designated CAs | 21:26 |
| → Nicholas_Rishel joined | 21:26 |
|
linukso
| cbreak, and with SSH? | 21:26 |
|
cbreak
| with ssh there's no one to trust but yourself, because YOU have to verify the keys | 21:26 |
|
linukso
| cbreak, do we have CA's? | 21:26 |
|
| cbreak, SURE | 21:26 |
|
| cbreak, that's why SSH needs WoT | 21:26 |
|
cbreak
| but it doesn't have one. | 21:26 |
|
linukso
| to verify signatures | 21:26 |
|
| cbreak, I use one | 21:27 |
|
thiago
| that's outside the protocl | 21:27 |
|
linukso
| thiago, SURE IT IS! | 21:27 |
|
cbreak
| linukso: what you use is not ssh | 21:27 |
|
thiago
| it's the "out-of-band" data that we discussed | 21:27 |
|
linukso
| GPG WoT is TO! | 21:27 |
| → nathancahill joined | 21:27 |
|
cbreak
| linukso: because ssh does not have a web of trust | 21:27 |
|
| linukso: you should REALLY read up on the basics of the technologies you use | 21:27 |
|
linukso
| cbreak, and what I said? do you have comprehension problems? | 21:27 |
|
| I said SSH needs | 21:27 |
|
| not it haves | 21:28 |
|
thiago
| it will hardly get one now | 21:28 |
|
cbreak
| linukso: it doesn't need | 21:28 |
|
thiago
| ssh has been like that for 15 years | 21:28 |
|
linukso
| sigh... | 21:28 |
|
| cbreak, it needs | 21:28 |
|
thiago
| anyway, that's totally off-topic | 21:28 |
|
cbreak
| linukso: if you want to continue to blabber meaningless garbage, go somewhere else. | 21:28 |
| ← thierryp_ left | 21:28 |
|
thiago
| git uses ssh assuming that you've done the necessary steps to verify that it's secure | 21:28 |
|
linukso
| cbreak, who's doing that is you, man | 21:28 |
|
thiago
| git also uses https assuming you've done the same | 21:29 |
|
skorgon
| let's go back a few minutes. i think linukso is right, he should wait for git:// implementing tls | 21:29 |
|
linukso
| skorgon, not TLS | 21:29 |
| → thierryp joined | 21:29 |
|
thiago
| if your use of ssh or https isn't correct, then your weakest link is there | 21:29 |
|
linukso
| skorgon, could be other thing that gives us authencity and integrity | 21:29 |
|
thiago
| git doesn't need one more authenticated, encrypted protocol. It already has two. | 21:29 |
|
linukso
| but git protocol is perfect for git transfers, but it's insecure! | 21:29 |
|
thiago
| explain why those two aren't enough for your needs | 21:30 |
|
cbreak
| git:// is meant to be insecure. | 21:30 |
| ← chlue left | 21:30 |
|
linukso
| cbreak, meant? | 21:30 |
|
skorgon
| linukso: this is going in circles. git via ssh gives you exactly what you want. use it or don't, i don't give a shit | 21:30 |
|
cbreak
| intended to be. | 21:30 |
|
linukso
| thiago, my needs? | 21:30 |
|
thiago
| linukso: your needs | 21:30 |
|
linukso
| thiago, well, git protocol is perfect for git transfers | 21:31 |
|
iveqy
| git as built in integrity (the sha1) for all protocolls. Git has three authenticated protocolls (http, https, ssh) and git has two encrypted protocolls (https, ssh). What's the fuzz about? Just use whatever you need... | 21:31 |
| ← osmosis left | 21:31 |
|
thiago
| iveqy: http is authenticated? | 21:31 |
|
iveqy
| thiago: yes | 21:31 |
|
thiago
| iveqy: what do you mean? | 21:31 |
|
cmn
| linukso: stop repeating that; we know, if you want to put encryption around it, use the ssh or https transports | 21:31 |
|
cbreak
| authentication without encryption is worthless | 21:31 |
|
linukso
| cmn, I do so | 21:31 |
|
cbreak
| because it is suceptible to MitM attacks | 21:31 |
|
iveqy
| thiago: http://en.wikipedia.org/wiki/Basic_access_authentication | 21:32 |
|
cmn
| then stop complaining | 21:32 |
|
thiago
| iveqy: like cbreak said: authentication without encryption is worthless | 21:32 |
|
iveqy
| cbreak: yes, but http still has it | 21:32 |
|
thiago
| iveqy: it's also client authenticating to the server. I thought we were discussing server authentication. | 21:32 |
| → Kronuz joined | 21:32 |
|
iveqy
| hey, I didn't designed it:( | 21:32 |
|
thiago
| iveqy: how do you verify that you reached the right server? | 21:32 |
|
linukso
| cbreak, what bullshit, we could protect against MiTM without encryption | 21:32 |
|
thiago
| linukso: no, we can't | 21:32 |
|
iveqy
| thiago: oh, that you can't do with http as far as I know. | 21:32 |
|
linukso
| without encrypting the data I meant | 21:33 |
|
| thiago, yes we cam | 21:33 |
| ← thierryp left | 21:33 |
|
cbreak
| linukso: no trolling please. | 21:33 |
|
thiago
| linukso: you can verify the integrity of the data that you received. But you can't tell whether the data you received is what it was supposed to be. | 21:33 |
| ← alezost left | 21:33 |
|
thiago
| linukso: what use is to verify that malicious data isn't corrupt? | 21:33 |
|
linukso
| thiago, we could sign the data | 21:33 |
|
| thiago, signing isn't encryt the data | 21:34 |
|
thiago
| linukso: that's the out-of-band information again | 21:34 |
|
linukso
| it uses encryption | 21:34 |
|
thiago
| right | 21:34 |
|
| it uses encryption. Public key encryption, to be precise. | 21:34 |
|
linukso
| thiago, I did, if you read what I said | 21:34 |
|
| <linukso> without encrypting the data I meant | 21:34 |
|
thiago
| linukso: ok, that is true | 21:35 |
|
linukso
| so is the life, can't download hurd with secure sources... | 21:35 |
|
thiago
| linukso: you've just described the git:// protocol | 21:35 |
|
linukso
| thiago, but it just uses SHA doesn't? | 21:35 |
|
thiago
| linukso: don't trust the origin, don't trust the channel. All you need is to verify the integrity of the data and public key encryption to verify a tag. | 21:35 |
|
cbreak
| linukso: ever heard of signed tags? signed commits? | 21:35 |
|
linukso
| thiago, I sincerely want to | 21:36 |
|
thiago
| for example, I can download the kernel source code from kernel.org or from h4x0r.org. It doesn't matter. | 21:36 |
|
| all I need is Linus's public key so I can verify that the tag he signed passes the check. | 21:36 |
|
cbreak
| did you know kernel.org got hacked? | 21:36 |
|
| they still didn't find out how | 21:37 |
|
linukso
| cbreak, but not the keys | 21:37 |
|
cbreak
| so they still didn't fix the hole | 21:37 |
|
thiago
| cbreak: I think they did | 21:37 |
|
cbreak
| thiago: they did finally? neat :) | 21:37 |
|
linukso
| thiago, I sincerely want to trust te channel, I want to do not waste CPU with encryption but I have to | 21:37 |
|
cbreak
| either way, the git history is still safe | 21:37 |
|
thiago
| linukso: why do you want to trust the channel? | 21:37 |
|
cbreak
| why? because it's signed. | 21:37 |
|
thiago
| linukso: if you want to trust the channel, you want encryption. | 21:37 |
|
iveqy
| linukso: trusting the channel is nonsense for an opensource project | 21:37 |
|
linukso
| thiago, not | 21:37 |
|
| thiago, no | 21:37 |
|
| iveqy, it is | 21:37 |
| ← Balliad left | 21:38 |
|
linukso
| for now it is | 21:38 |
|
thiago
| linukso: sorry, you can't have it both ways. If you want to trust the channel, you need encryption. | 21:38 |
| ← snearch left | 21:38 |
|
cbreak
| if you want to trust the channel, then you need to put down the ethernet cable yourself. | 21:38 |
|
thiago
| linukso: if you want to transmit without encryption, you don't trust the channel. But you can verify whether the data was corrupted. | 21:38 |
|
linukso
| thiago, no man, what I want is trust the channel, what I want is to anyone to hijack my connection | 21:38 |
|
thiago
| linukso: we're having communication problems | 21:39 |
|
linukso
| no one with malicious purposes, what I meant | 21:39 |
|
thiago
| linukso: once again: trust channel = encryption | 21:39 |
| → staafl joined | 21:39 |
| ← Guest37539 left | 21:39 |
|
thiago
| trust source = authentication | 21:39 |
|
linukso
| thiago, man, did you ever heard about quantic cryptography? | 21:40 |
| ChanServ set mode: +o | 21:40 |
|
thiago
| linukso: how is that relevant? | 21:40 |
|
linukso
| not cryptography, it doesn't encrypt the data | 21:40 |
|
cbreak
| linukso: honestly... | 21:40 |
|
thiago
| cbreak: don't take harsh measures | 21:40 |
|
linukso
| but it is secure | 21:40 |
|
thiago
| linukso: is it in use now? | 21:40 |
| ← Kakera left | 21:40 |
|
cbreak
| thiago: you think he's seriously not trolling? | 21:40 |
|
thiago
| cbreak: up until the point about quantum encryption now, no | 21:41 |
|
linukso
| thiago, you said trust = cryptography | 21:41 |
|
thiago
| linukso: no | 21:41 |
|
| linukso: I said trust channel = encrypted channel | 21:41 |
|
linukso
| thiago, yes that what I meant | 21:41 |
|
cbreak
| linukso: get a clue. | 21:41 |
| cbreak set mode: -o | 21:41 |
| ← victorbjelkholm left | 21:41 |
|
thiago
| linukso: to the best of our knowledge of computers and problems, encryption is secure | 21:41 |
| → Balliad joined | 21:41 |
|
linukso
| thiago, yes but | 21:41 |
|
thiago
| linukso: no "but" | 21:41 |
|
| linukso: stop at "yes" | 21:41 |
| → NetJunky joined | 21:42 |
|
linukso
| thiago, what I remember for quantum encryption | 21:42 |
|
thiago
| linukso: stop | 21:42 |
|
| linukso: we agreed that encryption is secure, to the best of our knowledge | 21:42 |
|
NetJunky
| Hi everyone! | 21:42 |
|
linukso
| that it just don't encrypt the data man, WHY can't you fucking listen to me? | 21:42 |
|
thiago
| linukso: because you're not making sense | 21:42 |
|
linukso
| thiago, wait a second | 21:42 |
|
thiago
| linukso: and do NOT use swear words. One more and you will get kicked out of this channel. | 21:43 |
|
cbreak
| linukso: quantum cryptography is for key exchange, not data transmission. It requires a dedicated link, no switches, no routers, no anything in between. So it is completely impractical for almost everything. | 21:43 |
| ← VictorCL left | 21:43 |
| ← linukso left | 21:43 |
|
thiago
| oh well | 21:43 |
| ← nathancahill left | 21:43 |
|
thiago
| cbreak: I think that was a completely clueless person who looked at how Git works and though, "I can revolutionise security!" | 21:44 |
|
NetJunky
| Guys, do I understand correctly, that git cherry-pick is something like Ctrl+C and Ctrl+V one commit from one branch to another? Except, that on branch where it is pasted it is received as entirely new commit? | 21:44 |
|
thiago
| obviously seriously misled | 21:44 |
|
cbreak
| thiago: clueless, yes. | 21:44 |
|
thiago
| NetJunky: yes | 21:44 |
|
| NetJunky: it means "take diff, apply diff" | 21:44 |
|
NetJunky
| @thiago: so this would mean, that it clusters the history. | 21:45 |
|
cbreak
| NetJunky: it copies the changes and the commit message, and creates a new commit with those and the current commit as parent. | 21:45 |
|
thiago
| NetJunky: correct | 21:45 |
| ← leeN left | 21:45 |
|
NetJunky
| @cbreak, @thiago: thank you | 21:45 |
|
cbreak
| the only relation with the original is the patch id | 21:45 |
|
| NetJunky: see man git-patch-id | 21:45 |
|
gitinfo
| NetJunky: the git-patch-id manpage is available at http://jk.gs/git-patch-id.html | 21:45 |
| → linukso joined | 21:45 |
|
thiago
| NetJunky: hint: this is IRC, don't use @. The nickname is enough. | 21:45 |
|
cbreak
| @ means administrator :D | 21:46 |
|
| at least in my client | 21:46 |
|
thiago
| for everyone, and technically "op" | 21:46 |
|
NetJunky
| Okey. Thank you. | 21:46 |
|
thiago
| admin is something else | 21:46 |
|
cbreak
| yes. | 21:46 |
|
linukso
| back, look, why quantum channel ins't for data trasnfer? | 21:46 |
| ← Kronuz left | 21:46 |
|
thiago
| linukso: do you have one available? | 21:46 |
|
linukso
| we could exchange keys, it would be better | 21:46 |
|
NetJunky
| cbreak: will take look at it. Thank you. | 21:46 |
|
linukso
| thiago, well, didn't you said trust channel = encryption | 21:46 |
|
cbreak
| linukso: the same reason why DH is not for data exchange | 21:47 |
|
thiago
| linukso: we're talking about real life. | 21:47 |
|
| linukso: do you have ANY quantum channel? | 21:47 |
|
linukso
| thiago, doesn't matter | 21:47 |
|
thiago
| linukso: sure it does | 21:47 |
|
cbreak
| linukso: because you CAN NOT control the result | 21:47 |
|
thiago
| linukso: we're talking about real life. Are there any quantum channels deployed on the Internet that we could use? | 21:47 |
|
cbreak
| the longest quantum link I've heard of was a few km tops | 21:48 |
|
linukso
| cbreak, but we could have authenticity and integrity not confidentiality | 21:48 |
|
cbreak
| it was a line-of-sight communication | 21:48 |
|
| linukso: no. | 21:48 |
|
thiago
| linukso: totally and completely irrelevant | 21:48 |
|
cbreak
| linukso: it is for key exchange. | 21:48 |
|
| linukso: what do you think that key is used for? | 21:48 |
|
thiago
| linukso: quantum channels are not in use today. Therefore, they are irrelevant. | 21:48 |
|
linukso
| cbreak, do you are the king to say for what we should use quantum channels? | 21:48 |
| → bwreilly joined | 21:48 |
|
linukso
| so trust channel != encryption | 21:48 |
|
| that ends here | 21:49 |
|
cbreak
| linukso: stop being a complete moron and think | 21:49 |
|
thiago
| cbreak: and stop insulting him | 21:49 |
|
linukso
| cbreak, I know man I know | 21:49 |
|
NetJunky
| Guys quick Q about workflow as well. | 21:49 |
|
cbreak
| quantum channels are NOT trusted | 21:49 |
| ← jnavila left | 21:49 |
|
NetJunky
| Does anyone one of you know PHP at any level? | 21:49 |
|
| offby1 shifts uncomfortably | 21:49 |
|
cbreak
| NetJunky: enough to make fun of it. | 21:49 |
|
thiago
| cbreak: please don't enter the discussion about what a quantum channel does or does not do. | 21:49 |
|
linukso
| cbreak, yeah stop that could you use your brain for the discussion? and not for the offenses | 21:49 |
|
thiago
| linukso: quantum channels are NOT in use. Period. | 21:49 |
|
cbreak
| linukso: if you can't handle the truth, don't ask. | 21:50 |
|
thiago
| linukso: it doesn't matter whether they are secure or not. They are irrelevant. | 21:50 |
|
patagonicus
| NetJunky: Yes, at the "I wrote a dozen lines in it once and never want to use it again" level. But just ask, you have higher chances of getting an answer. | 21:50 |
|
thiago
| linukso: so please tell us what your problem is | 21:50 |
|
linukso
| quantum channels are trustworthy | 21:50 |
|
thiago
| linukso: quantum channels are irrelevant | 21:50 |
|
cbreak
| they are not... | 21:50 |
|
thiago
| linukso: stop talking about quantum channels. | 21:50 |
|
linukso
| they are, we could say if the data is trustworthy or not | 21:51 |
| ← SamB left | 21:51 |
|
thiago
| linukso: they are irrelevant. They are not in use. | 21:51 |
| → Kronuz joined | 21:51 |
|
linukso
| thiago, Yeah I know, but | 21:51 |
| ← zarubin left | 21:51 |
|
thiago
| linukso: no "but" | 21:51 |
|
NetJunky
| cbreak: :) Well I have a project, that supports older versions like 5.3 and lower and newer versions. Newer version is at master branch and older at branch A. Now if I have a feature branch, that can be applied to both long-term branches, on what branch should I base it? | 21:51 |
|
offby1
| I wish _everyone_ would quit talking about quantum channels; if I were to ignore you all, there'd be few intelligent people left | 21:51 |
|
thiago
| linukso: since they are not in use, we can't use them. | 21:51 |
|
cbreak
| NetJunky: on the merge base of the two branches? | 21:52 |
|
thiago
| linukso: the question is how we can achieve secure transmissions over channels we *do* have. That's, to the best of our knowledge, encryption. | 21:52 |
| ← youlysses left | 21:52 |
|
offby1
| NetJunky: have you created this feature branch yet? | 21:52 |
|
linukso
| thiago, to make affirmatives we needs to know if it's true | 21:52 |
|
offby1
| also, what cbreak said :) | 21:52 |
|
NetJunky
| cbreak: didn't understand. | 21:52 |
|
| offby1: not yet. | 21:52 |
| ← ngladitz left | 21:52 |
|
cbreak
| NetJunky: the merge base is the last commit those two branches have in common | 21:53 |
|
| NetJunky: man git-merge-base | 21:53 |
|
gitinfo
| NetJunky: the git-merge-base manpage is available at http://jk.gs/git-merge-base.html | 21:53 |
|
NetJunky
| cbreak: you mean the point when two long term branches diverged? | 21:53 |
|
thiago
| linukso: do you want to continue this discussion based on the premise "encryption is not secure" ? | 21:53 |
|
cbreak
| yes. | 21:53 |
|
linukso
| thiago, did I said that? | 21:53 |
|
thiago
| linukso: I am asking if that's what you mean | 21:53 |
| ← harobed left | 21:53 |
|
linukso
| thiago, no, its not what I meant, I meant it ins't just encrypted-based channel that's secure | 21:54 |
|
thiago
| linukso: I agree with you | 21:54 |
|
NetJunky
| cbreak: I see. So I should base feature branch on commit and not some specific branch, that already exists. | 21:54 |
|
thiago
| linukso: there are many secure channels | 21:54 |
|
offby1
| NetJunky: that comment makes no sense | 21:54 |
|
thiago
| linukso: how many of them are widely available for people on the Internet? | 21:54 |
| → cagedwisdom joined | 21:54 |
|
linukso
| thiago, so why did you said trust channel = encryption? | 21:54 |
|
NetJunky
| cbreak: how will it be applied? Can't imagene, sorry. | 21:55 |
| → DrShoggoth joined | 21:55 |
| ← Mars` left | 21:55 |
|
cbreak
| NetJunky: make a new branch from that commit | 21:55 |
| → gondalier joined | 21:55 |
|
offby1
| NetJunky: I think cbreak means that you should base your branch on the newest commit that is common to your existing branches. | 21:55 |
|
cbreak
| done. | 21:55 |
| → petey joined | 21:55 |
|
thiago
| linukso: because we were discussing transmissions over the internet. I don't know any other secure channel there. | 21:55 |
| ← mribeirodantas left | 21:55 |
|
thiago
| linukso: do you? | 21:55 |
| → Mars` joined | 21:55 |
|
NetJunky
| cbreak: I see. Thank you. | 21:55 |
|
| offby1: understand. | 21:55 |
|
linukso
| thiago, I don't know, but it not means it ins't there | 21:56 |
| ← yhager|away left | 21:56 |
|
thiago
| linukso: I agree. There may be others. | 21:56 |
|
| linukso: but since neither you nor I know about them, how would we design software to use them? | 21:56 |
|
linukso
| thiago, and I'm not discussing reliability | 21:57 |
| ← lotus left | 21:57 |
|
cbreak
| nfs works that way. | 21:57 |
|
thiago
| linukso: nor am I | 21:57 |
| → lotus joined | 21:57 |
|
thiago
| linukso: I'm discussing practicality | 21:57 |
|
linukso
| I'm discussing security | 21:57 |
|
cbreak
| it assumes you're on a lan and control all computers. | 21:57 |
|
thiago
| linukso: so am I | 21:57 |
|
jon_
| does anyone use Atlassian Stash? We're considering switching to it and would love some feedback | 21:57 |
|
linukso
| thiago, practically quantum encryption is secure | 21:57 |
| → shinnya joined | 21:57 |
|
thiago
| linukso: but we already established that it's not practical for use. | 21:57 |
|
| linukso: so that's out | 21:57 |
|
| linukso: what other secure channels do you know? | 21:58 |
|
linukso
| thiago, let me see | 21:58 |
|
patagonicus
| Also, what do you mean by "secure". That isn't a simple question, there are lots of different attack models. | 21:58 |
| ← RaceCondition left | 21:58 |
| ← gondalier left | 21:58 |
|
linukso
| thiago, pre-know encryption methods | 21:58 |
| → SamB joined | 21:58 |
|
linukso
| thiago, or keys, or whatever | 21:58 |
|
thiago
| linukso: one-time pads? | 21:58 |
|
linukso
| thiago, I think one-time pads is dependent of .. | 21:59 |
| ← mishok13 left | 21:59 |
|
thiago
| well, you're describing encryption now | 21:59 |
|
linukso
| thiago, yes I'm | 21:59 |
|
thiago
| do you know any secure channel that doesn't rely on encryption? | 21:59 |
|
linukso
| thiago, without encryption? | 21:59 |
| → epicowl joined | 21:59 |
|
ggherdov
| Hello. I cloned a repo getting changesets A <-- B <-- C. I added my cset D on top, thus now I have A <-- B <-- C <-- D. In the meantime, in upstream they committed E on top of C, and they have A <-- B <-- C <-- E. I would like to pull E from upstream, w/o mergind with D; I'd rather like to have two heads on my local repo. Then, my next step would be to | 21:59 |
|
| rebase D on top of E, since I want my cset D to be the latest, in my local repo. | 21:59 |
|
| How is that done? | 21:59 |
| ← Mars` left | 22:00 |
|
thiago
| ggherdov: git rebase | 22:00 |
| ← Caritade left | 22:00 |
|
thiago
| ggherdov: you'll end up with A-B-C-E-D | 22:00 |
| → RaceCondition joined | 22:00 |
|
cbreak
| ggherdov: just git fetch | 22:00 |
|
patagonicus
| ggherdov: There's git pull --rebase which will rebase your commits on the new ones upstream. | 22:00 |
|
linukso
| thiago, well | 22:00 |
|
cbreak
| ggherdov: then you'll have two heads | 22:00 |
|
| origin/master and master | 22:00 |
|
linukso
| thiago, when you preknow the signature | 22:00 |
| ← RaceCondition left | 22:00 |
|
linukso
| thiago, you could use HMAC | 22:00 |
|
thiago
| linukso: "preknow" isn't a verb | 22:00 |
|
linukso
| thiago, pre-know | 22:00 |
|
thiago
| linukso: and signatures rely on encryption | 22:00 |
| ← angelsl left | 22:00 |
|
linukso
| thiago, not HMAC | 22:01 |
|
| thiago, it ins't sinature itself | 22:01 |
|
ggherdov
| thiago: cbreak: thanks. patagonicus: I like this "git pull --rebase" think. trying it. | 22:01 |
|
thiago
| linukso: how do you get the HMAC? | 22:01 |
|
linukso
| thiago, with hash based methods | 22:01 |
|
thiago
| linukso: what do you compare the result to? | 22:01 |
|
linukso
| thiago, to the pre-know signature | 22:02 |
|
thiago
| linukso: how are you going to know the signature of the data that hasn't been created yet? | 22:02 |
| ← ErKa left | 22:02 |
|
jon_
| if you do code reviews on a per-module basis, how do you handle changes that require multiple module changes? i'm considering a sub-module setup but this is the biggest sticking point | 22:02 |
|
linukso
| thiago, I don't, that won't be secure | 22:02 |
| ← HerrK left | 22:02 |
|
thiago
| linukso: so let's discard it | 22:02 |
|
| linukso: anyway, let's get back to practical matters | 22:03 |
|
linukso
| cbreak, you know what's the problem in using quantum channels just for QKD? | 22:03 |
|
cbreak
| hmm? | 22:03 |
|
linukso
| cbreak, quantum key distribution | 22:03 |
|
thiago
| linukso: the git:// protocol allows you to transmit without encryption. It's also possible to verify that you received the data without corruption. Furthermore, it's possible to know that the data wasn't tampered with by checking the signature (you need out-of-band information for this). | 22:03 |
|
cbreak
| as I said: they are used for key transfer. They don't handle authentication, they require an out-of-band channel for coordination and they don't transfer data | 22:03 |
|
linukso
| cbreak, quantum computers, they could break the asymmetric-encryption that are made by normal computers | 22:03 |
|
thiago
| linukso: tell me: is this enough for your needs? | 22:04 |
|
cbreak
| linukso: so? | 22:04 |
| ← antoks left | 22:04 |
| ← h34d3r left | 22:04 |
|
thiago
| linukso: quantum encryption is off-topic. Please take it to another channel. | 22:04 |
|
linukso
| cbreak, is the problem in using quantum channels just for QKD | 22:04 |
| ← kamikaz3 left | 22:04 |
|
cbreak
| linukso: they can break about 10 bit keys | 22:04 |
|
linukso
| cbreak, they who? the computers? | 22:04 |
|
cbreak
| the quantum computers | 22:04 |
|
thiago
| linukso: take it to another channel | 22:04 |
|
| cbreak: please don't continue this here | 22:05 |
|
cbreak
| alright. | 22:05 |
|
thiago
| linukso: are you going to answer my question? | 22:05 |
| ← Zarthus left | 22:05 |
| → Balliad_ joined | 22:05 |
|
linukso
| thiago, it fits, but just if I trust the channel | 22:05 |
|
thiago
| linukso: you don't have to trust the channel | 22:05 |
|
linukso
| thiago, or if the code is small enough | 22:05 |
|
thiago
| linukso: you got the data. Git by itself can verify whether it was corrupt. | 22:05 |
| → antoks joined | 22:06 |
| ← v0n left | 22:06 |
| → h34d3r joined | 22:06 |
|
linukso
| thiago, and what about authenticity? | 22:06 |
|
thiago
| linukso: you need out-of-band information. Like the SHA-1 that you expected to receive, or someone's public key. | 22:06 |
|
| someone you trust | 22:06 |
|
jon_
| if you do code reviews on a per-module basis, how do you handle changes that require multiple module changes? i'm considering a sub-module setup but this is the biggest sticking point | 22:06 |
|
linukso
| thiago, there's any GPG based git? | 22:06 |
|
thiago
| linukso: GPG can be used to sign tags and commits. | 22:07 |
|
cbreak
| jon_: just ... review multiple modules at the same time... | 22:07 |
| → blindingdawn joined | 22:07 |
| ← antoks left | 22:07 |
|
linukso
| thiago, yeah but automatically | 22:07 |
|
thiago
| linukso: automatically | 22:07 |
|
cbreak
| jon_: or bind them together if they make no sense alone | 22:07 |
|
linukso
| thiago, how could I do that? | 22:07 |
|
thiago
| linukso: git tag -a -s | 22:07 |
|
jon_
| cbreak: but if i break them out into seperate repositories you could not do them at the same time, at least as far as i know | 22:07 |
| → antoks joined | 22:07 |
| → marhaban joined | 22:07 |
|
cbreak
| jon_: sure you can. | 22:07 |
|
| submodules, subtree merging, gitslave... | 22:07 |
|
thiago
| linukso: git commit -S | 22:07 |
|
linukso
| thiago, yeah I could use git with that | 22:07 |
|
| the protocol | 22:08 |
|
jon_
| cbreak: right, but that would require multiple pull-requests | 22:08 |
| ← Balliad_ left | 22:08 |
|
jon_
| that's where the issue is | 22:08 |
|
cbreak
| pull requests? | 22:08 |
|
| nah | 22:08 |
| ← zhost left | 22:08 |
| ← Squarism left | 22:08 |
| ← Balliad left | 22:08 |
|
cbreak
| just tell them to pull the master repository | 22:08 |
|
| that'll bring in all submodule changes too | 22:08 |
|
| naturally, merging in a submodule is a major pain, so don't do that :D | 22:08 |
|
jon_
| if you restrict merging into your master, evrything seems to go to hell | 22:09 |
|
thiago
| linukso: verifying a signature just takes CPU time. It might be long for big projects, but it is practical. | 22:09 |
|
linukso
| thiago, in GPG 2.1 they use ECC | 22:09 |
|
| thiago, it'll be very much faster | 22:10 |
|
thiago
| the one that NSA was reported to tamper with | 22:10 |
|
jon_
| i think the best i could do would be to try to approve the pull requests at near the same time, and just not worry about the brief/miniscule inconsistent state | 22:10 |
|
thiago
| in any case, that's completely irrelevant. Git uses SHA-1. | 22:10 |
|
linukso
| thiago, calm down | 22:10 |
|
| thiago, they tamper just one implementation of it | 22:10 |
|
NetJunky
| cbreak: is it possible to checkout a specific commit as new branch. i.e. git checkout -b A SHA1? | 22:10 |
|
Hello71
| thiago: i have reported that nsa has tampered with the earth. | 22:10 |
|
thiago
| maybe. Still, it's not relevant for this channel. | 22:10 |
|
cbreak
| NetJunky: yes. exactly that way | 22:10 |
|
linukso
| thiago, or they tampered the seed thing | 22:10 |
|
thiago
| Hello71: oh man! :-) | 22:11 |
|
NetJunky
| cbreak: okey. Just wanted to be sure first. | 22:11 |
|
linukso
| thiago, cbreak, well that's it, thank you | 22:12 |
|
| bye | 22:12 |
| ← linukso left | 22:12 |
| ← LuxuryMode left | 22:12 |
| → FernandoBasso joined | 22:12 |
|
thiago
| ok, so all that long discussion was to find out that Git can already use GPG to sign commits and tags | 22:13 |
|
| !next | 22:13 |
|
gitinfo
| Another satisfied customer. NEXT! | 22:13 |
|
cbreak
| things the NSA tampered with, probably (partial list): EC DRBG, the NIST curves for ECC, IPSec Standard complexity, SHA3, ... | 22:13 |
|
| thiago resists the urge to discuss that | 22:13 |
|
thiago
| gotta go | 22:13 |
| → Droolio joined | 22:13 |
|
cbreak
| laters. | 22:13 |
| → Sam_OTnosc joined | 22:16 |
| → mizu_no_oto joined | 22:17 |
| ← sriracha left | 22:18 |
| → emergion joined | 22:18 |
| ← unreal left | 22:20 |
| → axs joined | 22:21 |
| ← pantsman left | 22:22 |
| ← milestone left | 22:22 |
| → RaceCondition joined | 22:23 |
| ← dreiss left | 22:23 |
| ← LBV_User left | 22:24 |
| ← Kronuz left | 22:24 |
|
Remram
| what's the standard for tag names for versions these days? | 22:25 |
|
| 0.2, v0.2, pkgname-0.2 ? | 22:25 |
| → unreal joined | 22:25 |
| → LuxuryMode joined | 22:25 |
| ← valgrind left | 22:25 |
| ← Sam_OTnosc left | 22:26 |
| → m0ltar joined | 22:27 |
| → smlgsx joined | 22:30 |
|
cbreak
| r1, r2 and so on is what I use | 22:31 |
| → Mars` joined | 22:31 |
| ← mFacenet left | 22:32 |
| → AWinterman joined | 22:33 |
| ← Sendoushi left | 22:34 |
|
Remram
| r1 ? | 22:35 |
| → sriracha joined | 22:35 |
|
Remram
| that's very unusual | 22:35 |
| ← amcsi left | 22:35 |
| ← tatsuya_o left | 22:36 |
| → Dougie187 joined | 22:36 |
| → tatsuya_o joined | 22:37 |
| → ferdev joined | 22:38 |
|
cbreak
| revision. | 22:39 |
|
| start with 0, add one for each revision. | 22:39 |
| ← marhaban left | 22:39 |
| ← chuckharmston left | 22:39 |
| → osmosis joined | 22:40 |
| ← cads left | 22:41 |
|
Remram
| I could use SVN while I'm at it but that probably wouldn't help me much | 22:41 |
|
| your scheme assumes that versions go up from one minor "revision" to another | 22:42 |
|
| without branching, bugfixes or release candidates | 22:42 |
| ← tatsuya_o left | 22:42 |
|
Remram
| it is extremely limited | 22:42 |
|
| furthermore, it doesn't really answer my question, since you could perfectly just use "1", "2", or pkgname-1 or pkgname-r1 | 22:42 |
| → ewnd9 joined | 22:44 |
| ← Norm__ left | 22:46 |
| → Risto- joined | 22:46 |
| → v0n joined | 22:49 |
| → vigs joined | 22:49 |
| → HumptyDumpty001 joined | 22:49 |
| ← lotus left | 22:50 |
| ← HumptyDumpty001 left | 22:50 |
| ← sriracha left | 22:51 |
|
cbreak
| Remram: branches, bugfixes or release candidates are irrelevant | 22:51 |
|
| I just label all released versions with a release number | 22:51 |
|
arand__
| Remram: Well, the Git documentation uses v0.2 as an example, if you're on github you might want to skip the 'v' since it adds it to the tarball name... | 22:51 |
| ← LuxuryMode left | 22:53 |
| → Fandekasp joined | 22:53 |
| → LuxuryMode joined | 22:55 |
| ← kwmiebach left | 22:56 |
| → kwmiebach joined | 22:57 |
| ← osmosis left | 22:58 |
| ← LuxuryMode left | 22:58 |
| ← PaulCapestany left | 22:58 |
| ← Amandil left | 22:58 |
| → narava_ joined | 22:59 |
| → PParth joined | 23:00 |
| ← ewnd9 left | 23:00 |
| ← PParth left | 23:00 |
| ← geak left | 23:00 |
| ← narava_ left | 23:01 |
| → narava_ joined | 23:01 |
| → PParth joined | 23:01 |
| ← stamina left | 23:02 |
| ← staafl left | 23:04 |
| ← j416 left | 23:04 |
| → tatsuya_o joined | 23:07 |
| ← _Harm_B_ left | 23:07 |
| → _Harm_B_ joined | 23:08 |
| → LuxuryMode joined | 23:09 |
| ← nwertman_ left | 23:09 |
| → cmpera joined | 23:11 |
| → j416 joined | 23:14 |
| ← tatsuya_o left | 23:16 |
| ← narava_ left | 23:17 |
| ← v0n left | 23:18 |
| → narava joined | 23:19 |
| ← petey left | 23:19 |
| ← AWinterman left | 23:20 |
| → AWinterman joined | 23:20 |
| ← AWinterman left | 23:21 |
| → AWinterman joined | 23:21 |
| → Gamecubic_ joined | 23:21 |
| → matthiaskrgr joined | 23:23 |
| gitinfo set mode: +v | 23:23 |
| ← narava left | 23:23 |
|
matthiaskrgr
| >Be careful not to step in the git-gui - nobody gc'ed after the party last night | 23:23 |
|
| what? | 23:23 |
|
offby1
| broken glass everywhere people xxxxxing on the stage you know they just don't care | 23:24 |
| ← Gamecubic left | 23:24 |
|
matthiaskrgr
| mh | 23:24 |
|
offby1
| It's like a jungle. Sometimes it makes me wonder how I keep from going under. | 23:24 |
|
matthiaskrgr
| is there a way to limit git gc on memory (ram) it uses? | 23:24 |
|
offby1
| apart from ulimit, I doubt it | 23:25 |
| → vad joined | 23:25 |
|
vad
| How could I make a bare repository keep a reflog? | 23:25 |
|
grawity
| man git config – look for the pack.* settings | 23:25 |
|
gitinfo
| the git-config manpage is available at http://jk.gs/git-config.html | 23:25 |
|
matthiaskrgr
| I have a repo of around 5 GB and only 3.5 GB ram | 23:25 |
| ← epicowl left | 23:25 |
|
grawity
| vad: core.logAllRefUpdates | 23:25 |
|
vad
| cool. | 23:26 |
|
offby1
| I'd have thought a bare repository _would_ keep a reflog | 23:26 |
| ← oriba left | 23:26 |
|
vad
| matthiaskrgr: git gc --max-pack-size=500m? | 23:26 |
|
| offby1: not by default. | 23:26 |
|
matthiaskrgr
| error: unknown option `max-pack-size=500m' | 23:27 |
|
vad
| it's for git repack | 23:28 |
|
| `git gc` is `git repack -adf` or thereabout, IIRC | 23:28 |
|
matthiaskrgr
| i tried git repack but it seemed to make the pack size even bigger O.O | 23:28 |
|
grawity
| a plain `git repack` doesn't delete loose or duplicate objects by default | 23:28 |
|
| so, did you look through the git-config manpage for pack.* settings? | 23:29 |
| ← axs left | 23:29 |
| → dreiss joined | 23:29 |
|
vad
| follow `git repack` by `git prune` then :) | 23:29 |
| ← theRealGentleman left | 23:31 |
| ← buhman left | 23:32 |
| ← rurufufuss left | 23:33 |
|
matthiaskrgr
| yes, reading it | 23:33 |
| ← FernandoBasso left | 23:34 |
| → LucasTizma joined | 23:35 |
| ← KillYourTV left | 23:36 |
| ← dreiss left | 23:37 |
| ← tagava left | 23:37 |
| → lotus joined | 23:38 |
| ← falconfox left | 23:41 |
| → chuckharmston joined | 23:42 |
| → KillYourTV joined | 23:42 |
| ← King_Hual left | 23:43 |
| ← NetJunky left | 23:43 |
| → notjohn joined | 23:43 |
| → theRealGentleman joined | 23:47 |
| ← chuckharmston left | 23:47 |
| → sriracha joined | 23:48 |
| ← mixel left | 23:50 |
| ← m0ltar left | 23:51 |
| → psyke83 joined | 23:51 |
|
matthiaskrgr
| can I put comments into my .gitconfig file? | 23:52 |
|
psyke83
| hey guys. I'm updating a diverged branch using "git rebase --onto temp oldrevision latestrevision"; my problem is when the first merge failure occurs, "git mergetool" shows that no files need merging. How can I fix this? | 23:52 |
|
matthiaskrgr
| ok found something :) | 23:53 |
| ← blindingdawn left | 23:53 |
| → blindingdawn joined | 23:53 |
| ← AWinterman left | 23:54 |
| → AWinterman joined | 23:55 |
| ← blindingdawn left | 23:58 |
| ← LuxuryMode left | 23:58 |
| ← lotus left | 23:59 |