| 2010-11-03 |
| ← Xeross left | 00:00 |
| ← dpino left | 00:00 |
| ← thierryp left | 00:01 |
| ← wsclock left | 00:01 |
|
fr0sty
| "source foo" plays the file 'foo' in your current shell (so the exports persist) try it with foo = "export MESSAGE=HELLO" && echo $MESSAGE | 00:01 |
|
| wagle: ^ | 00:01 |
|
| assuming the heroku repository is added as a remote. | 00:02 |
| ← chrischambers left | 00:02 |
|
fr0sty
| JohnDav: 'git push heroku 1.0' | 00:02 |
| ← f0rkit left | 00:02 |
| ← goshawk left | 00:03 |
| → Tuller joined | 00:05 |
| → jrmuizel joined | 00:05 |
| → Blackguard joined | 00:05 |
| ← unhygienix left | 00:05 |
| ← amerine left | 00:06 |
| ← ijuma_ left | 00:06 |
| ← mtkd_ left | 00:07 |
| ← eletuchy left | 00:07 |
| ← LiamH left | 00:07 |
| → mtkd_ joined | 00:07 |
| → ijuma_ joined | 00:09 |
| → chrischambers joined | 00:09 |
| → hobodave joined | 00:10 |
| → gagzilla joined | 00:10 |
| ← hakunin left | 00:10 |
| ← gagzilla left | 00:10 |
| → hakunin joined | 00:11 |
| ← kenichi left | 00:12 |
| ← bdiu left | 00:12 |
| → Guest70226 joined | 00:13 |
| ← tvw left | 00:13 |
| ← Guest70226 left | 00:14 |
| → thierryp joined | 00:15 |
| ← ijuma_ left | 00:17 |
| → ijuma_ joined | 00:18 |
| ← brntbeer_ left | 00:19 |
| → rasztasd joined | 00:20 |
| ← clcto left | 00:20 |
| ← rasztasd left | 00:21 |
| ← MikhX left | 00:21 |
| → MikhX joined | 00:21 |
| ← jepler left | 00:21 |
| → abetaha joined | 00:22 |
| → dylanb joined | 00:23 |
| ← mtkd_ left | 00:23 |
| ← pedrobelo left | 00:23 |
| → mtkd_ joined | 00:23 |
| → pedrobelo joined | 00:24 |
| → jepler joined | 00:24 |
| ← coderdad left | 00:25 |
| → Heimidal joined | 00:26 |
| → thiago joined | 00:26 |
| → dreiss joined | 00:28 |
| ← mtkd_ left | 00:29 |
| → unhygienix joined | 00:30 |
| ← aah left | 00:30 |
| → bdiu joined | 00:32 |
| ← keystr0k left | 00:32 |
| ← wuj left | 00:33 |
| ← jrmuizel left | 00:33 |
| → juliohm joined | 00:34 |
| ← hasrb left | 00:37 |
| → kingfishr_ joined | 00:40 |
| → dduncan joined | 00:41 |
| ← odin_ left | 00:41 |
| ← dduncan left | 00:41 |
| → ki__ joined | 00:42 |
| ← mlq left | 00:43 |
| ← TeckniX left | 00:44 |
| ← Karen_m left | 00:44 |
| ← Adaptee left | 00:45 |
| → scottwd9 joined | 00:46 |
|
dylanb
| Evening... any Git gurus about? | 00:46 |
| → jmil joined | 00:46 |
|
thiago
| don't ask for someone, just ask your question | 00:46 |
|
dylanb
| There are two versions of a work-in-progress cheat-sheet at http://www.dylanbeattie.net/cheatsheets/git/ | 00:47 |
|
| But since I've put this together as I've learned my way around it | 00:47 |
|
| I don't know whether it's (a) helpful and (b) correct | 00:47 |
|
| and would appreciate some feedback. | 00:47 |
|
| One version has speech-balloon annotations, the other doesn't - I don't know if they help or hinder. | 00:48 |
|
| Any feedback or comments would be gratefully recevied :) | 00:48 |
| ← Marquel left | 00:48 |
| ← bhosie left | 00:49 |
|
jast
| I think it's great to have both | 00:49 |
| → MikhX_ joined | 00:50 |
| ← s0enke left | 00:50 |
| → ki___ joined | 00:50 |
|
jast
| might help to label the leftmost column (working tree/index, and by the way, you don't distinguish those two) | 00:51 |
| ← rendar left | 00:51 |
| ← ki__ left | 00:51 |
|
dylanb
| You mean - I fail to do so on my chart, or one customarily does not, distinguish those two? | 00:51 |
|
| column labels are right at the bottom | 00:52 |
|
| have they got lost down there, or do they need to be up top? | 00:52 |
|
fr0sty
| yeah, headers, not footers... | 00:53 |
|
jast
| only in the speech bubbles, though, aren't they? | 00:53 |
|
| you don't distinguish. we generally do. | 00:53 |
| ← MikhX left | 00:53 |
| MikhX_ → MikhX | 00:53 |
|
Gecko1986
| could anyone explain me what this guy means with "leave a branch pointing at the most recent commit, so i know which commits to move" | 00:53 |
|
jast
| it's not *necessary* to care about the index, but it makes certain things much easier if you know that it's there | 00:53 |
|
Gecko1986
| ? P | 00:53 |
| ← ki___ left | 00:53 |
|
jast
| Gecko1986: a bit more context perhaps? | 00:54 |
|
dylanb
| got a link to docs/something that'll explain the index to a newbie? | 00:54 |
| → ki__ joined | 00:54 |
|
fr0sty
| dylanb: also, mention the word 'merge' in conjunction with the 'pull' commands. | 00:54 |
|
| or maybe have one of the pulls be an explicit fetch+merge | 00:54 |
|
dylanb
| A pull is effectively a one-step fetch-then-merge, right? | 00:54 |
|
| Second pull is an explicit fetch-merge | 00:54 |
|
| left hand side, after the pull request. | 00:55 |
| ← plediii left | 00:55 |
|
dylanb
| You think I should switch them - fetch/merge first, and pull later? | 00:55 |
|
fr0sty
| ah, right. glossed over that. | 00:55 |
| → Marquel joined | 00:55 |
|
fr0sty
| not necessary. and definitely keep the speech bubbles. | 00:55 |
|
| Gecko1986: have a branch in your repository that points to the most recent commits. I'm not sure why you _wouldn't_ already have a branch there, though. | 00:57 |
| ← juliohm left | 00:57 |
| ← _nil left | 00:57 |
| → s0enke joined | 00:58 |
| ← chrischambers left | 00:58 |
| → QinGW joined | 00:59 |
| ← bdiu left | 00:59 |
|
frogonwheels
| dylanb: cute concept. don't shade out the column headers of the repo! | 00:59 |
|
| dylanb: the bubbles are great! | 00:59 |
|
dylanb
| OK - label columns at the top (headers) instead of at the bottom; read up on working tree/index and show it on the chart... | 00:59 |
| ← orafu left | 01:00 |
| → plediii joined | 01:00 |
|
dylanb
| keep the speech bubbles... | 01:00 |
|
| any more ? | 01:00 |
| → daveb joined | 01:00 |
|
daveb
| is there a way to tell the URL of a repos from a checkout/clone? | 01:00 |
|
frogonwheels
| git remove -v ?? | 01:01 |
|
| lol s/remove/remote | 01:01 |
| → noktoborus_ joined | 01:03 |
|
daveb
| that's it! | 01:04 |
|
SethRobertson
| shivan, a question about gitslave? | 01:04 |
|
daveb
| i found it by reading the docs. thanks | 01:04 |
| → brntbeer_ joined | 01:04 |
| → phantomcircuit_ joined | 01:05 |
| ← Amorphous left | 01:05 |
| → bdiu joined | 01:06 |
| ← hobodave left | 01:07 |
| ← brntbeer left | 01:08 |
| ← brntbeer_ left | 01:09 |
| → LiamH joined | 01:09 |
| → fr0sty___ joined | 01:09 |
| → brntbeer joined | 01:09 |
| ← daveb left | 01:09 |
| ← Marquel left | 01:10 |
| ← comawhite left | 01:10 |
| → stliu joined | 01:11 |
| ← boombatower left | 01:11 |
| → rayners joined | 01:12 |
|
dylanb
| ok - so the git index is where the un-committed commits live until they're committed ? | 01:12 |
|
| so when you git -a somefile, that file is now in your working copy and in the index | 01:12 |
|
| but won't be added to the actual local repo until you do a commit ? | 01:12 |
|
frogonwheels
| git add somefile .. but yes | 01:13 |
|
dylanb
| ah, yeah. | 01:13 |
|
| great. | 01:13 |
|
Gecko1986
| he meant to create a new branch basing it of the current one :P | 01:13 |
|
frogonwheels
| dylanb: when you only stage part of a change, that's where having the whole file in the index really comes into its own | 01:13 |
| ← SkramX left | 01:14 |
| → zackattack joined | 01:14 |
|
frogonwheels
| Gecko1986: so git checkout -b <branch> effectively :) | 01:14 |
|
zackattack
| once i git stash; how can i apply my changes? | 01:14 |
|
| is it "git stash apply" ?? | 01:14 |
|
dylanb
| frogonwheels: 'only stage part of a change'... where can I read more about that? | 01:14 |
|
frogonwheels
| zackattack: if you want to keep the stash around yes.. otherwise git stash pop | 01:14 |
| → Marquel joined | 01:14 |
| → Yuffster joined | 01:14 |
|
dylanb
| it's a new concept to me... | 01:14 |
|
frogonwheels
| dylanb: the best way of seeing it is to use git gui | 01:15 |
| → comawhite joined | 01:15 |
|
dylanb
| ok, cool. I'll check it out. | 01:15 |
|
frogonwheels
| dylanb: click on a file with multiple changes and right-click on a hunk and 'stake hunk' | 01:15 |
| → odin_ joined | 01:15 |
| ← andyburke left | 01:15 |
|
dylanb
| stage/stage ? | 01:16 |
|
| I mean, stake/stage ? | 01:16 |
|
| even ? | 01:16 |
|
frogonwheels
| ahh yes. | 01:16 |
| → simplechat joined | 01:16 |
|
dylanb
| Ok, I'll check it out. | 01:16 |
|
frogonwheels
| dylanb: that sounds like a line from a twilight movie.. :) 'stake hunk' | 01:16 |
|
dylanb
| Thanks so much for your time & assistance :) | 01:16 |
| ← ijuma_ left | 01:17 |
|
dylanb
| It is much appreciated. | 01:17 |
|
frogonwheels
| yw | 01:17 |
|
| arghh.. I have a 'compile' batch file that I use to compile my projects.. and I keep typing 'git compile <options> ' | 01:18 |
| → mithro joined | 01:18 |
| Guest10739 → gdoteof_home | 01:18 |
| → ijuma_ joined | 01:20 |
| ← thiago left | 01:20 |
| ← kukks left | 01:20 |
| ← alberto56 left | 01:21 |
| → tohava joined | 01:22 |
| → Amorphous joined | 01:22 |
| ← jim left | 01:22 |
| ← ki__ left | 01:22 |
|
tohava
| Question, I have a repository in github, I pulled it and am working on it locally (on a branch). I wish to pull the changes done in the master branch on the remote repository into my branch as they add a feature I need, how do I do it? | 01:23 |
| ← acts_as left | 01:23 |
| ← airborn left | 01:23 |
| → jds_ joined | 01:24 |
| ← thierryp left | 01:24 |
|
frogonwheels
| tohava: git fetch && git merge origin/master (presuming it's on master) | 01:25 |
|
| tohava: (and that you have your feature branch checked out) | 01:25 |
| → alberto56 joined | 01:26 |
|
frogonwheels
| tohava: or you could rebase your branch on top of the new master ... in which case git rebase origin/master | 01:26 |
|
| tohava: (that'd be what I'd do - bt it depends on the case) | 01:26 |
|
tohava
| frogonwheels, if i do not rebase, does that mean that when I commit the branch there will be conflicts between the changes done in the master and the changes done in the master as were copied to my branch? | 01:27 |
|
| i.e. does git understand that there is no need to apply the changes that I already downloaded again? | 01:27 |
| → kanru joined | 01:28 |
|
frogonwheels
| tohava: merge vs rebase .. is just whether you want your history to be linear or to include the fact that it was a branch an merge. | 01:28 |
|
| tohava: merge being the branch/merge thing .. and rebase being linear | 01:28 |
| → xiangfu joined | 01:29 |
|
tohava
| frogonwheels, ok, in this case I do not mind a normal merge | 01:29 |
|
| thanks | 01:29 |
| ← jds_ left | 01:29 |
| ← lemonchicken left | 01:30 |
| → Rogi_ joined | 01:31 |
| ← JEEB left | 01:32 |
| ← stliu left | 01:33 |
| ← Rogi left | 01:33 |
| → bhosie joined | 01:34 |
| ← Rogi_ left | 01:35 |
| ← hakunin left | 01:35 |
| → hakunin joined | 01:36 |
| → brahmana joined | 01:38 |
| ← MikhX left | 01:39 |
| → lemonchicken joined | 01:39 |
| → sergio_ joined | 01:39 |
| jhelwig_ → jhelwig | 01:40 |
| ← brahmana left | 01:42 |
| → JEEB joined | 01:43 |
| → dissidentss joined | 01:44 |
| ← rayners left | 01:44 |
| → thierryp joined | 01:45 |
| → rayners joined | 01:46 |
| ← ignatp left | 01:47 |
| → ignatp joined | 01:47 |
| ← noktoborus_ left | 01:48 |
| → q0rban joined | 01:49 |
| ← pasky left | 01:49 |
| ← thierryp left | 01:50 |
| → noktoborus_ joined | 01:50 |
| ← zackattack left | 01:51 |
| ← kingfishr_ left | 01:54 |
|
krang
| hey all, if I realise that I'm working on the wrong branch but have only just created it, what's the best way to change branch without losing the changes in my working directory? | 01:54 |
|
frogonwheels
| krang: git checkout <right branch> | 01:55 |
|
krang
| frogonwheels: Won't that lose my changes in the working dir? | 01:55 |
|
frogonwheels
| krang: if that would clobber files it will refuse to do it | 01:55 |
|
| krang: if the files are the same in both branches, you'll be in the new branch with the changes still there | 01:55 |
|
| krang: if it refuses.. git stash && git checkout <right branch> && git stash pop | 01:56 |
| → pasky joined | 01:56 |
|
krang
| Oh yeah, wow. Thanks! | 01:56 |
| ← Marquel left | 01:56 |
| ← scottwd9 left | 01:57 |
| ← dylanb left | 01:57 |
| ← s0enke left | 01:58 |
| → kingfishr_ joined | 01:58 |
| → Buglouse joined | 01:58 |
| ← dr_win left | 02:00 |
| → thierryp joined | 02:00 |
| → whaley_ joined | 02:02 |
| ← whaley_ left | 02:02 |
| → dr_win joined | 02:03 |
| ← kingfishr_ left | 02:03 |
| → l2trace99 joined | 02:05 |
| → Marquel joined | 02:05 |
| → s0enke joined | 02:05 |
| ← q0rban left | 02:06 |
| → waterbourne joined | 02:06 |
| → metoikos joined | 02:07 |
| → kingfishr_ joined | 02:08 |
| → gretch joined | 02:08 |
| → MikhX joined | 02:09 |
|
frogonwheels
| krang: git doesn't like doing things with a dirty working directory unless 1) No merging is involved 2) YOu force it (reset --hard, checkout -f &c) | 02:09 |
| → ian_mac joined | 02:10 |
|
krang
| frogonwheels: So why did it let me checkout a different branch this time, even though the working dir was dirty? | 02:10 |
| → mlq joined | 02:10 |
|
frogonwheels
| krang: no merges | 02:11 |
|
| krang: the files that you had modified were the same in both branches. | 02:11 |
|
krang
| frogonwheels: Oh, I see, so it viewed it as working from the last commit in either branch | 02:12 |
|
frogonwheels
| krang: Ithink it's more that it finds all the files it needs to change between the two branches - and makes sure those files haven't been modified | 02:12 |
|
krang
| frogonwheels: i was about to stash, checkout, pop. thanks for confirming that would be the right thing to do under different circumstances. It's also nice to know that I can't easily ruin my working directory with a checkout | 02:13 |
|
frogonwheels
| krang: :) | 02:13 |
| ← _Vi left | 02:14 |
| → davetoo joined | 02:15 |
| → acts_as joined | 02:15 |
| ← abetaha left | 02:16 |
| ← bdiu left | 02:18 |
| ← programble left | 02:19 |
| → Vampire0_ joined | 02:20 |
| ← phantomcircuit_ left | 02:20 |
| ← Vampire0 left | 02:20 |
| ← dreiss left | 02:21 |
| → Slix` joined | 02:24 |
|
Eridius
| does anyone know if I can assume printf is a shell built-in on all platforms git supports? | 02:26 |
|
| Eridius isn't sure if POSIX declares it to be a builtin | 02:26 |
| → AndIrc_ joined | 02:27 |
| ← jschoolcraft left | 02:28 |
| ← AndIrc_ left | 02:28 |
| ← justin-george left | 02:28 |
|
frogonwheels
| Eridius: it's an exe in msys | 02:29 |
|
Eridius
| ok thanks | 02:29 |
| ← kingfishr_ left | 02:31 |
| ← cantoma left | 02:31 |
| → q0rban joined | 02:35 |
|
frogonwheels
| Eridius: why does it need to be built-in for you to use it ? | 02:36 |
| ← patthoyts left | 02:36 |
| → ki__ joined | 02:36 |
| ← alberto56 left | 02:38 |
|
Eridius
| frogonwheels: it doesn't, it's just less performant to spawn subprocesses | 02:39 |
|
| I was writing some shell code and I decided to replace the use of sed with shell prefix/suffix variable manipulations, but I was calling printf several times. If printf isn't a builtin, that kinda defeats the optimization | 02:40 |
|
frogonwheels
| Eridius: ah. yes. presumably you know how to do what you want to do a different way :) | 02:40 |
| ← q0rban left | 02:40 |
|
Eridius
| but I made a change so I only call printf once, so it's good | 02:40 |
|
frogonwheels
| cool - makes sense. | 02:40 |
|
Eridius
| in my test, calling /usr/bin/printf once after doing the variable manipulation is over twice as fast as using sed | 02:41 |
| → brahmana joined | 02:41 |
|
Eridius
| and if printf is a builtin, it's roughly 50 times faster | 02:41 |
| ← perlygatekeeper left | 02:41 |
|
frogonwheels
| Eridius: impressive | 02:41 |
|
| Eridius: presumably this gets called a lot in a particular process then | 02:41 |
| ← merlin83 left | 02:41 |
|
brahmana
| Hi, | 02:41 |
|
frogonwheels
| Eridius: what are you doing that needs printf though? | 02:41 |
|
brahmana
| I am new to git and have been reading the Pro Git book to understand git and its usage. | 02:41 |
|
Eridius
| probably not enough to warrant the optimization ;) but it's going to be called on every argument passed to the command | 02:41 |
|
| frogonwheels: mostly because I don't know if echo supports -n on all platforms | 02:42 |
|
brahmana
| I have written down the workflow for a typical development cycle here : http://pastebin.com/N1MgTJBU | 02:42 |
|
frogonwheels
| ahh | 02:42 |
|
Eridius
| and we already have examples of using printf from shell in the codebase, but no uses of echo -n | 02:42 |
|
SethRobertson
| echo will support -n more than printf will be available | 02:42 |
|
brahmana
| Can someone please take a look at it and see if I have understood it correctly? | 02:42 |
|
Eridius
| SethRobertson: we already depend on printf being available, whether it's a shell builtin or just in the PATH. We don't depend on echo supporting -n at the moment | 02:42 |
|
frogonwheels
| Eridius: -n is fine in msysgit if it helps :) | 02:43 |
|
brahmana
| Also, at the end, on line 78, I have put in a question. Any pointer related to that will be very helpful. | 02:43 |
| ← rpg left | 02:44 |
|
frogonwheels
| Eridius: couldn't you do some kind of check for -n support in echo and set ECHON or something depending | 02:44 |
| → hasrb joined | 02:44 |
|
Eridius
| frogonwheels: as we already depend on printf being available, I see no reason not to just use that | 02:44 |
|
SethRobertson
| brahmana: Assuming the dev has committed, he should next fetch and create his tracking branch for alpha2 | 02:44 |
| → sako joined | 02:44 |
| → cantoma joined | 02:45 |
| → AAA_awright_ joined | 02:45 |
|
SethRobertson
| brahmana: Then the dev should merge his alpha1 into alpha2. Then he is done | 02:45 |
|
brahmana
| SethRobertson: You mean committed to alpah1, right? | 02:45 |
|
SethRobertson
| yes | 02:45 |
|
brahmana
| alpha1 being deleted doesn't have any influence on his local branch? | 02:45 |
|
SethRobertson
| I'm not entirely sure why you need BRANCHES for your alpha milestone work, but we can assume you do | 02:45 |
|
| brahmana no. Deleting a branch does not get rid of anything important, it just deletes the name | 02:46 |
| ← Gunni left | 02:46 |
|
SethRobertson
| I actaully expect that all of you devs, if they did a `git branch -a` would still see that alpha1 branch unless they did something special | 02:46 |
|
| ``does not get rid of anything important'' if you have merged, I mean. | 02:47 |
| ← AAA_awright left | 02:47 |
|
brahmana
| SethRobertson: ok | 02:48 |
|
SethRobertson
| The dev could also rebase his work onto alpha2, but that would be slightly more tricky | 02:48 |
| → naderman_ joined | 02:48 |
| ← naderman left | 02:48 |
|
SethRobertson
| Or cherry pick, or.... | 02:48 |
| → stliu joined | 02:49 |
| ← stliu left | 02:49 |
| → stliu joined | 02:49 |
|
brahmana
| SethRobertson: About the branches for alpha milestones, the idea is that at any point in time the 1.3 will have the previous milestones code, i.e. stable or semi-stable.. Is there a better way? | 02:49 |
|
SethRobertson
| It depends on whether you would ever release a patch to an older alpha release. I might be very inclined to tag the milestones when they are met instead of branching all over the place. But that is more personal preference | 02:50 |
| ← sako left | 02:50 |
|
brahmana
| Ok.. so when we reach the milestone, close the tree for any check-ins, create a tag and then re-open it.. that way? | 02:51 |
|
SethRobertson
| You don't need to "close the tree" whatever that means. Just pull it to your QA system, do final test of whatever that pull is, and then tag on the QA system and `git push --tags` | 02:52 |
| → scottwd9 joined | 02:52 |
| ← Mage left | 02:52 |
|
brahmana
| Ok, when I said close the tree I meant, lock the codelines from any further check-ins until the QA work is complete. | 02:53 |
|
| But I guess I don't need that. | 02:53 |
|
| SethRobertson: When I push the tag from the QA machine, tag will be applied to the same point in the commit history on the remote branch also, right? (Even if there were pushes after that point) | 02:56 |
|
bob2
| tags mark revids | 02:56 |
|
| so yes | 02:56 |
| ← thierryp left | 02:56 |
|
brahmana
| ok.. | 02:56 |
| ← scarabx left | 02:56 |
|
brahmana
| thank you SethRobertson and bob2 | 02:57 |
| ← steph021 left | 02:57 |
| → Mage joined | 02:57 |
| → steph021 joined | 02:57 |
| ← steph021 left | 02:57 |
| → steph021 joined | 02:57 |
| ← gdoteof_home left | 02:58 |
| → thierryp joined | 03:00 |
| → perlygatekeeper joined | 03:01 |
| ← rayners left | 03:01 |
| ← steph021 left | 03:02 |
| ← bhosie left | 03:03 |
| ← petercoulton left | 03:06 |
| ← LiamH left | 03:06 |
| → blaines joined | 03:06 |
| ← thierryp left | 03:07 |
| → dfr|mac joined | 03:07 |
| ← blaines left | 03:07 |
| → [1]dukebag joined | 03:08 |
| → alnewkirk joined | 03:08 |
| ← brahmana left | 03:08 |
| → blaines joined | 03:09 |
| [1]dukebag → dukebag | 03:09 |
| → Bass10 joined | 03:09 |
| ← blaines left | 03:10 |
| ← Tuller left | 03:10 |
| ← davetoo left | 03:11 |
| → blaines joined | 03:11 |
| → shiba_yu36 joined | 03:11 |
| ← Buglouse left | 03:11 |
| ← alester left | 03:12 |
| → bdiu joined | 03:12 |
| ← blaines left | 03:12 |
| → blaines joined | 03:15 |
| → thierryp joined | 03:16 |
| ← blaines left | 03:16 |
| → rayners joined | 03:17 |
| → blaines joined | 03:18 |
| ← dukebag left | 03:18 |
| ← blaines left | 03:19 |
| → Elfe joined | 03:19 |
| ← DrNick left | 03:21 |
| ← Yuffster left | 03:21 |
| → Yuffster joined | 03:22 |
| ← Heimidal left | 03:22 |
| → Heimidal joined | 03:22 |
| ← Elfe_ left | 03:23 |
| → Heimidal_ joined | 03:24 |
| ← Heimidal left | 03:25 |
| ← Bass10 left | 03:27 |
| → blaines joined | 03:32 |
| ← fr0sty___ left | 03:33 |
| → fr0sty___ joined | 03:33 |
| ← blaines left | 03:34 |
| → fr0sty__ joined | 03:34 |
| ← noktoborus_ left | 03:37 |
| → anirudhr joined | 03:37 |
| → ajpiano joined | 03:38 |
| ← dfr|mac left | 03:41 |
| ← adamm left | 03:41 |
| ← Mage_Dude left | 03:44 |
| ← ajpiano left | 03:46 |
| → dreiss joined | 03:46 |
|
dgtlmoon
| how do i make a 'patch' compatible patch when i run git-diff ? | 03:47 |
|
bob2
| they already are patch compatible | 03:48 |
|
dgtlmoon
| nein | 03:48 |
|
bob2
| wfm | 03:49 |
|
kadoban
| dgtlmoon: there's --patch, but that's the default | 03:49 |
|
dgtlmoon
| $ git diff |patch -p0 | 03:49 |
|
| patch: **** Only garbage was found in the patch input. | 03:49 |
|
bob2
| 0 is wrong | 03:49 |
|
| 1 | 03:49 |
| ← scottwd9 left | 03:49 |
|
dgtlmoon
| $ git diff |patch -p1 | 03:50 |
|
| patch: **** Only garbage was found in the patch input. | 03:50 |
|
| | 03:50 |
|
| fffffffffffffffffffffffffu ubuntu is adding ANSI color sequences | 03:50 |
|
bob2
| 'diff = auto' in the [color] block of ~/.gitconfig | 03:51 |
|
offby1
| I just did "git add remote work; git remote update work" ... then "git checkout work/auth". I expected to see a new local branch set up to track work/auth, but instead got the usual "you are in detached HEAD state". I thought this was supposed to create a local branch for me ... am I misunderstanding something? | 03:51 |
|
bob2
| presumably turns off if stdout isn't a tty | 03:51 |
|
kadoban
| dgtlmoon: --no-color? i dunno, mine doesn't do that on ubuntu | 03:51 |
| → Mage_Dude joined | 03:51 |
|
dgtlmoon
| xubuntu here | 03:51 |
|
Eridius
| dgtlmoon: your color options must be set to always show them | 03:51 |
| → intripoon joined | 03:51 |
|
Eridius
| dgtlmoon: it should be set to "auto", not "always" | 03:51 |
|
bob2
| I bet xubuntu does not change tahat in any way | 03:51 |
|
| check your ~/.gitconfig | 03:51 |
|
| offby1: hm, maybe checkout -t ? | 03:52 |
|
dgtlmoon
| bob2, beeeeutiful, thanks heaps :) | 03:52 |
|
bob2
| dgtlmoon: was it set to always in ~/.gitconfig? | 03:52 |
|
dgtlmoon
| bob2, no it was not there, thanks! | 03:53 |
| ← dr_win left | 03:53 |
|
bob2
| weird | 03:53 |
| → blaines joined | 03:54 |
| → DrNick joined | 03:54 |
|
Eridius
| dgtlmoon: do you have any color options set to "always"? | 03:54 |
|
| `git config -l | grep always` | 03:55 |
| ← blaines left | 03:55 |
|
dgtlmoon
| i think i had an old config | 03:55 |
| ← ignatp left | 03:57 |
| ← zombor left | 03:57 |
| → scarabx joined | 03:58 |
| → mikemiller joined | 04:00 |
| → ajpiano joined | 04:00 |
|
mikemiller
| I have a commit history shared with one other person. Does git provide a way to, between two commits, get a diff between HEAD and my first commit, without including the other person's commit? | 04:01 |
|
| *other person's commitS | 04:01 |
| → justin-george joined | 04:02 |
|
mikemiller
| Does my question make sense? | 04:04 |
|
frogonwheels
| mikemiller: not really - not sure of the strcture the commits , and if you mean HEAD , the working directory or the index. | 04:05 |
|
mikemiller
| I think I can just do git diff --author and that will resolve most issues, --rej will solve the rest. | 04:06 |
| → mdel_ joined | 04:10 |
| ← thierryp left | 04:10 |
|
Gecko1986
| is it possible to just apply _1_ commit located at some git repo? | 04:11 |
| → Dunearhp joined | 04:11 |
|
bob2
| cherry-pick | 04:11 |
|
mikemiller
| hrm, that doesn't seem to work :/ | 04:12 |
| ← ian_mac left | 04:14 |
|
Dunearhp
| Can anyone recommend a tool for visualising vim diffs that may make sense to non-programmers? | 04:15 |
|
| s/vim/git/ | 04:15 |
|
| vim on the brain | 04:15 |
| → MmikeMRMA joined | 04:15 |
|
frogonwheels
| Dunearhp: what kind of diffs? Use Kompare or beyond compare as a difftool ? | 04:16 |
| → scottwd9 joined | 04:17 |
|
mikemiller
| hmm, does git diff even take an author? | 04:17 |
| → thierryp joined | 04:17 |
|
mikemiller
| not mentioned in the man page :( | 04:18 |
|
Eridius
| how would diff take an author? | 04:18 |
|
mikemiller
| my situation is this: I have a series of commits by myself and someone else. I only want to include my changes in the diff. | 04:19 |
|
| (and not the other person) | 04:19 |
| ← MmikeDOMA left | 04:19 |
|
Dunearhp
| Kompare looks like it might do (from the google images) Their website is down/missing | 04:19 |
| → abetaha joined | 04:20 |
| ← thierryp left | 04:20 |
|
sitaram
| mikemiller: a diff is, by definition, between 2 specific points. If your commits are *interspersed* with his, you will need to create a temp branch, revert all his commits (on this temp branch) and then do the diff. Then you throwaway the branch and get back to your old one | 04:20 |
|
| Dunearhp: kdiff3 is real nice too... | 04:20 |
|
mikemiller
| sitaram: okay, I'm fine with that... | 04:21 |
|
| so: | 04:21 |
|
| `git branch tempbranch` | 04:21 |
|
| `git checkout tempbranch` | 04:21 |
|
| (checking out the first commit I'm interested in before any of thise) | 04:22 |
|
| then how do I merge in _just_ my commits? | 04:22 |
|
sitaram
| mikemiller: that would be a cherry-pick, or a series of them... in the correct order | 04:22 |
| ← brntbeer left | 04:23 |
|
mikemiller
| can I do a cherry pick selecting all of the commits at once? | 04:23 |
| → tty1 joined | 04:23 |
|
mikemiller
| I guess cherry picking these manually wouldn't be too bad... | 04:24 |
| → andyl joined | 04:27 |
|
SethRobertson
| You can cherry-pick a range | 04:28 |
|
| If you can express a search in git log or whatever, you can cherry pick that search | 04:28 |
|
| (through the magic of xargs) | 04:28 |
|
mikemiller
| ruby script solves the problem and I know the syntax :) | 04:29 |
| → devanjan joined | 04:29 |
| ← bdiu left | 04:32 |
| ← OOPMan left | 04:34 |
| → phantomcircuit joined | 04:34 |
| ← rayners left | 04:36 |
| ← devanjan left | 04:37 |
| ← dreiss left | 04:43 |
| ← sraue left | 04:44 |
| → amerine joined | 04:44 |
| ← shiba_yu36 left | 04:48 |
| ← Slix` left | 04:50 |
| → sraue joined | 04:50 |
| → shiba_yu36 joined | 04:51 |
| → devanjan joined | 04:52 |
| ← jmil left | 04:54 |
| → OOPMan joined | 04:54 |
| → steph021 joined | 04:54 |
| ← steph021 left | 04:54 |
| → steph021 joined | 04:54 |
| ← steph021 left | 04:55 |
| → steph021 joined | 04:55 |
| ← justin-george left | 04:56 |
| ← acts_as left | 04:56 |
| ← anirudhr left | 04:57 |
| → anirudhr joined | 04:57 |
| ← scottwd9 left | 04:58 |
| ← OOPMan left | 05:03 |
| → jtaby_ joined | 05:03 |
| ← pedrobelo left | 05:03 |
| → pedrobelo joined | 05:04 |
| ← pedrobelo left | 05:05 |
| → dreiss joined | 05:06 |
| → noktoborus_ joined | 05:12 |
| → merlin83 joined | 05:19 |
| → kphanee_ joined | 05:20 |
| → roop joined | 05:24 |
| ← Yuffster left | 05:24 |
| ← foocraft left | 05:26 |
|
kphanee_
| hi... i have a question ... | 05:28 |
|
| when cloning from a remote repo can we ask git to exclude some dir while cloning? | 05:28 |
| → acts_as joined | 05:30 |
|
bob2
| no | 05:31 |
|
frogonwheels
| kphanee_: you can exclude a directory on checkout - but it will be still in the repo | 05:31 |
|
| kphanee_: look at sparse checkout | 05:32 |
|
kphanee_
| frogonwheels: thanks :) ... i will check on that... | 05:33 |
|
frogonwheels
| kphanee_: also there's a no checkout option for clone - which you would want to use before you set up sparse configs and do your chekcout | 05:34 |
|
kphanee_
| ok... | 05:35 |
| → eletuchy joined | 05:35 |
| ← mikemiller left | 05:38 |
| → disappearedng joined | 05:40 |
| ← disappearedng left | 05:40 |
| → disappearedng joined | 05:40 |
| ← disappearedng left | 05:41 |
| → AAA_awright joined | 05:42 |
| ← AAA_awright_ left | 05:44 |
| ← ki__ left | 05:44 |
| → ki__ joined | 05:45 |
| → Xeross joined | 05:45 |
| ← Xeross left | 05:45 |
| → Xeross joined | 05:45 |
| → jmil joined | 05:48 |
| ← ki__ left | 05:49 |
| → boombatower joined | 05:50 |
| → Helios joined | 05:50 |
| → OOPMan joined | 05:50 |
| → doener joined | 05:54 |
| → thiago joined | 05:55 |
| ← scarabx left | 05:55 |
| → Hanumaan joined | 05:56 |
| ← bob2 left | 05:57 |
| → disappearedng joined | 05:59 |
| qDot|Away → qDot_ | 05:59 |
| → AAA_awright_ joined | 05:59 |
| ← AAA_awright left | 06:02 |
| ← madewokherd left | 06:09 |
| → _ollie joined | 06:10 |
| → fr0sty_ joined | 06:11 |
| ← _ollie left | 06:13 |
| → ki__ joined | 06:13 |
| ← cantoma left | 06:14 |
| ← hasrb left | 06:17 |
| → goshawk joined | 06:17 |
| ← MikhX left | 06:18 |
| ← kenyon left | 06:18 |
| → kenyon joined | 06:18 |
| → MikhX joined | 06:18 |
| ← jsquared left | 06:20 |
| MmikeMRMA → MmikeDOMA | 06:24 |
| → cantoma joined | 06:27 |
| → tty2 joined | 06:29 |
| ← cantoma left | 06:32 |
| ← tty1 left | 06:33 |
| → _ollie joined | 06:33 |
| ← anirudhr left | 06:35 |
| ← amerine left | 06:36 |
| qDot_ → qDot|Away | 06:36 |
| ← MikhX left | 06:36 |
| ← tty2 left | 06:36 |
| → MikhX joined | 06:37 |
| ← Blackguard left | 06:37 |
| ← jmil left | 06:37 |
| → tty1 joined | 06:37 |
| → anirudhr joined | 06:38 |
| ← metoikos left | 06:38 |
| ← _ollie left | 06:44 |
| → parasti joined | 06:48 |
| → apsysoev joined | 06:48 |
| AAA_awright_ → AAA_awright | 06:48 |
| ← goshawk left | 06:56 |
| → radioman-lt joined | 06:57 |
| → apsysoev1 joined | 07:00 |
| ← apsysoev left | 07:00 |
| → nd joined | 07:01 |
|
nd
| hi there | 07:03 |
| → Torsten joined | 07:03 |
|
nd
| why 'git gc --auto' write message "Auto packing the repository for optimum performance" to stderr and not to stdout? | 07:04 |
| → mtkd_ joined | 07:08 |
| → opalka joined | 07:09 |
|
Eridius
| probably so the user sees it if stdout gets redirected | 07:09 |
| ← ReleaseX left | 07:10 |
| → xiong joined | 07:10 |
| → przemoc joined | 07:10 |
| → ReleaseX joined | 07:11 |
| ← apsysoev1 left | 07:11 |
| ← mtkd_ left | 07:14 |
| ← MikhX left | 07:16 |
| → MikhX joined | 07:16 |
| ← thiago left | 07:18 |
| → dkannan joined | 07:18 |
| → frerich joined | 07:19 |
| ← frerich left | 07:19 |
| → frerich joined | 07:19 |
| → cbreak_work joined | 07:19 |
| → nevyn^_ joined | 07:19 |
| → jds_ joined | 07:20 |
| ← jds_ left | 07:26 |
| ← Eridius left | 07:27 |
| → priidu joined | 07:30 |
| ← frerich left | 07:33 |
| ← parasti left | 07:35 |
| ← devanjan left | 07:35 |
| → saschpe joined | 07:36 |
| ← steph021 left | 07:38 |
| → steph021 joined | 07:38 |
| → kukks joined | 07:39 |
| → jds_ joined | 07:40 |
| → foocraft joined | 07:40 |
| → FabianB_ joined | 07:41 |
| ← FabianB left | 07:42 |
| ← Mage_Dude left | 07:46 |
| ← Heimidal_ left | 07:46 |
| → Heimidal joined | 07:46 |
| ← Torsten left | 07:47 |
| → pantsman joined | 07:48 |
| → Torsten joined | 07:49 |
| ← carpet_the_walls left | 07:49 |
| ← Heimidal left | 07:51 |
| → Mage_Dude joined | 07:52 |
| → ph^ joined | 07:52 |
| ← waterbourne left | 07:54 |
| → valerio joined | 07:56 |
| ← vpilo left | 07:57 |
| ← unhygienix left | 07:58 |
| → galderz joined | 07:59 |
| ← ph^ left | 07:59 |
| ← gretch left | 08:01 |
| valerio → vpilo | 08:01 |
| → gretch joined | 08:02 |
| ← roop left | 08:03 |
| → plediii_ joined | 08:04 |
| → ph^ joined | 08:04 |
| → ntoll joined | 08:05 |
| → ExtraSpice joined | 08:06 |
| → ch077179 joined | 08:07 |
| ← ki__ left | 08:08 |
| → ignatp joined | 08:08 |
| ← plediii left | 08:08 |
| plediii_ → plediii | 08:08 |
| ← Zenopus left | 08:08 |
| → metoikos joined | 08:09 |
| → |kukks| joined | 08:12 |
| → cimenta joined | 08:13 |
| → apsysoev joined | 08:13 |
| → walf443 joined | 08:14 |
| → TomyLobo joined | 08:14 |
| → Zenopus joined | 08:15 |
| ← golodhrim left | 08:15 |
| ← kukks left | 08:16 |
| → k_sze joined | 08:16 |
| → skoop joined | 08:17 |
| → psankar joined | 08:17 |
| → psoo joined | 08:18 |
|
elmargol
| A bug deleted files in HEAD. how do I revert HEAD to 5d67550? | 08:19 |
|
frogonwheels
| elmargol: you mean your master branch? | 08:20 |
|
elmargol
| somehow a merge or something failed and I lost almost all files | 08:20 |
|
| 5d67550 seems to be the last sane commit | 08:20 |
|
frogonwheels
| elmargol: or do you want to go back and branch from 5d67550 | 08:20 |
|
selckin
| git reset --hard 5d | 08:20 |
|
frogonwheels
| elmargol: that will get rid of all commits from then on. | 08:20 |
|
| elmargol: if you want you could put a branch on your current commit so that you can still see and cherry-pick changes | 08:21 |
|
cimenta
| hi, could somebody suggest any tutorial how to set up git repository on my linux server for my developer. I do not have any code localy but I want to make it ready for him and then I will check out the code to my comp. Never used git before. | 08:23 |
| → hobodave joined | 08:24 |
| ← AlexP left | 08:25 |
|
frogonwheels
| cimenta: describe more how you want to use it - is your developer remote - do you want a server to keep the finished changes &c | 08:27 |
| → quesada3 joined | 08:28 |
| ← boombatower left | 08:29 |
| → ayanes joined | 08:30 |
| ← jds_ left | 08:30 |
| ← Mage left | 08:30 |
| → jds_ joined | 08:30 |
|
cimenta
| frogonwheels: my server is overseas, I am in Australia and my developer is somewhere else. not sure what you mean if I want server to keep finished changes. I want to have one place where the current and all versions of code will be. | 08:31 |
| naderman_ → naderman | 08:32 |
| ← naderman left | 08:32 |
| → naderman joined | 08:32 |
|
frogonwheels
| cimenta: git is a distributed source control. so your developer will have a clone of the repository which he will do his work on, commit to it and then push it (presumably) back to your sever. | 08:32 |
| ← priidu left | 08:32 |
| → elmob joined | 08:32 |
|
frogonwheels
| cimenta: so you will probably want to set up something like gitolite which handles access permissions and is secure (as ssh). | 08:33 |
|
| cimenta: (push the changes that is). | 08:33 |
| ← pantsman left | 08:33 |
|
frogonwheels
| cimenta: The other option is to pay to host your project on github. | 08:34 |
|
| cimenta: (assuming a closed project) .. you'll get all sorts of great web tools to manage changes and bug requests & stuff. | 08:35 |
|
| cimenta: and the great thing about git, is that every clone of your repo is a backup. | 08:35 |
|
cimenta
| frogonwheels: ok it looks like gitolite is the way | 08:36 |
|
frogonwheels
| cimenta: it's hosted on github - it's got great doco | 08:37 |
| → mcnellis joined | 08:37 |
| → Schmallon joined | 08:37 |
|
mcnellis
| how can I merge just one file from a branch into my master branch | 08:38 |
|
cimenta
| frogonwheels: thank you | 08:39 |
| → resmo joined | 08:40 |
|
AAA_awright
| mcnellis: Maybe git cherry-pick is what you want, otherwise just copy the file and note in the commit log. A merge might not be what you want. | 08:41 |
|
| A merge would imply all the changes made in each line of commits now appear in the same merge commit, which isn't the case. | 08:42 |
| → brahmana joined | 08:43 |
|
brahmana
| Hi all, a quick question : | 08:43 |
| → dr_lepper joined | 08:44 |
| ← dr_lepper left | 08:44 |
| → dr_lepper joined | 08:44 |
|
AAA_awright
| Question! What's the question? | 08:44 |
|
brahmana
| Git branches are for the whole repo right? i.e. I cannot create a new branch for a folder? | 08:44 |
|
AAA_awright
| Correct | 08:44 |
|
brahmana
| Thank you. | 08:44 |
|
AAA_awright
| brahmana: A branch is just a pointer to a particular commit, and a commit only lists a single root tree | 08:44 |
|
tango_
| brahmana: otoh on that new branch you can only make changes in a particular folder | 08:44 |
|
AAA_awright
| You can use submodules if you want to track it seperately, I guess | 08:45 |
|
brahmana
| tango_: yeah... got it.. | 08:45 |
|
| AAA_awright: oh no.. nothing like that. Just that there were a few non-code folders which do not need any versioning per say. So was wondering if they can be kep there without the versioning | 08:46 |
|
| (Effect of having used Perforce for quite some time, I guess) | 08:46 |
| ← cimenta left | 08:47 |
|
AAA_awright
| Individual files aren't revisioned so it doesn't make much sense anyways, it's just a series (well, a graph) of snapshots of an entire tree (directory structure). | 08:49 |
| → devanjan joined | 08:49 |
| → PointMan joined | 08:49 |
|
PointMan
| is it | 08:49 |
|
| is it possible to completely remove a file from the repository? | 08:50 |
| ← tolecnal left | 08:50 |
| → _ollie joined | 08:50 |
|
jaeckel
| git rm? | 08:50 |
| ← _ollie left | 08:50 |
|
jaeckel
| and if you want to remove it from the repository but keep the file itself try git rm --cached | 08:51 |
| → _ollie joined | 08:51 |
|
PointMan
| isnt it possible to revert a git rm? | 08:51 |
|
jaeckel
| for sure | 08:52 |
|
PointMan
| well I want to remove the file completely, as in no turning back | 08:52 |
|
jaeckel
| if you want to remove the file from the whole history you have to rewrite the tree I think | 08:52 |
| ← _ollie left | 08:52 |
|
jaeckel
| but not sure | 08:52 |
| ← avinashhm left | 08:52 |
|
PointMan
| well thats what I am asking :-) | 08:52 |
| ← theoros left | 08:53 |
| ← dreiss left | 08:53 |
| ← marc_kdab left | 08:54 |
| → tolecnal joined | 08:54 |
|
jaeckel
| if the file has been always commited alone, without any other file, you can do a rebase | 08:54 |
|
_ikke_
| http://help.github.com/removing-sensitive-data/#purge_the_file_from_your_repo | 08:54 |
|
jaeckel
| or wait for someone using google like _ikke_ ;) | 08:55 |
| → mtkd_ joined | 08:57 |
| ← jds_ left | 08:57 |
|
_ikke_
| This one even goes further: http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/ | 08:59 |
| → rasztasd joined | 09:00 |
| ← mnemoc left | 09:02 |
| ← elmob left | 09:05 |
|
divVerent
| I have some clean/smudge filters, and autocrlf... | 09:05 |
|
| when I merge a branch that for some reason does not have these filters applied | 09:05 |
| → davzie joined | 09:06 |
|
divVerent
| is it safe to simply amend the merge commit with the result of the filters? | 09:06 |
|
| sounds fine to ME :P | 09:06 |
|
| as these changes do not do anything about behaviour | 09:06 |
| → f0rkit joined | 09:06 |
| → airborn joined | 09:06 |
| → dels joined | 09:08 |
| ← _Unode left | 09:08 |
| → _Unode joined | 09:08 |
| ← resmo left | 09:08 |
| _Unode → Unode | 09:08 |
|
Unode
| can anyone point me directions about how to rewind a git bare repository 1 commit | 09:10 |
|
divVerent
| which branch? | 09:10 |
|
Unode
| master | 09:10 |
|
divVerent
| you know that rewinding is bad once someone has pulled? | 09:10 |
|
Unode
| yes | 09:10 |
|
divVerent
| if you know that and acknowledge the problems it can cause: | 09:10 |
|
| git update-ref refs/heads/master <currentcommit> <previouscommit> | 09:10 |
|
Unode
| thanks | 09:11 |
|
divVerent
| wait, wrong way round | 09:11 |
|
| git update-ref refs/heads/master <previouscommit> <currentcommit> | 09:11 |
|
Unode
| ok | 09:11 |
|
| that run on the bare repository, not on the cloned one right? | 09:11 |
|
divVerent
| yes | 09:11 |
|
| update-ref works on a bare repo too | 09:11 |
| → roop joined | 09:11 |
|
Unode
| ok working on changing HEAD to HEAD^ | 09:15 |
|
| thanks | 09:15 |
| → petercoulton joined | 09:15 |
| → cantoma joined | 09:16 |
| → dpino joined | 09:19 |
| → CaMason joined | 09:19 |
| → brothers joined | 09:20 |
| ← dissidentss left | 09:23 |
| → resmo joined | 09:23 |
|
cbreak_work
| git's like a Hydra, if you reset HEAD to HEAD^, it instantly has a new HEAD :) | 09:24 |
|
sgronblo
| http://progit.org/2010/03/08/rerere.html I'm checking this out to learn about rerere... but to me it seems a bit weird that git outputs this: | 09:25 |
|
| Resolved 'hello.rb' using previous resolution. | 09:25 |
|
| Failed to merge in the changes. | 09:25 |
| → frerich joined | 09:25 |
| ← brothers left | 09:28 |
| ← PointMan left | 09:29 |
| ← hobodave left | 09:30 |
| ← sergio_ left | 09:31 |
| ← foocraft left | 09:32 |
| → tatsuya joined | 09:33 |
| → foocraft joined | 09:34 |
| → chrischambers joined | 09:39 |
| ← roger_padactor left | 09:40 |
| → AlexP joined | 09:41 |
| ← ch077179 left | 09:43 |
| → frsk joined | 09:45 |
| → HG` joined | 09:45 |
| ← OOPMan left | 09:47 |
| ← Hanumaan left | 09:48 |
| → akamike joined | 09:49 |
| ← MikhX left | 09:49 |
| → MikhX joined | 09:50 |
| → workmad3 joined | 09:52 |
| ← MikhX left | 09:54 |
| → artefon joined | 09:57 |
| → curtana joined | 09:58 |
| ← Schmallon left | 09:58 |
| → Schmallon joined | 09:58 |
| → icwiener joined | 10:00 |
| ← foocraft left | 10:00 |
| → bluenovember joined | 10:00 |
| ← Schmallon left | 10:03 |
| → Anti-X joined | 10:04 |
| ← stliu left | 10:05 |
| ← petercoulton left | 10:05 |
| → marc_kdab joined | 10:07 |
| ← merlin83 left | 10:08 |
| → thm joined | 10:09 |
| ← QinGW left | 10:09 |
| ← k_sze left | 10:10 |
|
thm
| if there is more than one tag describing a commit, which one will git describe prefer? the latest? or the shortest? annotated over lightweight? | 10:10 |
|
reto_
| i bet its undefined | 10:11 |
| → MikhX joined | 10:11 |
|
thm
| can't find anything in the manpage | 10:11 |
| ← mithro left | 10:13 |
|
reto_
| tolecnal: /* Multiple annotated tags point to the same commit. * Select one to keep based upon their tagger date. */ | 10:13 |
|
| ehm | 10:13 |
|
| thm I mean | 10:13 |
| ← ntoll left | 10:13 |
|
reto_
| thm: google for 03e8b541b38d95d1cd7b287963c82617a0469f80 | 10:14 |
| → mattions joined | 10:14 |
| ← jtaby_ left | 10:16 |
| → lucsky joined | 10:17 |
| ← krosenvold_ left | 10:17 |
| ← icwiener left | 10:18 |
| → nevyn^__ joined | 10:24 |
| ← nevyn^__ left | 10:26 |
| → Chaser joined | 10:26 |
| → nevyn^__ joined | 10:27 |
| ← nevyn^_ left | 10:27 |
| ← kpreid left | 10:27 |
| ← hyperair left | 10:29 |
| ← plediii left | 10:30 |
| → g0bl1n joined | 10:32 |
| ← |kukks| left | 10:33 |
|
thm
| reto_: ok. and I guess annotated is preferred over lightweight | 10:33 |
|
reto_
| thm: no idea sorry, just had the soruce around :) | 10:34 |
|
| btw. this commit is available starting from v1.7.1.1 | 10:35 |
| ← eletuchy left | 10:37 |
| → eletuchy joined | 10:37 |
|
thm
| trying in a toy repo it seems that guess was right. | 10:41 |
| → icwiener joined | 10:41 |
| ← eletuchy left | 10:41 |
| ← dkannan left | 10:42 |
| ← yrlnry left | 10:42 |
| → lanthan_afh joined | 10:43 |
| ← Xeross left | 10:43 |
|
thm
| is gitosis still an active project? | 10:44 |
| → hyperair joined | 10:44 |
| → OOPMan joined | 10:44 |
| → jschoolcraft joined | 10:44 |
| → poisonbit joined | 10:45 |
|
poisonbit
| Hi starting with git here... I've make a branch and my changes on a branch... how I "apply" that branch changes to master ? | 10:46 |
| → petercoulton joined | 10:47 |
|
thm
| git checkout master ; git merge yourbranch | 10:47 |
| → zombor joined | 10:48 |
| → yrlnry joined | 10:48 |
|
poisonbit
| thanks, google was pointing me to import svn things with my keywords | 10:48 |
| → eletuchy joined | 10:48 |
| → silence joined | 10:50 |
| → ashirus joined | 10:50 |
| ← zombor left | 10:51 |
| silence → Guest65050 | 10:51 |
|
Juri_Agarin
| When tried to do a rebase to a branch, it complained about uncommitted local changes and failed to rebase some commits. However, before doing a rebase "git status" showed no uncommitted changes whatsoever. Any idea what could be causing this kind of behaviour? | 10:51 |
|
thm
| how do I clone a repo that has multiple remotes? I want to keep three or more repos in sync | 10:51 |
| ← ajpiano left | 10:54 |
| ← CaMason left | 10:54 |
| ← apsysoev left | 10:54 |
| ← xiangfu left | 10:55 |
|
reto_
| Juri_Agarin: it doesnt even start if you have uncommited changes | 10:55 |
|
| Juri_Agarin: ive read that git status might be out of date | 10:55 |
|
| Juri_Agarin: well, the internal git status state | 10:55 |
|
| Juri_Agarin: but a clal to git status should clear that 'outdated' state | 10:56 |
|
| Juri_Agarin: and right after that git rebase shoudl work, but I'm not that sure if thats really the case :) | 10:56 |
| → btk joined | 10:56 |
| → simosx joined | 10:58 |
| ← simosx left | 10:58 |
| → simosx joined | 10:58 |
| ← ph^ left | 10:59 |
| → bentob0x joined | 11:00 |
| → dr_win joined | 11:01 |
| ← xiong left | 11:01 |
| → ph^ joined | 11:01 |
|
Juri_Agarin
| reto_: what is a clal? | 11:01 |
| ← nevyn^__ left | 11:02 |
| ← phantomcircuit left | 11:03 |
| → nevyn^_ joined | 11:03 |
| ← psankar left | 11:03 |
| ← Anti-X left | 11:03 |
|
thm
| call | 11:04 |
|
FauxFaux
| Grr, I wish there was no way to commit merge conflict markers. | 11:04 |
|
| Pre-commit hook time, perhaps. | 11:04 |
| ← nevyn^_ left | 11:04 |
| ← noktoborus_ left | 11:06 |
| ← adys left | 11:06 |
| ← darkskiez left | 11:06 |
| → darksk1ez joined | 11:06 |
|
f00li5h
| kithub! | 11:07 |
| → spaceonline joined | 11:07 |
| ← gretch left | 11:07 |
| ← btk left | 11:08 |
| → rolfb joined | 11:08 |
| → Anti-X joined | 11:09 |
| ← zorzar left | 11:14 |
| → zorzar_ joined | 11:14 |
| → converge joined | 11:15 |
|
converge
| there is a way to see the differences of my local file and the remote one? | 11:15 |
| → parasti joined | 11:16 |
|
frogonwheels
| converge: you're best off doing a fetch (not merge) and then diffing your file against the origin/master veresion | 11:16 |
|
rolfb
| git diff name_of_remote -- path/to/file | 11:16 |
|
| shouldn't that work? | 11:16 |
|
| you might have to fetch first as frogonwheels said | 11:17 |
| ← MikhX left | 11:17 |
| → MikhX joined | 11:17 |
|
converge
| frogonwheels, rolfb worked, tks | 11:19 |
| ← erez left | 11:19 |
| → gzy joined | 11:19 |
| → Chillance joined | 11:19 |
|
gzy
| hi, can some one help me with a --pretty format for git log so it also shows tags? | 11:20 |
| → marcob joined | 11:20 |
| Unode → _Unode | 11:21 |
| ← MikhX left | 11:22 |
| ← CoinOpeBoy left | 11:22 |
| → FsTluxe joined | 11:23 |
| ← bauruine left | 11:26 |
| → lucsky_ joined | 11:27 |
| → Yuuhi joined | 11:29 |
| ← lucsky left | 11:29 |
| → Ferris joined | 11:30 |
| ← roop left | 11:30 |
| ← jcdny left | 11:30 |
| → jcdny joined | 11:31 |
| → bitkiller joined | 11:31 |
| ← jcdny left | 11:33 |
| → jcdny joined | 11:34 |
| ← jcdny left | 11:35 |
| → jcdny joined | 11:35 |
| → koltroll joined | 11:35 |
| → apsysoev joined | 11:35 |
| ← anirudhr left | 11:36 |
| → erez joined | 11:43 |
|
albel727
| gzy: please clarify. which formats did you try already, and what tags they were supposed to show you, but didn't? | 11:43 |
| → ih8mym8xd joined | 11:43 |
| → MetaCosm_ joined | 11:45 |
| → roger_padactor joined | 11:45 |
| → ehabkost joined | 11:45 |
| ← ih8mym8xd left | 11:45 |
| → Ryback_ joined | 11:45 |
| ← Ryback_ left | 11:45 |
| → Ryback_ joined | 11:45 |
|
gzy
| albel: i googled it.. i used the format:<string> and some magic formatting. I just wish it was documented in git help log. | 11:45 |
| → foocraft joined | 11:45 |
| ← jkp_ left | 11:45 |
|
albel727
| gzy: so I guess it was something like "git log --format=%d --simplify-by-decoration". ok. | 11:46 |
| → R9dovoj joined | 11:47 |
|
gzy
| --pretty=format:"different_stuff i wish was documented" | 11:47 |
|
albel727
| gzy: do you care to share the knowledge? =) | 11:47 |
|
cbreak_work
| gzy: man git-show | 11:48 |
| → JonasF joined | 11:48 |
|
albel727
| cbreak_work: he's done already. =) | 11:48 |
|
gzy
| i ended up using:--pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" | 11:48 |
|
| (modulo thecolors it leaves %h, %d, %an %cr... | 11:48 |
|
albel727
| oh my | 11:49 |
| → engla joined | 11:49 |
|
cbreak_work
| albel727: he wanted documentation on formats, they are in there | 11:49 |
|
| albel727 went to read the documentation | 11:49 |
|
| albel727 also wonders, where is gitbot... | 11:50 |
|
gzy
| cbreak_work: indeed they are, thanks (though i still think it should be mentioned next to the pretty/format option of log help) | 11:50 |
| ← dels left | 11:51 |
|
gzy
| thanks! | 11:51 |
| ← gzy left | 11:51 |
|
albel727
| I see it in man git-log too =/ | 11:51 |
|
| (section "PRETTY FORMATS") | 11:51 |
|
| faq non-ff | 11:52 |
|
| damn, gitbot is down again =/ | 11:52 |
| → jkp joined | 11:53 |
| ← jkp left | 11:53 |
| → jkp joined | 11:53 |
| → golodhrim joined | 11:53 |
| ← tohava left | 11:54 |
| ← petercoulton left | 12:04 |
| → priidu joined | 12:04 |
| ← nd left | 12:04 |
| → nonno joined | 12:06 |
| ← icwiener left | 12:07 |
| → icwiener joined | 12:07 |
| ← jschoolcraft left | 12:08 |
| ← metoikos left | 12:08 |
| → metoikos joined | 12:09 |
| ← rgr left | 12:13 |
| → jaql joined | 12:15 |
| → goshawk joined | 12:16 |
| → paravastu joined | 12:17 |
| ← paravastu left | 12:18 |
| ← engla left | 12:19 |
| ← TomyLobo left | 12:20 |
| → dakota joined | 12:20 |
|
dakota
| I'm using git-http-backend for a read only service. How will I set http.receivepack to false for all repositories? | 12:22 |
| → jmil joined | 12:22 |
| → rgr joined | 12:23 |
| → _pingu joined | 12:24 |
| → roop joined | 12:24 |
| → dermoth joined | 12:24 |
| ← dermoth left | 12:25 |
| ← robgleeson left | 12:25 |
|
sitaram
| dakota: have you tried simply "git config --global http.receivepack false" | 12:26 |
| → robgleeson joined | 12:26 |
| → dermoth joined | 12:27 |
|
dakota
| sitaram: yup. But git-http-backend isn't running under my user (since it's running via apache). | 12:27 |
|
| sitaram: I have also tried creating a .gitconfig file in the apache user's "home" with no luck | 12:27 |
| → nevyn^_ joined | 12:28 |
| dermoth → dermoth|work | 12:28 |
|
dakota
| Basically I want authenticated read-only. The authentication is working fine, but the read-only part isn't. git-http-backend automatically enables the write service if the user is authenticated, this is the behaviour I want to stop | 12:28 |
| ← frerich left | 12:29 |
|
sitaram
| dakota: just for a test (be sure to erase it later), try "git config --system ..." (note, "system", not "global") and see if that works | 12:30 |
|
| dakota: failing that, you have to go put that into every single repo using a "find" or something | 12:31 |
|
dakota
| sitaram: --system works | 12:31 |
|
sitaram
| dakota: and --global doesnt work because $HOME is not set for an httpd process; fair enough. You can either "setenv" it to some dir in your apache conf and then use --global and put it there, or you can just use --system | 12:32 |
|
dakota
| sitaram: working perfectly. SSH push/pull works. HTTP pull only | 12:32 |
|
sitaram
| ok | 12:32 |
|
dakota
| I'll just use --system. It does exactly what I want (Prevent any form of write access over http) | 12:33 |
|
| thanks | 12:33 |
|
sitaram
| you're welcome! | 12:33 |
|
dakota
| didn't even know you could set system wide git configs | 12:33 |
| ← erez left | 12:33 |
| → icwiener_ joined | 12:34 |
| → erez joined | 12:34 |
|
sitaram
| oh yeah but it's rarely used. No one wants to be that sort of a dictator on a multi-user system I guess :) and not having $HOME is rare so most everything else is covered y --global | 12:34 |
|
| s/y/by | 12:34 |
| → smuf joined | 12:35 |
| → Dave^| joined | 12:35 |
| → IslandUsurper joined | 12:36 |
|
dakota
| Agree. In this case it's for our central repo server (Setup somewhat like github - running redmine). We need the http service because one of our clients don't allow any form of ssh access to or from their server and we obviously don't want them to have any form of write access. | 12:36 |
| → petercoulton joined | 12:37 |
| ← _pingu left | 12:37 |
| ← icwiener left | 12:38 |
| ← FsTluxe left | 12:41 |
| → bauruine joined | 12:42 |
| → _Vi joined | 12:42 |
|
dj_tjerk
| different time of day.. trying again one last time: | 12:45 |
|
| to make gitolite+gitweb+auth work, access to what folder needs to be authenticated? Also, am I supposed to make the projects.list file myself? | 12:45 |
| ← brahmana left | 12:47 |
| ← jherdman left | 12:47 |
| ← HG` left | 12:49 |
| → coderdad joined | 12:49 |
| ← jmil left | 12:51 |
| → Athox joined | 12:52 |
| → project2501b joined | 12:52 |
| ← Anti-X left | 12:54 |
| ← coderdad left | 12:56 |
| ← simosx left | 12:57 |
| ← albel727 left | 12:58 |
| → albel727 joined | 12:58 |
| ← foocraft left | 12:58 |
| → Schmallon joined | 12:58 |
| ← devanjan left | 12:59 |
| → SkramX joined | 12:59 |
| ← albel727 left | 13:00 |
| → albel727 joined | 13:00 |
| → engla joined | 13:00 |
| ← engla left | 13:00 |
| → engla joined | 13:00 |
| jefferai-away → jefferai | 13:01 |
| → dels joined | 13:02 |
| → giles joined | 13:02 |
| ← giles left | 13:03 |
| ← Athox left | 13:03 |
| → flazz joined | 13:03 |
| ← shiba_yu36 left | 13:04 |
| ← warthog9 left | 13:06 |
| → orafu joined | 13:06 |
| → shiba_yu36 joined | 13:06 |
| ← priidu left | 13:08 |
| ← makubi left | 13:09 |
| → xiangfu joined | 13:10 |
| → thierryp joined | 13:10 |
| → dukebag joined | 13:11 |
| ← davzie left | 13:13 |
| ← roop left | 13:14 |
| → zombor joined | 13:14 |
| → teweWork joined | 13:14 |
| ← kanru left | 13:14 |
| → GarethAdams|Work joined | 13:15 |
|
teweWork
| does anyone have experience with git-stitch-repo? | 13:15 |
| → LiamH joined | 13:15 |
| → sebersole joined | 13:15 |
| ← Mpenz left | 13:15 |
| → Anti-X joined | 13:16 |
| ← mattions left | 13:17 |
| → davzie joined | 13:17 |
| → Pewpewarrows joined | 13:17 |
| ← yatiohi left | 13:18 |
| ← albel727 left | 13:19 |
| → albel727 joined | 13:19 |
| → foocraft joined | 13:21 |
| → fowlduck joined | 13:25 |
| → merlin83 joined | 13:25 |
| → mcchots joined | 13:26 |
| → rraasch joined | 13:26 |
| → sftp joined | 13:26 |
| → dfr|mac joined | 13:26 |
| → dvaske joined | 13:27 |
|
knittl
| how can i reset a branch without resetting it? xD | 13:30 |
|
| say i have a WIP branch, and master | 13:30 |
|
| i want WIP's tree to be HEAD's tree | 13:30 |
|
tango_
| knittl: HEAD is just a symbolic ref to "the currently checked out commit" | 13:31 |
|
fr0sty
| knittle? 'git branch wip; git reset --hard <othercommit>' | 13:31 |
|
tango_
| so you cannot move WIP to match HEAD unless you reset it | 13:31 |
|
knittl
| hm no | 13:31 |
|
tango_
| knittl: if otoh you want HEAD to be WIP then you just git checkout WIP | 13:32 |
|
fr0sty
| unless I misunderstand. | 13:32 |
|
knittl
| i want something like reset --soft, but without actually moving branch refs | 13:32 |
| → herdingcat joined | 13:32 |
|
tango_
| knittl: that doesn't make sense. could you be more specific? | 13:32 |
| → chrisred joined | 13:32 |
|
doener
| knittl: don't you rather wnat --hard without the move? | 13:32 |
|
knittl
| let me try | 13:32 |
|
cbreak_work
| what do you want to have in the end? | 13:32 |
|
doener
| knittl: --soft is just the move, so ... | 13:32 |
|
jast
| reset --soft does nothing *but* changing the ref | 13:32 |
|
knittl
| um | 13:32 |
|
| ok | 13:32 |
|
cbreak_work
| git nop? | 13:32 |
|
knittl
| my mistake | 13:32 |
|
| no, i have a master and a wip branch | 13:32 |
|
| wip branch is ahead by 3 commits | 13:32 |
|
| i'm on master | 13:33 |
|
doener
| knittl: I guess you want "add a new commit on WIP with the tree being the same as the tree of the tip of master"? | 13:33 |
|
knittl
| and want to read the WIP tree | 13:33 |
|
tango_
| wait, let him finish | 13:33 |
|
knittl
| but still be on master | 13:33 |
|
tango_
| knittl: git checkout wip | 13:33 |
|
| oh | 13:33 |
|
| knittl: git new-workdir | 13:33 |
|
knittl
| no, i want to be on master, i don't want to checkout wip | 13:33 |
|
jast
| git read-tree | 13:33 |
|
doener
| knittl: ok, so ther other way around, and what jast said | 13:33 |
|
fr0sty
| what do you want to happen to the three commits in between? | 13:33 |
|
jast
| that updates the index only, though | 13:33 |
|
albel727
| yeah, + git checkout-tree | 13:33 |
|
knittl
| hmm. read-tree … should've thought of that myself | 13:33 |
|
doener
| ... add -u --reset to make it update the working tree as well | 13:34 |
|
jast
| if you want the working tree to match: | 13:34 |
|
knittl
| fr0sty: i don't care about them | 13:34 |
|
jast
| git checkout wip | 13:34 |
|
| git symbolic-ref HEAD refs/heads/master | 13:34 |
| foocraft → ewanas | 13:34 |
|
albel727
| (...or was it git checkout-index...) | 13:34 |
|
jast
| saves you from mucking with clean etc. :) | 13:34 |
| → shiba_yu_ joined | 13:34 |
|
doener
| jast: uhm, just "git read-tree -u --reset wip" is a lot less trouble | 13:34 |
|
jast
| yeah, I saw that too late :) | 13:34 |
|
knittl
| too much information in a minute xD | 13:34 |
| ← dvaske left | 13:35 |
| → erikc joined | 13:35 |
|
fr0sty
| knittl: that is a good problem to have, I think... | 13:35 |
| ← erikc left | 13:35 |
|
fr0sty
| knittl: what are you trying to accomplish? | 13:35 |
|
knittl
| fr0sty: i'm hacking away on WIP branch | 13:36 |
|
| because i'm still defining features | 13:36 |
|
| then i checkout master branch again (clean working tree) | 13:36 |
| ← shiba_yu36 left | 13:36 |
|
knittl
| and want to have the state of WIP as 'unstaged' | 13:36 |
|
| does that make sense? | 13:36 |
| ← ExtraSpice left | 13:37 |
|
cbreak_work
| git reset --hard WIPBRANCH | 13:37 |
|
| git reset --soft HEAD@{1} | 13:37 |
|
| why? | 13:37 |
| ← rolfb left | 13:37 |
|
knittl
| yeah, something like that | 13:37 |
|
| why what? | 13:37 |
| ← hyperair left | 13:37 |
|
cbreak_work
| what is it good for? | 13:38 |
|
IslandUsurper
| why not just merge? | 13:38 |
|
cbreak_work
| you want to do some evil svn style pseudo merge? | 13:38 |
| ← mcchots left | 13:38 |
|
knittl
| no, but WIP branch is really messy | 13:38 |
|
IslandUsurper
| (once you're done hacking anyway) | 13:38 |
| → GeertB joined | 13:38 |
|
knittl
| messier than git.git/pu | 13:38 |
|
cbreak_work
| just rewrite it :) | 13:38 |
| → rolfb joined | 13:38 |
|
cbreak_work
| (before merging) | 13:38 |
|
jast
| merge --squash, then? | 13:38 |
|
| or that | 13:38 |
|
knittl
| it's just adding a bunch of files, so i can push them for others to see | 13:38 |
| → erikc joined | 13:38 |
|
fr0sty
| and why is having three commits evil? | 13:39 |
|
knittl
| i then would only add some of the files, change others | 13:39 |
|
cbreak_work
| merge --squash is evil subversionism | 13:39 |
|
fr0sty
| (or pushing a WIP branch, for that matter) | 13:39 |
|
| yeah, don't merge squash | 13:39 |
|
jast
| it has its place | 13:39 |
|
knittl
| … | 13:39 |
|
jast
| not often, admittedly, but sometimes it does | 13:39 |
|
engla
| merge --squash: This topic branch should just be one commit, I don't want to see that guys three correction commits. | 13:40 |
|
knittl
| WIP was just a quick way to share broken/unfinished/incomplete code with my colleagues | 13:40 |
|
| engla: WIP is not even finished yet | 13:40 |
|
fr0sty
| engla: at least have the courtesy to rebase --squash and start your work from the rebased commit... | 13:40 |
| → apassi joined | 13:41 |
|
knittl
| i'll read about read-tree and probably just use the double reset (--hard + --soft) thingy | 13:41 |
|
apassi
| Hi, is there some pre- hook for git-reset --hard ? | 13:41 |
|
fr0sty
| 'rebase doesn't take --squash, I know' rebase -i + "edit to squash all but one commit" is what I meant. | 13:41 |
|
engla
| fr0sty: of course, I understood | 13:42 |
|
jast
| apassi: nope | 13:42 |
|
fr0sty
| apassi: no. | 13:42 |
|
erikc
| how would i get a list of the created, removed and changed files in a commit | 13:43 |
|
| (im trying to merge into another source control system) | 13:44 |
|
fr0sty
| erikc: which one? | 13:44 |
|
knittl
| erikc: probably git whatchanged | 13:44 |
|
cbreak_work
| erikc: man git-log | 13:44 |
| → SimonP86 joined | 13:44 |
|
apassi
| =( | 13:44 |
|
cbreak_work
| there are various flags like --stat, --numstat and so on | 13:44 |
|
fr0sty
| erikc: the git-log manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-log.html | 13:45 |
|
| apassi: what are you trying to do? | 13:45 |
|
cbreak_work
| it's probably evil | 13:45 |
|
apassi
| I think there should be some pre/post hooks for reset, because in my situation, there is only read acces for user to some files, and git-reset shows some errors, i just like to change the user rights for these files, until reset is done. | 13:45 |
|
erikc
| fr0sty: CMVC, ibm's quite old internal source control system | 13:46 |
|
fr0sty
| erikc: I see... which way are you trying to go? into our out of? | 13:46 |
| → rpg joined | 13:47 |
|
erikc
| both, i have cmvc->git working, working on the opposite way now | 13:47 |
| → jherdman joined | 13:47 |
| ← OOPMan left | 13:49 |
| → brntbeer joined | 13:49 |
| → dvaske joined | 13:49 |
|
fr0sty
| apassi: git doesn't manage read/write permissions. | 13:50 |
| ← Sigma left | 13:50 |
|
fr0sty
| btw, why do you want users to be able to modify files they are not allowed to modify? | 13:50 |
|
jast
| I've got a wrapper script around git for hooking into commands | 13:50 |
| → kenneth_reitz joined | 13:51 |
|
apassi
| fr0sty: git-reset --hard shows some errors, if current user dont have write permissions to file. I am developing in drupal environment, and it shows some annoying messages if settings files are not write protected. | 13:52 |
|
| fr0sty: and in hook i could add write permission until git-reset is done, and after that remove permission. | 13:52 |
| ← mtkd_ left | 13:54 |
| → mtkd_ joined | 13:55 |
| ← artefon left | 13:57 |
| ← Strogg left | 13:57 |
| → TeckniX joined | 13:57 |
| ← skoop left | 13:57 |
| ← goshawk left | 13:58 |
| → jstemmer joined | 13:59 |
| → OOPMan joined | 13:59 |
| ← project2501b left | 13:59 |
| ← brntbeer left | 13:59 |
| → hendry joined | 14:00 |
|
hendry
| how do I `git clone` a certain branch in one step? http://review.webmproject.org/gitweb?p=libvpx.git;a=shortlog;h=refs/heads/aylesbury | 14:01 |
| → majd joined | 14:01 |
| → kanru joined | 14:01 |
|
fr0sty
| apassi: do you have multiple users sharing a working tree? | 14:01 |
| → henk joined | 14:02 |
|
henk
| hi | 14:02 |
| → akahn joined | 14:02 |
| ← thierryp left | 14:02 |
| → rossand joined | 14:02 |
| ← rossand left | 14:03 |
|
fr0sty
| hendry: 'git clone --no-checkout http://... && git checkout aylesbury' | 14:03 |
| → mtkd__ joined | 14:03 |
| ← workmad3 left | 14:03 |
|
henk
| i did a few changes to my repository but don't want to commit them all together but rather one by one. is it still possible to seperate the changes to several commits? | 14:03 |
| dwmw2_gone → dwmw2_BOS | 14:03 |
| ← dwmw2_BOS left | 14:03 |
| → dwmw2_BOS joined | 14:03 |
| ← galderz left | 14:04 |
|
parasti
| henk: have a look at git add -p and git rebase -i | 14:04 |
| → petran joined | 14:04 |
|
parasti
| henk: interactive rebase is for already-commited work, though | 14:05 |
| jzacsh → jzacsh_ | 14:05 |
|
henk
| parasti: thanks! | 14:05 |
| ← mtkd_ left | 14:07 |
| ← henk left | 14:07 |
| ← robgleeson left | 14:07 |
| ← engla left | 14:09 |
| → robgleeson joined | 14:09 |
|
rasztasd
| hi, im mergin two files, how i decide if i want to resolve the conflict by selecting the remote or the local version? | 14:09 |
| ← robgleeson left | 14:09 |
| → robgleeson joined | 14:09 |
| ← SkramX left | 14:09 |
| → engla joined | 14:10 |
|
cbreak_work
| rasztasd: look at the code | 14:10 |
|
| the developer is the only one who ca ndecide that | 14:10 |
| ← JohnDav left | 14:10 |
|
rasztasd
| i can deceide to keep the remote or local entirely | 14:10 |
| → chronos joined | 14:11 |
|
rasztasd
| but how, i dont want to use a difftool and click the click change button for every line | 14:11 |
|
cbreak_work
| just git checkout | 14:11 |
|
| read the man page, there's --ours and --theirs | 14:11 |
| → pigdude joined | 14:12 |
| ← OOPMan left | 14:12 |
| ← SimonP86 left | 14:12 |
| ← walf443 left | 14:12 |
| ← teweWork left | 14:12 |
| ← Mage_Dude left | 14:12 |
| ← Torsten left | 14:12 |
| ← dakota left | 14:12 |
| ← kenyon left | 14:12 |
| ← mdel_ left | 14:12 |
| ← fr0sty left | 14:12 |
| ← marienz left | 14:12 |
| ← jhelwig left | 14:12 |
| ← zenwryly left | 14:12 |
| ← cannonball left | 14:12 |
| ← jammi left | 14:12 |
| ← jspiros left | 14:12 |
| ← GodEater left | 14:12 |
| ← unixtippse left | 14:12 |
| ← Fissure left | 14:12 |
| ← sivy left | 14:12 |
| ← TDJACR left | 14:12 |
| ← optixx left | 14:12 |
| ← jonmasters left | 14:12 |
| ← ilteris left | 14:12 |
| ← Tac left | 14:12 |
| ← zain left | 14:12 |
| ← LetoThe2nd left | 14:12 |
| ← LeLutin left | 14:12 |
| ← frakturfreak left | 14:12 |
| ← ndim left | 14:12 |
| ← vmiklos left | 14:12 |
| ← gcl left | 14:12 |
| ← knielsen left | 14:12 |
| ← nanotube left | 14:12 |
| ← kupsch left | 14:12 |
| ← Nickeeh left | 14:12 |
| ← bmalee left | 14:12 |
| ← BlindOracle left | 14:12 |
| ← frerich6 left | 14:12 |
| ← kandjar left | 14:12 |
| ← cxreg left | 14:12 |
| ← rickmasta left | 14:12 |
| ← mfoemmel left | 14:12 |
| ← Moo^_^ left | 14:12 |
| ← candybar left | 14:12 |
| ← SethRobertson left | 14:12 |
| ← wooli left | 14:12 |
| ← mika left | 14:12 |
| ← tehbaut left | 14:12 |
| ← ribasushi left | 14:12 |
| ← sbob left | 14:12 |
| ← Stx left | 14:12 |
| ← LucasWilcox left | 14:12 |
| ← ahf left | 14:12 |
| ← kloeri left | 14:12 |
| ← siyb left | 14:12 |
| ← eregon left | 14:12 |
| ← sitaktif_ left | 14:12 |
| → q0rban joined | 14:13 |
| ← engla left | 14:14 |
| → Gunni joined | 14:15 |
| → exiton joined | 14:16 |
| ← erikc left | 14:18 |
| → sivy joined | 14:18 |
|
apassi
| fr0sty_: yes and no, the group is www-data so apache can read it. | 14:18 |
| ← cballou left | 14:19 |
|
apassi
| fr0sty_: i could just add all write permissions, but i like to develop as close as i can to production environment, so i like to keep the rights as they are going to be in prod. | 14:19 |
|
rasztasd
| apassi: thx | 14:20 |
| → LRN joined | 14:20 |
| → coreyballou joined | 14:21 |
| → galderz joined | 14:21 |
| ← majd left | 14:22 |
| → MattDiPasquale joined | 14:22 |
| → boombatower joined | 14:24 |
| → nicoulaj joined | 14:24 |
| ← boombatower left | 14:24 |
| → boombatower joined | 14:24 |
| → bmalee joined | 14:24 |
| → marienz joined | 14:24 |
| → vadim joined | 14:24 |
| → fr0sty joined | 14:25 |
| ← dvaske left | 14:26 |
| ← koltroll left | 14:26 |
| → engla joined | 14:26 |
| ← engla left | 14:26 |
| → engla joined | 14:26 |
| ← fr0sty left | 14:27 |
| ← tty1 left | 14:27 |
|
vadim
| Hi, is it possible to checkout a subdirectory? I'm fine with cloning the entire repository, I just want to see a subdirectory on it. I have a repository that follows a FS layout (eg, var/www/foo, etc/apache2), and want to make it so that I can get the etc/apache2 files in /etc/apache2 on a box | 14:27 |
| ← elmargol left | 14:27 |
| ← jefferai left | 14:28 |
| ← sonnym left | 14:28 |
| → jefferai joined | 14:28 |
| ← steph021 left | 14:29 |
|
joevano
| The short answer is no. Git sees all files as a single unit. | 14:29 |
| → nanotube joined | 14:29 |
| ← radioman-lt left | 14:30 |
|
vadim
| joevano: ok, thanks | 14:31 |
| → JonMarkGo joined | 14:31 |
|
JonMarkGo
| I'm trying to git pull one of my branches and I keep getting "fatal: fsync error on '.git/objects/pack/tmp_pack_p2CbOe': Permission denied" | 14:31 |
| → Hackerdudecom joined | 14:33 |
| vadim → 14WAAAFKI | 14:33 |
| → OOPMan joined | 14:33 |
| → SimonP86 joined | 14:33 |
| → teweWork joined | 14:33 |
| → dakota joined | 14:33 |
| → walf443 joined | 14:33 |
| → Mage_Dude joined | 14:33 |
| → Torsten joined | 14:33 |
| → kenyon joined | 14:33 |
| → mdel_ joined | 14:33 |
| → LeLutin joined | 14:33 |
| → jhelwig joined | 14:33 |
| → zenwryly joined | 14:33 |
| → cannonball joined | 14:33 |
| → Fissure joined | 14:33 |
| → jammi joined | 14:33 |
| → jspiros joined | 14:33 |
| → unixtippse joined | 14:33 |
| → GodEater joined | 14:33 |
| → TDJACR joined | 14:33 |
| → optixx joined | 14:33 |
| → knielsen joined | 14:33 |
| → jonmasters joined | 14:33 |
| → VABQ1HF joined | 14:33 |
| → Tac joined | 14:33 |
| → zain joined | 14:33 |
| → LetoThe2nd joined | 14:33 |
| → frakturfreak joined | 14:33 |
| → ndim joined | 14:33 |
| → vmiklos joined | 14:33 |
| → gcl joined | 14:33 |
| → kupsch joined | 14:33 |
| → Nickeeh joined | 14:33 |
| → BlindOracle joined | 14:33 |
| → frerich6 joined | 14:33 |
| → kandjar joined | 14:33 |
| → cxreg joined | 14:33 |
| → rickmasta joined | 14:33 |
| → mfoemmel joined | 14:33 |
| → Moo^_^ joined | 14:33 |
| → candybar joined | 14:33 |
| → Stx joined | 14:33 |
| → SethRobertson joined | 14:33 |
| → wooli joined | 14:33 |
| → sitaktif_ joined | 14:33 |
| → mika joined | 14:33 |
| → ribasushi joined | 14:33 |
| → tehbaut joined | 14:33 |
| → sbob joined | 14:33 |
| → LucasWilcox joined | 14:33 |
| → ahf joined | 14:33 |
| → kloeri joined | 14:33 |
| → siyb joined | 14:33 |
| → eregon joined | 14:33 |
| → crab joined | 14:33 |
| → tizbac joined | 14:34 |
|
JonMarkGo
| I'm trying to git pull one of my branches and I keep getting "fatal: fsync error on '.git/objects/pack/tmp_pack_p2CbOe': Permission denied" | 14:36 |
| ← marienz left | 14:36 |
| → fr0sty joined | 14:37 |
|
Hackerdudecom
| JonMarkGo: chown -R yourusername .git ? | 14:37 |
| → hyperair joined | 14:38 |
| → verto joined | 14:38 |
|
fr0sty
| vadim / 14WAAAFKI : look at sparse-checkout http://vmiklos.hu/blog/sparse-checkout-example-in-git-1-7 | 14:38 |
|
JonMarkGo
| Now I'm gettin a bunch of error: refs/remotes/unfuddle/features does not point to a valid object! | 14:39 |
|
Hackerdudecom
| I'd also make sure to use ls -l .git/objects/pack/* and see the permissions, make sure there's at least rw——— (owner can read+write) | 14:39 |
| → brntbeer joined | 14:39 |
| ← herdingcat left | 14:39 |
| → Number5 joined | 14:40 |
| → slyphon joined | 14:40 |
| → herdingcat joined | 14:40 |
| → tty1 joined | 14:40 |
| ← tty1 left | 14:40 |
| → tty1 joined | 14:40 |
| ← ewanas left | 14:41 |
| ← zombor left | 14:41 |
|
Hackerdudecom
| Do you do the management of the unfuddle remote? | 14:41 |
| → zombor joined | 14:42 |
|
Number5
| A beginner's question. If I copy a directory with the git directory in it, to another location or pc, it's like cloning that directory? I mean I can assume everything stays like in the original directory. Just to be sure. | 14:42 |
| → noktoborus_ joined | 14:42 |
| ← mtkd__ left | 14:42 |
| ← dels left | 14:42 |
|
bremner
| Number5: it is not exactly like cloning, but yes, everything stays the same, unless you copy to some brain-damaged file system that doesn't know the difference between upper and lower case. | 14:43 |
|
albel727
| (...like NTFS) | 14:43 |
| → shruggar joined | 14:43 |
| → alberto56 joined | 14:43 |
|
Number5
| bremner: no, all my projects will run on Linux, at leas that's my goal. But suppose I want it on windose, than the best thing to do is clone? | 14:43 |
|
14WAAAFKI
| fr0sty: aha, that looks like just what I need, thanks a lot :-) | 14:43 |
| → scarabx joined | 14:44 |
|
14WAAAFKI
| darn | 14:44 |
| 14WAAAFKI → vadim3 | 14:44 |
| → ExtraSpice joined | 14:44 |
|
JonMarkGo
| Hackerdudecom - I'm still getting permission denied, everything is owned by root but its a VM where I'm a sudoer | 14:44 |
|
bremner
| Number5: probably. But I never use windows, so... | 14:44 |
|
JonMarkGo
| And I can pull other branches | 14:44 |
|
Number5
| bremner: I totally understand you never us it :D | 14:44 |
|
shruggar
| what must I pass to "git log --follow" to tell it "Follow renames on file Foo, but when showing me stats, --name-only, etc, output all paths which the commit touched"? | 14:44 |
| ← golodhrim left | 14:45 |
|
engla
| shruggar: possibly --full-diff | 14:45 |
|
IslandUsurper
| Number5, the difference between copying and cloning is what the remotes point to | 14:45 |
|
shruggar
| --full-diff complains "usage: git logs can only follow renames on one pathname at a time" | 14:45 |
|
bremner
| IslandUsurper: to be precise, config information is lost by cloning, but not by copying. | 14:46 |
|
IslandUsurper
| right | 14:46 |
| → yairgo joined | 14:46 |
|
engla
| shruggar: --follow has a couple of limitations | 14:46 |
| → tj joined | 14:47 |
| → didi joined | 14:48 |
|
Number5
| IslandUsurper: aah I understand, but you can always modify the remote, so that wouldn't be a problem (so does the config), right? | 14:49 |
|
Hackerdudecom
| JonMarkGo: It could be a corrupted reflog but it's more likely just a permissions problem. I'm assuming (never seen that error before myself) that ref/remotes/unfuddle/features can't get to the SHA file that it's pointing to. If you are on the remote, can git diff features..features^ give you a proper diff? If so, you're not corrupted on the server side and "everything will be fine" :-) | 14:49 |
|
fr0sty
| shruggar: do do passes: 'log --follow ... |git show --format="..."' | 14:49 |
|
| one gets you the commits the other shows you what changed... | 14:49 |
|
| hmm, probably need xargs in there, eh? | 14:50 |
| → dels joined | 14:50 |
|
shruggar
| yeah, I was trying to avoid xargs | 14:50 |
|
JonMarkGo
| Server side is fine | 14:50 |
|
shruggar
| (or similar) | 14:50 |
| → warthog9 joined | 14:50 |
|
Hackerdudecom
| Good. Are you accessing via git-ssh? | 14:50 |
| ← scarabx left | 14:50 |
|
shruggar
| git log --stdin, on the other hand, shows all the parents of the listed commits, too | 14:50 |
|
fr0sty
| you allergic or something? | 14:50 |
|
shruggar
| yeah :) | 14:50 |
|
fr0sty
| try benadryl. | 14:51 |
|
IslandUsurper
| Number5, sure. You can always chang the config file. It's just going to be different based on the command you use. | 14:51 |
|
didi
| I am a little confused about the way one is supposed to create patches. I read that projects like the Linux Kernel likes the `format-patch' way. But it seems to create a file that resembles an email. One should insert a `To:' header to it and send the e-mail as is or it should be attached to an actual e-mail? | 14:51 |
|
Number5
| IslandUsurper, bremner thank you for your help. | 14:52 |
| ← dfr|mac left | 14:52 |
| ← hebz0rl left | 14:53 |
| ← tizbac left | 14:53 |
| → cirwin joined | 14:53 |
|
engla
| didi: how you transfer the file is not important, you can send it as attachment, or attach the file to a bug report. the important thing is that the whole patch is there (subject, commit log and diff) | 14:53 |
| → tizbac joined | 14:53 |
|
| engla is irritated when someone sends him a "patch" and it's only a diff | 14:54 |
|
| bremner hands engla the patch utility | 14:55 |
| → kenleycapps joined | 14:55 |
|
engla
| now I need to do a three-way merge, patch doesn't apply? | 14:55 |
|
Hackerdudecom
| JonMarkGo: My ls -lah of .git/objects on server side gives me permissions like −4–4–4— ownerfrommyteam ourgroup filename (and owner+group "x" for directories). Those are proper permissions if you're using git ssh. Check the sharedRepository and umask settings on gitconfig and set them to something sensible on the server. | 14:56 |
|
teweWork
| can i rewrite a file in history which is originally encoded ISO-8859-2 to look like it was always UTF-8 ? :) | 14:56 |
|
fr0sty
| teweWork: man git-filter-branch | 14:56 |
|
Hackerdudecom
| JonMarkGo: As it seems to me that your git ssh is putting things as the wrong owner. You also need to chown + chgrp to set proper owners and permissions | 14:57 |
|
didi
| engla: Oh, OK. So attach the 0001-thingy. Thank you. | 14:57 |
| → thiago joined | 14:58 |
|
engla
| didi: for linux and git projects, you need to send it as an email. in other context it's up to you, maybe attaching it etc | 14:58 |
|
teweWork
| fr0sty: so it can be done, i haven't got to the "how to" yet :) | 14:58 |
| → err_ok joined | 14:59 |
| ← mkramer left | 15:00 |
| → mkramer joined | 15:00 |
|
fr0sty
| teweWork: it involves --tree-filter and a program which rewrites the file to have the correct encoding. | 15:00 |
| → mfacenet joined | 15:00 |
| ← mfacenet left | 15:00 |
| → mfacenet joined | 15:00 |
| ← dakota left | 15:00 |
|
didi
| engla: Hum, right. That's a problem then. I'll need to find a program that would accept the file as a prepared e-mail. Another thing, I need to be more verbose in my commit messages, ;). | 15:00 |
|
teweWork
| fr0sty: thx | 15:00 |
| → Yuffster joined | 15:01 |
| ← ashirus left | 15:01 |
| → jrmuizel joined | 15:02 |
|
| didi types git commit --amend [...] | 15:02 |
| → marienz joined | 15:02 |
|
cirwin
| I often find myself doing a git rebase -i to swap the latest two commits on a branch, is there a way to use non-interactive rebase to do that, or a safe set of other commands I could run in an alias? | 15:03 |
| ← rraasch left | 15:03 |
| Guest65050 → ajpiano | 15:05 |
| → hebz0rl joined | 15:05 |
|
esc
| cirwin: get the hashes, reset, and cherry pick in correct order? | 15:05 |
|
Bombe
| cirwin, sure. git checkout -b swap-last-two HEAD~2; git cherry-pick master; get cherry-pick master~; git checkout master; git reset --hard swap-last-two; git branch -d swap-last-two. | 15:05 |
|
fr0sty
| cirwin: you can do: GIT_EDITOR=some_script git rebase -i HEAD~2 | 15:05 |
|
Bombe
| Assuming you’re on master. | 15:05 |
|
cirwin
| ah, I like fr0sty's approach | 15:05 |
|
fr0sty
| and have somescript switch the two lines then exit | 15:06 |
|
cirwin
| the problem with just running multiple cherry picks is checking everythign ran successfully | 15:06 |
| ← _Vi left | 15:06 |
|
cirwin
| and aborting cleanly | 15:06 |
|
| and saying what happened so I can fix it | 15:06 |
|
| rebase already does that | 15:06 |
|
| thanks :) | 15:06 |
| ← sambarino left | 15:06 |
| → yngress joined | 15:06 |
| → _Vi joined | 15:07 |
|
engla
| cirwin: git rebase -i with GIT_EDITOR=tac could do it | 15:08 |
|
cirwin
| engla: already there :) | 15:08 |
| → sarpanch joined | 15:09 |
|
cirwin
| hrm, maybe not | 15:09 |
|
| needs to do in-place modify | 15:09 |
| ← _Vi left | 15:09 |
| → alex__c2022 joined | 15:10 |
|
engla
| something like tac $1 | sponge > $1 | 15:11 |
|
| sponge from moreutils | 15:11 |
|
cirwin
| sed -i '1{x;d};2{p;x}' | 15:12 |
| ← Yuffster left | 15:13 |
| → sonnym joined | 15:13 |
| ← shennyg left | 15:13 |
| → Yuffster joined | 15:13 |
|
engla
| that works nicely | 15:13 |
|
| I don't know sed | 15:13 |
| → adamcooke joined | 15:14 |
| → warbee joined | 15:14 |
| → karpar joined | 15:14 |
|
cirwin
| well, it took me four attempts to write that sed script :) | 15:15 |
| → _Vi joined | 15:15 |
| → ShooterMG joined | 15:15 |
| → eventualbuddha joined | 15:15 |
| ← marienz left | 15:16 |
| ← xiangfu left | 15:18 |
| ← rasztasd left | 15:19 |
| → rasztasd joined | 15:19 |
| ← OOPMan left | 15:20 |
| IslandUsurper → IslandUsurperAFK | 15:20 |
| ← tizbac left | 15:21 |
| → tizbac_ joined | 15:21 |
| → workmad3 joined | 15:22 |
| → ymasory joined | 15:24 |
| → JoshS joined | 15:24 |
| ← icwiener_ left | 15:26 |
|
didi
| engla: Is it possible to write something at the `format-patch' e-mail in a way that it won't show up in the history? | 15:26 |
| → sarpanch_ joined | 15:26 |
| ← err_ok left | 15:27 |
|
engla
| didi: sure, I think it's commonly written after the "---" line before the diffstat | 15:27 |
| → Heimidal joined | 15:28 |
| ← sarpanch left | 15:29 |
| → marienz joined | 15:30 |
| ← sarpanch_ left | 15:32 |
| → sarpanch joined | 15:32 |
|
didi
| engla: By `diffstat' do you mean the part like "foo.c | 2+-"? | 15:33 |
| ← fr0sty__ left | 15:33 |
| ← dels left | 15:33 |
| → fr0sty____ joined | 15:33 |
| ← curtana left | 15:33 |
| ← fr0sty___ left | 15:34 |
| → fr0sty__ joined | 15:34 |
| → OOPMan joined | 15:34 |
|
sarpanch
| I have created a post-commit hook for gollum wiki to update remote git repository, however the wiki commits the repository but does not fire the hook. Manual commits fire the hook just fine. Any ideas what I might be missing? | 15:35 |
| ← opalka left | 15:35 |
| → curtana joined | 15:36 |
| ← JonMarkGo left | 15:36 |
|
frerich6
| What's a good way to transplant a (non-consecutive) set of commits from on repository into a new one? We've been doing some work but now decided that this should really be in a repository of its own. Is there any way to keep the commits? All the work was done in one directory, and doing a 'git log .' in that directory basically shows all the commits I want to transplant. I looked at 'git format-patch' for whether | 15:37 |
|
| it could generate a patch set which I could reapply in a new directory - but that doesn't seem to work. | 15:37 |
| ← Guest78925 left | 15:38 |
| ← psoo left | 15:39 |
|
engla
| didi: that's the diffstat yeah | 15:39 |
|
frerich6
| Ah, I could filter-branch to mark everything but my desired directory for garbage collection. | 15:39 |
|
didi
| engla: Nice. Thank you. | 15:39 |
|
engla
| frerich6: you can use the 3rd party tool git-subtree to split out that subtree | 15:40 |
| ← JoshS left | 15:40 |
| → coderdad joined | 15:40 |
|
engla
| frerich6: I don't know if that tool will remove the "empty commits" in the resulting history though. | 15:40 |
|
fr0sty
| frerich6: git filter-branch --subtree-filter | 15:40 |
| → majd joined | 15:41 |
|
engla
| (git-subtree is just an interface to filter-branch and merge subtree etc, quite conveniently packaged. It's anyone's choice which method to use) | 15:41 |
|
fr0sty
| if you have empty commits you can get create a list of commits and drop them with rebase -i | 15:41 |
| ← thiago left | 15:42 |
| ← sarpanch left | 15:42 |
| → bcardarella joined | 15:42 |
|
engla
| I'd use git subtrees split | 15:42 |
|
| *git subtree | 15:42 |
| ← ymasory left | 15:43 |
| ← marienz left | 15:44 |
| ← ph^ left | 15:45 |
| ← herdingcat left | 15:47 |
| → archis joined | 15:47 |
| ← dwmw2_BOS left | 15:47 |
| → jmil joined | 15:49 |
| ← hyperair left | 15:50 |
| ← etnt left | 15:50 |
| ← rolfb left | 15:51 |
| ← yngress left | 15:52 |
| ← simplechat left | 15:53 |
| → ochosi joined | 15:53 |
| → dwmw2_BOS joined | 15:53 |
|
ochosi
| hello everyone, i have a maybe trivial question, but i couldn't find out via google. can git be used with files that contain formatted text (e.g. rtf)? | 15:53 |
| ← f0rkit left | 15:54 |
|
fr0sty
| ochosi: man git | 15:54 |
|
| 'git - the stupid content tracker' | 15:54 |
| ← exiton left | 15:54 |
|
sitaram
| ochosi: it can, but binary files (which includes stuff like rtf, even if it seems like text) do not *merge* well, or at all. As long as you are aware of that, it'll work fine | 15:54 |
|
fr0sty
| git doesn't care. | 15:55 |
|
| but like sitaram says: git can't help you with 'funky' files (merging or diffing). | 15:55 |
| ← majd left | 15:55 |
|
ochosi
| merges are noto that important to me, i'm working alone on a text-edition project | 15:55 |
|
| but i want to document the changes | 15:55 |
| ← nuoHep left | 15:56 |
|
sitaram
| then go ahead | 15:56 |
|
ochosi
| so to reformulate my initial question: can git track the changes in a binary file in a human-readable way? | 15:56 |
|
| or is there any other way you know of doing versioning with rtfs and the like | 15:57 |
|
engla
| it's impossible in the general case, if you have any standards for "human readable" | 15:57 |
| → mklappstuhl joined | 15:57 |
|
sitaram
| ochosi: track, yes. human-readable, probably not. I dont know *any* way in which it can track it which is readable by me | 15:57 |
|
mklappstuhl
| hey | 15:57 |
|
SethRobertson
| If `diff` does something useful, then the answer is yes. | 15:57 |
|
| If diff does not, then you can write your own diff which does and git will use that | 15:57 |
|
curtana
| you can configure git to convert your RTF files to text for the purposes of diffing | 15:57 |
|
ochosi
| i can tell git to use a certain diff? | 15:57 |
|
SethRobertson
| yes | 15:57 |
|
ochosi
| ah, wow | 15:57 |
| ← adamcooke left | 15:58 |
|
ochosi
| that all sounds pretty cool | 15:58 |
|
curtana
| i think the feature is called textconv | 15:58 |
|
ochosi
| ok, i'll go ahead and google that :) | 15:58 |
| → nuoHep joined | 15:58 |
|
mklappstuhl
| when i have a repo with submodules in /repo1/ and then do "git init" in / can I add my /repo1/ as submodule afterwards? | 15:58 |
|
ochosi
| thanks everyone! | 15:58 |
|
curtana
| good luck | 15:58 |
| ← converge left | 15:58 |
|
SethRobertson
| mklappstuhl: Depending on what you are doing, you may find gitslave matches better than submodules for your workflow. http://gitslave.sf.net | 15:59 |
| ← _Vi left | 15:59 |
| → _Vi joined | 16:00 |
| ← hakunin left | 16:00 |
|
SethRobertson
| ochosi: There is also diff.external and difftool.* and the external diff driver (see gitattributes) | 16:00 |
|
| and git-config | 16:01 |
| dwmw2_BOS → dwmw2_gone | 16:01 |
|
mklappstuhl
| SethRobertson: looks interesting but i'd like to try onboard tools first.. also i dont need cross-repository branching for example.. | 16:01 |
| → alin-gym joined | 16:02 |
|
SethRobertson
| Then submodules might be right. With your question, I don't think git-submodules (or gitslave) supports recursive subprojects especially well, but you can certainly move who controls the subprojects | 16:02 |
|
frerich6
| I used 'git filter-branch --subdirectory-filter' to split a single directory into a new repository. However, there is still a huge pack file which surely contains mostly unneeded objects. How can I enforce that this is repacked? I tried 'git gc --aggressive' and 'git prune' and 'git reflog --expire=now --all' and 'git repack -ad' but nothing seems to touch the pack file. | 16:02 |
| ← archis left | 16:03 |
| ← Number5 left | 16:03 |
|
fr0sty
| frerich6: was this a clone of your other repository? | 16:04 |
| → ashirus joined | 16:04 |
|
frerich6
| fr0sty: Yes. I cloned the other repository using --no-hardlinks (since I thought maybe those hardlinks cause the issue) | 16:04 |
|
SethRobertson
| Isn'tit `git repack -Ad`? | 16:04 |
|
engla
| clone it again | 16:04 |
|
| or remove the backup refs | 16:04 |
|
fr0sty
| +1 engla | 16:04 |
|
mklappstuhl
| SethRobertson: haha then i'll be the brave who tries :D | 16:05 |
| → hyperair joined | 16:05 |
|
frerich6
| engla: Hmm, cloning again didn't seem to make a difference. I must have some dangling refs... but there's nothing in .git/refs except .git/refs/heads/master | 16:05 |
| → justin-george joined | 16:05 |
| → kenleycapps_ joined | 16:06 |
|
frerich6
| Actually, something else is odd: I can't seem to check out a particular version. My working tree is always empty. | 16:06 |
|
cbreak_work
| frerich6: how did you clone? | 16:06 |
| ← shiba_yu_ left | 16:06 |
| ← abetaha left | 16:06 |
|
frerich6
| cbreak_work: I cloned locally using 'git clone --no-hardlinks foo bar' | 16:06 |
| q0rban → q0rban|lunch | 16:07 |
|
cbreak_work
| check git log -p, if the diffs are strange, maybe filtering failed | 16:07 |
|
| as for cloning, try using git clone file:///... | 16:07 |
| → sftp_ joined | 16:07 |
| ← kenleycapps left | 16:07 |
| ← sftp left | 16:07 |
| kenleycapps_ → kenleycapps | 16:07 |
|
frerich6
| I am on Windows right now, using msysgit. I wonder that affects this somehow. | 16:08 |
| → marienz joined | 16:10 |
| ← justin-george left | 16:10 |
| → alvaro_o_ joined | 16:11 |
| → dreiss joined | 16:12 |
| ← sftp_ left | 16:12 |
| → sftp_ joined | 16:13 |
| → yngress joined | 16:13 |
| ← cbreak_work left | 16:13 |
|
frerich6
| Hm. FWIW, the repository is much smaller than the original already, but still way too large. It seems filtering the branch really went wrong - all the trees of the commits are empty. | 16:13 |
| → justin-george joined | 16:13 |
| → wsclock joined | 16:15 |
| → dels joined | 16:15 |
| → didi` joined | 16:16 |
| → elmob joined | 16:16 |
|
frerich6
| Ah, interesting: after filtering the branch, pushing to a bare git repository actually just pushes the needed objects. | 16:16 |
|
engla
| git-subtree maybe | 16:17 |
| ← didi left | 16:18 |
| ← eno left | 16:18 |
| → ymasory joined | 16:19 |
| ← engla left | 16:19 |
| → eno joined | 16:20 |
| → ignatp_ joined | 16:20 |
| → slonopotamus joined | 16:20 |
| ← Torsten left | 16:21 |
| ← dreiss left | 16:22 |
| ← marienz left | 16:22 |
| ← _jesse_ left | 16:23 |
| ← AAA_awright left | 16:23 |
|
frerich6
| engla: I'll give git-subtree a shot when I'm back home at my FreeBSD machine. git filter-branch *almost* works. I get the right commits, but all the trees of the commits are empty | 16:23 |
| ← _Vi left | 16:23 |
| ← warbee left | 16:24 |
| → warbee joined | 16:24 |
| → aah joined | 16:25 |
| → FsTluxe joined | 16:26 |
| ← tg left | 16:26 |
|
reto_
| FsTluxe: werent you the one who asked yesterday about merging sub directories? | 16:26 |
| → tg joined | 16:27 |
|
reto_
| negative.. | 16:27 |
|
| FsTluxe: http://stackoverflow.com/questions/277029/combining-multiple-git-repositories | 16:27 |
|
| dont know if it helps anything | 16:27 |
| → icwiener joined | 16:28 |
| ← saschpe left | 16:28 |
| → aspotashev joined | 16:29 |
| → nevyn^__ joined | 16:31 |
| IslandUsurperAFK → IslandUsurper | 16:31 |
| ← metoikos left | 16:31 |
| → Torsten joined | 16:31 |
| → irc2samus joined | 16:32 |
| ← nevyn^__ left | 16:32 |
| ← kenleycapps left | 16:34 |
| ← g0bl1n left | 16:34 |
| ← warthog9 left | 16:34 |
| ← jherdman left | 16:34 |
| → jherdman_ joined | 16:34 |
| ← jherdman_ left | 16:35 |
| → jherdman joined | 16:35 |
| ← nevyn^_ left | 16:35 |
| ← bauruine left | 16:36 |
| ← justin-george left | 16:37 |
| didi` → didi | 16:39 |
| → justin-george joined | 16:39 |
| → thierryp joined | 16:39 |
| ← nonno left | 16:40 |
| ← kanru left | 16:41 |
| → abetaha joined | 16:43 |
| → whatdoesitwant joined | 16:44 |
| ← marc_kdab left | 16:44 |
| → rossand joined | 16:44 |
| fr0sty → fr0sty___ | 16:44 |
| → Phrogz_ joined | 16:45 |
| → psoo joined | 16:45 |
| qDot|Away → qDot_ | 16:47 |
| ← knielsen left | 16:47 |
| ← jherdman left | 16:48 |
| ← thierryp left | 16:48 |
| ← kenneth_reitz left | 16:49 |
| → thierryp joined | 16:49 |
| → kumbayo joined | 16:49 |
| ← Phrogz_ left | 16:51 |
| ← thierryp left | 16:51 |
| → ph^ joined | 16:51 |
| ← Schmallon left | 16:52 |
| ← rossand left | 16:52 |
| → jherdman joined | 16:54 |
| ← sftp_ left | 16:56 |
|
przemoc
| hi, can I import hg repo into git (via hg-git's gexport) with authors fixing (i.e. changing login to real name and adding mails) w/o commiting .mailmap? | 16:57 |
| q0rban|lunch → q0rban | 16:57 |
| → spearce joined | 16:57 |
|
przemoc
| this problem is not covered at hg-git.github.com page | 16:57 |
| → kenichi joined | 16:58 |
| fr0sty_ → fr0sty | 16:59 |
|
mklappstuhl
| when i have a gitignore with "*" in the first line: how can i whitelist an entire folder recursively? !folder doesnt work recursively | 16:59 |
| ← teweWork left | 17:00 |
| → sftp joined | 17:00 |
|
mklappstuhl
| and !folder/**/**/**/* does not really feel right :) | 17:00 |
| ← mlq left | 17:01 |
| ← q0rban left | 17:02 |
| ← ymasory left | 17:02 |
|
ashirus
| hi all | 17:03 |
|
| got a weird problem with git --config diff.tool | 17:04 |
|
| the settings don't seem to stick | 17:04 |
|
fr0sty
| mklappstuhl: why do you have that? | 17:04 |
|
| "*" in .gitignore | 17:04 |
|
mklappstuhl
| fr0sty: dotfiles (dont know if i got the question though) | 17:04 |
| → kipras joined | 17:05 |
| ← aspotashev left | 17:05 |
|
fr0sty
| the question is: why are you, as a rule, ignoring every file in the tree? | 17:05 |
|
mklappstuhl
| fr0sty: ah, because maintaining a list of things that shouldnt be inside the repo would be harder | 17:05 |
|
ashirus
| currently I'm trying to set 'git config --global diff.tool p4merge' | 17:05 |
|
| and then if I do 'git config difftool.p4merge.cmd=foo.sh' it doesn't stick | 17:05 |
|
fr0sty
| what 'things' _are_ in the repo, if I may dare to ask... | 17:05 |
|
mklappstuhl
| .vim .zsh .irssi etc. pp. | 17:06 |
|
ashirus
| it keeps on calling my old config for difftool | 17:06 |
| ← disappearedng left | 17:06 |
|
ashirus
| anyone experienced this? | 17:06 |
|
fr0sty
| mklappstuhl: so you have a ~/.git folder? | 17:06 |
|
mklappstuhl
| fr0sty: yup | 17:06 |
|
fr0sty
| ashirus: man git-config | 17:06 |
|
| you need --set or --add | 17:06 |
|
| mklappstuhl: that is a fantastically bad idea, generally... | 17:07 |
|
mklappstuhl
| fr0sty: okay :D why | 17:07 |
|
fr0sty
| http://pyverted.com/linux/setting-up-version-control-on-your-home-directory/2009/08/ | 17:08 |
| → disappearedng joined | 17:08 |
| ← disappearedng left | 17:08 |
| → disappearedng joined | 17:08 |
|
ft
| mklappstuhl: so, you're not scared of accidentially running "git clean -xdf" in the wrong directory? | 17:08 |
|
fr0sty
| Bart's comment pretty much covers it. | 17:08 |
|
ashirus
| fr0sty: I know git-config but it's not using the difftool I'm settting | 17:08 |
|
fr0sty
| ashirus: what does 'git config -l' give you for diff.tool or difftool.* ? | 17:09 |
| ← smuf left | 17:09 |
| → necromancer joined | 17:09 |
| → kukks joined | 17:10 |
| → nullvariable joined | 17:10 |
| ← fr0sty left | 17:10 |
|
ashirus
| diff.tool=p4merge | 17:10 |
| → steph021 joined | 17:10 |
|
ashirus
| difftool.p4merge.cmd=sfgdfg.sh | 17:10 |
|
bartman
| fr0sty: a friend of mine lost of all $HOME once... same problem, but with .hg | 17:10 |
|
| s/of all/all of/ | 17:10 |
|
ashirus
| (sfgdfg.sh is nonsense put there just to verify it's not suing that config for some eason) | 17:10 |
| → fr0sty joined | 17:11 |
|
ashirus
| how could git be ignoring the difftool.p4merge.cmd setting? | 17:11 |
| → dreiss joined | 17:12 |
|
bartman
| fr0sty: oops, that's what I wrote in the blog commands | 17:12 |
|
mklappstuhl
| fr0sty: okay got it | 17:12 |
|
| bartman: ^^ | 17:12 |
|
bartman
| hehe | 17:12 |
|
| yeah | 17:12 |
| ← FsTluxe left | 17:13 |
|
ashirus
| and before you ask there'\s no override in .git/config | 17:14 |
|
| surely a call to git dofftool ought to be reporting an error as sfgdfg.sh doesn't exist | 17:14 |
| → freq9 joined | 17:15 |
|
fr0sty
| ashirus: what happens instead? | 17:15 |
|
ashirus
| it launches with the old difftool | 17:15 |
|
mklappstuhl
| bartman: fr0sty its interesting how much mistakes and bad practices you can make only managing you dotfiles :d | 17:15 |
|
ashirus
| (that I set using git config itself!) | 17:15 |
| ← karpar left | 17:16 |
|
freq9
| i forked a repository a few weeks ago and now git tells me that my fork's master is 397 commits ahead of 'origin/master'. what do i need to do to be up-to-date with origin/master? | 17:17 |
|
ashirus
| basically the full story is that I set: git config --global difftool.p4merge.cmd p4merge '$LOCAL' '$REMOTE' | 17:17 |
| → kalusn joined | 17:17 |
|
ashirus
| and then I realised that as I'm on cygwin I need to 'cygpath'-ise the parameters, so I set: | 17:18 |
|
fr0sty
| freq9: git push origin master | 17:18 |
|
ashirus
| git config --global difftool.p4merge.cmd "p4merge \$(cygpath -w \$LOCAL) \$(cygpath -w \$REMOTE)" | 17:18 |
|
| but this second change hasn't stuck | 17:18 |
| ← slonopotamus left | 17:18 |
|
ashirus
| and it's still calling the original difftool cmd | 17:18 |
|
freq9
| fr0sty: wow :) thanks | 17:18 |
|
ashirus
| (which doesn't work) | 17:18 |
|
| how is this possible? | 17:19 |
| ← didi left | 17:20 |
| → Rogi joined | 17:21 |
| → Deesl joined | 17:21 |
| ← sftp left | 17:23 |
| → sftp joined | 17:23 |
| ← sivy left | 17:23 |
|
fr0sty
| ashirus: change the second one from 'p4merge' to 'echo' | 17:24 |
|
| see if the shell is doing what you expect. | 17:24 |
| → normanrichards joined | 17:24 |
| → rox` joined | 17:24 |
| ← airborn left | 17:25 |
| → sivy joined | 17:26 |
|
ashirus
| fr0sty: it launches vimdiff! | 17:26 |
| ← galderz left | 17:26 |
| ← ayanes left | 17:26 |
| ← akamike left | 17:27 |
|
ashirus
| fr0sty: specifically, it reports 'git config option diff.tool set to unknown tool: echo' | 17:27 |
| → priidu joined | 17:27 |
|
fr0sty
| no, change the p4merge.cmd = 'echo \$(cygpath...' | 17:29 |
| ← icwiener left | 17:29 |
| ← freq9 left | 17:31 |
| ← GarethAdams|Work left | 17:31 |
| → icwiener joined | 17:31 |
| ← spearce left | 17:31 |
|
ashirus
| fr0sty: done so, it ignored the echo settings and still tries to launch p4merge | 17:32 |
| ← shruggar left | 17:32 |
| ← kalusn left | 17:32 |
| → patabugen joined | 17:32 |
|
ashirus
| fr0sty: did you expect it to each to the shell? I only wish! It's using the old invalid p4merge config from somewhere | 17:32 |
| ← sftp left | 17:33 |
| → sftp_ joined | 17:33 |
| → Evious joined | 17:34 |
|
ashirus
| diff.tool is always an alias that points to diftool.XXX .cmd, right? | 17:35 |
|
fr0sty
| what command are you using to invoke the difftool? | 17:35 |
|
ashirus
| git difftool | 17:35 |
| ← vadim3 left | 17:36 |
|
fr0sty
| and 'git difftool -tp4merge' launches vimdiff? | 17:38 |
| → spearce joined | 17:38 |
|
patabugen
| Hey :) I'm getting "fatal: The remote end hung up unexpectedly" and can't figure for the life of me why it would say that. I can ssh no problem, but git clone ssh://.... fails (this is why Is started using Dropbox and had my problem of yesterday) | 17:39 |
| ← spearce left | 17:39 |
|
ashirus
| fr0sty: no, it launches p4merge but with invalid parameters - $LOCAL instead of $(cygpath $LOCAL etc. | 17:39 |
| → spearce joined | 17:40 |
|
ashirus
| so p4merge exists with an error | 17:40 |
|
rasztasd
| how to tell what is the last common commit of two commits or branches? | 17:40 |
|
ashirus
| (as it doesn't understand linux paths, cygpath converts them to windows paths that p4merge understands) | 17:40 |
|
doener
| rasztasd: git merge-base | 17:41 |
|
rasztasd
| doener: ty | 17:41 |
| → kenleycapps joined | 17:42 |
|
fr0sty
| ashirus: and if your difftool.p4merge.cmd="echo ..." it still executes p4merge? | 17:42 |
|
ashirus
| fr0sty: yes! | 17:42 |
|
fr0sty
| set diff.tool=foo difftool.foo.cmd=blah... and git difftool -t foo | 17:43 |
|
| just for grins... | 17:43 |
|
Kobaz
| how do i revert a single file to what was in the last committed state | 17:43 |
|
fr0sty
| otherwise I'm out of ideas. | 17:43 |
|
FauxFaux
| Kobaz: git checkout HEAD file | 17:43 |
|
Kobaz
| k | 17:43 |
|
ashirus
| fr0sty: "Unknown merge tool foo" | 17:44 |
|
| this is how I set it: git config --global diff.tool=foo | 17:45 |
|
| is that wrong syntax or something? | 17:45 |
| → mastro joined | 17:45 |
|
FauxFaux
| What's foo? | 17:45 |
|
fr0sty
| ashirus: does git config -l show diff.too.=foo ? | 17:46 |
|
ashirus
| fr0sty: no | 17:46 |
|
| fr0sty: it shows diff.tool=echo (from our experiment 2 mins ago) | 17:46 |
|
fr0sty
| git config --global --set diff.tool=foo | 17:46 |
|
ashirus
| fr0sty: but it should show diff.tool=foo | 17:46 |
|
fr0sty
| --add, not set | 17:46 |
| → warthog9 joined | 17:48 |
|
fr0sty
| ashirus: just edit ~/.gitconfig directly. | 17:49 |
| ← robgleeson left | 17:49 |
|
ashirus
| fr0sty: I have done! and it's still ignoring those settings! I'm going mad! | 17:50 |
|
| forget it. i'm just going to reinstall cygwin, git, p4merge | 17:52 |
| ← whatdoesitwant left | 17:53 |
| ← davzie left | 17:53 |
| ← kukks left | 17:53 |
|
fr0sty
| a wise move. | 17:53 |
|
ashirus
| fr0sty: :) thanx | 17:53 |
|
| fr0sty: for your help | 17:54 |
|
fr0sty
| reinstall the OS while you are at it. | 17:54 |
|
| Ubuntu is nice ;-) | 17:54 |
| → foocraft joined | 17:54 |
|
ashirus
| lol | 17:54 |
| → sftp joined | 17:54 |
| ← sftp_ left | 17:54 |
| ← rasztasd left | 17:56 |
|
ashirus
| fr0sty: hmm, apprently it may have not been the settings that weren't getting read | 17:56 |
|
| If I do: | 17:56 |
|
| git difftool -x "p4merge \`cygpath -w \$LOCAL\` \`cygpath -w \$REMOTE\`" | 17:56 |
| → robgleeson joined | 17:56 |
| ← eletuchy left | 17:56 |
|
ashirus
| it still fails - the backticked parts don't seem to be executing properly | 17:56 |
| → hobodave joined | 17:57 |
| ← imMute left | 17:58 |
|
fr0sty
| not sure how backticks work in cygwin. | 17:59 |
|
| why don't you write a wrapper-script and execute that? | 17:59 |
|
| rather than trying the shell magic? | 17:59 |
|
ashirus
| fr0sty: well my problems started when I tried to invoke a wrapper script | 18:00 |
| ← cenuij left | 18:00 |
| ← dr_win left | 18:01 |
| → leadZERO joined | 18:01 |
|
ashirus
| fr0sty: I've finally got it to work via git difftool -x ./git-diff-bcomp-wrapper.sh | 18:01 |
|
leadZERO
| Anyone have issues using Git for Windows with Symantec products? | 18:01 |
|
ashirus
| fr0sty: so I'm going to alias that and forget the real settings | 18:01 |
|
| thx | 18:01 |
| ← ignatp_ left | 18:02 |
| adamholt → adamholt_away | 18:04 |
| adamholt_away → adamholt | 18:04 |
| → mlq joined | 18:04 |
| ← mlq left | 18:04 |
| → mlq joined | 18:04 |
| → eletuchy joined | 18:04 |
| → dr_win joined | 18:05 |
| ← ShooterMG left | 18:05 |
| → thiago_home joined | 18:06 |
| ← dpino left | 18:06 |
| ← priidu left | 18:07 |
| → carpet_the_walls joined | 18:07 |
|
fr0sty
| no problem. glad you got a solution. | 18:07 |
| ← workmad3 left | 18:07 |
| → priidu joined | 18:09 |
| → LongBeach joined | 18:09 |
| → PauLej joined | 18:10 |
| → imMute joined | 18:10 |
| ← apsysoev left | 18:10 |
| ← rox` left | 18:10 |
| → remur_030_v2 joined | 18:10 |
|
remur_030_v2
| can I ask questions about msysgit here too? My name contains an ö (o with umlaut), when I try commiting it complains about non-utf8 commit message | 18:11 |
| → q0rban joined | 18:12 |
|
remur_030_v2
| I found a mail where modifying the name fixed it, so I replaced it with the international oe instead of ö, but utf-8 is perfectly capable of ö, how can I submit my 'real' name? =) | 18:12 |
| ← leadZERO left | 18:12 |
| → bauruine joined | 18:13 |
| ← chronos left | 18:13 |
| → rox` joined | 18:14 |
| → chronossc joined | 18:14 |
| ← chronossc left | 18:14 |
|
IslandUsurper
| remur_030_v2, can you tell what encoding the config file that has your name is in? | 18:14 |
|
| I bet it's not UTF-8 | 18:14 |
|
remur_030_v2
| IslandUsurper: I don't know about a config file? I just set it with 'edit -> options' | 18:15 |
|
| it's a plain textbox | 18:15 |
| ← nicoulaj left | 18:15 |
| ← hyperair left | 18:15 |
| ← erez left | 18:15 |
|
IslandUsurper
| err, maybe I'm confused. I thought msysgit was mostly CLI, not GUI | 18:16 |
|
remur_030_v2
| IslandUsurper: that's the msysgit bash, I have no idea how to set it there though | 18:17 |
|
| I also can't find any configuration directory/file in my user directory | 18:17 |
|
| though there propably is one somewhere =/ | 18:18 |
|
IslandUsurper
| remur_030_v2, it should be called .gitconfig | 18:18 |
| → g0bl1n joined | 18:18 |
|
getxsick
| hi | 18:18 |
|
| i cloned a repo, did some changes and wanted to push it back but i got this: http://paste.pocoo.org/show/285630/ | 18:19 |
|
FauxFaux
| I'm trying to demo something and I'd like to EDITOR='grep -v foo' git rebase -i HEAD~~ #, or sed -i.. it seems that if the editor isn't interactive rebase does.. nothing? Apart from printing the (edited) rebase message to stdout. | 18:19 |
|
fr0sty
| getxsick: pushing to non-bare repositories is discouraged | 18:19 |
|
FauxFaux
| Oh utter penis. I'd done sed. That makes more sense. | 18:20 |
|
fr0sty
| FauxFaux: GIT_EDITOR you mean? | 18:20 |
|
FauxFaux
| No. It works fine with sed -i. | 18:21 |
|
getxsick
| fr0sty: 'git init' initializes non-bare repo, right? | 18:23 |
|
FauxFaux
| Yes. | 18:23 |
|
fr0sty
| yep: git init --bare, on the other hand, does not. | 18:23 |
|
getxsick
| so, in short summary "hub" repos should be bare ones, right? | 18:24 |
| → andrewwatts joined | 18:24 |
|
remur_030_v2
| IslandUsurper: ah found it, well it obviously uses unix linebreaks, I opened it with vi and did :set enc=utf-8 | 18:24 |
|
fr0sty
| getxsick: yep. | 18:25 |
| → __name__ joined | 18:26 |
| ← __name__ left | 18:26 |
| → __name__ joined | 18:26 |
|
remur_030_v2
| ah and saved, now it commits fine but on the 'git bash' it displays the ö as <C3><B6> which is proper utf8 | 18:26 |
|
| code but not symbol? | 18:26 |
| ← abetaha left | 18:26 |
| ← petran left | 18:26 |
|
IslandUsurper
| remur_030_v2, might need to use a TrueType font | 18:27 |
| → abetaha joined | 18:27 |
| → erez joined | 18:28 |
|
remur_030_v2
| IslandUsurper: ah i think you are right, the git gui displays it correctly in the log, thanks alot for the help! | 18:28 |
|
IslandUsurper
| no problem | 18:28 |
| → Heimidal_ joined | 18:28 |
| ← g0bl1n left | 18:30 |
| ← rox` left | 18:31 |
| → xiong joined | 18:31 |
| → mrenouf joined | 18:31 |
| → phantomcircuit joined | 18:32 |
| → hyperair joined | 18:32 |
| ← Heimidal left | 18:32 |
| ← Deesl left | 18:32 |
|
mrenouf
| If I only have a remote branch and not a local tracking branch, do I actually have all the revisions when I fetch, or just a pointer to the commit-ish of the remote branches? | 18:32 |
| → Deesl joined | 18:32 |
| → nadim joined | 18:32 |
|
fr0sty
| mrenouf: you have all of the history | 18:32 |
|
mrenouf
| fr0sty: ty | 18:33 |
|
wereHamster
| mrenouf: a pointer to a commit-ish implies all its history | 18:34 |
| → wonder95 joined | 18:34 |
|
wereHamster
| (unless you have a shallow clone) | 18:34 |
| ← kenleycapps left | 18:35 |
|
remur_030_v2
| uh now that came up, so when I clone for example the kernel.git i pull all the history right? sounds like quite a large bulk for me | 18:35 |
| → rox` joined | 18:35 |
|
mrenouf
| remur_030_v2: smaller than you might expect | 18:35 |
|
| though I don't have stats | 18:35 |
| → ymasory joined | 18:37 |
| ← chrisred left | 18:38 |
|
remur_030_v2
| ok, but I figured stuff like binary firmware etc are hard to track in history as you can barely 'diff' them, so any binary patch will likely increase the clone by it's size right? | 18:38 |
|
wereHamster
| remur_030_v2: correct | 18:38 |
|
| remur_030_v2: try to only put text files into git | 18:38 |
|
mrenouf
| remur_030_v2: doesn't git handle that efficiently? | 18:38 |
|
| git only sees bits right? it stores deltas regardless. | 18:39 |
|
remur_030_v2
| wereHamster: will keep it in mind then =P thanks for the infos | 18:39 |
| ← lanthan_afh left | 18:39 |
|
IslandUsurper
| mrenouf, git doesn't store deltas | 18:39 |
|
| (much) | 18:39 |
| ← justin-george left | 18:39 |
|
mrenouf
| IslandUsurper: you mean, of binaries? | 18:40 |
| ← PauLej left | 18:40 |
|
IslandUsurper
| I mean it hardlinks blobs, and computes the diffs when it needs to | 18:40 |
|
mrenouf
| ok, I will like to look more closely some time. So far have steered clear of the "plumbing" ;-) | 18:42 |
| ← spaceonline left | 18:43 |
| → Fisherman joined | 18:44 |
|
Fisherman
| Hello | 18:44 |
| → sandman06 joined | 18:44 |
|
Fisherman
| How do I specify what ssh key to use when pushing? | 18:44 |
|
| I can't start ssh-agent, for some reason | 18:44 |
| → andyburke joined | 18:45 |
| → FsTluxe joined | 18:45 |
|
cirwin
| Fisherman: edit your .ssh/config | 18:46 |
| → krosenvold_ joined | 18:46 |
| ← tweakism left | 18:46 |
| ← R9dovoj left | 18:46 |
| → goshawk joined | 18:49 |
| → jannau joined | 18:49 |
|
mrenouf
| When I use cherry-pick from a work tree to an another branch, and later merge that branch back into my work-tree, it's normal to see the same commits echoed right? Is there any cleaner way to handle that? I want to merge changes in but only push out selected commits | 18:49 |
|
Fisherman
| thank you cirwin | 18:49 |
|
jannau
| hi | 18:49 |
| ← bluenovember left | 18:50 |
|
mrenouf
| I'm using git-svn and I have lots of local specific-to-me changes made I want to track, but not push back to svn. | 18:50 |
|
| so I've been using a work flow of merge-in cherrypick-out between a private branch and master | 18:50 |
|
jannau
| is there a way to limit :/"search for string in commit message" to commits reachable from the current branch | 18:51 |
| → MikhX joined | 18:51 |
| ← jdav left | 18:53 |
| → SianaGearz joined | 18:55 |
| ← tatsuya left | 18:56 |
| ← sandman06 left | 18:57 |
| ← rox` left | 18:57 |
| → jdav joined | 18:59 |
|
avar
| it should do that already I think, unless you have --all | 19:00 |
|
| but git log :/foo branch I think | 19:00 |
| ← Heimidal_ left | 19:01 |
| → rox` joined | 19:02 |
| ← hobodave left | 19:03 |
| → plediii joined | 19:03 |
| → joel_falcou joined | 19:03 |
| → saschpe joined | 19:03 |
| ← saschpe left | 19:04 |
| ← psoo left | 19:04 |
| → saschpe joined | 19:04 |
| ← __name__ left | 19:04 |
| ← Fisherman left | 19:07 |
| ← curtana left | 19:07 |
|
patabugen
| Hey | 19:07 |
|
| I'm having some troubles :( | 19:07 |
|
| I have two copies of the same repos on the same branch but with changes which need merging | 19:07 |
|
| One of them has a corrupt .git | 19:08 |
|
| I'm stuck :( What can I do? | 19:08 |
|
FauxFaux
| Corrupt in what way? What did you run and what did it say? | 19:08 |
|
patabugen
| I was in here yesterday and the conclusion was that Drobox had broken it | 19:09 |
|
| Hang on, let me get the error | 19:09 |
|
| $ git status fatal: unable to read tree 792545082113cf2a182b698adafcf0019ed78b49 | 19:10 |
| ← eletuchy left | 19:10 |
|
patabugen
| The same if I try to commit | 19:10 |
|
| FauxFaux: This is the output from fsck --full http://pastebin.ca/1980909 | 19:11 |
|
FauxFaux
| Ouch. Have you tried copying the contents of working-repo/.git/objects into broken-repo/.git/objects? | 19:11 |
| → programble joined | 19:11 |
| ← programble left | 19:11 |
| → programble joined | 19:11 |
|
patabugen
| I haven't no | 19:11 |
|
| Should I just write those which don't exist and ignore those which do? | 19:12 |
|
FauxFaux
| I'd copy everything. Of course, you've done full backups of both so it doesn't matter what happens. | 19:12 |
|
patabugen
| When you say copy everything, you mean replace those which were there already? | 19:12 |
| → s0n-of-a-gun joined | 19:12 |
| → sgh_ joined | 19:12 |
|
FauxFaux
| Yeah. | 19:13 |
|
doener
| git uses content addressable storage: same name => should have the same content, otherwise one version is corrupted | 19:13 |
| → s1akr joined | 19:13 |
|
s1akr
| NOTICE: FREENODE IS CHANGING HOW YOU CONNECT TO IT! At 10pm EST tonight Freenode will enforce SASL for ALL connections! If you don't fix your client to use SASL, YOU WILL BE UNABLE TO CONNECT TO FREENODE! PLEASE JOIN #FREENODE AND/OR MSG A STAFFER FOR DETAILS! s1akr sgh_ s0n-of-a-gun programble saschpe joel_falcou plediii rox` jdav SianaGearz MikhX jannau goshawk krosenvold_ FsTluxe andyburke ymasory wonder95 nadim Deesl hyperair phantomcircuit mrenouf xiong er | 19:13 |
|
| NOTICE: FREENODE IS CHANGING HOW YOU CONNECT TO IT! At 10pm EST tonight Freenode will enforce SASL for ALL connections! If you don't fix your client to use SASL, YOU WILL BE UNABLE TO CONNECT TO FREENODE! PLEASE JOIN #FREENODE AND/OR MSG A STAFFER FOR DETAILS! disappearedng kipras kenichi jherdman ph^ kumbayo irc2samus Torsten tg aah warbee eno elmob dels wsclock yngress alvaro_o_ ashirus alin-gym nuoHep mklappstuhl dwmw2_gone ochosi jmil bcardarella coderdad O | 19:13 |
|
| NOTICE: FREENODE IS CHANGING HOW YOU CONNECT TO IT! At 10pm EST tonight Freenode will enforce SASL for ALL connections! If you don't fix your client to use SASL, YOU WILL BE UNABLE TO CONNECT TO FREENODE! PLEASE JOIN #FREENODE AND/OR MSG A STAFFER FOR DETAILS! ribasushi mika sitaktif_ wooli SethRobertson Stx candybar Moo^_^ mfoemmel rickmasta cxreg kandjar frerich6 BlindOracle Nickeeh kupsch gcl vmiklos ndim frakturfreak LetoThe2nd zain Tac 18VABQ1HF jonmasters | 19:13 |
| ← s1akr left | 19:13 |
| → thierryp joined | 19:13 |
| ← rox` left | 19:13 |
| → tildeequals joined | 19:13 |
| ← saschpe left | 19:13 |
|
patabugen
| yay! That seems to have worked! | 19:13 |
| remur_030_v2 → remur_030 | 19:14 |
|
patabugen
| Well git status tells me something at least | 19:14 |
| → saschpe joined | 19:14 |
|
FauxFaux
| You probably want fsck --full to pass too. | 19:14 |
| ← goshawk left | 19:14 |
|
patabugen
| A dangling commit and some dangling blogs | 19:14 |
|
FauxFaux
| That's a pass. | 19:14 |
|
patabugen
| yay | 19:14 |
|
| git gc will clean that up? | 19:15 |
|
FauxFaux
| Yep. git repack -adf # is probably a good idea, too. | 19:15 |
| → goshawk joined | 19:15 |
| → Goldfisch joined | 19:15 |
|
Goldfisch
| I just finished getting rid of some old, remote branches using git push origin :<branch_name>. Now, on another site, I want to fetch this update of deleted branches, but I can't seem to find the command to do this. | 19:16 |
| ← goshawk left | 19:16 |
| ← coderdad left | 19:16 |
| → Dominian` joined | 19:16 |
|
Dominian`
| NOTICE: FREENODE IS CHANGING HOW YOU CONNECT TO IT! At 10pm EST tonight Freenode will enforce SASL for ALL connections! If you don't fix your client to use SASL, YOU WILL BE UNABLE TO CONNECT TO FREENODE! PLEASE JOIN #FREENODE AND/OR MSG A STAFFER FOR DETAILS! Dominian` Goldfisch saschpe tildeequals thierryp sgh_ s0n-of-a-gun programble joel_falcou plediii jdav SianaGearz MikhX jannau krosenvold_ FsTluxe andyburke ymasory wonder95 nadim Deesl hyperair phant | 19:16 |
| ← Dominian` left | 19:16 |
| → coderdad joined | 19:16 |
| ← ashirus left | 19:16 |
| ← s0n-of-a-gun left | 19:17 |
| → goshawk joined | 19:18 |
|
wereHamster
| Goldfisch: git remote prune | 19:18 |
|
| or delet the branches manually | 19:18 |
|
hyperair
| someone please +r this channel please | 19:18 |
|
| i don't want to keep getting pinged by these morons | 19:18 |
| → ca1 joined | 19:18 |
|
ca1
| NOTICE: FREENODE IS CHANGING HOW YOU CONNECT TO IT! At 10pm EST tonight Freenode will enforce SASL for ALL connections! If you don't fix your client to use SASL, YOU WILL BE UNABLE TO CONNECT TO FREENODE! PLEASE JOIN #FREENODE AND/OR MSG A STAFFER FOR DETAILS! ca1 goshawk coderdad Goldfisch saschpe tildeequals thierryp sgh_ programble joel_falcou plediii jdav SianaGearz MikhX jannau krosenvold_ FsTluxe andyburke ymasory wonder95 nadim Deesl hyperair phantomcircu | 19:18 |
| ← ca1 left | 19:18 |
| ChanServ set mode: +o | 19:18 |
| ← programble left | 19:18 |
|
wereHamster
| hyperair: how do I do that? | 19:18 |
| → tvw joined | 19:18 |
| → gunbert` joined | 19:19 |
|
gunbert`
| NOTICE: FREENODE IS CHANGING HOW YOU CONNECT TO IT! At 10pm EST tonight Freenode will enforce SASL for ALL connections! If you don't fix your client to use SASL, YOU WILL BE UNABLE TO CONNECT TO FREENODE! PLEASE JOIN #FREENODE AND/OR MSG A STAFFER FOR DETAILS! gunbert` tvw goshawk coderdad Goldfisch saschpe tildeequals thierryp sgh_ joel_falcou plediii jdav SianaGearz MikhX jannau krosenvold_ FsTluxe andyburke ymasory wonder95 nadim Deesl hyperair phantomc | 19:19 |
|
| NOTICE: FREENODE IS CHANGING HOW YOU CONNECT TO IT! At 10pm EST tonight Freenode will enforce SASL for ALL connections! If you don't fix your client to use SASL, YOU WILL BE UNABLE TO CONNECT TO FREENODE! PLEASE JOIN #FREENODE AND/OR MSG A STAFFER FOR DETAILS! nullvariable necromancer disappearedng kipras kenichi jherdman ph^ kumbayo irc2samus Torsten tg aah warbee eno elmob dels wsclock yngress alvaro_o_ alin-gym nuoHep mklappstuhl dwmw2_gone ochosi jmil | 19:19 |
| ← gunbert` left | 19:19 |
| ← andyburke left | 19:19 |
| ← wonder95 left | 19:19 |
|
SianaGearz
| wtf is this scam? | 19:19 |
|
hyperair
| wereHamster: /mode #git +r, i think | 19:19 |
|
tg
| fuk these spammers | 19:19 |
|
wereHamster
| mode #git +r | 19:19 |
| wereHamster set mode: +r | 19:19 |
|
nullvariable
| wtf | 19:19 |
| → TomyLobo joined | 19:19 |
| ChanServ set mode: -o | 19:19 |
|
nullvariable
| legit messages like that come from system notices... | 19:20 |
|
hyperair
| wereHamster: thanks. | 19:20 |
|
| nullvariable sighs | 19:20 |
|
ymasory
| what's this scam about. how does joining #freenode make anyone money? | 19:20 |
|
hyperair
| nullvariable: i think real messages come via /notice | 19:20 |
| → CoinOpeBoy joined | 19:20 |
|
FauxFaux
| I suspect they're just trying to annoy the hell out of the staff. | 19:20 |
|
hyperair
| that's probably it, yeah | 19:21 |
|
FauxFaux
| Social engineering DDOS. | 19:21 |
|
ymasory
| i'll bet it's working | 19:21 |
|
nullvariable
| hyperair: right, from a system account or marked as a system wide message...not from someone join/parting a chan | 19:21 |
| → Adys joined | 19:21 |
| ← sgh_ left | 19:21 |
| → sgh_ joined | 19:21 |
|
hyperair
| nullvariable: ah sorry i misread your message. | 19:21 |
|
nullvariable
| FauxFaux: lol not a bad way to describe it actually... though aren't most people using IRC smart enough to notice such things? | 19:22 |
|
SianaGearz
| and then trailing junk to try to ward off filters. | 19:22 |
|
nullvariable
| hyperair: no worries :) | 19:22 |
|
FauxFaux
| nullvariable: < Dogbert> Imagine someone of average intellegence. Now, think. Half of the population are stupider than that. | 19:22 |
|
nullvariable
| I can't think it would be hard to write a script that booted them for saying more than a certain number of nicks in a single line at one time... | 19:23 |
|
SianaGearz
| oh it's not junk. it's uselist to trigger highlights | 19:23 |
|
| *user | 19:23 |
|
remur_030
| nullvariable: they get axed pretty quick ... | 19:23 |
|
FauxFaux
| It's even worked on us; see? OFF TOPIC KICK THE OFFTOPICERS. | 19:23 |
| ← tvw left | 19:23 |
|
nullvariable
| SianaGearz: yep :) that's why I'm here... was busy coding | 19:23 |
|
| hyperair was busy digging into zram code | 19:23 |
|
SianaGearz
| hey so was i. | 19:23 |
|
nullvariable
| FauxFaux: lol | 19:23 |
|
hyperair
| the goddamn module refused to initialize them zram devices | 19:23 |
|
nullvariable
| so apparently we all needed an excuse to come hang out? | 19:24 |
|
hyperair
| apparently. | 19:24 |
|
SianaGearz
| hello there hyperali, i can see you on another network. | 19:24 |
|
nullvariable
| hyperair: I don't envy your pain | 19:24 |
|
SianaGearz
| ehr hyperair | 19:24 |
|
| tab laziness fail | 19:24 |
|
hyperair
| nullvariable: i've figured it out ^_^ | 19:24 |
|
| and this concludes my first kernel hacking venture | 19:25 |
|
| i think | 19:25 |
|
SianaGearz
| \o/ gratz | 19:25 |
|
nullvariable
| nice | 19:25 |
|
hyperair
| thanks =) | 19:25 |
|
| well, first kernel hacking venture aside from solving merge conflicts and random bitrot | 19:25 |
| → workmad3 joined | 19:26 |
|
SianaGearz
| uhm i'm kinda scared to touch stuff there. call me crazy but i felt less uncomfortable tearing apart gcc. not that i got far there, i didn't. | 19:27 |
| ← thierryp left | 19:27 |
| → Fazer2 joined | 19:28 |
|
hyperair
| SianaGearz: actually so am i. | 19:28 |
|
| but this is compcache | 19:28 |
|
| it's a fairly simple thing that doesn't go really deep | 19:28 |
|
Fazer2
| hey, any msysgit developers here? | 19:28 |
|
remur_030
| Fazer2: just shoot the question | 19:29 |
|
Fazer2
| can I have stable "Git for Windows" installed and test development Msysgit on the same system? | 19:30 |
|
jannau
| avar: no, doesn't work. 'git log :/foo $branch' shows the first matching commit on $other_branch and the top commit in $branch | 19:30 |
|
avar
| dunno, what do the docs say about what ;/ should do? | 19:31 |
|
jannau
| and man gitrevisions explicitly states that it will show the first commit reachable from any ref | 19:31 |
|
Fazer2
| because I'm trying to find the cause of Git GUI freeze, I tried it on virtual machine, but can't reproduce it there | 19:31 |
|
jannau
| avar: it works as documented | 19:32 |
|
avar
| right | 19:32 |
| ← goshawk left | 19:32 |
| ← q0rban left | 19:34 |
| → MikhX_ joined | 19:36 |
| ← jherdman left | 19:36 |
| → jherdman joined | 19:37 |
| ← kandjar left | 19:39 |
| ← MikhX left | 19:39 |
| MikhX_ → MikhX | 19:39 |
| → pantsman joined | 19:39 |
| ← Goldfisch left | 19:40 |
| ← krosenvold_ left | 19:42 |
| ← GeertB left | 19:43 |
| ← necromancer left | 19:44 |
| → justin-george joined | 19:44 |
| ← Chaser left | 19:44 |
| ← patabugen left | 19:46 |
| → kukks joined | 19:46 |
| ← workmad3 left | 19:47 |
| → alus joined | 19:47 |
|
alus
| I just committed something but I have not pushed it | 19:47 |
|
| how do I undo that commit? | 19:47 |
|
dwmw2_gone
| git reset --hard HEAD^ | 19:48 |
|
| and it's really gone | 19:48 |
| ← thiago_home left | 19:48 |
| ← parasti left | 19:48 |
|
alus
| what do you mean "really gone"? | 19:48 |
|
remur_030
| deleted | 19:48 |
|
dwmw2_gone
| the change you made are reverted. | 19:48 |
|
remur_030
| left no trace | 19:48 |
|
alus
| are the files still modified on disk | 19:48 |
|
dwmw2_gone
| no | 19:48 |
|
remur_030
| no | 19:48 |
|
alus
| well that doesn't undo the commit, that undoes the commit and all my work | 19:49 |
|
| how do I just undo the commit? | 19:49 |
|
remur_030
| revert and commit# | 19:49 |
|
dwmw2_gone
| CRAPCOMMIT=$(git rev-parse HEAD) ; git reset --hard HEAD^ ; git show $CRAPCOMMIT | patch -p1 | 19:49 |
|
remur_030
| git revert bams | 19:49 |
|
dwmw2_gone
| there are probably better ways :) | 19:49 |
|
alus
| remur_030: that would add a second commit | 19:49 |
|
remur_030
| ah right, leave no trace, dwmw2_gone suggestions looks good then =) | 19:50 |
|
| otherwise git is written so you can't modify history | 19:50 |
| → airborn joined | 19:51 |
|
alus
| that doesn't make sense here. nothing was pushed | 19:51 |
| ← aah left | 19:51 |
|
jannau
| after looking at get_sha1_oneline() the only way make it do what I want is patching | 19:51 |
|
alus
| there are certainly some files on disk which could be modified to put things back the way they were | 19:52 |
|
doener
| alus: git reset --soft HEAD^ | 19:52 |
|
| alus: moves the branch head back, but doesn't touch the index or working tree | 19:52 |
|
alus
| doener: ok, but not "git diff" says nothing | 19:53 |
|
| er, s/not/now/ | 19:53 |
|
doener
| alus: sure, cause that diffs between the working tree and index, and they're still the same. | 19:53 |
|
alus
| so how do I undo that too | 19:53 |
|
remur_030
| alus: how deep in is the history is the faulty commit? you'll loose the history after that | 19:53 |
|
doener
| alus: git reset | 19:54 |
|
remur_030
| you sure you can't just revert the single commit? is a clean history that important? | 19:54 |
|
alus
| ok, "git reset --soft HEAD^ && git reset" | 19:54 |
|
doener
| alus: you just asked for undoing the commit, not the staging | 19:54 |
|
alus
| doener: I only typed one command | 19:54 |
|
| doener: I want to undo that one command | 19:54 |
|
doener
| alus: that or just "git reset HEAD^" (but _not_ "git reset --soft HEAD^ && git reset HEAD^") | 19:54 |
|
alus
| ok | 19:54 |
|
doener
| alus: and didn't even tell us which command that was... | 19:55 |
|
alus
| doener: oh, true. by "I just committed something" I meant "git commit -a -m 'blah'" | 19:55 |
|
doener
| alus: that's "stage all modified files and commit", not just "commit something" | 19:56 |
|
alus
| doener: and "git commit foo.txt -m 'blah'"? | 19:57 |
|
| is stage that one file and commit? | 19:57 |
|
doener
| alus: no, that's "create and use a temporary index, starting out equal to HEAD, stage foo.txt, commit, drop the temporary index" | 19:58 |
|
alus
| muh wha | 19:58 |
|
| well, will 'git reset "HEAD^"' still undo that? | 19:59 |
| → yano joined | 19:59 |
|
doener
| alus: "git commit foo.txt" will commit only the changes to foo.txt, even if you already added e.g. "bar.txt" to the index | 19:59 |
|
alus
| right, ok | 19:59 |
|
doener
| alus: that and possibly more. The index will be clean, so anything you had added to the index is reverted, too | 19:59 |
|
alus
| yikes | 19:59 |
|
| so is there a command I can use it either situation? | 19:59 |
|
doener
| no | 20:00 |
|
alus
| ugh | 20:00 |
|
| so how would I undo that one? | 20:00 |
| ← pantsman left | 20:00 |
|
doener
| which one? "edit foo and bar; git add bar; git commit -m yadda foo;"? | 20:01 |
| → ChrisPitzer joined | 20:01 |
|
doener
| git reset HEAD^; git add bar | 20:01 |
|
alus
| hm | 20:01 |
|
| but that's only if I used git add originally | 20:02 |
|
doener
| the index state is "destroyed" by the reset, so you have to reconstruct it, if you really want to undo _exactly_ the stuff that commit command did | 20:02 |
| → eletuchy joined | 20:02 |
|
alus
| I call that redo, not undo ;) | 20:02 |
|
ChrisPitzer
| hey. I need to roll back one commit. how do I do that? | 20:02 |
|
alus
| but I never do "git add" unless I'm adding a new file, so "edit foo and bar; git commit -m yadda foo; git reset HEAD^;" works fine to preserve changes in bar on disk? | 20:02 |
|
doener
| alus: sure, a --mixed reset (the default) won't touch the working tree | 20:03 |
|
alus
| ok, cool | 20:03 |
|
| ChrisPitzer: good luck! | 20:03 |
|
| doener: thanks | 20:03 |
| ← alus left | 20:04 |
| ← jrmuizel left | 20:04 |
| ← cannonball left | 20:04 |
| → ceez joined | 20:04 |
| → brendon_work joined | 20:04 |
|
remur_030
| ChrisPitzer: you can do 'git revert' | 20:04 |
|
ChrisPitzer
| remur_030: how do I specify what commit i want to revert to? | 20:05 |
| → jrmuizel joined | 20:05 |
|
remur_030
| ChrisPitzer: you checked the man page by chance? revert only reverts a single commit... | 20:05 |
| ← jmil left | 20:09 |
|
cbreak
| revert doesn't really revert a commit, it creates an undo commit | 20:09 |
|
| the only way to properly change published history | 20:09 |
|
| there are other methods such as git rebase -i and other history rewriting tools | 20:10 |
|
| but those are as said for rewriting history. with all the consequences. | 20:10 |
| ← ph^ left | 20:13 |
| ← Torsten left | 20:14 |
| → ph^ joined | 20:15 |
| → schacon joined | 20:19 |
|
schacon
| is there any good crlf guide around? | 20:19 |
| → rendar joined | 20:21 |
|
rendar
| can i generate a myproject.tar.gz of the current snapshot of a branch? | 20:21 |
|
cbreak
| yes | 20:22 |
|
rendar
| how cbreak? | 20:22 |
|
cbreak
| now you're asking difficult questions :) | 20:22 |
|
| rendar: man git-archive | 20:23 |
|
rendar
| :P | 20:23 |
|
| thanks | 20:23 |
| ← ehabkost left | 20:25 |
| → golodhrim joined | 20:28 |
| → Eridius joined | 20:30 |
| → f0rkit joined | 20:32 |
| ← f0rkit left | 20:33 |
| → Sigma joined | 20:34 |
| ← marcob left | 20:34 |
| ← Deesl left | 20:40 |
| ← dl9pf_ left | 20:42 |
| ← irc2samus left | 20:43 |
| ← doener left | 20:47 |
|
bremner
| snapshot = "!g() { cdup=`git rev-parse --show-cdup`; repo=` cd $PWD/$cdup && pwd -P` ; sha=`git rev-parse --short HEAD`; git archive --format=tar HEAD | gzip -9 > $repo/../`basename $repo`-${sha}.tar.gz; } ; g" | 20:49 |
|
| rendar: there is the alias I use ^ | 20:49 |
| → kenneth_reitz joined | 20:52 |
| ← zombor left | 20:52 |
| ← kenneth_reitz left | 20:52 |
| ← abetaha left | 20:52 |
| ← schacon left | 20:52 |
| → kenneth_reitz joined | 20:53 |
|
cbreak
| I use this: zip = ! BN=$(basename -s .git $(git rev-parse --show-toplevel)) && git archive --format=zip --prefix=$BN/ HEAD > $BN-$(git id).zip | 20:54 |
|
| id = describe --tags --long --abbrev=6 --dirty="*" | 20:55 |
| → workmad3 joined | 20:55 |
| ← jaql left | 20:56 |
| ← pmcnabb left | 20:57 |
| ← Pewpewarrows left | 20:57 |
| ← fr0sty left | 20:58 |
| ← workmad3 left | 20:58 |
| ← dr_lepper left | 20:59 |
| → ymasory_ joined | 20:59 |
| ← sebersole left | 21:00 |
| ← jherdman left | 21:01 |
| → fr0sty joined | 21:06 |
| → workmad3 joined | 21:06 |
| ← sonnym left | 21:07 |
| → sgh joined | 21:07 |
| ← sgh_ left | 21:08 |
| ← boombatower left | 21:08 |
| ← rgr left | 21:10 |
| ← Fazer2 left | 21:11 |
| ← Elfe left | 21:11 |
| → Elfe_ joined | 21:11 |
| ← LiamH left | 21:13 |
| ChanServ set mode: +o | 21:13 |
| wereHamster set mode: -r | 21:13 |
| ← alex__c2022 left | 21:13 |
| ChanServ set mode: -o | 21:14 |
| ← workmad3 left | 21:16 |
| ← sgh left | 21:17 |
| ← dukebag left | 21:17 |
| → BiggFREE joined | 21:17 |
| ← joel_falcou left | 21:17 |
| → sgh joined | 21:18 |
| ← flazz left | 21:21 |
| ← priidu left | 21:22 |
| ← bcardarella left | 21:23 |
| ← elmob left | 21:24 |
| → krosenvold_ joined | 21:25 |
| → dukebag joined | 21:26 |
| → unhygienix joined | 21:28 |
| → ProperNoun joined | 21:28 |
| ← ProperNoun left | 21:28 |
| → ProperNoun joined | 21:28 |
| ← nuoHep left | 21:28 |
| → enherit joined | 21:29 |
| ← Evious left | 21:29 |
| → Evious joined | 21:30 |
| ← warthog9 left | 21:31 |
| ← bentob0x left | 21:31 |
| ← IslandUsurper left | 21:32 |
| ← ymasory_ left | 21:33 |
| → sgh_ joined | 21:34 |
| ← sgh left | 21:34 |
| ← dukebag left | 21:35 |
| → q0rban joined | 21:36 |
| ← nullvariable left | 21:37 |
| ← mfacenet left | 21:37 |
| → hefox joined | 21:39 |
| → warthog9 joined | 21:39 |
| ← hefox left | 21:39 |
|
foocraft
| hey all | 21:39 |
| → night_shade joined | 21:39 |
|
foocraft
| I was wondering if there's a workflow that supports "hacky" behavior :p | 21:40 |
| ← welly left | 21:40 |
|
foocraft
| like, take my code, do a lot of things for a few hours, and be able to revert back to the old version if things don't work out well, while letting the "current" version for others that pull from the repo be that version that I fell back to. | 21:40 |
| → sonnym joined | 21:41 |
|
wereHamster
| sure | 21:41 |
| → cannonball joined | 21:41 |
|
crash\
| branches? | 21:41 |
|
wereHamster
| create a branch or not, use stash, or commit along the way.. your choice, really | 21:41 |
|
foocraft
| (that word scares me) | 21:41 |
|
PerlJam
| sounds more like branchy workflow to me | 21:41 |
|
foocraft
| branches is something I never understood completely, probably because it sounds unbelievable | 21:42 |
| ← cirwin left | 21:42 |
|
sgronblo
| foocraft: what you just described sounds exactly like the workflow you get when using branches | 21:42 |
|
foocraft
| so I "branch" so some work, and suppose I am successful in adding the new feature, how can I set my bare repo to contain this branch | 21:42 |
|
wereHamster
| foocraft: you push your branch into that repo | 21:43 |
|
sgronblo
| you can merge it back into your master branch and then push | 21:43 |
|
| or you can push the branch to the repo first if you want others to have access to it | 21:43 |
| ← night_shade left | 21:43 |
|
foocraft
| so branch optimize_queue ; stuff ; git commit -a ; git push | 21:43 |
|
| s/branch/git branch/ | 21:44 |
|
sgronblo
| there must be some good guide online for this | 21:44 |
|
| some details are missing from your suggested procedure | 21:44 |
| → ignatp_ joined | 21:45 |
|
foocraft
| sgronblo: wanna pastebin a sketch of a possible sequence of git commands? | 21:46 |
|
| (that would be highly appreciated) | 21:46 |
|
sgronblo
| foocraft: well I guess I could, but I just think you could probably find much more detailed guides by googling for something like git topic branches | 21:46 |
|
foocraft
| I did, but they seem to be very...ugh | 21:47 |
|
| I mean, I don't get branching for some reason | 21:47 |
|
| it seems all magical heh | 21:47 |
|
sgronblo
| its quite simple once you get it | 21:47 |
| ← hyperair left | 21:47 |
| → thierryp joined | 21:47 |
|
foocraft
| (a bit of a future question: are hooks per branch or per repo?) | 21:48 |
| ← thierryp left | 21:48 |
| → kar8nga joined | 21:49 |
| → thiago_home joined | 21:50 |
|
sgronblo
| http://pacific.mpi-cbg.de/wiki/index.php/Git_topic_branches here is one article that was in the first 10 hits on google | 21:50 |
|
| if it scares you atm, i suggest you read more than one | 21:50 |
|
PerlJam
| foocraft: per repo, but the hook has enough information to distinguish branches and such. | 21:51 |
| → darkredandyellow joined | 21:51 |
|
foocraft
| sgronblo: thanks a lot | 21:52 |
| → s0ber_ joined | 21:52 |
|
sgronblo
| personally i create a new branch for nearly any changes i start making unless its a very simple repository or if im in some "prototyping stage" of a project | 21:53 |
| → dissidentss joined | 21:53 |
| → marienz joined | 21:54 |
|
darkredandyellow
| guys, I am getting a: "warning: remote HEAD refers to nonexistent ref, unable to checkout." when doing a "git clone....". | 21:54 |
|
| Now, I know _why_ this is: "git branch -a" shows: remotes/origin/HEAD -> origin/master | 21:54 |
|
| but as far as googling / looking at "git remote set-head" goes I am more confused than before | 21:55 |
| ← s0ber left | 21:55 |
|
darkredandyellow
| am I right: I can NOT set the HEAD on the repo. | 21:55 |
|
wereHamster
| darkredandyellow: is the remote repo empty? | 21:55 |
| ← sivy left | 21:55 |
|
darkredandyellow
| * remote repo | 21:55 |
|
| wereHamster, no, there are some branches, but no master | 21:55 |
|
| which is on purpose | 21:56 |
| ← icwiener left | 21:56 |
|
wereHamster
| darkredandyellow: then go into that repo and make sure HEAD points to one of those | 21:56 |
| → thierryp joined | 21:56 |
|
darkredandyellow
| wereHamster, I C. unfortunately it's on sourcerepo.com, so I'll have to drop them email. | 21:56 |
|
| wereHamster, thanks for the clarification | 21:56 |
| ← ignatp_ left | 21:59 |
| ← thierryp left | 22:01 |
| ← carpet_the_walls left | 22:01 |
| → Atlantic777 joined | 22:01 |
| ← dreiss left | 22:03 |
| → hobodave joined | 22:05 |
| → Tuller joined | 22:06 |
| → abetaha joined | 22:06 |
| ← remur_030 left | 22:06 |
| → thierryp joined | 22:07 |
|
Atlantic777
| How can I delete some commit messages or even better reset the whole repo to the start?! I did some testing commits and I now wan't to delete them and start seriously. | 22:08 |
| ← sftp left | 22:08 |
|
Eridius
| you can use `git reset --hard $SHA` to reset the branch back to $SHA, throwing away any commits between $SHA and the tip of the branch | 22:09 |
| ← kipras left | 22:09 |
|
Eridius
| if you want to just throw away the last 3 commits, you could use `git reset --hard HEAD~3`. Similarly if you want to throw away all local commits you can use `git reset --hard origin/master` (or in more recent gits, `git reset --hard @{u}`) | 22:09 |
| → sftp joined | 22:09 |
|
getxsick
| fr0sty: around? | 22:11 |
| ← ChrisPitzer left | 22:11 |
| ← thierryp left | 22:12 |
| ← fr0sty left | 22:12 |
| fr0sty___ → fr0sty | 22:12 |
|
fr0sty
| yes? | 22:12 |
| → fr0sty_ joined | 22:12 |
| → blahdeblah joined | 22:12 |
|
Atlantic777
| Eridius, I'm getting some strange messages about fast forwarding. :/ | 22:12 |
|
Eridius
| Atlantic777: `git reset` doesn't provide any messages about fast-forwarding | 22:13 |
|
Atlantic777
| Eridius, I get them when I try `git push` after hard reset. | 22:13 |
| ← saschpe left | 22:13 |
|
Eridius
| ok, it's telling you that you can't push because the push would not be a fast-forward | 22:13 |
|
| which means you threw away commits that you had already pushed | 22:13 |
|
| are you certain you want to throw them away on the remote? This changes history and causes problems for anyone else who has pulled from your remote | 22:13 |
|
Atlantic777
| yap, that's the point :D | 22:13 |
|
| They are just test1.txt, test2.txt etc. | 22:14 |
|
sgronblo
| the point is to cause problems? :) | 22:14 |
| ← noktoborus_ left | 22:14 |
|
blahdeblah
| Why does 'git status' return 1 on a clean working directory on v1.5.5.6, yet return 0 on a clean working directory on 1.7.0.4? | 22:14 |
|
fr0sty
| getxsick: you rang? | 22:14 |
|
Atlantic777
| You can see the remote if you don't believe me. :) | 22:14 |
|
Eridius
| Atlantic777: if you're certain you want to throw them away on the server, you can use the -f flag to git push, or you can prefix the refspec wtih + (if you use -f make sure you provide exactly the refspecs you want, if you push all matching branches it may not do what you intended) | 22:15 |
|
getxsick
| fr0sty_: according to my problem (A and B companies), if developers from B's company would use one username, that would be easy, right? but is it possible to track somehow who did which changes? like adding some hooks? just to see it in company B, at least not by 'git log' something external | 22:15 |
|
| fr0sty_: yeah, sorry, had to phonecall | 22:15 |
| ← lucsky_ left | 22:15 |
|
Eridius
| blahdeblah: my impression is that `git status` no longer has a useful exit code | 22:15 |
|
blahdeblah
| Eridius: :-( OK, thanks | 22:16 |
| ← abetaha left | 22:16 |
|
Eridius
| blahdeblah: usually you want some combination of flags to `git ls-files` to find out about dirty trees | 22:16 |
|
| blahdeblah reads man page for git ls-files | 22:17 |
| ← kar8nga left | 22:17 |
|
Atlantic777
| Eridius, ok I've removed some files, but there are still commit messages. ( http://git.ns-linux.org/openpeticija.git/ ) | 22:17 |
| → f0rkit joined | 22:18 |
| ← brntbeer left | 22:18 |
|
Atlantic777
| Eridius, and there is still the first file (frontend3.py) :/ | 22:18 |
|
blahdeblah
| What is the difference between cached and committed for the purposes of git ls-files? | 22:19 |
| ← yairgo left | 22:19 |
| → sivy joined | 22:19 |
|
wereHamster
| blahdeblah: do you what the index is? | 22:20 |
| ← kumbayo left | 22:20 |
|
blahdeblah
| wereHamster: I presume that should be "do you know what..." | 22:21 |
|
wereHamster
| yes | 22:21 |
|
blahdeblah
| Well, the answer is yes, for very vague values of yes | 22:21 |
|
| I'm still trying to learn git and haven't got the jargon down | 22:21 |
| jzacsh_ → jzacsh | 22:22 |
|
wereHamster
| blahdeblah: why don't you start with http://progit.org? | 22:22 |
|
fr0sty
| getxsick: I still fail to understand any legitimate business reason for throwing away committer information. | 22:22 |
| → Blackguard joined | 22:22 |
|
fr0sty
| is even having a useful 'Author' name not possible? | 22:23 |
|
blahdeblah
| wereHamster: Because i don't have money to buy books and find mostly that i end up not using them because online resources are more up-to-date? | 22:23 |
|
wereHamster
| blahdeblah: why would you need to buy anything? | 22:23 |
|
| blahdeblah saw the apress logo and assumed they weren't giving out books for free | 22:24 |
| ← warthog9 left | 22:24 |
|
| blahdeblah checks now | 22:24 |
|
wereHamster
| blahdeblah: you can read the book online | 22:24 |
|
| or even download its source! | 22:25 |
|
blahdeblah
| Not sure how that's going to help me interpret the git ls-files man page without reading the whole book first... | 22:25 |
| ← brosner left | 22:25 |
|
wereHamster
| you'll understand what the index is | 22:26 |
|
| and then what --cached means in the context of just about any git command | 22:26 |
| → bcardarella joined | 22:26 |
|
fr0sty
| getxsick: an alternative would be to make up some bogus 'committer' names 'CompanyB-123', CompanyB-124, etc. and go with that. | 22:26 |
|
blahdeblah
| strange that the man pages for git-status and git-commit don't ever mention the word cache | 22:27 |
| → engla joined | 22:27 |
|
fr0sty
| getxsick: basically, there is no way to retains authorship information while at the same time discarding all authorship information | 22:27 |
|
| gotta run... | 22:27 |
|
wereHamster
| blahdeblah: do they mention 'index'? or 'staging area'? | 22:27 |
|
foocraft
| I want to start going back in time and branching from there | 22:28 |
|
wereHamster
| foocraft: git branch <name of you rnew branch> <commit which you want to start that branch at> | 22:28 |
|
getxsick
| fr0sty: hmm, at least i could just add hooks for commits in B and make external DB to know who did what ;/ | 22:28 |
|
foocraft
| wereHamster: thanks! :) | 22:28 |
|
blahdeblah
| wereHamster: yes, but i though cached and committed were the same thing | 22:29 |
| → Bass10 joined | 22:29 |
|
wereHamster
| blahdeblah: then you didn't get the concept of the 'index' at all | 22:29 |
| ← Bass10 left | 22:30 |
|
blahdeblah
| My laptop has man 7 gitglossary, even though the server (v1.5.5.6) doesn't, and it says that cache==index | 22:30 |
| ← hobodave left | 22:30 |
|
wereHamster
| that's true | 22:30 |
| ← normanrichards left | 22:30 |
| → Bass10 joined | 22:30 |
|
engla
| gitglossary doesn't even mention "stage" here :-( | 22:31 |
| → eaven joined | 22:31 |
| ← coderdad left | 22:31 |
|
blahdeblah
| engla: indeed! | 22:31 |
|
| The plethora of terms is rather confusing for us newbies | 22:32 |
| → rhl joined | 22:32 |
|
engla
| ah, gitglossary is not written for newbies anyway. it's not like its explanation of index will enlighten anyone who doesn't already know git innards | 22:32 |
| eaven → Eaven | 22:32 |
| → dreiss joined | 22:32 |
|
rhl
| Hi, can someone explain to me what this error means? http://fpaste.org/zAaW/ | 22:32 |
|
wereHamster
| rhl: that you nede to commit your changes first or stash them | 22:32 |
|
engla
| blahdeblah: I can understand that. I say 'staging area' or 'index' for short. you never use 'cache' | 22:32 |
| ← Yuffster left | 22:33 |
| → jeff2 joined | 22:33 |
|
rhl
| wereHamster, I did a git commit -m "message here" | 22:33 |
| ← fowlduck left | 22:33 |
|
blahdeblah
| engla: OK - thanks | 22:33 |
|
rhl
| and it seemed to work out alright? | 22:33 |
| ← TeckniX left | 22:33 |
|
wereHamster
| rhl: what does 'git status' say? | 22:33 |
|
rhl
| http://fpaste.org/tLTp/ | 22:33 |
| → alester joined | 22:34 |
| → Linc joined | 22:34 |
|
blahdeblah
| Maybe i would be better stating my problem in more practical terms: i'm trying to write a script that will run as a regular cron job to 1. add unstaged files, 2. commit all changes, 3. pull from remote, and i'm trying to work out how to do 1 in the most sensible manner. | 22:34 |
|
foocraft
| how can I create a branch locally, and let that branch be visible in the master repo? | 22:35 |
|
| so I know how to branch and switch between branches | 22:35 |
|
wereHamster
| blahdeblah: committing or pulling from a cron script is not recomeded | 22:35 |
| → drizzd joined | 22:35 |
| ← pigdude left | 22:35 |
|
foocraft
| but not how to let the available set of branches visible across all repos | 22:35 |
|
rhl
| wereHamster, any clue? | 22:35 |
|
blahdeblah
| wereHamster: That may be, but it's required in this case, so i need to work out how to do it as best i can. | 22:36 |
|
wereHamster
| rhl: git rm --cached gen-graph.py && git commit -m 'remove that file' | 22:36 |
| → sgh joined | 22:36 |
|
wereHamster
| blahdeblah: so explain, what will you do when there's a conflict? | 22:36 |
|
rhl
| cool that worked, why did that work though? | 22:36 |
| ← sgh_ left | 22:36 |
|
wereHamster
| rhl: you had that one file locally modified. YOu needed to commit it | 22:37 |
|
rhl
| so I removed gen-graph.py so it needed to know that | 22:37 |
|
| and I didn't tell it? | 22:37 |
|
wereHamster
| yes | 22:37 |
|
blahdeblah
| wereHamster: I'm happy to let it stay conflicted - conflicts will be rare in this repo because most of the time the files which are pulled from origin are not touched, and most of the files in the local repo are not even present in origin. | 22:37 |
|
frogonwheels
| rhl: if you use git rm <file> that does the file removal and adds it to the index | 22:38 |
| ← drizzd_ left | 22:38 |
|
rhl
| frogonwheels, aha I see. | 22:38 |
|
frogonwheels
| rhl: .. which is effectively (I guess) rm <file> && git rm --cached <file> | 22:38 |
|
rhl
| so I should alias rm to something fancy that checks if .git exists then does the git rm accordingly? | 22:38 |
|
frogonwheels
| rhl: or just get used to using git rm | 22:39 |
|
rhl
| frogonwheels, right.... | 22:39 |
|
wereHamster
| rhl: you sholud know yourself whe you are in a git repo and use git rm instead of rm | 22:39 |
|
rhl
| sure, it's true. | 22:39 |
|
frogonwheels
| rhl: or alternatively use git gui which then allows you just to click on the removed file to 'stage the change' | 22:39 |
| ← jeff2 left | 22:39 |
|
wereHamster
| rhl: or use git status and git add -A ... | 22:39 |
|
frogonwheels
| rhl: many ways to skin that cat depending on how you like to work. | 22:39 |
|
rhl
| so i'm using git svn | 22:39 |
|
| and I have two folders, say A, B | 22:40 |
|
Atlantic777
| Ok... I have done somehow the hard reset, but can I even delete the first commit? To get completely clean remote? | 22:40 |
|
rhl
| folder A is a fork of code from another person, its a huge number of files, B is my new directory, which is just one file right now | 22:40 |
| → workmad3 joined | 22:40 |
|
wereHamster
| Atlantic777: git reset --hard origin/master | 22:40 |
|
rhl
| when I git svn dcommit, it seems to **always** push folder A, even though nothing changed | 22:40 |
|
| isn't that wrong? | 22:41 |
| ← Linc left | 22:42 |
|
Atlantic777
| wereHamster, but there's still the first commit. :/ | 22:42 |
|
wereHamster
| Atlantic777: rm -rf .git ? | 22:42 |
| ← akahn left | 22:42 |
|
Atlantic777
| wereHamster, maybe... :D | 22:42 |
| → warthog9 joined | 22:43 |
| ← f0rkit left | 22:45 |
| ← thiago_home left | 22:45 |
| → thiago_home joined | 22:45 |
| → _Vi joined | 22:45 |
| → marc_kdab joined | 22:45 |
| ← sgh left | 22:45 |
| → Schmallon joined | 22:46 |
| → hobodave joined | 22:47 |
| → amerine joined | 22:47 |
| → brothers joined | 22:48 |
| → noktoborus_ joined | 22:48 |
| → sgh joined | 22:48 |
| ← brothers left | 22:48 |
| → brosner joined | 22:48 |
| → zombor joined | 22:49 |
| ← zombor left | 22:49 |
| → zombor joined | 22:49 |
| ← blahdeblah left | 22:50 |
| → brothers joined | 22:50 |
| → psoo joined | 22:50 |
| ← dreiss left | 22:52 |
| ← sgh left | 22:53 |
| ← warbee left | 22:53 |
| ← hobodave left | 22:53 |
| → rgr joined | 22:53 |
| → theoros joined | 22:54 |
|
rgr
| I have just realised that I removed something from git a long while back using git rm (a dir that I forgot was useful). Can I get it back from git? How do I find it? | 22:55 |
| ← q0rban left | 22:55 |
| ← ph^ left | 22:56 |
|
frogonwheels
| rgr: you can use man git-log with a path to find out the commit, and then you can checkout the directory from before that (specifying a revision) | 22:57 |
| → abetaha joined | 22:58 |
| ← ymasory left | 22:58 |
| → ereslibre joined | 22:59 |
| → hobodave joined | 22:59 |
| ← hobodave left | 23:00 |
| → hobodave joined | 23:00 |
| ← workmad3 left | 23:02 |
| ← kenichi left | 23:03 |
| ← jannau left | 23:03 |
|
rgr
| thank you | 23:04 |
| → f0rkit joined | 23:04 |
| ← abetaha left | 23:04 |
| → dreiss joined | 23:04 |
| ← Atlantic777 left | 23:05 |
| ← psoo left | 23:05 |
| ← dels left | 23:06 |
| → awilkins joined | 23:06 |
| → hal joined | 23:06 |
|
hal
| what places are user.name setting kept? I am certain that I set this in a previous project but I can't find it anywhere | 23:07 |
| ← Schmallon left | 23:07 |
| → ProperN[out] joined | 23:07 |
|
hal
| in the project it's .gitconfig, isn't it? What if it is a global setting | 23:07 |
|
awilkins
| There's a global setting for it | 23:08 |
| ← BiggFREE left | 23:08 |
| → AAA_awright joined | 23:08 |
|
awilkins
| The current version of git I had actually prompted me to set it (after unhelpfully assuming it's value for the first commit) | 23:08 |
| → joeytwiddle joined | 23:09 |
| ← joeytwiddle left | 23:09 |
| → artefon joined | 23:09 |
|
hal
| awilkins: ah ok, I have found .gitconfig in my home dir | 23:09 |
| ← ProperNoun left | 23:09 |
|
hal
| thank you awilkins | 23:09 |
| ProperN[out] → ProperNoun | 23:09 |
| → abetaha joined | 23:10 |
| → joeytwiddle joined | 23:10 |
| ← Dave^| left | 23:11 |
| ← tizbac_ left | 23:12 |
| ← Arrowmaster left | 23:12 |
| ← alester left | 23:14 |
| → marc_kdab_ joined | 23:14 |
| → Arrowmaster joined | 23:15 |
| → hakunin joined | 23:15 |
| → mmc joined | 23:15 |
| → jargan joined | 23:16 |
| ← siprbaum left | 23:16 |
| → siprbaum joined | 23:16 |
| → Heimidal_ joined | 23:16 |
| → scarabx joined | 23:17 |
| ← jast left | 23:17 |
| ← marc_kdab left | 23:18 |
| ← Heimidal_ left | 23:18 |
| → nullvariable joined | 23:18 |
| → checkers joined | 23:19 |
|
checkers
| I committed a few hacky fixes, now someone has made proper fixes for the problem. I want to commit an 'undo' of my hacky fixes. Is there a simple way to do this? | 23:19 |
| s0ber_ → s0ber | 23:19 |
| ← mlq left | 23:19 |
| ← hebz0rl left | 23:20 |
| → tiglionabbit joined | 23:21 |
| → mlq joined | 23:21 |
| ← mlq left | 23:21 |
| → mlq joined | 23:21 |
|
tiglionabbit
| is it possible to get a similar behavior to git svn clone --no-minimize-url in git version 1.5.5.6? | 23:22 |
|
| I'm trying to clone a part of an svn repository. The whole repository too large to clone the whole thing | 23:22 |
| ← jrmuizel left | 23:22 |
| ← Tama00 left | 23:23 |
| → jaql joined | 23:24 |
| ← sftp left | 23:25 |
| ← f0rkit left | 23:25 |
| ← abetaha left | 23:26 |
|
mklappstuhl
| bartman: hey.. i'd like to use your dot-files script but i dont get any output from any command | 23:26 |
| ← Ryback_ left | 23:27 |
| → sftp joined | 23:28 |
| → whatdoesitwant joined | 23:30 |
| ← awilkins left | 23:31 |
| ← kenneth_reitz left | 23:32 |
| ← ajpiano left | 23:32 |
| ← ereslibre left | 23:34 |
| → ereslibre joined | 23:35 |
| ← ereslibre left | 23:35 |
| → ereslibre joined | 23:35 |
| → Tama00 joined | 23:37 |
| → cirwin joined | 23:37 |
| ← ProperNoun left | 23:37 |
| ← ceez left | 23:38 |
| ← andrewwatts left | 23:38 |
| → jmil joined | 23:41 |
| → parasti joined | 23:42 |
| → andrewwatts joined | 23:44 |
| ← resmo left | 23:44 |
| ← erez left | 23:44 |
| ← whatdoesitwant left | 23:45 |
| → madewokherd joined | 23:49 |
| ← flaguy48 left | 23:50 |
| → brntbeer joined | 23:52 |
| → ki__ joined | 23:52 |
| ← frogonwheels left | 23:53 |
| → frogonwheels joined | 23:54 |
| adamholt → adamholt_away | 23:56 |
| adamholt_away → adamholt | 23:56 |
| → flaguy48 joined | 23:56 |
| ← Tama00 left | 23:56 |
| ← hobodave left | 23:57 |