| 2012-05-05 |
|
codeM0nK3Y
| it's a one time thing, I never want to use svn again in my life. I didn't realise I had so many projects using it in the first place | 00:00 |
| ← DofLeFou left | 00:01 |
| → jameswarren joined | 00:01 |
| ← kerrick left | 00:01 |
|
bremner
| there is a fast export based svn2git by the kde team | 00:01 |
|
| it needs a local svn repo | 00:02 |
| ← szager left | 00:02 |
| ← LekeFly left | 00:03 |
|
bremner
| for small jobs git-svn is usually easier | 00:03 |
| ← Vert left | 00:04 |
|
codeM0nK3Y
| I was looking at this answer before I tried svn2git earlier so might try that. Seems to give more flexibility too which will be handy when it comes to making my tag names git-friendly | 00:05 |
| ← jfelchner left | 00:05 |
|
codeM0nK3Y
| http://stackoverflow.com/a/3972103/1359343 | 00:05 |
| ← jim0203 left | 00:06 |
| → Anchakor joined | 00:07 |
| ← txomon left | 00:08 |
|
Anchakor
| hi, how do I unstage files (both changed and new files) from commit? (not discarding the changes in them) | 00:08 |
|
codeM0nK3Y
| git reset --soft HEAD^ | 00:08 |
|
| that'll undo the last commit | 00:09 |
|
Anchakor
| well I didn't commit it yet | 00:09 |
|
| I just staged lot of stuff with git add including stuff I didn't want to stage | 00:09 |
|
codeM0nK3Y
| Ahh, I can't remember that command but it tells you it after each git add | 00:09 |
|
Anchakor
| (use "git reset HEAD <file>..." to unstage)? | 00:09 |
|
codeM0nK3Y
| yeah that's the one | 00:10 |
| ← dreiss left | 00:10 |
|
Anchakor
| doesn't it discard the changes in the files? | 00:10 |
|
codeM0nK3Y
| shouldn't do, but backup the file if you don't trust it | 00:10 |
|
cmn
| reset only touches the worktree with --hard | 00:11 |
|
Anchakor
| ah ok, that is why I thought so | 00:11 |
|
| thanks | 00:11 |
| ← tharkun left | 00:12 |
| → tharkun joined | 00:12 |
|
| diegoviola stares at svn users: http://ompldr.org/vZG1rYg | 00:12 |
|
codeM0nK3Y
| what about the ones trying as hard as they can to get away from it :P | 00:12 |
| → pandeiro joined | 00:12 |
| ← bLN left | 00:13 |
|
diegoviola
| then we will help | 00:14 |
| → jfelchner joined | 00:17 |
| ← iwoj left | 00:18 |
| ← watsonian left | 00:19 |
| ← Anchakor left | 00:19 |
|
codeM0nK3Y
| think the main thing getting in my way right now is the fact that the repos are remote and require auth | 00:20 |
|
| got one more method to try before i set up the repo locally and try moving that to git instead | 00:20 |
| → nutron joined | 00:20 |
| → iwoj joined | 00:20 |
| ← kpreid left | 00:21 |
| → kpreid joined | 00:21 |
| ← kiva left | 00:22 |
| ← wilmoore left | 00:23 |
| ← jfelchner left | 00:24 |
|
codeM0nK3Y
| ooo its working! man this shit's scary | 00:24 |
| ← tvw left | 00:25 |
| ← barrbrain left | 00:28 |
| → barrbrain_ joined | 00:28 |
| frogonwheels_ → frogonwheels | 00:29 |
| ← apok left | 00:30 |
| → mister_m joined | 00:30 |
| ← AaronMT left | 00:31 |
| ← tharkun left | 00:31 |
| → edude03_ joined | 00:31 |
| ← edude03 left | 00:31 |
| → apok joined | 00:34 |
| → williamcotton joined | 00:36 |
| → tharkun joined | 00:36 |
| ← kermit left | 00:39 |
| ← gjoseph left | 00:39 |
| → jfelchner joined | 00:40 |
| ← mister_m left | 00:44 |
| ← osmosis left | 00:47 |
| ← fisted left | 00:47 |
| → cenuij joined | 00:50 |
| ← cenuij left | 00:50 |
| → cenuij joined | 00:50 |
| ← cenuij left | 00:50 |
| → cenuij joined | 00:51 |
| ← cenuij left | 00:51 |
| → cenuij joined | 00:51 |
| ← jfelchner left | 00:52 |
| ← mcluskydodallas left | 00:54 |
| ← williamcotton left | 00:54 |
| → fisted joined | 00:56 |
| → vitor-br joined | 00:57 |
| ← Eridius left | 00:58 |
| ← fayimora left | 00:58 |
| ← lonewulf` left | 00:58 |
| → Lord_DeathMatch joined | 01:00 |
| ← tharkun left | 01:00 |
| → HyperNerdV2 joined | 01:02 |
| ← cenuij left | 01:02 |
| → cenuij joined | 01:03 |
| ← cenuij left | 01:03 |
| → cenuij joined | 01:03 |
| ← cenuij left | 01:03 |
| ← spyro left | 01:03 |
| ← ColKurtz left | 01:03 |
| → spyro joined | 01:03 |
| ← spyro left | 01:03 |
| → spyro joined | 01:03 |
| → Goplat joined | 01:04 |
| → lonewulf` joined | 01:04 |
| ← mwrosen left | 01:05 |
| → tharkun joined | 01:06 |
| → ivand joined | 01:06 |
| ← ghvandoorn left | 01:06 |
| → kermit joined | 01:07 |
| → satyanash joined | 01:08 |
| ← xaka left | 01:09 |
| ← HyperNerdV2 left | 01:09 |
| ← SegFaultAX|work left | 01:10 |
| ← tharkun left | 01:11 |
| → Vampire0_ joined | 01:13 |
| ← Vampire0 left | 01:16 |
| → tharkun joined | 01:16 |
| ← guampa left | 01:17 |
| → gavin_huang joined | 01:19 |
| → Evanlec joined | 01:19 |
| ← Lgb left | 01:20 |
| ← cyphase left | 01:20 |
| → Lgb joined | 01:21 |
| ← akiress left | 01:24 |
| ← tharkun left | 01:25 |
| → tharkun joined | 01:25 |
| ← felgru left | 01:25 |
| ← ben225_ left | 01:26 |
| → pjn_oz joined | 01:29 |
| → Destos joined | 01:29 |
| → gerard0 joined | 01:30 |
| → stkrzysiak joined | 01:31 |
| → JohnyBaby joined | 01:33 |
|
Vinnie_win
| famous last words | 01:33 |
| ← friskd left | 01:33 |
| ← tharkun left | 01:34 |
| → guampa joined | 01:34 |
| ← Bass10 left | 01:34 |
| ← TomyLobo left | 01:34 |
| ← thelazydeveloper left | 01:35 |
|
codeM0nK3Y
| haha | 01:35 |
| ← calimocho left | 01:35 |
|
codeM0nK3Y
| seems I've sussed it, just redoing it so I don't add a bunch of old (previously deleted) branches that it pulled across | 01:36 |
| → cyphase joined | 01:36 |
| → BiggFREE joined | 01:36 |
| ← Chillance left | 01:36 |
| → calimocho joined | 01:39 |
| ← guampa left | 01:39 |
| ← jstout24 left | 01:39 |
| → guampa joined | 01:39 |
| → tharkun joined | 01:39 |
| → friskd joined | 01:40 |
| → neurodrone joined | 01:40 |
| ← maletor left | 01:42 |
| ← Lord_DeathMatch left | 01:43 |
| → Bass10 joined | 01:45 |
| ← lonewulf` left | 01:45 |
| → lonewulf` joined | 01:47 |
| → intripoon_ joined | 01:48 |
| ← friskd left | 01:50 |
| ← intripoon left | 01:51 |
| ← thebignoise left | 01:52 |
| → mister_m joined | 01:53 |
| → patrick99e99 joined | 01:53 |
|
patrick99e99
| Hi git buddies.. I need some help... | 01:53 |
| ← tharkun left | 01:54 |
|
patrick99e99
| So-- I forked rails.. I made a branch... made some changes.. made a pull request.. everything was cool.. | 01:54 |
| → tharkun joined | 01:54 |
|
patrick99e99
| then I made more changes and wanted everything to be in 1 commit.. so I did an interactive rebase and squashed my two commits | 01:54 |
|
| and did git push -f mine | 01:54 |
|
| ....... Now my pull request shows TWO commits.. one by me, and one by someone else.. | 01:55 |
|
| which is wrong | 01:55 |
|
| so.. | 01:55 |
|
| I am just wondering what I should do? | 01:55 |
|
codeM0nK3Y
| screaming often helps | 01:56 |
| ← Yuuhi`` left | 01:56 |
|
patrick99e99
| so I see the hash before my rebase. | 01:57 |
|
| do I just want to do git reset --hard <branch> <hash> ? | 01:57 |
|
Vinnie_win
| someone else commited to your fork? | 01:58 |
|
patrick99e99
| no... | 01:58 |
|
| something got screwed up with I did rebase -i and then push -f | 01:58 |
|
| I don't quite know what.. | 01:58 |
|
| so I just wnat to undo my rebase | 01:58 |
|
| *want | 01:58 |
|
Vinnie_win
| you should have backed up your work to another branch before the rebase | 01:58 |
|
patrick99e99
| yes... | 01:59 |
|
| but I still can revert back with the reflog hash | 01:59 |
|
| I just don't remember what the proper way to do that is | 01:59 |
|
Vinnie_win
| Back up your local repo first | 01:59 |
|
patrick99e99
| I did | 01:59 |
| → guampa|2 joined | 01:59 |
| ← guampa left | 01:59 |
|
Vinnie_win
| Get a clean master branch from rails, check it out to a new branch, then cherry pick your commits into it | 01:59 |
|
| Then push that to your upstream | 02:00 |
|
| If you have a backup of your local repo then you don't care what's in your remote, you can always re-fork and then apply your commits again | 02:00 |
| guampa|2 → guampa | 02:00 |
| → flippo joined | 02:01 |
| ← harish left | 02:01 |
|
patrick99e99
| thanks Vinnie_win | 02:02 |
| → ska-fan joined | 02:06 |
| ← smw left | 02:07 |
| → thebignoise joined | 02:08 |
| ← tharkun left | 02:09 |
| → krz joined | 02:09 |
| → harish joined | 02:11 |
| → tharkun joined | 02:15 |
| → xaka joined | 02:16 |
| → sdeboey joined | 02:16 |
| → wilmoore joined | 02:16 |
| → dreiss joined | 02:16 |
| ← apok left | 02:17 |
| ← oriba left | 02:17 |
| ← pjn_oz left | 02:17 |
| → apok joined | 02:17 |
| ← apok left | 02:18 |
| ← tharkun left | 02:20 |
| → com4 joined | 02:20 |
| → daethorian joined | 02:21 |
| ← Bass10 left | 02:22 |
| → jave joined | 02:22 |
| → Bass10 joined | 02:23 |
| → tharkun joined | 02:25 |
| ← thiago left | 02:26 |
| → rux joined | 02:26 |
| ← dvide left | 02:26 |
| ← guampa left | 02:31 |
| → guampa joined | 02:35 |
| ← todd_dsm left | 02:36 |
| → todd_dsm joined | 02:37 |
| ← BiggFREE left | 02:37 |
| → cybersphinx joined | 02:37 |
| ← jameswarren left | 02:39 |
| ← edude03_ left | 02:40 |
| → jameswarren joined | 02:40 |
| ← jameswarren left | 02:40 |
| ← the_cybersphinx left | 02:40 |
| ← orafu left | 02:40 |
| ← guampa left | 02:40 |
| → orafu joined | 02:40 |
| → bglusman joined | 02:40 |
| ← dreiss left | 02:41 |
| → edude03 joined | 02:42 |
| → igotnolegs joined | 02:44 |
| ← thearthur_ left | 02:45 |
| → dv310p3r joined | 02:46 |
| → arvind_khadri joined | 02:46 |
| ← arvind_khadri left | 02:46 |
| → arvind_khadri joined | 02:46 |
| → Orphis_ joined | 02:46 |
| → peppyheppy joined | 02:47 |
| → MestreLion joined | 02:49 |
|
MestreLion
| hum, this may sound eird, but... i want to rebase all changes introduced in commits from B to A (linear) on top of an un-related branch X, and I want branch X to move to the new rebased tip | 02:50 |
|
Vinnie_win
| what do you mean unrelated? the directory tree is completely different? | 02:50 |
|
MestreLion
| well, no... X is an ancestor of B | 02:51 |
|
| like 20 commits before | 02:51 |
|
Vinnie_win
| so use rebase --interactive and rearrange everything how you'd like | 02:51 |
| ← fir31igh1 left | 02:51 |
| → tmcmahon joined | 02:52 |
|
Vinnie_win
| checkout X to a new branch (for testing) and just try it | 02:52 |
| → fir31ight joined | 02:52 |
|
MestreLion
| ok, but i'm not sure if I should use --onto or not... or how to make sure that branch X will move but branhces tipped at A won't | 02:52 |
|
Vinnie_win
| well just duplicate the X branch and have at it, if it doesn't do what you want, start over | 02:52 |
|
MestreLion
| i'll duplicate A too.. theres a branch tipped there, which i don't want to move | 02:53 |
|
Vinnie_win
| well A won't be changing | 02:53 |
| ← harish left | 02:53 |
| ← SkAzZ left | 02:53 |
|
Vinnie_win
| or did I misunderstand you? | 02:53 |
|
MestreLion
| so maybe git rebase --onto X B A ? | 02:54 |
|
Vinnie_win
| clone X first | 02:54 |
|
| git checkout -b X2 (from X branch) | 02:54 |
|
MestreLion
| ok, I will... but then, what command should I use? | 02:54 |
|
Vinnie_win
| I dont know. | 02:54 |
|
MestreLion
| will git rebase -i X2 B A2 replay all changes from B to A on top of branch , and then move X2 to the newly-created tip? | 02:55 |
|
| "on top of branch X2" | 02:56 |
|
Vinnie_win
| I don't know. I have never done such a thing, but what I am suggesting is you try it on a duplicate branch that you don't mind messing up. See if the result suits your taste, and if not then try again with some different option. | 02:56 |
|
| Make a back up of your local repo first of course | 02:57 |
| → adamsilver joined | 02:58 |
|
MestreLion
| scenario is this: X is "stable" branch, and B-A are a series of commits from "testing" branch that are ready to be integrated in master | 02:58 |
|
Vinnie_win
| You could have done the command already and answered your own question! | 02:59 |
|
MestreLion
| i was cherry-picking the commits, but then I realized a rebase may be much faster... | 02:59 |
|
| I won't answer anything by doing blind guesses | 03:00 |
|
Vinnie_win
| well with rebase you can just delete the lines in the editor for the commits you don't care about | 03:00 |
|
MestreLion
| i was trying to avoid trial and error | 03:00 |
|
Vinnie_win
| the branch passed as the argument to --onto would be the one you want to rewind the branch you're rebasing to | 03:01 |
|
| So you want to extract commits B-A from X and commit them to master? | 03:02 |
|
MestreLion
| no, X is master in my example | 03:02 |
|
Vinnie_win
| where are B-A ? | 03:02 |
|
MestreLion
| stable branch | 03:02 |
|
| B-A are in a testing branch | 03:02 |
|
Vinnie_win
| So, extract commits B-A from "testing" and commit them to master? | 03:03 |
|
MestreLion
| yes | 03:03 |
| ← adamsilver left | 03:03 |
| ← Bass10 left | 03:03 |
|
Vinnie_win
| let me think | 03:03 |
|
MestreLion
| and move master | 03:03 |
|
Vinnie_win
| well commiting to master will move it | 03:03 |
|
milki
| rebase with --onto would work | 03:04 |
|
MestreLion
| B-A are ahead of master | 03:04 |
|
| milki: will it move master? | 03:04 |
|
milki
| no | 03:04 |
|
| it will put you in a detached HEAD | 03:04 |
|
| then you move master yourself | 03:04 |
|
Vinnie_win
| that sounds accident prone | 03:05 |
|
milki
| probably | 03:05 |
|
| this is what i got from experiement with my stupid idea of changing ff merges into non-ff merges | 03:05 |
|
Vinnie_win
| can't he extract the desired commits into a new branch with rebase, and then merge the new branch to master? | 03:05 |
|
MestreLion
| there's no rebase syntax that move master after playing a series of commits on it? | 03:05 |
|
milki
| regular rebase does that | 03:06 |
|
Vinnie_win
| You could duplicate the testing branch, rebase it with respect to master and delete the undesired commits, then merge that when it looks right. | 03:07 |
|
MestreLion
| milki: and how to tell rebase to "play from B to A in master" ? | 03:07 |
| → davidbanham joined | 03:07 |
| → waveclaw joined | 03:07 |
|
milki
| rebase --onto master B~1 A | 03:07 |
|
MestreLion
| milki: I tested that.. but, as you said, it detached head | 03:08 |
|
milki
| right | 03:08 |
| ← bitkiller left | 03:08 |
|
milki
| then git branch -f master | 03:08 |
|
| to move master | 03:08 |
|
| just make sure its what you want first | 03:08 |
|
| ! | 03:08 |
|
| Vinnie_win's way would be safer... | 03:08 |
|
MestreLion
| weird for rebase not to have an option for this.. I assumed that "picking some commits from a testing branch to a stable branch" was fairly common scenario | 03:09 |
|
milki
| o | 03:09 |
|
| maybe cherry-pick will be good enough... | 03:09 |
| → dreiss joined | 03:09 |
|
milki
| you can cherry-pick a range of commits | 03:09 |
|
MestreLion
| yes, that's what I was doing so far | 03:09 |
|
Vinnie_win
| were you cherry picking one at a time? | 03:09 |
|
milki
| probably | 03:09 |
|
MestreLion
| but its boring... rebase -i gives me a nice screen with all commits | 03:10 |
|
milki
| lol | 03:10 |
|
| indeed | 03:10 |
|
Vinnie_win
| I agree | 03:10 |
|
milki
| id want non-interactive rebase to show the commits being rebased too | 03:10 |
|
MestreLion
| i can choose all i want and not want in a single edit.. and the git do its magic | 03:10 |
|
Vinnie_win
| Like I said, clone "testing", then rebase -i master, do your edits, save, and then you can merge that to master and delete the cloned branch. | 03:10 |
|
MestreLion
| testing branch has like 40 commits (disorganized collaborator) | 03:11 |
|
Vinnie_win
| yeah so? | 03:11 |
|
| just delete the commits you dont want | 03:11 |
|
MestreLion
| i'll split this branch in several feature branches | 03:11 |
|
Vinnie_win
| well now you're trying to do two things at once | 03:11 |
|
MestreLion
| some commits belong to i18n, some can go to stable, some will got to a new feature branch, and so on | 03:11 |
| ← davidbanham left | 03:11 |
|
milki
| sounds like you need to make branches anyways | 03:12 |
|
MestreLion
| so I'll first rebase to master to select the ones that go there | 03:12 |
|
| then i'll rebase the same branch to another branch... | 03:12 |
|
| In the end, I'll have basically the same commits, but neatly divided in logical branches | 03:12 |
|
| logical and independent | 03:13 |
|
| the "destination" branches already exist | 03:13 |
| ← metalfan_ left | 03:13 |
|
milki
| o.O | 03:13 |
|
MestreLion
| I want to update them with selected commits from that huge, linear teasting branch of his | 03:14 |
| ← ben_alman left | 03:14 |
| → angelsl joined | 03:14 |
| ← ska-fan left | 03:14 |
| ← herdingcat left | 03:14 |
| ← az left | 03:14 |
| ← EvanDotPro left | 03:14 |
| → ben_alman joined | 03:14 |
| → fuzzybunny69y joined | 03:15 |
|
MestreLion
| think of it this way: project already have several branches... one for translations, one for core engine, another for tools, etc | 03:15 |
|
| that guy simply merged them all and started working from there, doing like 30 or 40 commits | 03:15 |
| ← tharkun left | 03:15 |
|
Vinnie_win
| just out of curiosity what language are the sources in? | 03:15 |
|
MestreLion
| all linear | 03:15 |
| → tharkun joined | 03:15 |
|
MestreLion
| Vinnie_win: python, why? | 03:15 |
|
Vinnie_win
| just wondering | 03:16 |
| → EvanDotPro joined | 03:16 |
| → ska-fan joined | 03:16 |
|
MestreLion
| I am able to idntify reasonably well which branch should each commit go | 03:16 |
|
milki
| so you want to rebase those select commits against master before putting them into their destination branches o.O | 03:16 |
|
MestreLion
| some of them can go directly to stable... others belong to some of our existing feature branches, etc | 03:16 |
|
Vinnie_win
| you should probably just clone the repo locally and play with it to have a dry run of what you want to do before you do it for real | 03:17 |
| → az joined | 03:17 |
|
Vinnie_win
| it sounds like you're going to be doing a lot more than just cherry picking a range | 03:17 |
|
milki
| so does cherry-pick range work then? | 03:17 |
|
MestreLion
| no milki: I want to split a 40+ series of linear commits in proper, independent branches | 03:17 |
|
milki
| cherry-pick for each branch then? | 03:18 |
| ← pandeiro left | 03:18 |
|
MestreLion
| milki: no, range doesnt... B - A was just his work... | 03:18 |
|
| cherry pick each *commit* to one of our branches (master being just one) works | 03:18 |
|
| but... thats a LOT of work | 03:18 |
|
milki
| theres more than B-A you are moving? | 03:18 |
|
MestreLion
| it's like picking fruits from a garden and placing ech one in the proper basket | 03:19 |
|
| B - A is his feature branch, with 40 commits... some will go to branch X, some to Y, some to Z, etc | 03:19 |
| ← bondar left | 03:19 |
|
milki
| and the hard part is you want to automate this or find a command that does everything | 03:20 |
|
| ? | 03:20 |
| → Bass10 joined | 03:21 |
|
MestreLion
| if we number B = 0 and A = 30, it would be like: 1, 5, 14, 24 => master; 2, 4, 15-22, 29 => branch Y; 3, 18-20 => branch Z | 03:21 |
|
| not, not everything... i was thinking about a rebase per branch | 03:21 |
|
Vinnie_win
| that's foolish | 03:21 |
|
MestreLion
| in 1 rebase I would pick all the selected commits that will go to master | 03:21 |
| ← mister_m left | 03:22 |
|
MestreLion
| then another rebase to pick commits for Y | 03:22 |
|
milki
| o, because interactive rebase can do it | 03:22 |
|
MestreLion
| etc etc | 03:22 |
|
Vinnie_win
| That's not the best way | 03:22 |
|
MestreLion
| exactly | 03:22 |
|
milki
| i dont think non-interactive can do that | 03:22 |
|
MestreLion
| it will be interactive | 03:22 |
|
| f course | 03:22 |
|
yhager
| is there a way to determine where each commit goes (I mean mechanically, by a script)? | 03:22 |
|
MestreLion
| can't be otherwise | 03:22 |
|
Vinnie_win
| In 1 rebase you should first group the commits so that commits belonging to the same destination branch are sequential, then you can cherry pick ranges instead of going through the interactive routine for every new branch. | 03:22 |
| → smw joined | 03:22 |
|
MestreLion
| no yhager... | 03:23 |
|
milki
| i dont see how the rebase is necessary | 03:23 |
|
| other than the interface >.> | 03:23 |
|
MestreLion
| yhager: I'll look in each commit message, the files changes, and make a fair choice | 03:23 |
|
| but the interface IS the main reason for rebasing instead of copy and pasting like 20 commit shas' to cherry pick | 03:24 |
|
yhager
| then you can simply generate a list of commits (git log --pretty=oneline), put it in a file, and edit the file to contain only branch A commits, another copy will contain branch B commits etc. Then simply feed those files into the proper git cherry-pick commands | 03:24 |
| → herdingcat joined | 03:25 |
|
Vinnie_win
| Anyway, you could have done it by now with all the time spent talking. | 03:25 |
|
milki
| lol | 03:25 |
| → aarond_123a joined | 03:25 |
|
MestreLion
| ok guys, thanks for the ideas | 03:25 |
|
yhager
| Vinnie_win: it's always about having fun doing it.. :) (and talking about it) | 03:25 |
| ← dv310p3r left | 03:26 |
|
MestreLion
| this will be a long, several hours task... so I don't mind talking for like 20, 30 minutes if that helps designin a workflow that may ease my life later :) | 03:26 |
| ← tharkun left | 03:26 |
| → tharkun joined | 03:26 |
|
Vinnie_win
| what! several hours to reshuffle 40 commits? | 03:26 |
|
milki
| i took 2 months to reshuffle a couple hundred | 03:27 |
|
| im not done yet too | 03:27 |
|
MestreLion
| I like Vinnie_win 's approach... I could create 4 clones of his testing... then rebase each, deleting commits... then cherry-picking a range... sounds like a good workflow | 03:27 |
| ← lacrymology left | 03:27 |
|
Vinnie_win
| thanks | 03:27 |
|
MestreLion
| it's not only about reshuffle.. there are commit messages, conflicts, etc etc | 03:28 |
|
| and a *lot* of testing | 03:28 |
|
Vinnie_win
| oh | 03:28 |
|
MestreLion
| both to see that nothing is broken | 03:28 |
| → Karmaon joined | 03:28 |
|
Vinnie_win
| Hmmm | 03:28 |
|
MestreLion
| AND also to see if I actuallyabsorbed *all* of his work and don't leave any code line behind :) | 03:28 |
| ← rux left | 03:28 |
|
Vinnie_win
| I commit very frequently...every 5 to 10 minutes | 03:28 |
| → rux joined | 03:29 |
|
| milki thinks you should just yell at the developer | 03:29 |
|
MestreLion
| he did that too, which is great... so basically each commit goes to a clear branch... not many "monster commits" that I would have to split into pieces to put each piece into a different branch | 03:29 |
|
Vinnie_win
| and I test my app for at least 10 seconds to make sure it still works | 03:29 |
|
milki
| lol 10 seconds | 03:30 |
|
Vinnie_win
| gotta have standards | 03:30 |
|
MestreLion
| but those also exists... i've seen some diffs... i will have to split some commits too | 03:30 |
|
Vinnie_win
| that truly sucks | 03:30 |
|
milki
| yup | 03:31 |
|
Vinnie_win
| a lot of time wasted on repo administration...taking away from development time | 03:31 |
|
MestreLion
| I just assumed that, if rebase can be seen as a "mass cherry-picker", I could use it to ease my work | 03:31 |
|
| since a batch cherry pick is exactly what i need now :D | 03:31 |
|
Vinnie_win
| From what you are saying, it sounds like the cost of a single cherry pick is a lot less than the work of verifying the commit's correctness | 03:31 |
|
MestreLion
| Vinnie_win: copy and pasting sha's are tedious when git rebase -i already shows me the whole list and a "checkbox approach" to select them | 03:32 |
|
Vinnie_win
| you know...you can use the short hash.. | 03:33 |
|
MestreLion
| Vinnie_win: and the commits are correct... I've extensively tested his branch tip.. everythin works | 03:33 |
|
| so now it's time for surgery :) | 03:33 |
| → maletor joined | 03:33 |
|
MestreLion
| the end result is good... his work IS amazing | 03:33 |
|
| and he commits often too... he just don't care much about branches and feature topics :P | 03:34 |
| ← yhager left | 03:35 |
| → khmarbaise_ joined | 03:35 |
|
milki
| compromises compromises -.- | 03:36 |
|
codeM0nK3Y
| woo! finally got everything converted :D | 03:36 |
|
milki
| yay? | 03:36 |
|
codeM0nK3Y
| had to retag everything, but small price to pay for one less project on svn :P | 03:36 |
|
milki
| aha | 03:36 |
| → HyperNerdV2 joined | 03:36 |
| ← herdingcat left | 03:36 |
| → thiago joined | 03:37 |
|
codeM0nK3Y
| this repo only had trunk, 1 branch and 3 tags... I'm dreading converting a project with 600+ commits across 6 branches and more tags :( | 03:37 |
| ← khmarbaise left | 03:37 |
| khmarbaise_ → khmarbaise | 03:37 |
| → fayimora joined | 03:37 |
| ← fuzzybunny69y left | 03:38 |
| ← tharkun left | 03:40 |
| ← timoxley left | 03:43 |
| ← peppyheppy left | 03:45 |
| ← Destos left | 03:46 |
| → SegFaultAX|work joined | 03:46 |
| → tharkun joined | 03:46 |
| → dv310p3r joined | 03:46 |
| → ben225 joined | 03:46 |
| ← ben225 left | 03:47 |
| ← Twey left | 03:47 |
| ← fayimora left | 03:47 |
| ← maletor left | 03:48 |
| → Twey joined | 03:49 |
| → mister_m joined | 03:50 |
| ← aristidesfl left | 03:51 |
| ← dv310p3r left | 03:51 |
| ← bglusman left | 03:52 |
| ← Slix` left | 03:54 |
| → HyperNerdV2_ joined | 03:54 |
| → maletor joined | 03:55 |
| → dfr|sick joined | 03:56 |
| ← HyperNerdV2 left | 03:56 |
| HyperNerdV2_ → HyperNerdV2 | 03:56 |
| ← thiago left | 03:57 |
| → hagabaka joined | 03:58 |
| → jameswarren joined | 04:00 |
| → harish joined | 04:00 |
| ← hagabaka left | 04:00 |
| ← BLZbubba left | 04:00 |
| ← HyperNerdV2 left | 04:00 |
| → jackh joined | 04:01 |
| → hagabaka joined | 04:02 |
| → BLZbubba joined | 04:02 |
| → peppyheppy joined | 04:02 |
| ← tharkun left | 04:03 |
| → aspotashev joined | 04:04 |
| ← maletor left | 04:06 |
| ← EvanDotPro left | 04:08 |
| → tharkun joined | 04:09 |
| ← edude03 left | 04:10 |
| → edude03 joined | 04:10 |
| ← parcs` left | 04:11 |
| ← jackh left | 04:13 |
| ← kukks left | 04:13 |
| ← peppyheppy left | 04:14 |
| ← edude03 left | 04:15 |
| → edude03 joined | 04:15 |
| → uu joined | 04:15 |
| → peppyheppy joined | 04:16 |
| ← sdeboey left | 04:17 |
| ← tharkun left | 04:18 |
| ← d3vic3 left | 04:18 |
| → tharkun joined | 04:18 |
| → EvanDotPro joined | 04:20 |
| ← stkrzysiak left | 04:22 |
| → d3vic3 joined | 04:22 |
| ← tmcmahon left | 04:23 |
| ← tharkun left | 04:23 |
| ← madewokherd left | 04:23 |
| → tharkun joined | 04:23 |
| ← SeySayux left | 04:24 |
| ← edude03 left | 04:24 |
| → Chib joined | 04:25 |
| → edude03 joined | 04:25 |
| ← arvind_khadri left | 04:25 |
| ← ISF_ left | 04:26 |
| ← Radium left | 04:27 |
| ← Bass10 left | 04:28 |
| → ISF joined | 04:29 |
| ← edude03 left | 04:29 |
| → skylamer` joined | 04:29 |
| → edude03 joined | 04:30 |
| → Bass10 joined | 04:30 |
| → Radium joined | 04:31 |
| ← Bass10 left | 04:32 |
| → Bass10 joined | 04:32 |
| → `Assassin joined | 04:33 |
| → SeySayux joined | 04:34 |
| ← tharkun left | 04:35 |
| ← jesse left | 04:36 |
| → helgikrs joined | 04:38 |
| → tharkun joined | 04:40 |
| ← dr_lepper left | 04:41 |
| → jesse joined | 04:42 |
| ← Bass10 left | 04:46 |
| ← chronos left | 04:48 |
|
variable
| what makes git svn clone so slow and large compared to svn checkout ? | 04:48 |
| ← BenL left | 04:51 |
| ← mister_m left | 04:51 |
|
offby1
| variable: git clone pulls down the entire history of a repository, whereas svn checkout pulls down just one revision | 04:52 |
|
variable
| hm, true | 04:52 |
|
offby1
| although I haven't found git repositories to be notably larger than svn checkouts. | 04:52 |
|
variable
| bit git svn clone is larger than the svn repo itself | 04:52 |
|
offby1
| _despite_ containing vastly more information | 04:52 |
|
texasmynsted
| variable, also know that once down you have an entire repository local with git. (not the case with svn) | 04:53 |
|
offby1
| that's surprising | 04:53 |
|
variable
| offby1: the entire repository is 14GB | 04:53 |
|
offby1
| that the git svn clone is notably bigger than the svn repository. | 04:53 |
|
variable
| my current git svn clone of _just_ head | 04:53 |
|
offby1
| can't explain that. | 04:53 |
|
variable
| is 17GB | 04:53 |
|
offby1
| Perhaps it needs to be gc'd | 04:53 |
| ← dreiss left | 04:53 |
|
variable
| texasmynsted: I meant the svn repository, not svn checkout, sorry for the confusion | 04:54 |
|
texasmynsted
| oh | 04:54 |
|
variable
| texasmynsted: 14GB vs 17GB | 04:54 |
|
| :'( | 04:54 |
|
| offby1: texasmynsted: if I want to minimize size what can I do other than 'git gc' ? | 04:55 |
|
texasmynsted
| yeah, garbage collection might be needed? | 04:55 |
|
variable
| this is the initial checkout | 04:55 |
|
| (took over 3.5 days) | 04:56 |
|
milki
| o.O | 04:56 |
|
variable
| hi milki | 04:56 |
|
milki
| 3.5 day checkout sounds painful | 04:56 |
|
texasmynsted
| oh, come on. | 04:57 |
|
variable
| milki: yeap | 04:57 |
|
| texasmynsted: hm? | 04:57 |
|
milki
| whats in the repo? | 04:57 |
|
texasmynsted
| 3.5 days? | 04:57 |
|
variable
| milki: ports tree | 04:57 |
|
| texasmynsted: yes | 04:57 |
|
milki
| fbsd? | 04:57 |
|
variable
| milki: yes | 04:57 |
|
texasmynsted
| you have a 2400 baud modem or something? | 04:57 |
|
milki
| go to #bsdports | 04:57 |
|
variable
| texasmynsted: nope | 04:57 |
|
milki
| and yes, the ports tree is that big no matter what | 04:58 |
|
texasmynsted
| ok, well I can see your interest in reducing the size | 04:58 |
|
variable
| milki: the entire svn repo is 14GB, the git svn checkout is 17GB :) | 04:58 |
| → BenL joined | 04:58 |
|
milki
| the svn repo was created with cvs2svn | 04:58 |
|
variable
| texasmynsted: I need to upload this to somewhere else for others to use | 04:58 |
|
| fwiw, if I checkout out with my username | 04:58 |
|
| if I upload it to the world | 04:58 |
|
milki
| and the svn repo is outdated | 04:59 |
|
variable
| will that matter? | 04:59 |
|
texasmynsted
| like github? | 04:59 |
|
variable
| texasmynsted: well, I was going to upload the .git folder as a seed for others to use to fetch from | 04:59 |
| ← gtrak` left | 04:59 |
|
variable
| so not cloning the entire repo, just the .git folder | 04:59 |
|
texasmynsted
| good luck. g'night all | 04:59 |
| → gtrak` joined | 05:00 |
|
teotwaki_
| fyi, cbreak and others, last night I asked for information regarding some branch -- turns out I had added the wrong repo URL as suspected. Stupid me. Apologies for wasting your time. | 05:00 |
|
milki
| variable: fbsd commiters agree | 05:00 |
|
| you are crazy | 05:00 |
|
| :P | 05:00 |
| ← marcuy left | 05:00 |
|
milki
| so why are you doing this? | 05:01 |
|
variable
| offby1: texasmynsted: also, if the url changes later, will I be able to do what is essentially svn relocate ? | 05:01 |
|
| milki: fun | 05:01 |
|
| also, I'm testing the use git on the repo | 05:01 |
| ← nutron left | 05:02 |
|
variable
| milki: please ask the committer what exactly is wrong with git svn | 05:02 |
|
milki
| why dont you go to #bsdports and ask yourself | 05:02 |
|
variable
| milki: I don't do efnet | 05:03 |
|
milki
| and i dont relay messages | 05:03 |
|
variable
| :'( | 05:03 |
|
milki
| you do realize theres ongoing effort to optimize the repo for svn | 05:03 |
| ← tharkun left | 05:03 |
|
variable
| milki: oh really? | 05:03 |
|
milki
| and once thats complete, there will be an svn2git mirror | 05:03 |
|
variable
| right, but you can't commit with that mirror | 05:04 |
|
milki
| the current git mirror is suspended becaise of issues with cvs2git | 05:04 |
|
| you cant commit if you arent a committer anyways | 05:04 |
|
variable
| milki: good to know | 05:04 |
|
milki
| if you are deving ports, theres no need to mirror the entire ports tree | 05:04 |
|
variable
| really? what if I want to touch a large number of files? | 05:04 |
|
milki
| you want to test out your changes | 05:05 |
|
| checkout redports | 05:05 |
|
variable
| yaya | 05:05 |
|
| I have a redports account | 05:05 |
|
milki
| thats good enough -.- | 05:05 |
|
| you are using someone else's tinderbox essentially | 05:05 |
| → HyperNerdV2 joined | 05:06 |
|
variable
| yaya | 05:06 |
|
milki
| you yourself dont need the entire history of the cvs repo to dev ports | 05:06 |
|
| >.> | 05:06 |
|
variable
| milki: for my work, I often do | 05:06 |
|
milki
| really? | 05:06 |
|
variable
| yeah | 05:06 |
|
milki
| whats in the history thats useful? | 05:06 |
|
variable
| infrastructure history | 05:06 |
|
| and key ports | 05:06 |
|
| milki doesnt understand | 05:07 |
|
variable
| milki: whenever I'm playing with the xorg ports or more recently the emulation@ ports | 05:07 |
|
| it helps to know the history of the files | 05:07 |
|
| I could just cvs co them | 05:07 |
|
| or svn log them | 05:07 |
|
| but git is faster ;-) | 05:07 |
|
| milki: also, I'm doing this mostly as a test to make sure it works | 05:08 |
|
| for a possible eventual git cutover (a few years from now?) | 05:08 |
|
milki
| interesting | 05:08 |
| → xsbeats joined | 05:09 |
| → tharkun joined | 05:09 |
| ← barrbrain_ left | 05:09 |
| → robbyoconnor joined | 05:11 |
|
| milki shakes fist at variable | 05:12 |
|
variable
| milki: ohai | 05:12 |
|
| variable spills milki | 05:13 |
| ← krz left | 05:13 |
| → apok joined | 05:14 |
|
milki
| ok then | 05:16 |
|
| back to the original question | 05:16 |
|
| on the svn2git then... | 05:16 |
|
variable
| milki: this is an experiment to make sure it works | 05:16 |
|
| as there _will_ be people that want to use it | 05:16 |
|
milki
| i thought it was gonna be the de facto method once the tree was migrated to svn | 05:17 |
| ← tharkun left | 05:17 |
|
milki
| as in there would be the main svn repo and a git mirror of it that was synced | 05:17 |
| → tharkun joined | 05:17 |
| ← eno left | 05:18 |
|
variable
| milki: yes, this is a) for committers b) the seed for that mirror | 05:18 |
|
milki
| oo | 05:18 |
| → eno joined | 05:20 |
| ← eno left | 05:20 |
| → eno joined | 05:20 |
| ← Sahua left | 05:20 |
|
milki
| a git checkout is the smallest size of the repo | 05:21 |
|
| i dont think theres anything else you can do... | 05:21 |
|
| are there binaries in the repo? | 05:21 |
|
variable
| don't think so | 05:21 |
| ← tharkun left | 05:21 |
| ← teotwaki_ left | 05:22 |
| → tharkun joined | 05:22 |
|
milki
| maybe it would be easier to provide a zfs snapshot | 05:23 |
|
| well, only the initial import would take 3.5 days | 05:23 |
|
| everyone else wouldnt have that problem | 05:23 |
|
| so the question is just trying to minimize the repo size huh | 05:24 |
| → irqq joined | 05:24 |
|
milki
| variable: how long does a git clone of that repo take? :P | 05:24 |
|
variable
| milki: have not yet tried | 05:25 |
|
milki
| hopefully its faster... | 05:25 |
|
| milki doesnt particularly like svn2git | 05:26 |
|
variable
| likely | 05:26 |
|
milki
| maybe the history is just not very optimial in the conversion? | 05:26 |
|
variable
| no network connection :) | 05:26 |
| ← ISF left | 05:27 |
| → Sigma joined | 05:28 |
| → dreiss joined | 05:29 |
| ← MestreLion left | 05:32 |
| ← tharkun left | 05:33 |
| → tharkun joined | 05:33 |
| → Elotero joined | 05:34 |
| → waaron joined | 05:35 |
| ← Elotero left | 05:37 |
| ← SegFaultAX|work left | 05:40 |
| → aspotashev| joined | 05:41 |
| ← aspotashev left | 05:42 |
| ← Radium left | 05:43 |
| ← tharkun left | 05:45 |
| → maleknet joined | 05:46 |
| → _root_ joined | 05:47 |
| → Radium joined | 05:47 |
| → tharkun joined | 05:50 |
|
milki
| theres also ongoing work to reduce the index size | 05:52 |
|
| that might help in reducing the size of the repo | 05:52 |
|
| and using git directly on svn | 05:53 |
|
| in gsoc2012 | 05:53 |
|
| http://www.google-melange.com/gsoc/project/google/gsoc2012/flyingflo/12002 | 05:53 |
|
| http://www.google-melange.com/gsoc/project/google/gsoc2012/tgummerer/12001 | 05:54 |
| ← tharkun left | 05:54 |
| → Sahua joined | 05:56 |
| → devincea_ joined | 05:57 |
| → guidov joined | 05:57 |
| → giallu joined | 05:59 |
|
milki
| http://git-scm.com/about/small-and-fast | 05:59 |
|
| if you look at the bottom | 05:59 |
|
| it shows a git clone larger than the svn checkout | 06:00 |
| → tharkun joined | 06:00 |
|
milki
| variable: how long does an svn checkout take? | 06:02 |
| ← JohnyBaby left | 06:03 |
| → JohnyBaby joined | 06:05 |
| ← dfr|sick left | 06:05 |
| → mishok13 joined | 06:06 |
| → Linkas joined | 06:07 |
| ← tharkun left | 06:07 |
| → tharkun joined | 06:07 |
| ← harish left | 06:08 |
| → Araxia joined | 06:11 |
| ← tharkun left | 06:12 |
| → tharkun joined | 06:13 |
| ← Goplat left | 06:16 |
| → mikepack joined | 06:16 |
| ← mikepack left | 06:18 |
| → mikepack joined | 06:18 |
| → fuzzybunny69y joined | 06:20 |
| ← thorbjornDX left | 06:21 |
| → beautifulmind joined | 06:22 |
| → magfv joined | 06:22 |
| → LongBeach joined | 06:22 |
| ← beautifulmind left | 06:23 |
| ← mikepack left | 06:23 |
| ← OOPMan left | 06:24 |
| → jackh joined | 06:25 |
| ← HyperNerdV2 left | 06:25 |
| → Kicer86 joined | 06:26 |
| → xiangfu joined | 06:26 |
| ← jackh left | 06:27 |
| → sattu94 joined | 06:28 |
| → marthinal joined | 06:29 |
| ← satyanash left | 06:29 |
| sattu94 → satyanash | 06:29 |
| ← Davey left | 06:29 |
| → beautifulmind joined | 06:31 |
| ← tharkun left | 06:32 |
| ← mishok13 left | 06:32 |
| → sattu94 joined | 06:34 |
| ← satyanash left | 06:34 |
| sattu94 → satyanash | 06:34 |
| ← waaron left | 06:36 |
| ← Kicer86 left | 06:36 |
| → Kicer86 joined | 06:36 |
| → jamesma joined | 06:37 |
| → tharkun joined | 06:37 |
| ← jamesma left | 06:38 |
| → iamntz joined | 06:39 |
| ← eno left | 06:39 |
| ← adamm left | 06:40 |
| ← Sigma left | 06:41 |
| → eno joined | 06:41 |
| → ehsan joined | 06:42 |
| ← iamntz left | 06:43 |
| → dasha joined | 06:44 |
| → iamntz joined | 06:44 |
| ← iamntz left | 06:44 |
| → iamntz joined | 06:44 |
| ← dasha left | 06:44 |
| ← fuzzybunny69y left | 06:45 |
| ← tharkun left | 06:47 |
| → tharkun joined | 06:47 |
| ← pppaul left | 06:47 |
| → pppaul joined | 06:48 |
| → harish joined | 06:48 |
| → umc joined | 06:48 |
| → Dave^| joined | 06:51 |
| ← Radium left | 06:53 |
| ← tharkun left | 06:54 |
| → tharkun joined | 06:54 |
| ← neurodrone left | 06:56 |
| → HyperNerdV2 joined | 06:56 |
| → Radium joined | 06:57 |
| → whitman joined | 06:59 |
| → Fullmoon joined | 07:00 |
| ← tharkun left | 07:01 |
| → mishok13 joined | 07:01 |
| → tharkun joined | 07:01 |
| → drizzd joined | 07:02 |
| → fling joined | 07:02 |
|
fling
| what does this mean? > fatal: ambiguous argument 'remote': unknown revision or path not in the working tree. | 07:03 |
|
| Use '--' to separate paths from revisions | 07:03 |
|
frogonwheels
| fling: what command are you using | 07:04 |
| ← igotnolegs left | 07:06 |
| ← waveclaw left | 07:07 |
| → matzbitz joined | 07:08 |
| ← tharkun left | 07:09 |
| ← pppaul left | 07:09 |
| → pppaul joined | 07:10 |
|
fling
| frogonwheels: git show remote origin | 07:11 |
| ← subbyyy left | 07:11 |
|
frogonwheels
| fling: what did you mean that to do? | 07:11 |
| → ToBeFree joined | 07:12 |
| → dr_lepper joined | 07:12 |
| ← dr_lepper left | 07:12 |
| → dr_lepper joined | 07:12 |
| → vpdn joined | 07:13 |
|
fling
| frogonwheels: she is trying to list remote branches | 07:14 |
| ← pppaul left | 07:14 |
| → tharkun joined | 07:14 |
| → pppaul joined | 07:15 |
| ← beautifulmind left | 07:15 |
|
frogonwheels
| fling: you mean git branch -r or do you mean git ls-remote origin ? | 07:15 |
|
vpdn
| Anyone knows a way to add a non unique label to a commit? (Something like a gmail label) | 07:15 |
|
frogonwheels
| vpdn: what are you trying to achieve? | 07:16 |
| ← HyperNerdV2 left | 07:16 |
|
vpdn
| I'm running a CI and would like to upload a build based on some condition. | 07:18 |
|
| Could be done with having a special keyword in the git commit and a hook, but would like to separate the two things. | 07:19 |
|
fling
| frogonwheels: idk, sorry, now she says something about her logic and the command is right one. thanks for help :p | 07:19 |
| ← Lgb left | 07:20 |
| → SegFaultAX|work joined | 07:20 |
|
vpdn
| My idea was something along the line: "If the commit has a label 'betabuild' then upload to the server for beta testing". | 07:20 |
| → Lgb joined | 07:21 |
|
teotwaki
| vpdn: if you're running CI, you shouldn't have to differentiate any kind of commit | 07:23 |
| ← dr_lepper left | 07:23 |
| → dr_lepper joined | 07:23 |
| ← dr_lepper left | 07:23 |
| → dr_lepper joined | 07:23 |
|
teotwaki
| vpdn: the way we do it here is that we build any commit (or top of any commit), regardless of status or tags | 07:23 |
|
| vpdn: the only difference being that the branch/repository defines whether it's a dev or official release. | 07:24 |
| ← MissionCritical left | 07:24 |
|
vpdn
| teotwaki: we are building all commits. As a post commit step, there's an upload to the test servers for the beta testers to try out (we're building mobile apps). | 07:24 |
| ← w09x left | 07:24 |
|
teotwaki
| You don't have beta version numbers, in the source code? | 07:25 |
|
vpdn
| teotwaki: and the post commit step is the thing that I'm trying to optimize. For one we don't want testers to get irrelevant commit (e.g. TODO changes) and also the upload is quite bandwidth consuming. | 07:25 |
|
| build versions are synchronized with the CI build numbers. | 07:27 |
| → w09x joined | 07:27 |
| ← tharkun left | 07:27 |
| ← diegoviola left | 07:28 |
| → adfsadf joined | 07:29 |
| → fyolnish joined | 07:32 |
| → tharkun joined | 07:33 |
|
vpdn
| teotwaki: Problem with adding version numbers to the code arises when you have a merge because two people increased the build number at the same time. | 07:33 |
|
teotwaki
| yeah sorry, meant a define flag, or at least some way to get the version number from the generated binaries. | 07:34 |
|
vpdn
| the merge will succeed but it's not obvious anymore by just looking at the build number that both were meant as two separate beta builds. | 07:34 |
|
teotwaki
| anyway, why would you want to multi tag? | 07:35 |
|
| I mean, why not simply tag -d and retag? | 07:35 |
| ← adfsadf left | 07:35 |
|
teotwaki
| Another way to do things would be to require a manual promotion after the build | 07:36 |
|
| For example, once the build has completed, you can use some kind of interface to promote the build to beta | 07:36 |
| → thorbjornDX joined | 07:36 |
|
teotwaki
| Rather than asking devs to tag something in advance, not knowing if it is actually going to build or not | 07:36 |
|
vpdn
| good point | 07:36 |
| ← tharkun left | 07:37 |
| ← khmarbaise left | 07:38 |
| → tharkun joined | 07:38 |
| ← Sahua left | 07:40 |
| ← thorbjornDX left | 07:42 |
| ← tharkun left | 07:42 |
| → thorbjornDX joined | 07:42 |
| ← brokenshakles left | 07:43 |
| → somya joined | 07:43 |
| → brokenshakles joined | 07:44 |
| → glcrazy joined | 07:44 |
| → MissionCritical joined | 07:45 |
| neersighted → neersighted|AFK | 07:47 |
| → tharkun joined | 07:47 |
| → j416 joined | 07:48 |
|
vpdn
| just occurred to me that I could also track the set through another 'beta-tester' branch. The CI would build both branches but only upload changes in the 'beta-tester' branch. | 07:50 |
| ← tharkun left | 07:51 |
| ← aspotashev| left | 07:53 |
| ← dr_lepper left | 07:53 |
| → dr_leppe1 joined | 07:53 |
| → llaumgui joined | 07:54 |
| → francisfish joined | 07:54 |
| → JohnBat26 joined | 07:55 |
| → tharkun joined | 07:57 |
| → ferdna joined | 07:57 |
| ← Radium left | 07:57 |
| → raatiniemi joined | 07:58 |
| ← brokenshakles left | 07:58 |
| → timoxley joined | 07:59 |
| → brokenshakles joined | 08:00 |
| → Radium joined | 08:00 |
| ← mishok13 left | 08:00 |
| ← Mowsh left | 08:00 |
| ← brokenshakles left | 08:02 |
| ← llaumgui left | 08:03 |
| ← tharkun left | 08:03 |
| ← devincea_ left | 08:04 |
| → davidbanham joined | 08:05 |
| → mike201 joined | 08:06 |
| ← davidbanham left | 08:06 |
| ← kcj left | 08:06 |
| ← dr_leppe1 left | 08:07 |
| ← teotwaki left | 08:07 |
| gitinfo set mode: +v | 08:08 |
| → tharkun joined | 08:08 |
|
mike201
| Hey there, by using the no-ff flag with git merge and after deleting a branch, is it possible to lose any commit data when git runs it's cleaning function? | 08:08 |
| → syphar joined | 08:08 |
| ← ferdna left | 08:09 |
|
ndim
| mike201: "it's [sic] cleaning function" being what? "git clean"? "git purge"? "..."? | 08:10 |
|
mike201
| ndim: i'm not entirely sure, i thought git runs some cleaning service on dangling commits every so often, and not sure if using the above method creates any | 08:12 |
|
ndim
| mike201: Ah, that. | 08:14 |
|
| Yes, that will eventually delete the commits that were only on the deleted branch (and not (merge into) any other branch). | 08:14 |
| ← w09x left | 08:15 |
|
ndim
| Not immediately, though. | 08:15 |
| → davidbanham joined | 08:15 |
|
ndim
| (unless you force git to) | 08:15 |
| ← tharkun left | 08:15 |
| ← davidbanham left | 08:16 |
|
mike201
| ndim: ah thanks. | 08:19 |
| → w09x joined | 08:19 |
| → arietis joined | 08:19 |
| → brokenshakles joined | 08:20 |
| → tharkun joined | 08:21 |
| ← w09x left | 08:22 |
| ← apok left | 08:22 |
| ← tharkun left | 08:25 |
| → RaceCondition joined | 08:25 |
| → tharkun joined | 08:26 |
| ← xaka left | 08:31 |
| ← tharkun left | 08:32 |
| → Sigma joined | 08:32 |
| → tiglog joined | 08:32 |
| → Element9 joined | 08:32 |
| ← Khisanth left | 08:33 |
| → Khisanth joined | 08:34 |
| → Xizor joined | 08:34 |
| → bglusman joined | 08:35 |
| → tharkun joined | 08:37 |
| → taipai joined | 08:37 |
| → Lord_DeathMatch joined | 08:38 |
| ← bglusman left | 08:40 |
| ← vpdn left | 08:40 |
| → ndngvr_ joined | 08:40 |
| ← tharkun left | 08:42 |
| ← Linkas left | 08:43 |
| ← rurufufuss left | 08:44 |
| ← harish left | 08:46 |
| → d0k joined | 08:47 |
| → tharkun joined | 08:48 |
| → Superlokkus joined | 08:51 |
| → shruggar joined | 08:53 |
| ← LongBeach left | 08:54 |
| → dr0id joined | 09:00 |
| ← magfv left | 09:01 |
| ← eno left | 09:02 |
| ← raatiniemi left | 09:02 |
| ← xiangfu left | 09:02 |
| → eno joined | 09:04 |
| ← bolt left | 09:04 |
| ← aarond_123a left | 09:06 |
| → piecyk joined | 09:07 |
| ← maleknet left | 09:07 |
| → davidbanham joined | 09:08 |
| → _iron joined | 09:08 |
| ← az left | 09:09 |
| ← somya left | 09:10 |
| → eijk joined | 09:13 |
| ← Superlokkus left | 09:13 |
| → az joined | 09:13 |
| ← tharkun left | 09:14 |
| ← SegFaultAX|work left | 09:14 |
| → fishguy joined | 09:14 |
| ← davidbanham left | 09:14 |
| → bolt joined | 09:17 |
| ← peppyheppy left | 09:18 |
| → tharkun joined | 09:19 |
| ← kadoban left | 09:21 |
| ← Infiltrator left | 09:24 |
| ← tharkun left | 09:27 |
| → tharkun joined | 09:27 |
| → blacktulip joined | 09:31 |
| → JohnyBaby_ joined | 09:32 |
| ← JohnyBaby left | 09:32 |
| → resmo_ joined | 09:36 |
| → sattu94 joined | 09:37 |
| → TomyLobo joined | 09:39 |
| ← uu left | 09:40 |
| ← satyanash left | 09:40 |
| neersighted|AFK → neersighted | 09:41 |
| → wbednarski joined | 09:42 |
| → Shusshu joined | 09:45 |
| neersighted → neersighted|AFK | 09:45 |
| → psoo joined | 09:46 |
| ← taipai left | 09:48 |
| ← codeM0nK3Y left | 09:48 |
| → uu joined | 09:50 |
| → Ripp__ joined | 09:50 |
| ← uu left | 09:50 |
| → uu joined | 09:51 |
| → jceb joined | 09:52 |
| → nailora1 joined | 09:53 |
| gitinfo set mode: +v | 09:53 |
| → alexukf joined | 09:53 |
|
nailora1
| congratulations on the new site! is there any public information who paid/drove the the redesign? | 09:54 |
| → mbroeker joined | 09:54 |
| ← Shusshu left | 09:56 |
| → jackh joined | 09:57 |
| → khmarbaise joined | 09:57 |
|
cmn
| it was made by github | 09:57 |
| ← Tinti left | 09:58 |
|
cmn
| all you have to do to figure it out is click on the source link | 09:58 |
| → flavius joined | 10:00 |
| ← mike201 left | 10:00 |
| ← timoxley left | 10:01 |
| ← tharkun left | 10:01 |
| ← Radium left | 10:02 |
| → glennpratt joined | 10:02 |
| → tharkun joined | 10:02 |
| ← khmarbaise left | 10:03 |
| → harish joined | 10:04 |
| → Radium joined | 10:05 |
| → devinceartas joined | 10:06 |
| → hachque joined | 10:07 |
| ← tharkun left | 10:09 |
| → tharkun joined | 10:09 |
| → arvind_khadri joined | 10:14 |
| ← umc left | 10:15 |
| → thelazydeveloper joined | 10:16 |
| ← tharkun left | 10:16 |
| → tharkun joined | 10:16 |
| → FreeArtMan joined | 10:17 |
| → gjoseph joined | 10:17 |
| ← tiglog left | 10:18 |
| → kcj joined | 10:19 |
| ← tharkun left | 10:20 |
| ← Ripp__ left | 10:20 |
| ← ping-pong left | 10:20 |
| ← psoo left | 10:21 |
| → theCole joined | 10:22 |
| ← rux left | 10:24 |
| → tharkun joined | 10:26 |
| ← devinceartas left | 10:28 |
| ← gjoseph left | 10:28 |
| ← arvind_khadri left | 10:31 |
| ← ipalaus_ left | 10:32 |
| → raatiniemi joined | 10:33 |
| → ivan12345 joined | 10:33 |
| → ivan12346 joined | 10:33 |
| → crash\ joined | 10:34 |
| → ping-pong joined | 10:34 |
| → Tinti joined | 10:35 |
| ← ivan12348 left | 10:36 |
| ← ivan12347 left | 10:36 |
| ← pppaul left | 10:38 |
| → ipalaus_ joined | 10:38 |
| → adamcooke joined | 10:38 |
| → pppaul joined | 10:38 |
| ← dreiss left | 10:41 |
| ← francisfish left | 10:41 |
| ← theCole left | 10:43 |
| → devinceartas joined | 10:45 |
| → gjoseph joined | 10:45 |
| ← jceb left | 10:46 |
| → gusnan joined | 10:47 |
| → jceb joined | 10:47 |
| ← tharkun left | 10:49 |
| → tharkun joined | 10:49 |
| ← lausi left | 10:50 |
| → lausi joined | 10:51 |
| ← RaceCondition left | 10:53 |
| ← gjoseph left | 10:53 |
| ← jceb left | 10:54 |
| ← jackh left | 10:57 |
| ← drizzd left | 10:57 |
| ← wbednarski left | 10:57 |
| → wbednarski joined | 10:58 |
| → n1x joined | 10:58 |
| ← devinceartas left | 11:00 |
| ← n1x left | 11:02 |
| → OOPMan joined | 11:03 |
| ← ipalaus_ left | 11:04 |
| → n1x joined | 11:05 |
| → Reznov_ joined | 11:07 |
| → Russell^^ joined | 11:08 |
| ← Reznov_ left | 11:08 |
| ← n1x left | 11:09 |
| → mklappstuhl joined | 11:11 |
| → n1x joined | 11:11 |
| → cenuij joined | 11:17 |
| ← cenuij left | 11:17 |
| → cenuij joined | 11:17 |
| ← tharkun left | 11:18 |
| ← JohnBat26 left | 11:18 |
| → txomon joined | 11:21 |
| ← txomon left | 11:21 |
| → txomon joined | 11:21 |
| → francisfish joined | 11:22 |
| → theCole_ joined | 11:23 |
| → tharkun joined | 11:23 |
| ← txdv left | 11:24 |
| → txdv joined | 11:24 |
| → syphar_ joined | 11:25 |
| ← syphar_ left | 11:25 |
| ← n1x left | 11:25 |
| → devinceartas joined | 11:26 |
| → theCole__ joined | 11:27 |
| ← OOPMan left | 11:29 |
| ← theCole_ left | 11:29 |
| ← syphar left | 11:29 |
| → ColKurtz joined | 11:32 |
| ← eightyeight left | 11:32 |
| → Sky[x] joined | 11:32 |
|
ColKurtz
| How should I approach setting up my VPS so that deploying code to it is as simple as "git push production" | 11:32 |
|
Sky[x]
| hi | 11:32 |
|
gitinfo
| Sky[x]: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 11:32 |
|
ColKurtz
| ? | 11:32 |
| → eightyeight joined | 11:32 |
| → arvind_khadri joined | 11:33 |
|
ColKurtz
| I know that you're not supposed to push to non-bare repositories | 11:33 |
| ← arvind_khadri left | 11:33 |
| → arvind_khadri joined | 11:33 |
| ← dmilith left | 11:33 |
| ← tharkun left | 11:33 |
| → dmilith joined | 11:33 |
|
bremner
| ColKurtz: there is !web | 11:34 |
|
gitinfo
| ColKurtz: [!deploy] Git is not a deployment tool, but you can build one around it for simple environments. Here is an example hook to get you started: https://github.com/EugeneKay/scripts/blob/master/bash/git-deploy-hook.sh | 11:34 |
|
ColKurtz
| ty for link | 11:34 |
| → SkAzZ joined | 11:34 |
| → SkAzZ1 joined | 11:36 |
| → bglusman joined | 11:36 |
| ← shruggar left | 11:36 |
| ← flavius left | 11:38 |
| → tharkun joined | 11:39 |
| ← SkAzZ left | 11:40 |
| → khmarbaise joined | 11:40 |
| ← angelsl left | 11:40 |
| ← bglusman left | 11:41 |
| → shruggar joined | 11:41 |
| ← glennpratt left | 11:43 |
| ← devinceartas left | 11:43 |
| ← ToBeFree left | 11:44 |
| → Vile joined | 11:46 |
| ← arvind_khadri left | 11:46 |
| ← eijk left | 11:47 |
| ← tharkun left | 11:48 |
| → tharkun joined | 11:48 |
| → timoxley joined | 11:49 |
| ← timoxley left | 11:50 |
| ← Vile left | 11:52 |
| ← lausi left | 11:53 |
| → lausi joined | 11:53 |
| ← shruggar left | 11:55 |
| ← tharkun left | 11:56 |
| ← hachque left | 11:57 |
| ← adamcooke left | 11:57 |
| ← thebignoise left | 11:59 |
| → arvind_khadri joined | 12:01 |
| ← Xizor left | 12:01 |
| → tharkun joined | 12:02 |
| ← babilen left | 12:04 |
| → Chillance joined | 12:05 |
| → jargon- joined | 12:05 |
| → dvide joined | 12:07 |
| → aristidesfl joined | 12:07 |
| → parcs` joined | 12:09 |
| → davidbanham joined | 12:09 |
| → madewokherd joined | 12:11 |
| ← arvind_khadri left | 12:12 |
| ← tharkun left | 12:17 |
| → chris2 joined | 12:19 |
| → devinceartas joined | 12:21 |
| → TTSDA joined | 12:22 |
| → tharkun joined | 12:22 |
| ← TTSDA left | 12:24 |
| → theCole joined | 12:25 |
| → TTSDA joined | 12:25 |
| → syphar joined | 12:26 |
| → polysics joined | 12:26 |
|
polysics
| hi | 12:26 |
|
gitinfo
| polysics: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 12:26 |
| ← tharkun left | 12:26 |
|
polysics
| what's the proper way to update a branch i am working on with the contentfrom another i know has been updated remotely, but is not updated locally? | 12:27 |
| ← raatiniemi left | 12:27 |
| ← theCole__ left | 12:27 |
| ← TTSDA left | 12:27 |
| → tharkun joined | 12:27 |
| → mishok13 joined | 12:28 |
|
raek
| polysics: first you can run `git fetch origin` (where origin is the name of the remote repo with the new stuff) | 12:29 |
| ← Russell^^ left | 12:29 |
| ← BenL left | 12:29 |
| → xiangfu joined | 12:29 |
| → jceb joined | 12:30 |
| → BenL joined | 12:30 |
| → Russell^^ joined | 12:30 |
|
polysics
| eventuall ispecifying a branch, correct? | 12:30 |
| → TTSDA joined | 12:30 |
|
raek
| then you can compare the branches using log and diff | 12:30 |
|
polysics
| if i know i want what's in "develop", for example? | 12:30 |
| → arvind_khadri joined | 12:31 |
| ← arvind_khadri left | 12:31 |
| → arvind_khadri joined | 12:31 |
|
polysics
| say it's some new model, thus not conflicting with anything i have | 12:31 |
|
| git merge develop while on my branch? | 12:31 |
| → raatiniemi joined | 12:31 |
|
raek
| origin/develop | 12:31 |
|
polysics
| great, thanks! | 12:31 |
|
raek
| unless you have a local develop branch that tracks origin/develop | 12:31 |
| ← pppaul left | 12:32 |
| → intripoon joined | 12:32 |
| → pppaul joined | 12:32 |
|
raek
| before merging you might want to do `git log --left-right my-local-branch...origin/develop` | 12:34 |
| → airborn joined | 12:34 |
|
raek
| this will give you an idea of what you are going to merge | 12:34 |
| ← xiangfu left | 12:34 |
| → babilen joined | 12:35 |
| ← gusnan left | 12:35 |
| ← intripoon_ left | 12:35 |
| → traatiniemi joined | 12:36 |
| → gusnan joined | 12:36 |
| ← TTSDA left | 12:36 |
| → TTSDA joined | 12:37 |
| ← pppaul left | 12:38 |
| → pppaul joined | 12:40 |
| ← arvind_khadri left | 12:40 |
| → Bass10 joined | 12:41 |
| ← tharkun left | 12:44 |
| ← marthinal left | 12:44 |
| → xiangfu joined | 12:47 |
| → acl_ joined | 12:49 |
| → tharkun joined | 12:49 |
| → joepie91 joined | 12:50 |
| ← Russell^^ left | 12:50 |
| ← pppaul left | 12:52 |
| → pppaul joined | 12:52 |
| ← acl_ left | 12:53 |
| ← fisted left | 12:53 |
| → patp joined | 12:54 |
| → fisted joined | 12:54 |
| ← `Assassin left | 12:54 |
| ← alexukf left | 12:55 |
| ← patp left | 12:56 |
| → fgh joined | 12:58 |
| ← Bass10 left | 12:59 |
| ← devinceartas left | 13:00 |
| → sdeboey joined | 13:02 |
| → Myhro joined | 13:04 |
| → Destos joined | 13:06 |
| ← kcj left | 13:06 |
| → angelsl joined | 13:08 |
| ← skylamer` left | 13:14 |
| ← traatiniemi left | 13:15 |
| → izissise joined | 13:17 |
| → jpieper joined | 13:19 |
| ← Lgb left | 13:20 |
| ← cagedwisdom left | 13:20 |
| → Lgb joined | 13:21 |
| ← davidbanham left | 13:21 |
| ← tharkun left | 13:22 |
| → alexukf joined | 13:25 |
| ← fgh left | 13:26 |
| → davidbanham joined | 13:26 |
| ← juvenal left | 13:26 |
| ← hagabaka left | 13:28 |
| ← ehsan left | 13:28 |
| → aspiers joined | 13:28 |
| → tharkun joined | 13:28 |
| ← Myhro left | 13:28 |
|
aspiers
| anyone know how can I git svn clone this repo with a rather unconventional layout of only branches at the top level? http://themes.svn.wordpress.org/panorama/ | 13:29 |
| → stkrzysiak joined | 13:29 |
| → mgpcoe joined | 13:29 |
| → ehsan joined | 13:31 |
| ← tharkun left | 13:34 |
| → tharkun joined | 13:34 |
| ← theCole left | 13:35 |
| → sdaone joined | 13:36 |
| ← iamntz left | 13:37 |
| → iamntz joined | 13:37 |
| → munichlinux joined | 13:38 |
| ← tharkun left | 13:39 |
| → Yuuhi joined | 13:42 |
| ← Tinti left | 13:43 |
| → hwrdprkns joined | 13:44 |
| → apok joined | 13:44 |
| → tharkun joined | 13:45 |
| → Bass10 joined | 13:47 |
| → ronniy joined | 13:47 |
| ← matzbitz left | 13:48 |
| ← d0k left | 13:48 |
| ← Bass10 left | 13:48 |
| → Bass10 joined | 13:49 |
| → d0k joined | 13:49 |
| → marcuy joined | 13:49 |
| ← mklappstuhl left | 13:49 |
| → ben225 joined | 13:52 |
| ← munichlinux left | 13:53 |
| → neurodrone joined | 13:55 |
| → munichlinux joined | 13:56 |
| → Fiek joined | 13:56 |
| gitinfo set mode: +v | 13:57 |
| Fiek → Icyberg | 13:57 |
| ← ben225 left | 13:59 |
| → rsewill joined | 13:59 |
|
Icyberg
| Hey, been getting a "rejected due to non-fast-forward" or something, anyone have any idea what could be wrong? | 13:59 |
|
| tried git pull | 13:59 |
|
| and git push -force (all with no avail) | 13:59 |
|
aspiers
| it's --force I think | 14:00 |
|
| or -f | 14:00 |
|
cbreak
| you have to make it fast forward by merging or similar | 14:00 |
| ← rsewill left | 14:00 |
|
cbreak
| or kill remote history by forcing for the branch that is non-fast-forward | 14:00 |
|
aspiers
| you'll lose history if you force | 14:00 |
|
Icyberg
| Sorry, --force | 14:00 |
|
aspiers
| you probably shouldn't use --force unless you really understand what's going on | 14:01 |
|
Icyberg
| cbreak: so "git merge"? | 14:01 |
|
cbreak
| if you want more detailed advice, pastebin everything you typed and the output | 14:01 |
|
| Icyberg: no... | 14:01 |
|
Icyberg
| err, I'm kinda new to git | 14:01 |
|
| xD | 14:01 |
|
aspiers
| definitely don't --force then | 14:01 |
|
| pastebin | 14:01 |
|
Icyberg
| I'm using Zend Studio + EGit so I'm not exactly what commands were executed. Neither pushing in Zend or from the CLI works. | 14:02 |
|
cbreak
| not interesting. | 14:02 |
|
aspiers
| probably best to learn with the CLI first | 14:02 |
|
Icyberg
| cbreak, aspiers: what exactly would you like me to pastebin? | 14:02 |
|
| :P | 14:02 |
| ← Nibato left | 14:02 |
|
cbreak
| everything you typed and everything git replied | 14:03 |
|
Icyberg
| ah, okay | 14:03 |
|
cbreak
| for example the git push that complained about non-ff | 14:03 |
|
ikrabbe
| hehe, once you learned CLI you will hate the other interfaces | 14:03 |
|
aspiers
| ikrabbe: I disagree :) | 14:03 |
| ← ronniy left | 14:04 |
|
Icyberg
| cbreak, aspiers http://pastie.org/3863862 | 14:04 |
| ← txomon left | 14:04 |
|
flexd
| Uh, is anyone else experiencing git being slow on windows? | 14:05 |
|
cbreak
| that makes no sense. | 14:05 |
|
aspiers
| Icyberg: why did you --force? | 14:05 |
|
flexd
| Just installed git for the first time on a window machine (at work), I usually use osx | 14:05 |
|
cbreak
| flexd: that's normal. Windows is that way. | 14:05 |
|
jast
| git has a strong tendency to be slow on windows | 14:05 |
|
aspiers
| cbreak: :) | 14:05 |
|
Icyberg
| aspiers: that was output from earlier | 14:05 |
|
jast
| windows doesn't lend itself very well to the optimizations git uses | 14:05 |
|
flexd
| git status is taking time from the time I press enter to something happening :( | 14:05 |
|
Icyberg
| before i joined this channel | 14:05 |
|
cbreak
| Icyberg: git remote -vv and git branch -a, pastebin | 14:05 |
|
aspiers
| IcePic: but you said --force didn't work | 14:06 |
|
flexd
| cbreak: Glad I do not use windows normally then | 14:06 |
|
aspiers
| Icyberg: : but you said --force didn't work | 14:06 |
|
| IcePic: sorry ignore | 14:06 |
|
Icyberg
| aspiers: it didn't. it reported success but nothing was changed | 14:06 |
|
aspiers
| Icyberg: the remote was changed | 14:06 |
|
cbreak
| Icyberg: git branch -avv even | 14:06 |
|
Icyberg
| aspiers: take a look at the repo (URL is in the output) | 14:06 |
|
aspiers
| Icyberg: that's the whole point of a push | 14:06 |
| → Myhro joined | 14:07 |
| → ronniy joined | 14:07 |
|
cbreak
| Icyberg's push ref spec seems broken | 14:07 |
|
aspiers
| yeah | 14:07 |
|
| Icyberg: what's that refs/for/refs/heads/master nonsense? | 14:07 |
|
jast
| Icyberg: refs/for/refs/... doesn't show in github's branch list | 14:07 |
|
| proper branches are of the form refs/heads/foo | 14:08 |
|
Icyberg
| O_o | 14:08 |
|
| again; Zend Studio/EGit is doing all that for me | 14:08 |
|
jast
| the /for/ thing reminds me of gerrit | 14:08 |
| → Nibato joined | 14:08 |
|
jast
| it's not something git does normally | 14:08 |
|
Icyberg
| jast: germit? | 14:08 |
|
cbreak
| maybe that egit/zend thing is garbage then. | 14:08 |
|
jast
| gerrit is a code review system that sits on top of git | 14:08 |
|
Icyberg
| oh.. | 14:09 |
|
jast
| my one personal experience with egit wasn't so good ;) | 14:09 |
|
Icyberg
| well I guess I don't *need* an IDE | 14:09 |
|
| could stick to the CLI | 14:09 |
|
aspiers
| Icyberg: bad idea to mix IDE/CLI when you don't understand everything the IDE is doing w.r.t. git | 14:09 |
|
Icyberg
| and a text editor | 14:09 |
|
cbreak
| anyway, give me the output I requested | 14:10 |
|
aspiers
| yeah, that's a much better way to learn git | 14:10 |
|
cbreak
| git branch -avv and git remote -vv | 14:10 |
|
aspiers
| Icyberg: once you have a solid understanding, then move to the higher level tools | 14:10 |
|
flexd
| Icyberg: You can still use the IDE for code | 14:10 |
| ← blacktulip left | 14:10 |
|
jast
| anyway, it might be possible to fix the config on the command line and have the IDE thing work | 14:10 |
|
flexd
| Just do git stuff in CLI | 14:10 |
| ← Lord_DeathMatch left | 14:10 |
|
Icyberg
| cbreak: http://pastie.org/3863888 | 14:10 |
| → gjoseph joined | 14:10 |
| → glennpratt joined | 14:10 |
| ← francisfish left | 14:10 |
|
cbreak
| original? definitely weird | 14:10 |
|
| and no mention of this refs/for thing | 14:11 |
|
| wonder why push wanted to screw with that. | 14:11 |
|
| check your .git/config file | 14:11 |
|
aspiers
| cbreak: original is probably from filter-branch | 14:11 |
|
Icyberg
| I'll just recreate everything | 14:11 |
|
cbreak
| he said he'd be a git newbie | 14:11 |
|
Icyberg
| and refork the original repo | 14:11 |
|
| :P | 14:11 |
|
cbreak
| I don't think he filterbranched | 14:11 |
|
Icyberg
| and not use an IDE | 14:12 |
|
aspiers
| cbreak: the IDE might have | 14:12 |
|
| Icyberg: good plan :) | 14:12 |
|
cbreak
| an IDE that filter-branches? | 14:12 |
| → berserkr joined | 14:12 |
|
jast
| an IDE that filter-branches deserves a slow and painful death | 14:12 |
|
cbreak
| what's next? An IDE that resets --hard when you save files? | 14:12 |
|
aspiers
| haha | 14:12 |
|
jast
| not that eclipse doesn't for other reasons :} | 14:12 |
| → francisfish joined | 14:12 |
|
aspiers
| well, come up with a better explanation then :) I know filter-branch creates original/* for sure | 14:12 |
|
cbreak
| it's a remote | 14:13 |
|
jast
| this is about a *remote* called 'original' | 14:13 |
|
| not about refs/original/ | 14:13 |
|
aspiers
| ah | 14:13 |
|
| ah well, that's almost certainly the IDE then | 14:13 |
|
cbreak
| I'd be interested to see the .git/config | 14:13 |
|
aspiers
| it's own idea of 'origin' | 14:13 |
|
| s/it's/its/ | 14:13 |
|
cbreak
| maybe it has some screwed up push ref spec | 14:13 |
|
aspiers
| anyone here use emerge with merge-tool? | 14:15 |
|
Icyberg
| okay, just recreated the repo, guess i'll try set it up with git | 14:15 |
| → freakabcd joined | 14:15 |
|
freakabcd
| hi all.. What is the equivalent of "svn revert myfile.txt" ? | 14:16 |
|
cbreak
| Icyberg: recreate? | 14:16 |
|
freakabcd
| i accidentally did: git rm myfile.txt | 14:16 |
|
cbreak
| just git clone again... | 14:16 |
|
Icyberg
| cbreak: i meant reforked | 14:16 |
|
cbreak
| freakabcd: git checkout HEAD -- filename | 14:16 |
|
| reforked? Stupid... | 14:16 |
|
freakabcd
| how do i get it back on disk? i tried git reset HEAD -- | 14:16 |
| ← gusnan left | 14:16 |
|
cbreak
| your problem was just client side | 14:16 |
|
freakabcd
| thanks cbreak | 14:17 |
|
aspiers
| cbreak: no need to call a newbie stupid ... | 14:17 |
|
Icyberg
| wow | 14:17 |
|
| Freenode hasn't changed a bit | 14:17 |
|
cbreak
| freakabcd: checkout in file mode is for index manipulation, not file system manipulation | 14:17 |
|
| aspiers: no need to not call stupid acts stupid | 14:17 |
|
| I don't blame newbies for doing stupid things | 14:18 |
|
| but they have to know that it is stupid so they learn :) | 14:18 |
| ← eno left | 14:18 |
|
cbreak
| never heard that people learn from mistakes? | 14:18 |
|
| they don't learn from mistakes if they don't realize them... | 14:18 |
|
aspiers
| cbreak: it's not stupidity, it's ignorance | 14:18 |
|
| cbreak: there's a difference | 14:18 |
|
cbreak
| nope. | 14:18 |
|
| The act is stupid. | 14:18 |
|
jast
| at any rate, 'stupid' isn't the most diplomatic word there is :) | 14:18 |
|
Icyberg
| The big issue I had with Freenode was the majority of active users flamed noobies for not understanding something, or because they were "stupid". I left Freenode years back just because of it. | 14:19 |
|
cbreak
| I don't call you stupid. | 14:19 |
|
aspiers
| jast: exactly. there are more tactful ways of putting it | 14:19 |
|
cbreak
| I call what you did stupid | 14:19 |
|
jast
| but there is a difference between calling a person stupid and calling an action stupid | 14:19 |
|
cbreak
| if you really want you can refork all day | 14:19 |
|
| but it won't fix your problem | 14:19 |
|
aspiers
| cbreak: actually it was entirely ambigious what/who you were calling stupid | 14:19 |
| → eno joined | 14:19 |
|
cbreak
| it's client side. | 14:19 |
|
| I am quite sure it's an issue in your repository's .git/config file | 14:20 |
| → amigojapan joined | 14:20 |
|
jast
| reforking is a windows-flavoured solution: have you tried turning it off and on again? :} | 14:20 |
|
cbreak
| reminds me of reinstalling the operating system | 14:21 |
|
jast
| if it works, fine, but there's no enlightenment down that road | 14:21 |
|
Icyberg
| cbreak: I didn't/don't even understand what the problem is, you could've just left out the "stupid" bit and told me exactly what was happening | 14:21 |
|
jast
| and enlightenment does tend to make things easier later on | 14:21 |
|
cbreak
| I told you what the problem is | 14:21 |
| ← mgpcoe left | 14:22 |
|
jast
| the problem is that some piece of software, presumably z | 14:22 |
|
| (grrr) | 14:22 |
| ← uu left | 14:22 |
|
jast
| ... "zend studio/egit", messed up the local repository config | 14:22 |
|
Icyberg
| I know that, I mean what it was doing wrong | 14:22 |
|
jast
| and that can be fixed by changing the config | 14:22 |
|
cbreak
| "I'd be interested to see the .git/config", "maybe it has some screwed up push ref spec" | 14:22 |
|
| that sounds fairly unambiguous to me. | 14:23 |
|
jast
| man, different keyboard layouts just kill my productivity | 14:23 |
|
cbreak
| jast: yeah. | 14:23 |
|
jast
| at least I got a USB keyboard at work now | 14:23 |
|
| but the insert/delete/home/end/pageup/down block is not where it's supposed to be | 14:23 |
|
cbreak
| I bought a new US keyboard for home use because switching back and forth from work was too time consuming | 14:24 |
| ← munichlinux left | 14:24 |
|
jast
| the manufacturer decided to cram some ACPI keys in there, and now the insert/... block is jammed right up to the cursor keys | 14:24 |
|
Icyberg
| cbreak: Well, since you wanted to see it I'll pastie it. | 14:24 |
|
jast
| I keep using the wrong keys and it's annoying, but at least less so than the notebook's keyboard that I had to use before | 14:24 |
|
| and of course *this* notebook has yet another different layout | 14:24 |
|
Icyberg
| cbreak: http://pastie.org/3863937 | 14:25 |
|
jast
| I use German keyboards but set to the US layout... works great for me | 14:25 |
|
cbreak
| Icyberg: the push part in remote "original" | 14:25 |
| → subbyyy joined | 14:26 |
|
jast
| wow, that's so screwed up it's not even funny | 14:26 |
| → bitkiller joined | 14:26 |
| → shruggar joined | 14:26 |
|
cbreak
| jast: I used swiss german keyboard with US layout, it was similar but not the same as the real US keyboards | 14:26 |
|
| small differences, but still | 14:26 |
|
jast
| git config --unset remote.original.push | 14:26 |
|
| also maybe set push.default to upstream | 14:26 |
|
cbreak
| you can also edit the file directly | 14:27 |
|
| if you know what you're doing :) | 14:27 |
| → Lord_DeathMatch joined | 14:27 |
|
jast
| sure, but easier to tell someone to copy&paste a command :) | 14:27 |
|
Icyberg
| jast: what's the command to set push.default to upstream? | 14:27 |
|
cbreak
| it's more educative to tell people what happens though. | 14:27 |
|
jast
| git config push.default upstream | 14:27 |
|
| :) | 14:27 |
|
cbreak
| I'd do it --global | 14:28 |
|
| (in fact, I did it global ages ago) | 14:28 |
|
Icyberg
| jast: should I try to push it now? | 14:28 |
|
jast
| what it does is this: "git push" will figure out the right remote and branch to push to for the currently checked out branch | 14:28 |
|
| and if it can't, it'll ask you to tell it once where to look | 14:28 |
|
| that way minimises potential for errors | 14:28 |
|
| sure | 14:28 |
|
cbreak
| Icyberg: upstream info is set for you | 14:28 |
|
| so you can do that | 14:28 |
|
| otherwise, for new branches, you have to do a git push -u original branchname first | 14:29 |
|
Icyberg
| Pushed :) | 14:29 |
|
jast
| what your broken config said is this: whatever branch is checked out, write its contents to refs/for/... on the server | 14:29 |
|
| not a particularly useful thing to do, obviously | 14:29 |
|
cbreak
| it was stupid... | 14:29 |
|
| wonder why the IDE or what ever did that | 14:29 |
|
jast
| we may never know | 14:30 |
|
| I kind of doubt that it's egit's fault | 14:30 |
|
Icyberg
| Zend built onto EGit | 14:30 |
|
| so its probably something to do with that | 14:30 |
|
jast
| despite all my complaints about eclipse and java, at least shawn knows his git | 14:30 |
|
cbreak
| also, the + in the spec should have forced it anyway | 14:30 |
|
jast
| yeah, let's blame zend... that's a good heuristic in my opinion | 14:30 |
|
cbreak
| what's zend? | 14:31 |
|
Icyberg
| ^ :) | 14:31 |
|
jast
| makers of PHP | 14:31 |
|
cbreak
| eeew | 14:31 |
|
| probably their fault. | 14:31 |
|
jast
| my point exactly :) | 14:31 |
|
Icyberg
| jast: how do I tag releases? | 14:32 |
|
cbreak
| git tag namehere | 14:33 |
|
jast
| with 'git tag', with -a or -s | 14:33 |
|
cbreak
| Icyberg: man git-tag | 14:33 |
|
gitinfo
| Icyberg: the git-tag manpage is available at http://jk.gs/git-tag.html | 14:33 |
|
jast
| look at the manpage for details | 14:33 |
|
| of course, if anything isn't clear, feel free to ask | 14:33 |
| ← marcuy left | 14:36 |
| → Nathandim joined | 14:37 |
| ← davidbanham left | 14:37 |
| → bglusman joined | 14:37 |
| → txomon joined | 14:38 |
| → marcuy joined | 14:39 |
| → sq-one joined | 14:40 |
| ← drev1_ left | 14:42 |
| ← bglusman left | 14:42 |
| ← syphar left | 14:42 |
| ← harish left | 14:43 |
| ← gavin_huang left | 14:44 |
| ← twisted` left | 14:47 |
| ← aristidesfl left | 14:47 |
| ← raatiniemi left | 14:48 |
| ← glennpratt left | 14:49 |
| → harish joined | 14:50 |
| → raatiniemi joined | 14:50 |
| → aristidesfl joined | 14:50 |
| → adamcooke joined | 14:51 |
| → OOPMan joined | 14:51 |
| → Superlokkus joined | 14:51 |
| ← Vinnie_win left | 14:56 |
| → DofLeFou joined | 14:56 |
| → JohnyBaby joined | 14:57 |
| ← JohnyBaby_ left | 14:57 |
| ← shruggar left | 14:58 |
| → Vinnie_win joined | 14:58 |
| → torukawahata joined | 15:00 |
| ← angelsl left | 15:03 |
| → glennpratt joined | 15:04 |
| → dv310p3r joined | 15:05 |
| → angelsl joined | 15:05 |
| → Jackneill joined | 15:06 |
| → munichlinux joined | 15:08 |
| → nessundorma joined | 15:10 |
| ← JohnyBaby left | 15:11 |
| → JohnyBaby joined | 15:11 |
| → ZooLer joined | 15:18 |
| → pandeiro joined | 15:18 |
| → Vile joined | 15:18 |
| ← gjoseph left | 15:20 |
| → resmo__ joined | 15:22 |
| sattu94 → satyanash | 15:22 |
| ← mbroeker left | 15:24 |
| → HyperNerdV2 joined | 15:24 |
| → drizzd joined | 15:24 |
| ← resmo_ left | 15:25 |
| → arvind_khadri joined | 15:25 |
| ← arvind_khadri left | 15:25 |
| → arvind_khadri joined | 15:25 |
| → pfFredd joined | 15:27 |
| → incog joined | 15:28 |
| ← amigojapan left | 15:30 |
| → gjoseph joined | 15:31 |
| ← aspiers left | 15:31 |
| ← dark_element left | 15:31 |
| ← francisfish left | 15:31 |
| ← wilmoore left | 15:32 |
| ← stkrzysiak left | 15:32 |
| ← alexukf left | 15:33 |
| ← arvind_khadri left | 15:34 |
| → arvind_khadri joined | 15:34 |
| ← arvind_khadri left | 15:34 |
| → arvind_khadri joined | 15:34 |
| ← munichlinux left | 15:34 |
| ← fyolnish left | 15:35 |
| ← flaguy48 left | 15:36 |
| → fyolnish joined | 15:36 |
| ← h0bbit left | 15:36 |
| → Per4u3e joined | 15:37 |
| ← airborn left | 15:38 |
| → wilmoore joined | 15:38 |
| ← arvind_khadri left | 15:38 |
| ← xiangfu left | 15:40 |
| ← Per4u3e left | 15:41 |
| → pe joined | 15:41 |
| ← sq-one left | 15:41 |
| → francisfish joined | 15:41 |
| → dreiss joined | 15:42 |
| → noqqe__ joined | 15:42 |
| → pfFred joined | 15:44 |
| ← pfFredd left | 15:44 |
| ← iamntz left | 15:45 |
| → QuantumQuanta joined | 15:45 |
| ← crhan left | 15:46 |
| → iamntz joined | 15:46 |
|
QuantumQuanta
| This is probably more of a workflow question, but I'm working on a little website that uses an API key to fetch some info. My key shouldn't be publicly revealed...is there a good way to keep the key around while I'm working but not accidentally include it in the repo? | 15:47 |
| ← fyolnish left | 15:47 |
|
QuantumQuanta
| I'm using Python, if that helps... | 15:47 |
| → fyolnish joined | 15:47 |
| → traatiniemi joined | 15:47 |
|
variable
| if I want to optimize repo space what should I run? 'git gc' exactly? With any special options? | 15:48 |
| ← khmarbaise left | 15:48 |
|
et
| so you want to stop yourself from 'git add <filethatincludeskey>'? you should be able to do that with hooks | 15:48 |
|
QuantumQuanta
| et: so maybe move the key to a different file on it's own and then import it into the main code file | 15:49 |
|
| ? | 15:49 |
|
variable
| QuantumQuanta: .gitignore as well | 15:49 |
|
| or move the key into a file above the repo | 15:50 |
| → Sahua joined | 15:50 |
|
QuantumQuanta
| And then maybe include the file once with a dummy key just to demonstrate the format? | 15:50 |
| → JohnyBaby_ joined | 15:50 |
| ← francisfish left | 15:50 |
|
cmn
| read it from a configuration file or the environment | 15:50 |
| → wolog joined | 15:50 |
|
et
| QuantumQuanta: yes, but if you accidently 'git add' the key file that won't help, that's why i suggested a hook | 15:50 |
| ← JohnyBaby left | 15:52 |
| → williamcotton joined | 15:53 |
| ← aristidesfl left | 15:54 |
| → alexukf joined | 15:55 |
| → pantsman joined | 15:55 |
| ← pantsman left | 15:55 |
| → pantsman joined | 15:55 |
| → macmartine joined | 15:56 |
| → aristidesfl joined | 15:57 |
| ← nessundorma left | 15:57 |
| ← fyolnish left | 15:59 |
| ← _iron left | 15:59 |
|
EugeneKay
| cmn - regarding ! deploy from the other day; my apologies. I forgot that the bot was pointing to the link. One of these days I'll finish writing git-deploy properly.... | 16:02 |
|
cmn
| no biggie, just bad timing | 16:03 |
| → Dragooon joined | 16:03 |
|
EugeneKay
| raek - same, but consider that my script's approach doesn't even need the deploy script to be on the same machine as the web server. All it cares about is rsync access to the DocRoot ;-) | 16:03 |
| → dr_diamond joined | 16:04 |
| → devinceartas joined | 16:04 |
| ← jceb left | 16:05 |
| → xaka joined | 16:08 |
| → yoklov joined | 16:09 |
| ← adamcooke left | 16:09 |
| ← patrick99e99 left | 16:10 |
| ← Element9 left | 16:10 |
| ← pe left | 16:10 |
| ← Radium left | 16:11 |
| ← polysics left | 16:12 |
| → ScottNYC joined | 16:15 |
| → RaceCondition joined | 16:17 |
| → crhan joined | 16:19 |
| → dr_lepper joined | 16:19 |
| ← dr_lepper left | 16:19 |
| → dr_lepper joined | 16:19 |
| → kadoban joined | 16:19 |
| ← osX64 left | 16:19 |
| → osX64 joined | 16:19 |
| ← JohnyBaby_ left | 16:20 |
| ← gjoseph left | 16:20 |
| → KoRaH joined | 16:21 |
| ← KoRaH left | 16:21 |
| ← dr0id left | 16:22 |
| ← freakabcd left | 16:22 |
| → khmarbaise joined | 16:24 |
| → flaguy48 joined | 16:25 |
| → mikepack joined | 16:26 |
| → ology joined | 16:26 |
| → Radium_ joined | 16:27 |
| ← devinceartas left | 16:28 |
| ← wolog left | 16:28 |
| → wolog joined | 16:29 |
| ← Destos left | 16:29 |
| → jmaya joined | 16:30 |
| ← jmaya left | 16:31 |
| → JohnyBaby joined | 16:31 |
| ← wilmoore left | 16:32 |
| ← glennpratt left | 16:33 |
| → airborn joined | 16:33 |
| ← BlindOracle left | 16:35 |
| ← xaka left | 16:35 |
| → gjoseph joined | 16:36 |
| → nadavoid joined | 16:38 |
| → adamm joined | 16:40 |
| ← Radium_ left | 16:42 |
| ← FreeArtMan left | 16:42 |
| ← guidov left | 16:47 |
| → twisted` joined | 16:48 |
| ← kadoban left | 16:48 |
| ← ScottNYC left | 16:51 |
| ← ben_alman left | 16:52 |
| → ben_alman joined | 16:53 |
| ← gjoseph left | 16:53 |
| → Radium joined | 16:53 |
| → AnkA_maviyesil joined | 16:55 |
| → gjoseph joined | 16:55 |
| ← nadavoid left | 16:56 |
| ← AnkA_maviyesil left | 16:56 |
| → dark_element joined | 16:57 |
| → BlindOracle joined | 16:59 |
| ← dark_element left | 16:59 |
| ← traatiniemi left | 17:00 |
| → markus_ joined | 17:00 |
| ← kerrick_ left | 17:00 |
| → glennpratt joined | 17:04 |
| ← Superlokkus left | 17:05 |
| → ph^ joined | 17:05 |
| ← BlindOracle left | 17:05 |
| ← harish left | 17:07 |
| → mklappstuhl joined | 17:07 |
| → BlindOracle joined | 17:07 |
| → yacc joined | 17:07 |
|
yacc
| Any standard way to locate the "root" of a git repository from inside a subdirectory? | 17:08 |
|
| Basically the .git directory. | 17:08 |
| ← Radium left | 17:08 |
| ← khmarbaise left | 17:09 |
|
cmn
| man git rev-parse has a lot of flags | 17:09 |
|
gitinfo
| the git-rev-parse manpage is available at http://jk.gs/git-rev-parse.html | 17:09 |
|
cmn
| I believe --top-level does what you want | 17:09 |
|
EugeneKay
| yacc - man git-rev-parse, see --git-dir | 17:09 |
|
gitinfo
| yacc: the git-rev-parse manpage is available at http://jk.gs/git-rev-parse.html | 17:09 |
| → cakehero_ joined | 17:10 |
|
EugeneKay
| cmn - I think you mean --show-toplevel, and that's for the worktree, not .git | 17:10 |
|
cmn
| yeah, but when you say "root", you usually mean the top of the tree | 17:11 |
|
EugeneKay
| Except when you say "basically the .git directory" | 17:11 |
|
cmn
| ah, I stopped parsing too soon | 17:12 |
|
EugeneKay
| I pride myself on being technically correct. The BEST kind of correct. | 17:12 |
| ← incog left | 17:14 |
| ← albel727 left | 17:14 |
| → Vert joined | 17:14 |
| → thearthur joined | 17:15 |
| ← williamcotton left | 17:16 |
| ← thearthur left | 17:18 |
| → glimpsenirvana joined | 17:18 |
| ← babilen left | 17:19 |
|
offby1
| ◎_◎ ಠ_ಠ| 17:20 |
| ← cakehero_ left | 17:20 |
|
milki
| yet we still dont know how to find .git | 17:20 |
| ← markus_ left | 17:21 |
| → thearthur joined | 17:21 |
| → Radium joined | 17:23 |
| → gusnan joined | 17:24 |
| → Goplat joined | 17:24 |
| → veyres joined | 17:25 |
| → chaten joined | 17:27 |
| → mister_m joined | 17:28 |
| → stkrzysiak joined | 17:28 |
| → albel727 joined | 17:28 |
|
cbreak
| milki: ? | 17:30 |
| ← Chib left | 17:30 |
| → blacktulip joined | 17:30 |
| ← pandeiro left | 17:31 |
|
Sky[x]
| hi i have a problem with git clone [email@hidden.address] ssh required password but i have added in /srv/gitosis/.ssh/authorized_keys cat from my .pub file any idea ? | 17:32 |
|
roflin
| you need to put your pubkey on the remote not on your local machine's authorized_keys | 17:33 |
|
Myhro
| this is not a gitosis channel, but i'll give a try | 17:33 |
|
| Sky[x] the key in keydir/ have the '.pub' in file name? | 17:33 |
|
cbreak
| you should switch to gitolite | 17:34 |
|
| gitorious is dead since ages | 17:34 |
| ← forrestv left | 17:34 |
|
Sky[x]
| Myhro: have. pub and without .pub both files | 17:35 |
|
cmn
| gitorious is till alive :p | 17:35 |
|
bremner
| cbreak: I think you confuse gitorious and gitosis | 17:35 |
| ← drizzd left | 17:35 |
| → arvind_khadri joined | 17:35 |
| ← arietis left | 17:35 |
|
Myhro
| Sky[x] you don't have to ever edit the 'authorized_keys' by hand with gitosis. it's a new setup? or you are just adding a new user? | 17:35 |
|
Sky[x]
| new setup on clean ubuntu install | 17:36 |
| → forrestv joined | 17:36 |
|
bremner
| new setup of !gitosis makes no sense. u | 17:36 |
|
gitinfo
| gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite | 17:36 |
|
Myhro
| you did a 'gitosis-init < my_pub_key.pub'? | 17:37 |
|
Sky[x]
| Myhro: yes | 17:37 |
|
cbreak
| bremner: right. Gitosis :) | 17:37 |
| ← dr_diamond left | 17:37 |
|
Myhro
| Sky[x] it should work after that, without editing the 'authorized_keys' file later | 17:38 |
| → bglusman joined | 17:38 |
|
Myhro
| did you run the command on the correct user? | 17:38 |
| → SegFaultAX|work joined | 17:38 |
|
Myhro
| 'gitosis' under 'remotehost.example.com' | 17:38 |
| ← Lord_DeathMatch left | 17:39 |
|
Sky[x]
| Myhro: yes sudo -H -u gitosis gitosis-init < urban_gitserver_virtualbox_ubuntu.pub | 17:39 |
| ← berserkr left | 17:40 |
|
Myhro
| Sky[x] that maybe silly to ask, but are you using 'openssh-server'? gitosis doesn't work with other ssh server like dropbear | 17:40 |
|
Sky[x]
| yes i run openssh-server | 17:41 |
| ← az left | 17:42 |
|
Myhro
| you could could try running ssh with '-v' (or -vv/-vvv) argument against the server to see if you can find what is going wrong | 17:43 |
|
Sky[x]
| i can | 17:43 |
| ← angelsl left | 17:43 |
|
Myhro
| therefore, I suggest you to read the chapter about gitosis on the 'Pro Git' book | 17:43 |
| ← bglusman left | 17:43 |
| → harish joined | 17:43 |
| → az joined | 17:43 |
| → Guest78533 joined | 17:44 |
| ← arvind_khadri left | 17:44 |
| → cakehero joined | 17:44 |
| ← stkrzysiak left | 17:45 |
| → twitchy joined | 17:45 |
| ← SegFaultAX|work left | 17:49 |
| ← glimpsenirvana left | 17:50 |
| ← fisted left | 17:52 |
| ← torukawahata left | 17:53 |
| → h0bbit joined | 17:53 |
| → arvind_khadri joined | 17:53 |
| ← arvind_khadri left | 17:53 |
| → arvind_khadri joined | 17:53 |
| ← chaten left | 17:54 |
| ← pfFred left | 17:54 |
|
Sky[x]
| Myhro: can be the problem on my side on local from where i try to connect on gitosis ? i'm using osx | 17:55 |
|
Myhro
| Sky[x] only if your ssh client is trying to authenticate with the wrong key | 17:56 |
|
| I've seen a gitosis server with multiple cliente-OSes doing quite well | 17:57 |
| → rurufufuss joined | 17:57 |
| → pfFredd joined | 17:57 |
| → JPT joined | 17:57 |
| ← twitchy left | 17:58 |
|
Sky[x]
| Myhro: the problem was on my side :) | 17:59 |
|
Myhro
| Sky[x] solved? | 17:59 |
|
Sky[x]
| Myhro: ˜/.ssh/config i have to set 3 line which file use, port and user with host | 17:59 |
|
Myhro
| ssh is running on a non-standard port? | 18:00 |
|
Sky[x]
| the problem was on my side :) | 18:00 |
|
| no | 18:00 |
|
txomon
| is there any way to make git have all the commit history (hashes) but not all the data? | 18:00 |
|
| I mean, not all the files | 18:00 |
|
Myhro
| Sky[x] anyway, I'm glad you solved it | 18:01 |
|
| :) | 18:01 |
|
Sky[x]
| i have to add this lineS http://pastebin.com/CSqPdKxd | 18:01 |
| ← Sahua left | 18:01 |
|
Myhro
| so the problem was the private key file name? | 18:02 |
|
| :P | 18:02 |
|
txomon
| Sky[x], why do you use gitosis? | 18:02 |
|
Myhro
| sometimes gitosis 'just work' | 18:03 |
|
| and it's preaty easy to setup | 18:03 |
|
txomon
| Myhro, ... gitolite is too | 18:03 |
|
| much more easier to make it work | 18:03 |
|
| and pretty simple to setup | 18:04 |
|
Myhro
| I'll try gitolite someday | 18:04 |
| → marcogmonteiro joined | 18:04 |
|
cmn
| and supported | 18:04 |
|
Myhro
| I've been using gitosis for near a year | 18:04 |
|
txomon
| Myhro, you should | 18:04 |
|
cbreak
| gitosis is dead for several | 18:04 |
| → mgpcoe joined | 18:04 |
|
Myhro
| I know... | 18:04 |
|
| :P | 18:04 |
| → rryoumaa joined | 18:04 |
| gitinfo set mode: +v | 18:04 |
|
txomon
| I started with gitosis, but in 3 hours, I changed to gitolite in the very first versions | 18:05 |
| ← JohnyBaby left | 18:05 |
|
txomon
| now its awesome what you can get to be done | 18:05 |
|
| cbreak, any idea on my question? | 18:05 |
|
cbreak
| nope. what was it? | 18:06 |
|
| ah, no, that's not possible | 18:06 |
|
EugeneKay
| txomon - make a git repository containing the hashes but not the files? Not really. You can parse the output of git log to get such a thing, but.... ergh. | 18:06 |
| → lapistano joined | 18:06 |
| → Sahua joined | 18:06 |
|
cbreak
| maybe git rev-list > file | 18:06 |
|
EugeneKay
| I think !xy applies here | 18:06 |
|
gitinfo
| [!doinitrong] It sounds like you're approaching this problem in the wrong manner. Let's step back for a minute - What are you actually trying to achieve? Why are you trying to do it this way? | 18:06 |
|
rryoumaa
| are the timestamps of the files and directories in .git ignored by all git commands? | 18:07 |
|
txomon
| EugeneKay, I am trying to do a dropbox with git | 18:07 |
|
EugeneKay
| rryoumaa - git really doesn't care about mtime, only the contents(sha1) | 18:07 |
|
| txomon - !dropbox | 18:07 |
|
gitinfo
| txomon: Storing a bare repository on DropBox is a Very Bad Idea (tm). Everybody who has tried it has reported repo corruption, slowness in synchronizing, and general pain. Use a free code-hosting service such as Bitbucket or GitHub instead. | 18:07 |
|
txomon
| I cant have all the history with me | 18:07 |
|
rryoumaa
| EugeneKay: thanks | 18:07 |
|
txomon
| EugeneKay, dont start spamming all the words I say | 18:07 |
|
| I said making a dropbox with git, not using dropbox with git | 18:08 |
|
EugeneKay
| Don't tell me what to do. You're not my mother.... and if you were, well, she's a bit of a bitch anyway. | 18:08 |
|
cmn
| txomon: it's caled experience | 18:08 |
|
| and either way, it only works for limited use-cases | 18:08 |
|
txomon
| ... | 18:08 |
|
EugeneKay
| So, you want to make git behave as a file storage mechanism. | 18:08 |
|
cmn
| take a look at sparklshare | 18:08 |
|
EugeneKay
| This is not what git's object model is oriented towards. Projects such as SparkleShare attempt to build such a thing, but it doesn't always work well | 18:08 |
|
cbreak
| txomon: check out git-annex | 18:09 |
|
txomon
| I want to do it on myself, and I thought about git | 18:09 |
|
cbreak
| txomon: also maybe bup | 18:09 |
|
EugeneKay
| !annex | 18:09 |
|
gitinfo
| Storing lots of binary files in git causes repo balloon. git-annex and git-media are two solutions to work around this by keeping the blobs out of the repo. http://git-annex.branchable.com/ and https://github.com/schacon/git-media | 18:09 |
|
txomon
| cbreak, good idea! | 18:09 |
|
EugeneKay
| I'm not sure if annex lets you purge old blobs, but it ought to. | 18:09 |
|
txomon
| but gitolite support for annex is not ready yet... Will have to stay on g2 for the server | 18:10 |
|
EugeneKay
| You could add it | 18:10 |
|
txomon
| add support you mean? | 18:10 |
|
| I refered to g3 gitolite, in g2 branch it exists | 18:11 |
| → berserkr joined | 18:12 |
| ← mgpcoe left | 18:12 |
| → arietis joined | 18:12 |
|
EugeneKay
| Indeed. | 18:13 |
|
txomon
| cbreak, annex idea was _REALLY_ good idea! Its perfect. I will have to have some tracked archive though | 18:13 |
| → hollyw00d joined | 18:13 |
|
cbreak
| it's a hack. | 18:13 |
|
EugeneKay
| All the best scripts are | 18:14 |
| ← hollyw00d left | 18:15 |
| → hollyw00d joined | 18:16 |
| ← Dragooon left | 18:16 |
|
txomon
| cbreak, it is also usefull for the problem on the other day (when my team wanted to have access to different branches at the same time) | 18:17 |
|
cbreak
| nah | 18:17 |
|
| for that you'd use the git new-worktree script from contrib | 18:18 |
|
| or just clone locally | 18:18 |
|
| annex can't help you with that problem | 18:18 |
|
| but being on two branches at the same time isn't something people normally do | 18:18 |
|
txomon
| I meant, that I could store both copies in tarballs and have them available as something "extra" | 18:18 |
| ← sdeboey left | 18:19 |
|
cbreak
| sounds stupid... both copies of what? | 18:19 |
| ← Nathandim left | 18:20 |
| ← thearthur left | 18:21 |
|
txomon
| cbreak, of all the kernel... | 18:21 |
|
cbreak
| then it makes no sense at all | 18:22 |
|
txomon
| why? something like distribution tarball | 18:22 |
|
cbreak
| because the sources are already in the repository | 18:22 |
|
| why store a tarball? | 18:22 |
|
| git archive can generate those on the fly | 18:22 |
|
txomon
| didn't know about git archive... | 18:22 |
|
| oki | 18:22 |
| → thearthur joined | 18:23 |
|
txomon
| good to know about it | 18:23 |
|
milki
| cbreak: will they always have the same checksum? | 18:23 |
| ← arvind_khadri left | 18:23 |
| ← anildigital left | 18:23 |
|
texasmynsted
| The on the fly tar ball is a nice, useful feature for git. | 18:24 |
|
cbreak
| milian: who? | 18:24 |
|
txomon
| milki, it would be stupid if they didn't (I suppose) | 18:24 |
|
cbreak
| sorry | 18:24 |
|
| milki: who? | 18:24 |
|
milki
| git archive | 18:24 |
|
cbreak
| the archives? | 18:24 |
|
milki
| ya | 18:24 |
|
cbreak
| no idea. | 18:24 |
|
| they will have the same data content | 18:24 |
|
| (if you archive the same treeish) | 18:24 |
|
txomon
| the problem would come with the date | 18:25 |
| ← gjoseph left | 18:25 |
|
rryoumaa
| if you archive a treeish the date will change | 18:25 |
|
| if you archive a ref it will not | 18:25 |
|
| (according to man page) | 18:25 |
| → gjoseph joined | 18:26 |
|
milki
| i redistribute gitolite as a tarball because 1) ensure consistent checksum, 2) requires one additional step | 18:26 |
| → anildigital joined | 18:26 |
|
rryoumaa
| do people use bup these days or gibak? | 18:27 |
| → Per4u3e joined | 18:28 |
|
milki
| havent heard of either.. | 18:28 |
| ← glennpratt left | 18:31 |
| ← blacktulip left | 18:32 |
| → mwrosen joined | 18:32 |
| ← JPT left | 18:33 |
| → blacktulip joined | 18:33 |
|
variable
| if I want to optimize repo space what should I run? 'git gc' exactly? With any special options? | 18:34 |
| ← iamntz left | 18:34 |
| ← jargon- left | 18:34 |
| → JPT joined | 18:35 |
|
cbreak
| variable: --aggressive or so | 18:36 |
| → ThunderChicken joined | 18:36 |
| → drizzd joined | 18:37 |
| ← hollyw00d left | 18:37 |
|
milki
| cbreak: will it do anything on a fresh clone? | 18:38 |
|
variable
| cbreak: what about http://gcc.gnu.org/ml/gcc/2007-12/msg00165.html ? | 18:38 |
| → sdeboey joined | 18:39 |
| ← Per4u3e left | 18:39 |
|
cbreak
| milki: no | 18:39 |
|
milki
| variable: sounds like it could just be shorthand for the repack commandat the end | 18:40 |
|
cbreak
| variable: what about it? | 18:40 |
|
milki
| variable: tailor the window/depth to the repo perhaps? | 18:40 |
|
variable
| cbreak: if I'm understanding the email correctly linus is saying that --aggressive will make things worse? | 18:40 |
|
| milki: I have no clue what numbers I should pick | 18:41 |
|
milki
| from what i understand, it just says it takes a whole lot of cpu time | 18:41 |
|
| !tias | 18:41 |
|
gitinfo
| Try it and seeâ„¢. You learn much more by experimentation than by asking without having even tried. http://sitaramc.github.com/1-basic-usage/tias.html may help with git-specific TIAS. | 18:41 |
|
milki
| :P | 18:41 |
|
variable
| milki: tias doesn't work when it takes hours to complete | 18:41 |
|
milki
| thats where :P comes in | 18:41 |
|
| sounds like it should match the longest delta chain to any single file | 18:42 |
|
| variable punches milki | 18:42 |
|
variable
| but understood. how do I determine that ? | 18:42 |
|
milki
| lots of grepping commits | 18:42 |
|
variable
| :'( | 18:42 |
| ← ronniy left | 18:43 |
|
cbreak
| variable: maybe. It'll make things compact. | 18:43 |
|
milki
| variable: hit up the mailing list about delta-chains | 18:43 |
|
| maybe someone has a script to examine delta-chains | 18:43 |
|
variable
| cbreak: understood | 18:44 |
|
cbreak
| the email seems to say that it's a waste of time | 18:44 |
|
| not that it does bad stuff | 18:44 |
|
| I think | 18:44 |
|
| only flew over | 18:45 |
|
milki
| its a waste of time, if git gc has been doing its job over time | 18:45 |
|
variable
| milki: this is the initial checkout | 18:45 |
|
| cbreak: understood. | 18:45 |
|
| thanks | 18:45 |
|
milki
| yes, he mentioned that import tools might not be efficient | 18:45 |
|
| so it should do something if svn2git isnt super smart | 18:46 |
| ← mklappstuhl left | 18:47 |
|
charon
| variable: --aggressive simply discards delta chains that exist already. this may occasionally help if the original pack is terrible, but usually is just a massive waste of time. see e.g. the numbers in http://article.gmane.org/gmane.comp.version-control.git/196506 (note that gc --aggressive implies repack -f) | 18:47 |
| ← Jackneill left | 18:48 |
| → webguynow joined | 18:48 |
| → g0bl1n joined | 18:48 |
| ← g0bl1n left | 18:48 |
|
milki
| variable: just set windowsize to over 9000 | 18:50 |
| → pfFred joined | 18:51 |
| ← mishok13 left | 18:53 |
| → sq-one joined | 18:53 |
| ← pfFredd left | 18:54 |
| ← marcogmonteiro left | 18:54 |
| → marcogmonteiro joined | 18:56 |
| → SkAzZ2 joined | 18:59 |
| ← SkAzZ1 left | 19:01 |
| ← ZooLer left | 19:04 |
| → williamcotton joined | 19:04 |
| → SegFaultAX|work joined | 19:05 |
| ← Guest78533 left | 19:05 |
| → glennpratt joined | 19:06 |
| → johtso joined | 19:10 |
| → Guest78533 joined | 19:12 |
| → ZooLer joined | 19:12 |
| → francisfish joined | 19:13 |
|
rryoumaa
| my experience on a medium size repo is that aggressive works well at reducing size but turns the computer into a decorative heat source for hours | 19:14 |
| ← txomon left | 19:14 |
| → benellix joined | 19:14 |
| ← benellix left | 19:14 |
| ← gusnan left | 19:16 |
| → Dragooon joined | 19:16 |
| → Logxen joined | 19:16 |
| ← tharkun left | 19:17 |
| → tharkun joined | 19:17 |
|
offby1
| for some value of "decorative" | 19:17 |
|
milki
| oo | 19:17 |
|
| sounds like a good heater | 19:17 |
|
| maybe i should do that next time when its too cold | 19:17 |
|
cbreak
| just don't use all cores... | 19:18 |
|
milki
| rryoumaa: medium would be? variable is working with a 19GB repo | 19:18 |
|
variable
| milki: haha | 19:18 |
|
| rryoumaa: yeah, how big is 'medium' ? | 19:19 |
|
rryoumaa
| about 100mb | 19:19 |
|
milki
| >.< | 19:19 |
|
variable
| rryoumaa: :] | 19:19 |
|
milki
| variable: did you see the links i posted last night? | 19:19 |
|
variable
| milki: no | 19:19 |
|
milki
| hmmm | 19:19 |
| ← Lgb left | 19:20 |
|
milki
| 22:53 < milki> http://www.google-melange.com/gsoc/project/google/gsoc2012/flyingflo/12002 | 19:20 |
|
| 22:54 < milki> http://www.google-melange.com/gsoc/project/google/gsoc2012/tgummerer/12001 | 19:20 |
|
| 22:59 < milki> http://git-scm.com/about/small-and-fast | 19:20 |
|
| 22:59 < milki> if you look at the bottom | 19:20 |
|
| 23:00 < milki> it shows a git clone larger than the svn checkout | 19:20 |
|
| the first two are current gsoc projects that might be related | 19:20 |
|
| index format | 19:20 |
|
| and better svn tool | 19:20 |
|
variable
| ah, cool | 19:20 |
| → q4brk joined | 19:21 |
|
milki
| last shows git repo will probably be larger | 19:21 |
| ← gjoseph left | 19:21 |
| → HyperNerdV2_ joined | 19:21 |
| → Lgb joined | 19:21 |
| ← HyperNerdV2 left | 19:24 |
| ← QuantumQuanta left | 19:24 |
| ← izissise left | 19:25 |
| → nadavoid joined | 19:25 |
| ← HyperNerdV2_ left | 19:26 |
| ← thearthur left | 19:26 |
| ← joepie91 left | 19:27 |
| → joepie91 joined | 19:28 |
| ← Parhs left | 19:28 |
| → Parhs joined | 19:28 |
| ← parcs` left | 19:29 |
| ← SkAzZ2 left | 19:31 |
| → Parhs8 joined | 19:33 |
| ← Parhs left | 19:33 |
| ← rryoumaa left | 19:34 |
| ← aristidesfl left | 19:34 |
| → thearthur joined | 19:34 |
| → SkAzZ joined | 19:36 |
| ← LucasTizma left | 19:36 |
| ← DofLeFou left | 19:37 |
| → aristidesfl joined | 19:37 |
| → SkAzZ1 joined | 19:37 |
| ← Bass10 left | 19:39 |
| ← piecyk left | 19:39 |
| → mgpcoe joined | 19:40 |
| ← Sigma left | 19:40 |
| ← SkAzZ left | 19:41 |
| → sixteneighty joined | 19:41 |
| → kfe joined | 19:41 |
| → aspotashev joined | 19:41 |
| → mishok13 joined | 19:42 |
| ← nadavoid left | 19:42 |
| ← glennpratt left | 19:42 |
| → rryoumaa joined | 19:43 |
| → friskd joined | 19:45 |
| ← friskd left | 19:45 |
| → glennpratt joined | 19:46 |
| → ToBeFree joined | 19:46 |
| ← irqq left | 19:48 |
| ← drizzd left | 19:48 |
| ← marcogmonteiro left | 19:49 |
| → drizzd joined | 19:49 |
|
charon
| thought that *highly* depends on contents | 19:50 |
| ← resmo__ left | 19:50 |
| ← Logxen left | 19:50 |
| → shruggar joined | 19:51 |
| → urbanmonk joined | 19:51 |
|
charon
| milki, variable: i had one case where the worktree was ~300MB, the SVN backing store took more than 600 and the git conversion ended up at 35 after liberal application of --window-size | 19:53 |
|
| so it's really *highly* content dependent | 19:53 |
|
| (35 for the pack, i should say) | 19:53 |
| → thiago joined | 19:54 |
|
variable
| charon: understood. | 19:56 |
| ← dr_lepper left | 19:57 |
| gitinfo set mode: +v | 19:58 |
|
rryoumaa
| what does window size affect? only aggressive? is it slower? | 19:58 |
| ← Parhs8 left | 20:00 |
|
charon
| the window refers to the set of objects that are considered as a delta base for the current object | 20:00 |
| ← urbanmonk left | 20:00 |
|
charon
| the rules according to which the window is chosen are somewhat complicated | 20:00 |
|
| but yeah, runtime goes through the roof if you set it higher | 20:01 |
| ← ehsan left | 20:01 |
| → Parhs joined | 20:01 |
|
charon
| whether it makes a difference largely depends on the content... if a higher window size means it can suddenly find a good delta base, then great. if not, you just wasted a lot of cpu searching in vain | 20:01 |
| ← h0bbit left | 20:01 |
| → LekeFly joined | 20:02 |
| ← berserkr left | 20:03 |
|
cmn
| peff posted some statistics on the ML some days ago | 20:04 |
|
| going beyond 40 or so just adds CPU time | 20:04 |
|
charon
| yeah i linked that earlier | 20:04 |
| → berserkr joined | 20:04 |
|
charon
| http://article.gmane.org/gmane.comp.version-control.git/196506 | 20:04 |
|
cmn
| ah, right; it had scrolled off my window | 20:05 |
|
charon
| note that he also had an example where it made a massive impact | 20:05 |
| ← twisted` left | 20:06 |
|
charon
| kind of makes you wonder whether a randomized probing approach might see what would be a good number | 20:06 |
| → smw_ joined | 20:07 |
| → voidx joined | 20:08 |
| ← j416 left | 20:08 |
| → twisted` joined | 20:09 |
| ← Parhs left | 20:10 |
| → Parhs joined | 20:11 |
| → jfelchner joined | 20:14 |
| ← thearthur left | 20:15 |
| → wsc joined | 20:15 |
| → connormai joined | 20:17 |
| ← connormai left | 20:17 |
|
cmn
| a completely randomized algo should make some things slower | 20:18 |
|
| at least that's what git's packing assumes | 20:18 |
| → Slix` joined | 20:18 |
| → connormai joined | 20:18 |
| ← connormai left | 20:18 |
|
cmn
| you could end up with HEAD being behind a few delta chains | 20:18 |
|
charon
| huh? | 20:18 |
|
cmn
| git stores the latest objects undeltified | 20:19 |
|
| assuming you'll use them more often | 20:19 |
|
| or maybe you were going in a completely different direction | 20:19 |
|
charon
| no i meant something else... what if for 2^-i fraction of the objects, you try a 2^i window instead of a smaller one | 20:19 |
|
| then if that works out well, start tuning it upwards | 20:20 |
|
| or some such. | 20:20 |
|
| or pick a random subset of the objects, and see what a larger window would do *before* packing anything | 20:20 |
|
| just something that makes it content-aware instead of a fixed "experience-based" approach that peff clearly showed does not apply very well in some cases | 20:20 |
|
cmn
| yeah, dynamically changing the window size could produce interesting results | 20:21 |
| neersighted|AFK → neersighted | 20:22 |
| → diegoviola joined | 20:23 |
| → ferdna joined | 20:23 |
| → connormai joined | 20:25 |
| ← thiago left | 20:25 |
| ← connormai left | 20:26 |
| ← sdeboey left | 20:26 |
| ← dreiss left | 20:30 |
| → kukks joined | 20:31 |
| ← veyres left | 20:32 |
| ← Icyberg left | 20:33 |
| ← mishok13 left | 20:34 |
| → Sigma joined | 20:36 |
| ← voidx left | 20:37 |
| → voidx joined | 20:37 |
| ← MichaelRpdx left | 20:38 |
| → bglusman joined | 20:39 |
| ← voidx left | 20:39 |
| → voidx joined | 20:40 |
| → connormai joined | 20:41 |
| ← connormai left | 20:41 |
| ← bglusman left | 20:44 |
| → resmo_ joined | 20:45 |
| ← apetrescu left | 20:46 |
| → Mowsh joined | 20:47 |
| ← subbyyy left | 20:47 |
| ← Dave^| left | 20:47 |
| ← Sigma left | 20:48 |
| → cagedwisdom joined | 20:53 |
|
milki
| charon: what was the content of your repo? | 20:53 |
|
| variable's is really a lot of tiny text files | 20:53 |
| → DofLeFou joined | 20:53 |
|
milki
| makefiles, diffs, lists of iles | 20:53 |
|
| f | 20:53 |
| ← fairuz left | 20:54 |
|
ori
| shruggar: what is the git annex alternative ? | 20:56 |
| → dvide_ joined | 20:56 |
| ← dvide left | 20:57 |
| ← sixteneighty left | 20:57 |
| → n2diy joined | 20:58 |
| ← alexukf left | 21:00 |
| → peppyheppy joined | 21:01 |
| ← aristidesfl left | 21:02 |
| → fairuz joined | 21:02 |
| → subbyyy joined | 21:03 |
| → eijk joined | 21:03 |
| ← q4brk left | 21:04 |
| ← wsc left | 21:05 |
| → boombatower joined | 21:05 |
|
shruggar
| ori: what's that? | 21:07 |
|
| ori: are you asking what git annex is, or an alternative to git annex? | 21:07 |
|
ori
| i read about annex, says it just keep tracks of the file info and not content | 21:08 |
| → ipalaus_ joined | 21:08 |
|
shruggar
| (btw: I'm not usually responsive on the weekend, this window just auto-loads) | 21:08 |
| → juvenal joined | 21:08 |
|
ori
| but earlier you said there is another alternative | 21:08 |
|
| i want to read on it | 21:08 |
|
shruggar
| I'll try !annex | 21:08 |
|
gitinfo
| Storing lots of binary files in git causes repo balloon. git-annex and git-media are two solutions to work around this by keeping the blobs out of the repo. http://git-annex.branchable.com/ and https://github.com/schacon/git-media | 21:08 |
|
shruggar
| git-media, there it is | 21:08 |
| ← DofLeFou left | 21:09 |
|
shruggar
| the point its: they don't store the data in git, just "pointers to" the data, as git doesn't handle large data well | 21:09 |
| → ipalaus__ joined | 21:09 |
|
shruggar
| I would expect annex to include solutions for fetching the data itself | 21:09 |
|
ori
| yeah but it has to be *safe* | 21:10 |
|
| not what i want | 21:10 |
|
shruggar
| store it somewhere safe. I like amazon's s3 | 21:11 |
|
cbreak
| you think that's safe? | 21:12 |
|
shruggar
| safer than anything I have locally, yeah | 21:12 |
|
cbreak
| but not safer than storing it in multiple places | 21:12 |
|
cmn
| safe != secure | 21:12 |
| ← ipalaus_ left | 21:12 |
|
cbreak
| I've heard of quite a few cloud storage failures | 21:12 |
|
EugeneKay
| s/safe/reliable/ | 21:12 |
|
cbreak
| there were some with data loss at amazon too | 21:13 |
|
| something with a router issue or so | 21:13 |
|
cmn
| reminds me of the guy who had some bitcoin purse on EC2 and shut down the machine, deleting all the data | 21:13 |
|
cbreak
| could have been azure, not sure | 21:13 |
|
EugeneKay
| Azure had a massive SSL failure stemming from Feb 29th | 21:13 |
|
cmn
| MS managed to loose (or almost loose) a shitload of data from that phone they only have in the US | 21:13 |
|
EugeneKay
| Shouldn't happen again until 2016 | 21:13 |
| ← d0k left | 21:14 |
|
ori
| any of you guys use dropbox to host the remote ? | 21:14 |
|
cmn
| !dropbox | 21:14 |
|
gitinfo
| Storing a bare repository on DropBox is a Very Bad Idea (tm). Everybody who has tried it has reported repo corruption, slowness in synchronizing, and general pain. Use a free code-hosting service such as Bitbucket or GitHub instead. | 21:14 |
|
ori
| who is everybody | 21:14 |
| → are_kim joined | 21:15 |
| ← xsbeats left | 21:16 |
| ← are_kim left | 21:16 |
|
cmn
| people who have a) used dropbox to host their git repos and b) reported that it corrupts objects | 21:16 |
|
| I realise it looks like it should work, but it doesn't | 21:16 |
|
| dropbox sees two files with the same name and gets horribly confused | 21:16 |
|
cbreak
| cmn: danger sidekick thing? They lost everything afaik | 21:17 |
| ← Dragooon left | 21:17 |
|
ori
| why, all files are sha1 based | 21:17 |
|
| right ? | 21:17 |
| → xsbeats joined | 21:17 |
|
cbreak
| ori: don't use dropbox, it's garbage | 21:17 |
| ← jfelchner left | 21:18 |
|
cmn
| cbreak: yeah, that one | 21:18 |
|
ori
| cbreak: did you use it ? | 21:18 |
|
EugeneKay
| ori - try it, cry, don't try it again. ;-) | 21:18 |
|
| Or, skip straight to: don't do that | 21:18 |
|
cmn
| if you want to do it, do it | 21:18 |
| ← iwoj left | 21:18 |
|
ori
| its going to be my 4th repo | 21:18 |
|
cbreak
| I heard of someone in here who had massive problems with the daemon in the background messing up his repository | 21:18 |
|
cmn
| but don't say we didn't warn you | 21:18 |
|
rryoumaa
| EugeneKay: got a better, gratis, open-protocol alternative? | 21:18 |
|
cbreak
| it didn't work until he stopped the daemon | 21:18 |
|
ori
| so if it dies its an experience, not a terrible outcome | 21:18 |
| → iwoj joined | 21:18 |
|
cmn
| then do it | 21:19 |
| ← ology left | 21:19 |
| → eddiee joined | 21:19 |
|
rryoumaa
| i'd like to have a simple command line interface to gdrive or similar | 21:19 |
|
| (curl, rsync, etc.) | 21:19 |
|
cbreak
| cam | 21:19 |
|
| can't you mount it? | 21:19 |
|
| your drive? | 21:19 |
| → aristidesfl joined | 21:20 |
|
EugeneKay
| rryoumaa - !gitolite ;-) | 21:21 |
|
gitinfo
| rryoumaa: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html | 21:21 |
|
rryoumaa
| EugeneKay: i meant alternative to dropbox | 21:21 |
|
| gratis backup stuff (don't even care about git or sync) | 21:21 |
|
EugeneKay
| My only usecase for dropbox at present is hosting images from my phone is imgur. I do all of my backup via rsync to my server farm. | 21:22 |
|
| s/something in that sentence/imgur | 21:22 |
| ← eddiee left | 21:22 |
| → Mjiig joined | 21:22 |
|
cbreak
| you have a server farm? | 21:23 |
|
| cbreak wants one too | 21:23 |
|
EugeneKay
| Corn-raised | 21:23 |
| ← mister_m left | 21:23 |
| → thebignoise joined | 21:23 |
|
ori
| i am pushing the same commit to two repos | 21:24 |
|
| one reports that its 284.33mb the other 284.26mb... each repo on a different drive, ideas? | 21:24 |
|
EugeneKay
| The commit object? Or the whole repo size? | 21:24 |
|
cmn
| one what reports? | 21:24 |
|
EugeneKay
| Because that sounds like it's within the margin of error of packfiles on different repos | 21:25 |
|
ori
| write object..... and then total 428 delta 118 vs write obj ..... total 428 delta 120 | 21:25 |
|
cmn
| you're pushing to different repos | 21:25 |
| → igotnolegs joined | 21:25 |
|
cmn
| they're different | 21:26 |
|
ori
| physically different, but identical in every count | 21:26 |
|
| i push to 3 repos on each commit | 21:26 |
|
EugeneKay
| Talk to git-gc about it | 21:26 |
|
ori
| i have no idea what you mean | 21:27 |
| → BiggFREE joined | 21:27 |
|
EugeneKay
| A repo is a collection of objects. These objects are usually packed together to save space. Differnet repos can come up with different packfiles for (mostly) the same contents. | 21:27 |
|
| It's a non-deterministic algorithm | 21:27 |
| ← thebignoise left | 21:28 |
|
ori
| its the same objects, same commit pushed to all 3 repos sequentially | 21:28 |
|
| how can a compression algorithm be non deterministic | 21:29 |
| → catsup joined | 21:29 |
|
cmn
| by producing different results | 21:29 |
|
ori
| thats the outcome, not the reason | 21:29 |
|
cmn
| it tries some combinations and has to decide | 21:29 |
|
| it's not an outcome | 21:30 |
| ← shruggar left | 21:30 |
| ← giallu left | 21:30 |
|
cmn
| the reason is that Linus wrote it that way way back when | 21:30 |
|
EugeneKay
| Unless you can 100% guarantee that the same files went to each repo at the same exact time in the same exact order, then it is perfectly understandable that you get different results. | 21:30 |
|
| Like I said, <EugeneKay> Talk to git-gc about it | 21:30 |
|
ori
| yes same files went to each repo, not at the same time, but sequentially. meaning that after pushing to repo1 it pushed to 2, then 3. | 21:32 |
| ← pantsman left | 21:33 |
| ← tharkun left | 21:33 |
| ← mikepack left | 21:33 |
| → mikepack joined | 21:34 |
| → sdeboey joined | 21:34 |
| ← mikepack left | 21:34 |
| → mikepack joined | 21:35 |
| → vervic joined | 21:35 |
| ← iwoj left | 21:35 |
| ← sq-one left | 21:37 |
| → thiago joined | 21:38 |
| ← thiago left | 21:38 |
| → thiago joined | 21:38 |
| → zaiste joined | 21:39 |
|
Mjiig
| ori: if they went at different times then the trees would have different timestamps in them, so the files would be marginally different | 21:39 |
| ← Chillance left | 21:39 |
|
Mjiig
| which makes a difference when you go onto compress | 21:40 |
| ← todd_dsm left | 21:40 |
| → Chillance joined | 21:40 |
|
cbreak
| trees don't store timestamps | 21:40 |
|
CareBear\
| ori : my guess is that you have not always pushed exactly the same changes to these three repos at the same time | 21:41 |
|
| ori : why is the small difference in size a problem for you? | 21:41 |
| ← BiggFREE left | 21:41 |
|
ori
| not a problem, wanted to know | 21:41 |
|
| yes so if the time is a factor. that must be it | 21:42 |
|
| speaking of time, is there a way to store meta data some how. so i get the original files creation date and time | 21:42 |
|
Mjiig
| cbreak: i'm not that great on my vim internals, something does though :) might be commits... | 21:42 |
| → DofLeFou joined | 21:42 |
|
Mjiig
| git not vim obviously | 21:42 |
|
cbreak
| commits store time stamps. | 21:43 |
|
| but one commit has exactly two time stamps | 21:43 |
|
| unchangeably | 21:43 |
|
| embedded in history | 21:43 |
|
| nothing can change it | 21:43 |
| ← milki left | 21:43 |
|
ori
| yeah i got that | 21:44 |
|
| i was talking about an addon or something that also keeps the original creation time of files | 21:44 |
| → tharkun joined | 21:44 |
|
Mjiig
| cbreak: but if you make the commit twice to 2 different repos, identical in every way except when you make them, then the two repos would be (slightly) different because they would have different timestamps on the commit | 21:44 |
|
cbreak
| and a different commit | 21:45 |
|
| which means diverging history | 21:45 |
|
ori
| i commit once | 21:45 |
|
cbreak
| which means you have to merge later on | 21:45 |
|
ori
| push 3 times | 21:45 |
|
| not commit 3 times | 21:45 |
|
cmn
| there is no space in the tree to store timestamps | 21:45 |
|
ori
| thats why i have asked about an extension to git | 21:46 |
|
cmn
| that would make it completely incompatible with git | 21:46 |
|
ori
| i read something earlier, but dont remember if its real or not | 21:46 |
|
cbreak
| I don't see a point for storing that | 21:46 |
| ← francisfish left | 21:46 |
|
cmn
| people keep tyring to use git as a filesystem | 21:46 |
|
rryoumaa
| ori: it exists | 21:46 |
|
cmn
| bup might care | 21:46 |
|
rryoumaa
| i don't know what it is called, but it stores a file with metadata | 21:46 |
|
ori
| but bup relies on annex | 21:47 |
| → psoo joined | 21:47 |
|
cmn
| are you sure? | 21:47 |
|
cbreak
| it does not. | 21:48 |
| → drev1 joined | 21:48 |
|
cbreak
| it's an unrelated project. | 21:48 |
|
ori
| http://git-annex.branchable.com/special_remotes/bup/ | 21:48 |
|
| maybe i am wrong | 21:48 |
|
cbreak
| you are wrong. | 21:48 |
|
bremner
| annex can optionally use bup | 21:48 |
| ← peppyheppy left | 21:49 |
|
ori
| looks like its only for big files | 21:49 |
|
cbreak
| bup is a backup system | 21:49 |
|
| it's for any kind of files | 21:49 |
| ← tharkun left | 21:50 |
| → maletor joined | 21:50 |
| → marcuy_ joined | 21:51 |
| ← Mjiig left | 21:53 |
| → tharkun joined | 21:54 |
| ← marcuy left | 21:54 |
| → dr_lepper joined | 21:54 |
| ← dr_lepper left | 21:54 |
| → dr_lepper joined | 21:54 |
| ← alfplayer left | 21:55 |
| → alfplayer joined | 21:56 |
| ← berserkr left | 21:58 |
| → Element9 joined | 21:59 |
|
joepie91
| where can I find documentation on the exact format of git (v2) packfiles? | 22:00 |
|
EugeneKay
| The source code. | 22:01 |
|
cmn
| Documentation/pack-format.txt | 22:01 |
|
| or similar | 22:01 |
|
joepie91
| cmn: doesn't that just cover v1? | 22:01 |
| ← raatiniemi left | 22:01 |
|
joepie91
| several articles I found that refered to pack-format.txt said it was about v1 only :/ | 22:02 |
| → avinashhm joined | 22:02 |
|
cmn
| have you checked personally? | 22:03 |
|
| also, are you sure you're talking about packfile format and not pack index format? | 22:03 |
|
joepie91
| whoops, I meant pack index format indeed | 22:03 |
|
| sorry | 22:04 |
|
cmn
| as we say here, !blog | 22:04 |
|
gitinfo
| Blog posts, while helpful and informative, are quite often outdated, give bad advice, or are just plain wrong. Please don't rely solely upon them, or treat them as authoritative. | 22:04 |
| ← ToBeFree left | 22:05 |
| ← Radium left | 22:05 |
| → felher joined | 22:06 |
|
cmn
| and I know for a fact that it's described there because that's what I used to implement a packfile indexer | 22:06 |
| ← sdaone left | 22:07 |
|
joepie91
| right, thanks :P | 22:07 |
| ← tharkun left | 22:08 |
| → tharkun joined | 22:08 |
| → stkrzysiak joined | 22:08 |
| → kcj joined | 22:13 |
| → Radium_ joined | 22:15 |
| → Noobus joined | 22:15 |
| ← smw_ left | 22:15 |
| ← glennpratt left | 22:16 |
| → _W_ joined | 22:16 |
| ← ipalaus__ left | 22:16 |
| ← thelazydeveloper left | 22:17 |
| ← blacktulip left | 22:18 |
| → milki joined | 22:18 |
| → patrick99e99 joined | 22:18 |
| ← mikepack left | 22:18 |
| → mikepack joined | 22:19 |
| → TehDeviance joined | 22:19 |
| ← TehDeviance left | 22:19 |
| ← kcj left | 22:19 |
| → jim0203 joined | 22:20 |
| → thelazydeveloper joined | 22:21 |
| ← drizzd left | 22:21 |
| → kcj joined | 22:22 |
| ← kfe left | 22:23 |
| ← mikepack left | 22:23 |
| ← whitman left | 22:24 |
| → fisted joined | 22:24 |
| → mister_m joined | 22:28 |
| ← pppaul left | 22:31 |
| ← ph^ left | 22:31 |
| → shruggar joined | 22:32 |
| → pppaul joined | 22:32 |
| ← psoo left | 22:34 |
| → pythonsnake joined | 22:36 |
|
pythonsnake
| hi | 22:36 |
|
gitinfo
| pythonsnake: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 22:36 |
|
pythonsnake
| i have git checkout'ed | 22:36 |
|
| now how can I reset to when i just checked out | 22:36 |
|
SethRobertson
| !fixup | 22:36 |
|
gitinfo
| So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 22:36 |
|
pythonsnake
| without what i added/removed | 22:37 |
|
| or modified | 22:37 |
|
charon
| milki: tex sources for lecture notes, mostly. some figures in various source and/or ps/pdf formats. | 22:37 |
| ← keltvek left | 22:37 |
|
pythonsnake
| i didn't git commit | 22:37 |
|
SethRobertson
| pythonsnake: !fixup | 22:37 |
|
gitinfo
| pythonsnake: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 22:37 |
|
pythonsnake
| i didn't git commit | 22:37 |
|
SethRobertson
| do it anyway | 22:37 |
|
| (follow the link I mean) | 22:38 |
|
pythonsnake
| oh thanks | 22:38 |
|
| thanks!! | 22:38 |
|
| been searching for hours | 22:38 |
|
| minutes* | 22:39 |
| → ivan` joined | 22:39 |
|
pythonsnake
| :P | 22:39 |
| ← apok left | 22:39 |
| → keltvek joined | 22:39 |
| ← Salash left | 22:40 |
| → Salash joined | 22:42 |
| ← Salash left | 22:43 |
| → ISF joined | 22:44 |
| ← tharkun left | 22:44 |
| → tharkun joined | 22:44 |
| → Salash joined | 22:45 |
|
milki
| charon: so possibly the gc with window size will indeed help a lot for variable | 22:45 |
| ← Salash left | 22:45 |
| ← patrick99e99 left | 22:45 |
| → Salash joined | 22:46 |
| → apok joined | 22:47 |
| ← saurik left | 22:47 |
| ← fishguy left | 22:48 |
| ← Fullmoon left | 22:49 |
| ← apok left | 22:49 |
| ← Salash left | 22:50 |
| → kadoban joined | 22:52 |
| ← mister_m left | 22:52 |
| ← DofLeFou left | 22:53 |
| ← mwrosen left | 22:57 |
| → tr-808 joined | 22:59 |
|
Parhs
| omg that sucks... http://www.newsit.gr/default.php?pname=Article&art_id=137886&catid=3 (irrilevant ) | 23:01 |
| → mister_m joined | 23:01 |
| ← aristidesfl left | 23:02 |
|
offby1
| what really sucks is that Google Translate won't translate it into English for me | 23:02 |
| → Lulzon joined | 23:03 |
| → codeM0nK3Y joined | 23:04 |
|
Parhs
| why that offby1? | 23:04 |
| ← tr-808 left | 23:04 |
|
offby1
| I don't know why. | 23:04 |
| → aristidesfl joined | 23:05 |
|
Parhs
| http://translate.google.gr/translate?sl=el&tl=en&js=n&prev=_t&hl=el&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.newsit.gr%2Fdefault.php%3Fpname%3DArticle%26art_id%3D137886%26catid%3D3&act=url | 23:05 |
|
| that works | 23:05 |
| → glennpratt joined | 23:06 |
| → ErsatzRyan joined | 23:06 |
| ← glennpratt left | 23:06 |
| ← kadoban left | 23:06 |
| → kadoban_ joined | 23:07 |
| → LucasTizma joined | 23:08 |
| → Bass10 joined | 23:13 |
| ← robbyoconnor left | 23:13 |
| ← brokenshakles left | 23:14 |
| → tr-808 joined | 23:14 |
| ← tharkun left | 23:16 |
| ← Noobus left | 23:16 |
| → tharkun joined | 23:16 |
| → erichynds joined | 23:18 |
| → khmarbaise joined | 23:18 |
| ← khmarbaise left | 23:19 |
| ← tharkun left | 23:20 |
| → nutron joined | 23:20 |
| → BBBThunda joined | 23:21 |
| ← teweWORK left | 23:21 |
| → Prime1309 joined | 23:21 |
| → apok joined | 23:22 |
| → brokenshakles joined | 23:22 |
| ← cehteh left | 23:22 |
| → GNUcifer joined | 23:25 |
| ← ErsatzRyan left | 23:25 |
| ← aspotashev left | 23:25 |
| ← diegoviola left | 23:25 |
|
cmn
| is that article about something in particular? | 23:26 |
|
BBBThunda
| when I do a "git remote set-url origin ssh://git@hostname" I get "ssh: hostname:: no address associated with name" .... but when I ping hostname or ssh to it, dns resolves it and it works fine. Any ideas? (I'm using Git Bash with msysgit on Windows 7) | 23:26 |
|
cmn
| make sure you haven't overriden the hostname in the ssh config | 23:27 |
|
| and that you haven't made a typo | 23:27 |
|
BBBThunda
| sorry... forgot to mention I get that error when doing a git push or git pull etc. | 23:28 |
| ← airborn left | 23:28 |
|
cmn
| I assumed | 23:28 |
| ← Lulzon left | 23:29 |
| → Nugget__ joined | 23:29 |
| → Lulzon joined | 23:29 |
|
cmn
| also check that you're using ssh instead of plink or whatever to connect | 23:29 |
|
BBBThunda
| cmn, would that be under ~/.ssh ? if so, all I have there are key files and known hosts | 23:30 |
|
cmn
| there are a fwe places, but yeah, you'd have configured in ~/.ssh/config | 23:31 |
| → tharkun joined | 23:31 |
| → ehsan joined | 23:31 |
| ← glcrazy left | 23:32 |
|
BBBThunda
| I tried deleting the known hosts entry and doing an ssh again, which worked... but still can't push/pull with hostname | 23:32 |
|
cmn
| that doesn't change anyhting | 23:32 |
|
| other than opening you up to a MITM attack | 23:32 |
| ← Soliton left | 23:32 |
| ← GNUcifer left | 23:33 |
| → zendeavor joined | 23:34 |
| ← arietis left | 23:34 |
| ← Radium_ left | 23:34 |
|
BBBThunda
| i don't know where else I would have any ssh config overriding anything... does git maybe use the "host" command to resolve? if so I don't think that command exists in git bash | 23:34 |
|
cmn
| you mean the host utility/ | 23:34 |
|
| git uses the systems' DNS functions | 23:35 |
|
BBBThunda
| I assume ping does also... and that one resolves | 23:35 |
| → SamDiablo joined | 23:37 |
| ← SamDiablo left | 23:37 |
|
cmn
| yes, we've establishes that the hostname exits | 23:38 |
|
| what about the other stuff? | 23:38 |
|
BBBThunda
| i used ssh command in git bash, not plink/putty | 23:38 |
|
cmn
| fine, s/you're/git is/ | 23:40 |
|
offby1
| BBBThunda: !repro might help us help you | 23:40 |
|
gitinfo
| BBBThunda: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting. | 23:40 |
| → robbyoconnor joined | 23:40 |
| ← stkrzysiak left | 23:40 |
| → BiggFREE joined | 23:41 |
| → petisnnake joined | 23:42 |
| ← eijk left | 23:43 |
| ← rryoumaa left | 23:47 |
| → stkrzysiak joined | 23:47 |
| → GNUcifer joined | 23:48 |
|
BBBThunda
| Can't get a transcript because the git bash buffer doesn't go back that far. I honestly don't think it would help anyway... but I'll re-type and put it in a gist if you think that will help. Note that I'm not using github. I'm using my own server for the remote repo. | 23:48 |
| → Soliton joined | 23:48 |
| ← Mowsh left | 23:50 |
|
cmn
| huh? did they disable the scrollback? | 23:52 |
| → Radium joined | 23:52 |
| ← Lulzon left | 23:52 |
| ← tharkun left | 23:52 |
|
cmn
| either way, there's no need to retype anything | 23:52 |
| → airborn joined | 23:53 |
|
cmn
| use the history | 23:53 |
|
FauxFaux
| cmn: It's cmd hosted, so probably has the default 200 lines or whatever nonsense. | 23:53 |
| → apetrescu joined | 23:53 |
|
offby1
| BBBThunda: that's annoying, if the terminal has no scrollback. (I myself generally disable scrollback because I'm a cowboy, but I'd expect it to be enabled by default) | 23:54 |
|
FauxFaux
| offby1: Don't worry, screen(1)'ll maintain it for you anyway. | 23:54 |
| → diegoviola joined | 23:54 |
|
cmn
| ugh, I get annoyed when I have less than a few screenfulls of scrollback | 23:54 |
|
BBBThunda
| there's a scrollback, but it only goes back, maybe 350 lines or so | 23:54 |
|
cmn
| then use the history to redo it | 23:55 |
|
offby1
| FauxFaux: screen doesn't work on Windows. | 23:55 |
|
cmn
| they can't have fucked that up as well | 23:55 |
|
offby1
| I assume you're pulling my leg. | 23:55 |
| ← lonewulf` left | 23:55 |
|
FauxFaux
| Surely someone's implemented screen by now. >.> | 23:55 |
|
cmn
| offby1: that's why you ssh into a real computer | 23:55 |
|
offby1
| BBBThunda: ah, and you've done lots of stuff since then. Gotcha | 23:55 |
|
| cmn: well, yes, it is :) But I doubt that will help BBBThunda at this moment. | 23:56 |
| ← petisnnake left | 23:56 |
|
cmn
| maybe not, but there's no need for that anyway | 23:56 |
| ← Radium left | 23:56 |
|
cmn
| there is no problem; bash keeps a history of the executed commands | 23:57 |
|
BBBThunda
| oh you mean bash history? | 23:57 |
|
| i thought you waned a git log | 23:57 |
|
cmn
| whatever for? | 23:57 |
|
| your problem isn't with the git history | 23:58 |
| ← cakehero left | 23:58 |
|
BBBThunda
| i didn't think it was... but figured you knew something I didn't :) | 23:58 |
| ← apok left | 23:58 |