| 2012-01-29 |
| ← aalex left | 00:00 |
| ← nOStahl left | 00:00 |
| → matsebc joined | 00:01 |
| tizzo → tizzo-afk | 00:01 |
| ← koo3 left | 00:02 |
| ← eijk_ left | 00:04 |
| ← shruggar left | 00:06 |
| → uu joined | 00:06 |
| ← Destos left | 00:08 |
| → conntrack joined | 00:08 |
| ← matsebc left | 00:11 |
| ← techhelp left | 00:11 |
| → LucasTizma joined | 00:13 |
| ← jargon- left | 00:14 |
| → maartenv joined | 00:17 |
| → traviscj joined | 00:17 |
| ← LucasTizma left | 00:20 |
| → nikuyoshi joined | 00:22 |
| ← detaer left | 00:23 |
| ← Goplat left | 00:24 |
| ← flaguy48 left | 00:24 |
| → mikepack joined | 00:24 |
| ← di-five left | 00:27 |
| ← bolt left | 00:28 |
| → zomothesweeper joined | 00:29 |
| ← Demego left | 00:30 |
| ← lapistano left | 00:31 |
| → lapistano joined | 00:31 |
| → bolt joined | 00:32 |
| evilniko → niko | 00:33 |
| ← Matrixiumn left | 00:35 |
| ← ajpiano left | 00:37 |
| → ajpiano joined | 00:39 |
| ← heinrich5991 left | 00:41 |
| → mulletron joined | 00:43 |
| → detaer joined | 00:43 |
| → frogonwheels joined | 00:45 |
| ← mezgani left | 00:46 |
| ← kryl99 left | 00:46 |
| → kryl99 joined | 00:47 |
| ← dSebastien_ left | 00:47 |
| ← frogonwheels left | 00:48 |
| ← caseymcg left | 00:49 |
| → dougsland joined | 00:50 |
| ← dougsland left | 00:50 |
| → dougsland joined | 00:50 |
| CEnnis91|Away → CEnnis91 | 00:51 |
| ← shad left | 00:51 |
| → shad joined | 00:51 |
| → smw joined | 00:52 |
|
smw
| how do I get the date of the last commit? | 00:53 |
|
SethRobertson
| `git show` among many other ways | 00:53 |
|
smw
| thanks | 00:53 |
| → heinrich5 joined | 00:54 |
| ← Praise left | 00:55 |
| ← ajpiano left | 00:57 |
| → Praise joined | 00:58 |
| tizzo-afk → tizzo | 00:59 |
| → ajpiano joined | 00:59 |
| tizzo → tizzo-afk | 01:01 |
| → friskd joined | 01:01 |
| → phillllijw joined | 01:03 |
| ← detaer left | 01:03 |
| ← bitkiller left | 01:04 |
| → sudoquai_ joined | 01:04 |
| ← sudoquai left | 01:06 |
| → matsebc joined | 01:06 |
| ← hyperair left | 01:07 |
| → frogonwheels joined | 01:07 |
| ← philllllijw left | 01:07 |
| → mando joined | 01:09 |
| ← tvw left | 01:12 |
| ← M_D_K left | 01:13 |
| ← matsebc left | 01:14 |
| ← uu left | 01:14 |
| → LeMike joined | 01:19 |
|
EugeneKay
| If your .bashrc contains the following line, you may be a bad person: alias git='ps1_git_date=0 && /usr/bin/git' | 01:19 |
| → nightshift joined | 01:19 |
|
cMike
| I'm having trouble setting up my git repo on my server, can anyone help me out? | 01:20 |
|
cbreak
| git init --bare | 01:20 |
|
| done | 01:20 |
|
cMike
| yeah, but my refs folder is having issues | 01:21 |
|
cbreak
| add a --shared if you will share it with other users | 01:21 |
|
| refs? problems? | 01:21 |
|
EugeneKay
| cMike: !repro | 01:21 |
|
gitinfo
| cMike: please paste (e.g. using http://git.pastebin.com/) a transcript of your terminal session in which the problem occurred so that we can troubleshoot more easily. | 01:21 |
| NiklasFiekas → NiklasFiekas|afk | 01:21 |
|
EugeneKay
| 20 ?'s is fun and all, but I'm out of booze | 01:21 |
| → nicxvan joined | 01:21 |
| ← nightshift left | 01:22 |
| → hyperair joined | 01:22 |
|
cMike
| http://pastebin.com/ZD6tTeTK | 01:22 |
| ← jacekmigacz left | 01:23 |
|
cMike
| EugeneKay: !repo? what does this do? | 01:23 |
|
gitinfo
| EugeneKay: [!large_repos] Git can be slow in the face of large repositories. There are git-config options which can help. pack.threads=1; pack.deltaCacheSize=1; pack.windowMemory=512m; core.packedGitWindowSize=16m; core.packedGitLimit=128m. Other likely ones exist. | 01:23 |
|
EugeneKay
| cMike - it's "repro", and see what gitinfo said about it | 01:24 |
|
cbreak
| cMike: you should have write permissions in the folder you want to use as repository | 01:24 |
| → reggal joined | 01:24 |
|
EugeneKay
| Or, to put it another way, !doesntwork | 01:25 |
|
gitinfo
| Or: Sorry to hear it doesn't work. What happened? Did it fall asleep on your couch? Eat your homework? What did you want it to do? What happened instead? Please be specific! | 01:25 |
| ← friskd left | 01:26 |
| ← mpabst left | 01:27 |
| → Samual joined | 01:28 |
| → neurodrone_ joined | 01:28 |
| ← neurodrone left | 01:29 |
| neurodrone_ → neurodrone | 01:29 |
| ← ajpiano left | 01:33 |
| → johnanderson joined | 01:33 |
| ← [M]ax left | 01:34 |
| ← reggal left | 01:34 |
| → ajpiano joined | 01:34 |
| → [M]ax joined | 01:35 |
| ← hyperair left | 01:35 |
| → reggal joined | 01:36 |
| → flaguy48 joined | 01:37 |
| → fayimora joined | 01:42 |
| ← reggal left | 01:45 |
| → reggal joined | 01:48 |
| ← reggal left | 01:48 |
| ← _md left | 01:51 |
| ← cMike left | 01:51 |
| → detaer joined | 01:53 |
| → mpabst joined | 01:54 |
| ← [M]ax left | 01:57 |
| → abetaha joined | 01:57 |
| ← skylord5816 left | 01:58 |
| → wuj joined | 01:58 |
| → rickmast joined | 01:59 |
| → [M]ax joined | 01:59 |
| ← rickmasta left | 02:00 |
| ← Russell^^ left | 02:00 |
| → sudoquai joined | 02:01 |
| ← sudoquai left | 02:01 |
| → yuwang joined | 02:02 |
| ← sudoquai_ left | 02:03 |
| → sudoquai joined | 02:03 |
| ← sudoquai left | 02:04 |
| ← mando left | 02:04 |
| → jk4 joined | 02:05 |
| ← JPT left | 02:06 |
| → sudoquai joined | 02:06 |
|
jk4
| i have a wierd issue that when i push to a cgit repo, cgit says "Repository seems to be empty | 02:06 |
|
| it doesn't seem to be related to version mismatches and another repo works fine. | 02:06 |
|
| i wonder if anyone else has had a similar issue and found a solution | 02:06 |
| ← matthiaskrgr left | 02:06 |
|
jk4
| goes like this: 1) repo works fine in cgit 2) pull, add/commit, push, 3) borked | 02:07 |
|
| but if it delete the repo on the server, create a bare repo and then push to it, it works | 02:07 |
| → Goplat joined | 02:08 |
|
jk4
| so wierd and had a hard time searching for symptoms like that | 02:08 |
| → matthiaskrgr joined | 02:09 |
| ← dibber left | 02:10 |
| → wilmoore joined | 02:11 |
| → Bmac joined | 02:12 |
| → __null joined | 02:15 |
|
bremner
| jk4: is the repo really "borked" or is cgit just confused? | 02:15 |
| → akosikeno joined | 02:15 |
| ← [M]ax left | 02:15 |
|
__null
| I just had to do a hard reset to a previous commit. Do I need to push after the hard reset? | 02:16 |
|
phillllijw
| can I run gc on the bare (origin) repo? | 02:16 |
|
__null
| The changes are made and all, but I'd like the current commit to be reflected on github | 02:16 |
|
RandalSchwartz
| if you did a reset, it'll have to be a forced push | 02:17 |
|
| and you will make people angry | 02:17 |
|
| !rewrite history | 02:17 |
|
gitinfo
| [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 02:17 |
|
__null
| i'm the only one using this | 02:17 |
| ← fayimora left | 02:18 |
| → Matrixiumn joined | 02:18 |
|
RandalSchwartz
| then why do you have it on github? | 02:18 |
|
| (third time I've heard this in two days) | 02:18 |
|
__null
| multiple work environments | 02:18 |
|
RandalSchwartz
| why not a private repo then? | 02:18 |
| → [M]ax joined | 02:18 |
|
__null
| i work for a non-profit | 02:18 |
|
| i don't want to spend money on a private gh | 02:18 |
|
| repo | 02:18 |
|
jk4
| bremner: the repo is fine. we can push and pull to our hearts' contents | 02:18 |
|
RandalSchwartz
| uh... WHAT? | 02:18 |
|
| github isn't the only game in town | 02:19 |
| ← johnanderson left | 02:19 |
|
__null
| i know this | 02:19 |
|
| i know about bitbucket | 02:19 |
|
| but i prefer github | 02:19 |
|
RandalSchwartz
| bitbucket isn't the only *other* game in twon | 02:19 |
| ← ahf left | 02:19 |
|
RandalSchwartz
| it's about 15 minutes to install gitolite | 02:19 |
|
jk4
| gitolite is pretty decent | 02:19 |
|
RandalSchwartz
| then you have a completely private repo that you can force-push to your heart's content | 02:19 |
|
| DON'T DO THAT ON GITHUB | 02:19 |
| ← Lgb left | 02:20 |
|
__null
| okay.. what's the best way to get the master github back to the previous commit without hurting your feelings? | 02:20 |
|
RandalSchwartz
| man git-revert | 02:20 |
|
gitinfo
| the git-revert manpage is available at http://jk.gs/git-revert.html | 02:20 |
| → ahf joined | 02:20 |
|
__null
| thanks | 02:20 |
|
RandalSchwartz
| add a commit that undoes the previous one | 02:20 |
|
| and next time, remember, when you push, it's on your permanent record | 02:20 |
|
| so think twice before you do that | 02:20 |
| → johnanderson joined | 02:20 |
| ← johnanderson left | 02:20 |
| → majorursa joined | 02:21 |
| → Lgb joined | 02:21 |
|
__null
| okay, thanks for the info | 02:21 |
|
| what do you have against github? | 02:21 |
|
| are they don't something that you don't approve of? | 02:22 |
|
RandalSchwartz
| I have nothing against it, when you're actually sharing stuff | 02:22 |
|
| but when it's *just* *you*, why publish there? | 02:22 |
|
RichiH
| is there a way to set a default email address for a repo so that git send-email will always send to this address by default? | 02:22 |
|
bremner
| yes | 02:23 |
|
RandalSchwartz
| git config blahblah | 02:23 |
|
bremner
| oh, to, sorry | 02:23 |
|
RandalSchwartz
| man git-config | 02:23 |
|
gitinfo
| the git-config manpage is available at http://jk.gs/git-config.html | 02:23 |
|
bremner
| from yes, to, I don't think so | 02:23 |
|
__null
| RandalSchwartz: it's just me for now. but in the future we will add developers | 02:23 |
|
RichiH
| bremner: yah, not from ;) | 02:23 |
|
| there is sendemail.cc and sendemail.bcc, but no sendemail.to | 02:24 |
| → guns joined | 02:25 |
| → philllllijw joined | 02:26 |
|
smw
| I forget the command to do this but I know it is possible. How can I make a new commit and branch at the same time? | 02:26 |
| → TomyLobo joined | 02:27 |
| → amigojapan joined | 02:27 |
|
smw
| anyone/ | 02:27 |
|
| ? | 02:27 |
| ← offby1 left | 02:29 |
| ← mpabst left | 02:29 |
| ← phillllijw left | 02:29 |
| → offby1 joined | 02:30 |
| ← offby1 left | 02:30 |
| → offby1 joined | 02:30 |
|
RandalSchwartz
| "make a new commit"? | 02:31 |
|
| don't make a commit that has no delta | 02:31 |
|
smw
| RandalSchwartz, I just managed to lose my changes :-\ | 02:31 |
|
RandalSchwartz
| that just makes things noisy | 02:31 |
|
| git checkout -b NEWBRANCH | 02:31 |
| ← JackWinter left | 02:32 |
|
RandalSchwartz
| that creates NEWBRANCH as the same as the current commit | 02:32 |
|
| that's generally what you want | 02:32 |
|
smw
| RandalSchwartz, good to know | 02:32 |
|
| RandalSchwartz, now I will go remake my changes :-\ | 02:32 |
| ← guns left | 02:32 |
| → jmoreira81 joined | 02:33 |
|
jmoreira81
| Hi! I'm having an issue…. I'm push to a remote repo, it says everything is up to date but nothing changes on the remote repo. Any clues? | 02:33 |
|
RandalSchwartz
| how do you know "nothing changes" | 02:34 |
|
| are you pushing to a non-bare repo? | 02:34 |
| → JackWinter joined | 02:34 |
|
| RandalSchwartz waits for jmoreira81 | 02:34 |
| → [RHQme]stringo0 joined | 02:34 |
|
jmoreira81
| yea... | 02:35 |
| ← stringoO left | 02:35 |
|
RandalSchwartz
| !non-bare | 02:35 |
|
jmoreira81
| i'm pushing to a non-bare repo | 02:35 |
|
RandalSchwartz
| !bare | 02:35 |
|
gitinfo
| an explanation of bare and non-bare repositories can be found here: http://bare-vs-nonbare.gitrecipes.de/ | 02:35 |
|
RandalSchwartz
| yaeh don't do that | 02:35 |
|
| push only to bare repos | 02:35 |
|
jmoreira81
| i'm sorry.. i was pushing to a bare | 02:35 |
|
| myrepo.git | 02:35 |
|
RandalSchwartz
| ok - then how do you know "nothing changes" | 02:35 |
|
jmoreira81
| it was working before i changed my hdd on my computer | 02:36 |
| ← Matrixiumn left | 02:36 |
|
| RandalSchwartz waits for something other than a non-answer | 02:36 |
|
RandalSchwartz
| How. Do. You. Know. | 02:37 |
|
jmoreira81
| yea | 02:37 |
|
| because i cloned from the git repo and it didn't update the files | 02:37 |
|
RandalSchwartz
| what is the command you're testing to see if something changed | 02:37 |
|
jmoreira81
| the files remain old | 02:37 |
|
| i cloned into a different directory to see if it was being updated but i don't think it is | 02:38 |
|
RandalSchwartz
| what does "git branch -avv" say? | 02:38 |
|
| does it show your remotes are updated? | 02:39 |
| ← brian_g left | 02:39 |
|
__null
| RandalSchwartz: is checking out the older commit and making it a new comment (with a detailed commit message) adequate? | 02:39 |
|
jmoreira81
| on the remote git repo? | 02:39 |
|
RandalSchwartz
| no - local | 02:40 |
|
| the local repo will also show what it things the remote commits are too | 02:40 |
|
| git fetch --all will update those | 02:40 |
|
| and if that shows the commits local and remote are the same, the push is already there | 02:40 |
|
| as in - if "master" and "remotes/origin/master" are the same commit, life is good | 02:41 |
|
jmoreira81
| let me see... | 02:42 |
|
RandalSchwartz
| compare "git branch -avv" and "git branch -rvv" | 02:42 |
|
jmoreira81
| locally? | 02:42 |
| → Yuuhi`` joined | 02:42 |
|
RandalSchwartz
| well - if you can issue commands in the remote repo, that'd be cool as well | 02:43 |
| → Heimidal joined | 02:43 |
|
RandalSchwartz
| darn it - trying to remember the equivalent remote command | 02:44 |
| → guns joined | 02:44 |
| ← Yuuhi` left | 02:44 |
| ← berserkr left | 02:44 |
|
jmoreira81
| i can.. the remote is a gitosis remote i created | 02:44 |
|
RandalSchwartz
| yeah, but there's two basic commands to say "show the branch heads locally" and "show the branch heads remotely" | 02:45 |
|
| the second escapes me at the moment | 02:45 |
| → iamjarvo joined | 02:45 |
|
canton7
| ls-remote ? | 02:46 |
| ← detaer left | 02:46 |
| ← patrick99e99 left | 02:47 |
| ← wilmoore left | 02:49 |
|
jmoreira81
| RandalSchwartz: It's working. | 02:50 |
| ← j416 left | 02:50 |
|
jmoreira81
| not sure what happened there…. | 02:50 |
|
| RandalSchwartz: brb | 02:50 |
|
__null
| i can't perform git revert on a root commit | 02:51 |
|
RandalSchwartz
| so if you have A B C, and you don't like C, you need to generate A B C C' | 02:52 |
|
| which is what git-revert does | 02:52 |
|
| *you* are trying to make it A B only | 02:52 |
|
| and that breaks people who have pulled | 02:52 |
| → caseymcg joined | 02:52 |
|
__null
| i see | 02:53 |
| → techhelp joined | 02:54 |
| → maletor joined | 02:54 |
| ← maletor left | 02:55 |
| → shiba_yu36 joined | 02:55 |
| ← neurodrone left | 02:57 |
| → neurodrone joined | 02:57 |
| ← drive-by-advice left | 02:59 |
| ← toxico left | 02:59 |
| ← disappearedng left | 03:00 |
| ← ph^ left | 03:00 |
| → kimico joined | 03:00 |
| ← leo left | 03:00 |
|
__null
| so after reading the man pages for a few things, is my best way to go about this to checkout commit B and create a new commit D after C (where the problem happened)? | 03:00 |
| ← arvind_khadri left | 03:00 |
| ← bolt left | 03:00 |
| → leo joined | 03:00 |
| → disappearedng joined | 03:00 |
| ← Chib left | 03:00 |
| → ph^ joined | 03:00 |
| → Chib joined | 03:01 |
| ← Exodist left | 03:01 |
| → drive-by-advice joined | 03:01 |
| ← storrgie left | 03:01 |
| ← madsy left | 03:01 |
| → Exodist joined | 03:01 |
| → nadavoid joined | 03:02 |
| ← jweinberg left | 03:02 |
| ← tabakhase left | 03:02 |
| ← malorie left | 03:02 |
| ← blast_hardcheese left | 03:02 |
| ← ezkl left | 03:02 |
| → storrgie joined | 03:02 |
| ← demi` left | 03:02 |
| → malorie joined | 03:03 |
| → tabakhase joined | 03:03 |
| ← Lgb left | 03:03 |
| ← shuffle2 left | 03:03 |
| ← Lujeni left | 03:03 |
| ← k0rnel left | 03:03 |
| → shuffle2 joined | 03:03 |
| → k0rnel joined | 03:03 |
| → demi` joined | 03:03 |
| → madsy joined | 03:03 |
| ← madsy left | 03:03 |
| → madsy joined | 03:03 |
| ← GrowLinux left | 03:03 |
| ← moqq left | 03:03 |
| ← as3llus left | 03:03 |
| → blast_hardcheese joined | 03:04 |
| ← blast_hardcheese left | 03:04 |
| → blast_hardcheese joined | 03:04 |
| → jweinberg joined | 03:04 |
| → GrowLinux joined | 03:04 |
| → moqq joined | 03:04 |
| ← wereHamster left | 03:04 |
| ← jason237 left | 03:04 |
| ← havocologe left | 03:04 |
| ← dyek_ left | 03:04 |
| → as3llus joined | 03:04 |
| → havocologe joined | 03:04 |
| ← k6b left | 03:04 |
| → wereHamster joined | 03:05 |
| → ezkl joined | 03:05 |
| → Lgb joined | 03:06 |
| ← TheDudeKnows left | 03:06 |
| → Lujeni joined | 03:07 |
| → maqr joined | 03:07 |
| ← OOPMan left | 03:08 |
| ← Error404NotFound left | 03:08 |
| ← rickmast left | 03:09 |
| → munichlinux joined | 03:09 |
| → OOPMan joined | 03:09 |
| → k6b joined | 03:09 |
| → rickmasta joined | 03:09 |
| ← Bmac left | 03:11 |
| → bolt joined | 03:11 |
| → dyek_ joined | 03:12 |
| → arvind_khadri joined | 03:13 |
| ← arvind_khadri left | 03:13 |
| → arvind_khadri joined | 03:13 |
| → jason237 joined | 03:13 |
| ← wuj left | 03:14 |
| → yakko joined | 03:14 |
| → intripoon_ joined | 03:17 |
| ← OOPMan left | 03:18 |
| → fisted_ joined | 03:18 |
| → mandric joined | 03:19 |
| → OOPMan joined | 03:19 |
| ← orafu left | 03:20 |
| ← canton7 left | 03:20 |
| → orafu joined | 03:20 |
| ← fisted left | 03:20 |
| ← intripoon left | 03:20 |
| → Error404NotFound joined | 03:21 |
| → Matrixiumn joined | 03:21 |
| ← [M]ax left | 03:23 |
|
SethRobertson
| __null: !fixup | 03:23 |
|
gitinfo
| __null: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at https://gist.github.com/1612395 for full instructions. For hints type !fixup_hints in IRC. Remember, if you have pushed there only a few things you can do without !rewriting_public_history (type that for more info) | 03:23 |
| → jonesy joined | 03:24 |
| → [M]ax joined | 03:25 |
| → TheDudeKnows joined | 03:29 |
| ← iamjarvo left | 03:29 |
| ← sudoquai left | 03:29 |
| ← Matrixiumn left | 03:30 |
| ← kukks left | 03:31 |
| ← ajpiano left | 03:34 |
| ← OOPMan left | 03:35 |
| → ajpiano joined | 03:36 |
| → OOPMan joined | 03:36 |
| ← Error404NotFound left | 03:39 |
| ← TheDudeKnows left | 03:40 |
| → TheDudeKnows joined | 03:40 |
| → Error404NotFound joined | 03:40 |
| → marcoshack_br joined | 03:41 |
| ← DofLeFou left | 03:41 |
| ← TheDudeKnows left | 03:43 |
| → TheDudeKnows joined | 03:45 |
| ← caseymcg left | 03:45 |
| ← TheDudeKnows left | 03:46 |
| → davidrussell joined | 03:48 |
| ← techhelp left | 03:49 |
| ← SeySayux left | 03:49 |
| ← timoxley left | 03:51 |
| → timoxley joined | 03:52 |
| → Bmac joined | 03:54 |
| → TheDudeKnows joined | 03:56 |
| ← TheDudeKnows left | 03:58 |
| → TheDudeKnows joined | 03:58 |
| → hyperair joined | 03:59 |
| → McLovin` joined | 03:59 |
| → SeySayux joined | 04:00 |
| ← nicxvan left | 04:01 |
| ← easypie left | 04:01 |
| → easypie joined | 04:01 |
| ← McLovin` left | 04:03 |
| ← OOPMan left | 04:03 |
| → Kitsuo joined | 04:04 |
| → igotnolegs joined | 04:06 |
|
jmoreira81
| I keep getting the passphrase pop up when pushing to a repo? Does anyone know how to remove it? I had to create a new id_isa_pub. | 04:06 |
|
RandalSchwartz
| yeah - don't create passphrase-protected pairs for automated tasks | 04:07 |
| → savage- joined | 04:07 |
| ← Bmac left | 04:07 |
| ← savage- left | 04:08 |
|
jmoreira81
| hummm gotcha | 04:09 |
| → dr0id joined | 04:10 |
| ← yakko left | 04:11 |
| → jaisoares joined | 04:11 |
|
jmoreira81
| it worked... | 04:11 |
| → Bmac joined | 04:12 |
| ← Error404NotFound left | 04:12 |
| → iamjarvo joined | 04:12 |
| ← Chillance left | 04:13 |
| → caseymcg joined | 04:13 |
| → angelsl joined | 04:21 |
| → yshh joined | 04:21 |
| → OOPMan joined | 04:22 |
| → Matrixiumn joined | 04:24 |
| ← mikepack left | 04:25 |
| ← Kitsuo left | 04:25 |
| → Kitsuo joined | 04:25 |
| → wilmoore joined | 04:26 |
| ← disappearedng left | 04:27 |
| ← vandal- left | 04:29 |
| ← nadavoid left | 04:29 |
| ← Kitsuo left | 04:30 |
| → xerora joined | 04:30 |
| → Kitsuo joined | 04:30 |
| ← Kitsuo left | 04:30 |
| → jwmann joined | 04:32 |
| → nadavoid joined | 04:33 |
| → wuj joined | 04:35 |
| ← carbocation left | 04:35 |
| ← davidrussell left | 04:37 |
| ← OOPMan left | 04:38 |
| → Axsuul joined | 04:40 |
| ← Axsuul left | 04:40 |
| → Axsuul joined | 04:40 |
| ← Axsuul left | 04:40 |
| → Axsuul joined | 04:40 |
| ← Axsuul left | 04:41 |
| ← Matrixiumn left | 04:41 |
| → Axsuul joined | 04:41 |
| → banisterfiend joined | 04:44 |
| → KindOne joined | 04:45 |
| → t4nkd joined | 04:45 |
| ← amigojapan left | 04:46 |
| ← zomothesweeper left | 04:48 |
| ← marcoshack_br left | 04:49 |
| → AlecTaylor joined | 04:49 |
|
AlecTaylor
| hi | 04:49 |
|
| Getting some weird responses from a git pull | 04:50 |
|
| Example: td0s_deIgOslm0 e/Deotde 4rocpyFFeme e4_tSetdepc/ol/inte. | 04:50 |
|
| eo0p0robltd0socmt024d_eh td0s_dbr210ar_kbl e/10aundrs_urme 0 e dcg/11atesyhbltd0s_dbr229i_cshlm14ec/ie102p_o_corme 4rocmt126t___t. | 04:50 |
|
| eo0 e/dgt0r/ba009nadhnc/e04_theo0edie29_cponme 0pcme0_fisrtem0p//209d__d022ar. e so/t14d_dhem0s/1ts_rb.htm me r//a15ggloe 4ecg026ldb e d/a11c_mrlt 4ed/200ao_d oda210eaor | 04:50 |
|
| te4o/g020t_rl 04d//g121ronthed6ed//20l22tser.de 4oba11__e.em4edt15eooon.le1 r_//gtgm4edgllnt csegngte4e/autlgt rd///p | 04:50 |
|
| ee0pdglm0pcmfgee04p_/c/dAaneme0poigsBn 1r_cmpked o6 1e/amt0sd/_nt | 04:50 |
|
| Any ideas what's causing this? | 04:50 |
|
RandalSchwartz
| whoa | 04:50 |
|
| you pulling from mars? :) | 04:51 |
|
AlecTaylor
| :P | 04:51 |
|
| That's about 5% of the title response | 04:51 |
|
| *total | 04:51 |
|
| I haven't pulled from the project for ages, but that shouldn't cause these sorts of errors :\ | 04:51 |
|
banisterfiend
| RandalSchwartz: did you name yourself after the schwartz transform | 04:52 |
| → digitalfiz joined | 04:52 |
| ← digitalfiz left | 04:52 |
| → digitalfiz joined | 04:52 |
|
RandalSchwartz
| heh... exactly the opposite :) | 04:53 |
|
banisterfiend
| ;) | 04:53 |
|
RandalSchwartz
| My dad named me after him, actually :) | 04:53 |
|
banisterfiend
| cool | 04:53 |
|
RandalSchwartz
| at least the last name | 04:53 |
|
AlecTaylor
| xD | 04:54 |
|
RandalSchwartz
| my mom picked out my first name | 04:54 |
|
banisterfiend
| RandalSchwartz: oh so you're not 'the' randal schwartz? | 04:54 |
|
RandalSchwartz
| I *am* 'the' Randal Schwartz yes | 04:54 |
|
| and the Schwartzian Transform is named after me, but not *by* me | 04:54 |
|
| I'm not that vain. :) | 04:54 |
|
banisterfiend
| groovy | 04:54 |
|
| must feel good to have something named after you | 04:55 |
|
RandalSchwartz
| Tom Christiansen came up with that name | 04:55 |
| ← wuj left | 04:56 |
|
RandalSchwartz
| well - it's not really something I invented, so it's a bit weird. | 04:57 |
| ← KindOne left | 04:58 |
|
RandalSchwartz
| I mean, I was hacking decorate-undecorate patterns a dozen years earlier in Emacs Lisp. | 04:58 |
| ← Bmac left | 04:58 |
| → rchavik joined | 05:05 |
| ← rchavik left | 05:05 |
| → rchavik joined | 05:05 |
| ← sharkmonkey left | 05:08 |
| ← iamjarvo left | 05:08 |
| → mdel joined | 05:11 |
| ← cilly left | 05:11 |
| → w09x joined | 05:12 |
| ← w09x left | 05:12 |
| → w09x joined | 05:12 |
| → subbyyy joined | 05:12 |
| → cilly joined | 05:14 |
| → yakko joined | 05:14 |
| ← soulcake left | 05:16 |
| → bindaasomatic joined | 05:16 |
| ← digitalfiz left | 05:16 |
| → digitalfiz joined | 05:17 |
| ← digitalfiz left | 05:17 |
| → digitalfiz joined | 05:17 |
| ← Octalot left | 05:19 |
|
AlecTaylor
| I'm trying to add a new folder to the source tree. What's the command? | 05:19 |
| ← w09x left | 05:21 |
|
AlecTaylor
| `git add .` isn't doing anything :\ | 05:21 |
| ← jepler left | 05:22 |
|
RandalSchwartz
| git doesn't track folders | 05:23 |
|
| just content | 05:23 |
|
| put some content in there | 05:24 |
|
| then add that | 05:24 |
| tizzo-afk → tizzo | 05:24 |
|
banisterfiend
| RandalSchwartz: is it possible to do an interactive cherry-pick ? | 05:24 |
|
| RandalSchwartz tries to comprehend what that means | 05:25 |
|
banisterfiend
| RandalSchwartz: i'd like to cherry-pick a range of commits, but interactively (so i can squash some of them, and delete some of them) | 05:25 |
|
RandalSchwartz
| that sounds like you want rebase -i | 05:25 |
| → jepler joined | 05:26 |
|
tizzo
| I don't suppose git magically keeps a copy of stashes that I've already popped somewhere? | 05:26 |
|
| RandalSchwartz: love FLOSS weekly btw | 05:26 |
|
| RandalSchwartz++ | 05:27 |
|
RandalSchwartz
| thank you | 05:27 |
|
AlecTaylor
| Finally got an error! - `fatal: Path 'store/static/bootstrap/bootstrap.css' is in submodule 'store/static/bootstrap'` | 05:27 |
|
banisterfiend
| RandalSchwartz: hmm, say i had branch1, but i wanted to cherry-pick from branch2~7..branch2~2 (but interactively) how would i do that using rebase -i instead? | 05:27 |
|
| RandalSchwartz: i wanted to cherry-pick those commits onto branch1* | 05:27 |
|
RandalSchwartz
| git rebase -i branch2-7..branch2-2 --onto branch1 | 05:27 |
|
AlecTaylor
| How do I add that .css to the static folder? | 05:27 |
|
banisterfiend
| RandalSchwartz: that's when i have branch1 checked out? | 05:27 |
|
RandalSchwartz
| doesn't matter | 05:28 |
|
| it'll check out branch1 because of --onto | 05:28 |
| ← nikuyoshi left | 05:28 |
|
banisterfiend
| RandalSchwartz: ah cool, thanks | 05:28 |
|
tizzo
| HA! I don't need my stashed stuff, I had a vi buffer open, phew | 05:28 |
| → Matrixiumn joined | 05:29 |
| ← Matrixiumn left | 05:29 |
| → Matrixiumn joined | 05:29 |
|
| RandalSchwartz doesn't ever use stash | 05:29 |
|
tizzo
| but to confirm, if you git stash that's totally out of git's repo history completely at that point right? | 05:29 |
|
| RandalSchwartz: oh, it's so useful! | 05:29 |
|
| esp when jumping between feature branches | 05:29 |
|
RandalSchwartz
| I just comit | 05:29 |
|
| I never have a dirty tree | 05:29 |
|
tizzo
| lots of feature branches? | 05:29 |
|
AlecTaylor
| How do I get past this error? - `fatal: Path 'store/static/bootstrap/bootstrap.css' is in submodule 'store/static/bootstrap'` | 05:29 |
|
tizzo
| AlecTaylor: sounds like the file you're trying to mess with is in a child repository | 05:30 |
|
RandalSchwartz
| there's nothing stash is doing that you can't do with commits | 05:30 |
|
tizzo
| you have to commit it to the child repo then update the parent repo | 05:30 |
|
RandalSchwartz
| but commits make it visible | 05:30 |
|
AlecTaylor
| tizzo: kk | 05:30 |
|
RandalSchwartz
| stash is kinda magical | 05:30 |
|
| I'm very good at WIP commits | 05:31 |
|
| and then undoing them later | 05:31 |
| ← frogonwheels left | 05:31 |
| ← mandric left | 05:31 |
|
tizzo
| RandalSchwartz: in principle that's true, but I work with a team of about 10 other folks and to avoid a history that's 80% merges, we have git set to auto rebase on pull | 05:31 |
|
RandalSchwartz
| the nice thing is they become part of history, so I can diff against the WIPs | 05:31 |
|
tizzo
| that means no pulling with a dirty working tree | 05:31 |
|
| so I stash, pull, stash pop a lot in mid thought | 05:31 |
|
RandalSchwartz
| right - I never pull with a dirty tree either | 05:31 |
|
| I *never* bring in other work without committing | 05:32 |
|
tizzo
| yeah, that does make sense, I've been moving in that direction much much more | 05:32 |
|
| one think I've been using stash for a lot lately is a settings file that has to be different on my local env. | 05:32 |
|
| why would that be checked into the VCS you ask? | 05:32 |
|
| because the stupid app host the client is requiring needs it to be there for their stuff not to 'splode | 05:33 |
|
| stash is really nice for that | 05:33 |
|
RandalSchwartz
| that should be part of the build process then | 05:33 |
|
| not in the VCS | 05:33 |
|
| VCS should record the prototype version | 05:33 |
|
tizzo
| RandalSchwartz: I agree, now if I could only convince the app host ;) | 05:33 |
|
RandalSchwartz
| but not the live value | 05:34 |
|
tizzo
| yep yep yep | 05:34 |
|
RandalSchwartz
| if you abuse software, everyone loses | 05:34 |
|
tizzo
| and pushing to the git repo should probably never auto deploy to even the dev env either | 05:34 |
|
| but … sometimes you have to put up with a broken system | 05:34 |
|
RandalSchwartz
| you end up with suggestions for thedailywtf.com | 05:34 |
|
| so many of my client's work would go there. :) | 05:35 |
|
tizzo
| haha, yeah seriously | 05:35 |
| ← metellius left | 05:38 |
| → metellius joined | 05:39 |
|
AlecTaylor
| Damn, I keep getting these errors: "You have both store/static/bootstrap and store/static/bootstrap/LICENSE error: Error building trees" | 05:40 |
| ← nadavoid left | 05:41 |
|
| RandalSchwartz wanders off | 05:41 |
| ← AlecTaylor left | 05:43 |
| → kl4m joined | 05:50 |
| ← orospakr left | 05:50 |
| ← n3m left | 05:50 |
| → snickers_ joined | 05:50 |
| ← flyz_ left | 05:54 |
|
| offby1 wanders eof | 05:54 |
| ← AzzA left | 05:54 |
| ← Matrixiumn left | 05:54 |
|
banisterfiend
| offby1: hey, how's your ruby experience going | 05:54 |
| → flyz joined | 05:55 |
| → Cam joined | 05:58 |
| ← majorursa left | 06:02 |
| ← Textmode left | 06:03 |
| ← [RHQme]stringo0 left | 06:04 |
| → Matrixiumn joined | 06:06 |
| ← Matrixiumn left | 06:06 |
| ← guns left | 06:07 |
| → maleknet joined | 06:08 |
| → Anubisss joined | 06:09 |
| ← Anubisss left | 06:09 |
| ← milki left | 06:10 |
| → guns joined | 06:12 |
| → LICH joined | 06:15 |
| ← LICH left | 06:16 |
| → cirwin joined | 06:17 |
| ← yakko left | 06:17 |
| → Shusshu joined | 06:17 |
| ← Cam left | 06:19 |
| → zomothesweeper joined | 06:21 |
| ← madewokherd left | 06:21 |
| ← t4nkd left | 06:24 |
| ← caseymcg left | 06:25 |
| ← [M]ax left | 06:25 |
| → [M]ax joined | 06:29 |
| → t4nkd joined | 06:29 |
| → glcrazy joined | 06:29 |
| ← timoxley left | 06:32 |
| → milki joined | 06:33 |
| ← milki left | 06:33 |
| → timoxley joined | 06:35 |
| → milki joined | 06:35 |
| ← drl left | 06:36 |
| → tewecske joined | 06:37 |
| ← aspotashev| left | 06:39 |
| → nixmaniack joined | 06:40 |
| ← timoxley left | 06:42 |
| → brainsail joined | 06:44 |
| → krz joined | 06:46 |
| → AmirBehzad joined | 06:48 |
| → queequeg1_ joined | 06:49 |
| ← gerberb left | 06:49 |
| ← queequeg1 left | 06:50 |
| → bgerber joined | 06:51 |
| ← cilly left | 06:51 |
| ← maleknet left | 06:51 |
| ← jwmann left | 06:51 |
| → savage- joined | 06:51 |
| → orospakr joined | 06:53 |
| → rurufufuss joined | 06:53 |
| ← [M]ax left | 06:59 |
| ← kenyon left | 06:59 |
| ← subbyyy left | 06:59 |
| ← adamm left | 07:00 |
| ← JoeyJoeJo left | 07:01 |
| → [M]ax joined | 07:02 |
| ← zomothesweeper left | 07:02 |
| → maleknet joined | 07:03 |
|
Karmaon
| Uhh, why did git flow not apply the no-ff for merging a feature branch? | 07:06 |
| → caseymcg joined | 07:06 |
| ← savage- left | 07:10 |
| → Matrixiumn joined | 07:11 |
| → apok joined | 07:11 |
| ← arvind_khadri left | 07:11 |
| → kenyon joined | 07:12 |
| → arvind_khadri joined | 07:12 |
| ← arvind_khadri left | 07:12 |
| → arvind_khadri joined | 07:12 |
| → detaer joined | 07:12 |
| ← bindaasomatic left | 07:15 |
| → bindaasomatic joined | 07:15 |
| ← queequeg1_ left | 07:17 |
| → savage- joined | 07:17 |
| ← shiba_yu36 left | 07:18 |
| ← Heimidal left | 07:19 |
| → Heimidal joined | 07:19 |
| → shiba_yu36 joined | 07:21 |
| ← wilmoore left | 07:21 |
| ← detaer left | 07:21 |
| → oyvind joined | 07:21 |
| ← Matrixiumn left | 07:21 |
| oyvind → Guest55855 | 07:21 |
| ← savage- left | 07:22 |
| ← neurodrone left | 07:23 |
|
Karmaon
| Anyone here? | 07:24 |
|
cirwin
| yes | 07:24 |
| → wilmoore joined | 07:25 |
| ← snickers_ left | 07:32 |
| ← diegoviola left | 07:32 |
| → cilly joined | 07:33 |
| ← cilly left | 07:33 |
| ← wilmoore left | 07:34 |
|
Karmaon
| Is there a way to revert git to an exact state of the whole repository a few commits ago? | 07:35 |
| → gavin_huang joined | 07:35 |
|
Karmaon
| I screwed up the repository pretty bad while merging | 07:35 |
| ← caseymcg left | 07:37 |
|
bob2
| suspect you're after reset --hard | 07:38 |
|
Karmaon
| i need to undo the conflict resolution | 07:39 |
|
| does git reflog record states of the whole repository? | 07:39 |
| ← banisterfiend left | 07:40 |
|
cirwin
| Karmaon: yes, find the commit you want | 07:40 |
|
| (using git log) | 07:40 |
|
| and then do "git reset --keep <commit>" | 07:40 |
|
| that will throw away all the commits after that point | 07:40 |
|
Karmaon
| How about other branches? | 07:40 |
| ← bindaasomatic left | 07:40 |
|
cirwin
| branches just point to commits | 07:41 |
|
| look at "gitk --all" to see where everything is pointing | 07:42 |
|
Karmaon
| I think I want to undo the conflict resolution | 07:45 |
|
cirwin
| the simplest way is to undo the merge, and do it again | 07:48 |
| → TrineLocke joined | 07:49 |
|
cirwin
| so just git reset --keep <bad-merge>^ | 07:49 |
|
| git merge <other-branch> | 07:49 |
| ← igotnolegs left | 07:50 |
| ← Goplat left | 07:51 |
| → brar1 joined | 07:52 |
| ← codewrangler left | 07:53 |
| → disappearedng joined | 07:54 |
| ← easypie left | 07:55 |
| ← digitalfiz left | 07:56 |
|
Karmaon
| cirwin: thanks! that fixed it :) | 07:57 |
|
cirwin
| w00t | 07:57 |
| ← matthiaskrgr left | 07:57 |
|
__null
| RandalSchwartz: to remedy my fuck up earlier i deleted the project's .git and github page (it was only a day old) and initialized a new git and created a new github page | 07:58 |
| → matthiaskrgr joined | 07:58 |
|
__null
| not a good thing to do, i know, but in the future i'll be more careful | 07:58 |
| ← brar1 left | 07:58 |
| ← munichlinux left | 08:01 |
| ← mattly left | 08:01 |
| → mofaph joined | 08:02 |
|
Karmaon
| Which file window should I be editing for git mergetool? | 08:03 |
| ← akosikeno left | 08:03 |
|
cirwin
| Karmaon: which merge-tool are you using? | 08:03 |
| → ThomasLocke joined | 08:03 |
|
Karmaon
| git mergetool | 08:03 |
|
| it opens up gvim | 08:03 |
|
cirwin
| it's normally the one with <<<< ==== >>>> in it | 08:03 |
|
Karmaon
| Ah ok, thanks | 08:04 |
| → gusnan joined | 08:07 |
| ← heidar left | 08:10 |
| → mattly joined | 08:11 |
| → bindaasomatic joined | 08:11 |
| ← macmartine left | 08:11 |
| ← LeMike left | 08:12 |
| → Dave^| joined | 08:13 |
| ← BiggFREE left | 08:14 |
| → akosikeno joined | 08:15 |
| ← hwrdprkns left | 08:15 |
|
Karmaon
| So I accidently had some syntax errors in the conflict resolution, how do I amend that? | 08:16 |
|
nixmaniack
| i'm just trying git-send-email, i don't want to cc anyone while sending patch, how do I turn off auto cc? | 08:16 |
|
cirwin
| did you make another commit after the merge? | 08:16 |
|
| if not just fix the file | 08:16 |
|
| and then git commit --amend <file> | 08:16 |
|
Karmaon
| Oh, it's that simple. thanks again | 08:17 |
|
| Why did it have a new file called <file_name>.php.orig? | 08:17 |
|
cirwin
| nixmaniack: man git-send-email implise --suppress-cc=all does what you want | 08:17 |
|
gitinfo
| nixmaniack: the git-send-email manpage is available at http://jk.gs/git-send-email.html | 08:17 |
|
cirwin
| Karmaon: because it didn't want you to lose work | 08:17 |
| → heidar joined | 08:17 |
| → macmartine joined | 08:18 |
| ← macmartine left | 08:18 |
| ← TrineLocke left | 08:19 |
| → arvind_k joined | 08:19 |
| → aspotashev| joined | 08:20 |
| ← Lgb left | 08:20 |
|
nixmaniack
| cirwin, thanks, i did see supress all but didn't know what put in category | 08:20 |
|
| s/supress all/supress cc | 08:20 |
| ← jmoreira81 left | 08:20 |
| ← koo5 left | 08:20 |
| ← arvind_khadri left | 08:21 |
| → Lgb joined | 08:21 |
| → dr_win joined | 08:22 |
| → NAAS011 joined | 08:22 |
| ← lausi_ left | 08:24 |
| ← JPeterson left | 08:24 |
| → JPeterson joined | 08:25 |
| → i42n joined | 08:26 |
| ← t4nkd left | 08:27 |
| → BasicXP joined | 08:28 |
| → twisted`_ joined | 08:29 |
| ← twisted` left | 08:31 |
| twisted`_ → twisted` | 08:31 |
| → uu joined | 08:32 |
| → lausi joined | 08:33 |
| → Bluestrike2 joined | 08:33 |
| ← lapistano left | 08:34 |
| → lapistano joined | 08:34 |
| ← cooldude left | 08:34 |
|
nixmaniack
| i'm getting this error W: unable to extract a valid address from: FirstName LastName [email@hidden.address] | 08:35 |
|
| while using git send-email | 08:35 |
| → cooldude joined | 08:36 |
|
cirwin
| "Foo Bar [email@hidden.address] <-- you need <> | 08:37 |
| ← seivan left | 08:38 |
|
nixmaniack
| cirwin, i have configured it to read from mutt | 08:38 |
|
| i added muttaliases | 08:38 |
|
| cirwin doesn't know nowt about mutt | 08:39 |
|
cirwin
| but git expects the <> | 08:39 |
|
nixmaniack
| cirwin, okay. i'll try adding it then | 08:39 |
|
cirwin
| awk '{ print $1 " " $2 " <" $3 ">" }' | 08:39 |
|
| <-- showing of my awk skillz | 08:39 |
| ← mattly left | 08:40 |
| → starlays joined | 08:41 |
| ← gusnan left | 08:42 |
|
nixmaniack
| cirwin, it worked if i add <>, but mutt aliases doesn't require them. | 08:43 |
|
cirwin
| you could try writing a letter of complaint to [email@hidden.address] | 08:44 |
| → Matrixiumn joined | 08:44 |
|
cirwin
| it seems pretty obvious that "foo bar baz@bam" is a name and an email | 08:44 |
|
| maybe they're being strict about some rfc though, so I'm not sure they'd change it | 08:44 |
| → rendar joined | 08:45 |
|
nixmaniack
| cirwin, hmm. i'll do that. | 08:45 |
| → d0k joined | 08:49 |
| ← albel727 left | 08:49 |
| ← maleknet left | 08:49 |
| ← BasicXP left | 08:51 |
| → albel727 joined | 08:52 |
| ← albel727 left | 08:52 |
| → albel727 joined | 08:52 |
| → drizzd joined | 08:53 |
| → drizzd_ joined | 08:53 |
| → lhunath joined | 08:57 |
|
lhunath
| how could I find the nearest tag from the current commit? | 08:58 |
|
| kind of what git describr gives me without the noise | 08:58 |
| ← Bluestrike2 left | 08:59 |
| → iocor joined | 09:00 |
| → jmd joined | 09:01 |
| → chromaticwt joined | 09:01 |
| → maleknet joined | 09:01 |
|
chromaticwt
| how do I list all commits by author? | 09:01 |
| ← Sweetshark left | 09:01 |
| ← Matrixiumn left | 09:02 |
|
albel727
| lhunath: well, you could try git tag --contains. although you'll have to choose the "nearest one" yourself. | 09:02 |
| → Sweetshark joined | 09:02 |
| ← Sweetshark left | 09:02 |
| → Sweetshark joined | 09:02 |
|
jmd
| chromaticwt, git log --author= | 09:02 |
| ← aspotashev| left | 09:03 |
|
albel727
| or git shortlog, if you don't need to parse the output. | 09:03 |
| ← ehsan left | 09:03 |
|
jmd
| What's the easiest way to copy a file from one branch to another? | 09:04 |
| → ehsan joined | 09:04 |
| → shruggar joined | 09:04 |
|
albel727
| git checkout <branch> -- <filename> , I guess. | 09:04 |
| ← maartenv left | 09:06 |
| ← kl4m left | 09:08 |
|
chromaticwt
| jmd: can I do a regex for the author name? | 09:12 |
|
| serious question | 09:14 |
|
| or how can I just search last names. | 09:14 |
|
Mikachu
| it does a substring match if that helps | 09:15 |
|
chromaticwt
| sry | 09:15 |
|
| It works. | 09:15 |
|
| yeah | 09:15 |
|
jmd
| According to the man page, it matches regexps by default. | 09:15 |
| → BiggFREE joined | 09:15 |
| ← batrick left | 09:16 |
| → seivan joined | 09:18 |
|
chromaticwt
| cool thnx | 09:20 |
| → gusnan joined | 09:20 |
| ← chromaticwt left | 09:20 |
|
MarcoKZ
| whats the actual difference between git fetch and pull | 09:24 |
|
cirwin
| git pull immediately does a merge | 09:24 |
|
| !pull | 09:25 |
|
gitinfo
| pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ | 09:25 |
| → jacekmigacz joined | 09:26 |
| ← iocor left | 09:29 |
|
cbreak
| the opposite of push is an other push | 09:29 |
|
| (that restores the old history, must be forced) | 09:29 |
|
cirwin
| I guess it depends on the axis of reflection | 09:29 |
|
| could be another push from the remote server to the local server | 09:30 |
|
cbreak
| now that sounds like trouble | 09:30 |
|
| unless you didn't change history in between I guess | 09:30 |
| → tvw joined | 09:31 |
| → dSebastien joined | 09:31 |
| ← jakob left | 09:35 |
| → jakob joined | 09:35 |
| ← rurufufuss left | 09:36 |
| → chromaticwt joined | 09:37 |
|
chromaticwt
| can I have one git repo, with linux-next, linux-stable, and mainline linux, as branches? | 09:37 |
| → BasicXP joined | 09:38 |
| ← BasicXP left | 09:38 |
| → BasicXP joined | 09:38 |
|
FauxFaux
| chromaticwt: Sure, just add the remotes and checkout whatever branch you want. | 09:39 |
|
Karmaon
| So I accidentally commited stuff to a feature branch that was meant for the develop branch | 09:46 |
|
| how do I move those commits to the develop? | 09:46 |
|
FauxFaux
| Karmaon: !fixup | 09:46 |
|
gitinfo
| Karmaon: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at https://gist.github.com/1612395 for full instructions. For hints type !fixup_hints in IRC. Remember, if you have pushed there only a few things you can do without !rewriting_public_history (type that for more info) | 09:46 |
| → rurufufuss joined | 09:48 |
| → brar joined | 09:49 |
| ← flyz left | 09:49 |
| → flyz joined | 09:49 |
| ← [M]ax left | 09:50 |
| ← chromaticwt left | 09:51 |
| ← brar left | 09:52 |
| → brar joined | 09:52 |
|
Karmaon
| FauxFaux: I was looking for cherry-picking, but thanks. | 09:52 |
| → [M]ax joined | 09:53 |
| → dr_lepper joined | 09:54 |
| ← dr_lepper left | 09:54 |
| → dr_lepper joined | 09:54 |
| → FernandoBasso joined | 09:55 |
| ← shiba_yu36 left | 09:55 |
| ← ehsan left | 09:57 |
| → Demego joined | 09:58 |
| → iocor joined | 09:59 |
| → flavius joined | 09:59 |
| → shiba_yu36 joined | 10:00 |
| ← dr_lepper left | 10:00 |
| ← mofaph left | 10:01 |
| → martinjlowm-lptp joined | 10:02 |
| → dr_lepper joined | 10:06 |
| ← dr_lepper left | 10:06 |
| → dr_lepper joined | 10:06 |
| ← seivan left | 10:06 |
|
__null
| If I add an existing file into .gitignore, will all future commits ignore that file? Or will it continue to be committed? | 10:08 |
| → RaptorX joined | 10:10 |
|
FauxFaux
| __null: .gitignore doesn't affect tracked files. | 10:10 |
|
__null
| Is there a way for it to affect tracked files? Or do I need to rm them manually? | 10:11 |
| → kylef joined | 10:11 |
| ← flyz left | 10:11 |
|
__null
| They aren't sensitive files do I don't need to delete them from past commits, just for future commits to make things cleaner | 10:12 |
| ← cirwin left | 10:12 |
| ← dr_lepper left | 10:12 |
| ← RaptorX left | 10:12 |
| → RaptorX joined | 10:12 |
|
FauxFaux
| If you rm them, then ignore them, they won't be tracked files, so .gitignore will work fine. | 10:12 |
| ← shiba_yu36 left | 10:15 |
| → shruggar1 joined | 10:15 |
| ← shruggar left | 10:15 |
| → flyz joined | 10:17 |
| → dr_lepper joined | 10:17 |
| ← dr_lepper left | 10:17 |
| → dr_lepper joined | 10:17 |
| ← dr_win left | 10:19 |
| → dr_win joined | 10:19 |
| ← gusnan left | 10:20 |
| ← spuz left | 10:28 |
| → berserkr joined | 10:31 |
| ← Heimidal left | 10:31 |
| → n3m joined | 10:34 |
| → eletuchy joined | 10:39 |
| → magicaltrout joined | 10:40 |
|
magicaltrout
| hey guys I can't see an obvious answer so I'll have an ask. I would like to write a post-receive hook that executes a certain command if files are modified within a certain directory of the repository | 10:41 |
| → Octalot joined | 10:41 |
|
magicaltrout
| so is there a sensible way of getting a list of modified files in the post commit? | 10:41 |
| ← eletuchy_ left | 10:41 |
|
bob2
| post receive or commit? | 10:42 |
|
| anyway, post-receive gets passed revids, so you can find out whatever you wanty | 10:42 |
| ← fr0stbyte left | 10:43 |
|
cmn
| magicaltrout: look at the default post-receive or post-commit for ideas, depending on which one you actually meant | 10:44 |
| ← Axsuul left | 10:44 |
|
cmn
| the thing that can be tricky is figuring out what to diff, once you have that, git diff --name-only one...other will give them to you | 10:44 |
| ← jmd left | 10:46 |
|
magicaltrout
| ah right | 10:46 |
|
| thanks guys, i want git to run a command if a certain directory is modified, I shall take a look | 10:46 |
|
cmn
| but "when?" is the question; come to think about it, is there even a post-commit? | 10:48 |
| → gusnan joined | 10:48 |
| ← iocor left | 10:48 |
|
cmn
| ah, there is, ok | 10:48 |
|
magicaltrout
| this is on the server so its post push, so post-recieve | 10:48 |
|
cmn
| do you want to be able to affect the success status of the push? | 10:49 |
|
magicaltrout
| commit is clientside | 10:49 |
|
| no cmn i, i want it to look and see if directory x has any modified files | 10:49 |
|
| if so then run command y | 10:49 |
|
cmn
| then yes, post-receive will be fine | 10:50 |
| → frnkkpp joined | 10:50 |
| → seivan joined | 10:51 |
|
magicaltrout
| ah i see, git diff-tree | 10:51 |
|
| thanks cmn bob2 | 10:52 |
| ← p3rror left | 10:53 |
| → bigkm joined | 10:55 |
| → faber joined | 10:56 |
| → patrick99e99 joined | 10:56 |
| → aidenhong joined | 10:57 |
| ← Shusshu left | 10:59 |
| → LeMike joined | 11:00 |
| ← magicaltrout left | 11:02 |
| → timoxley joined | 11:04 |
| → thiago joined | 11:05 |
| ← nixmaniack left | 11:06 |
| ← Guest55855 left | 11:07 |
| → ipalaus joined | 11:08 |
| → nixmaniack joined | 11:08 |
| ← aidenhong left | 11:11 |
| → aidenhong joined | 11:11 |
| ← nixmaniack left | 11:11 |
| → Jackneill joined | 11:14 |
| ← bigkm left | 11:16 |
| → Spockz` joined | 11:20 |
| → Matrixiumn joined | 11:22 |
| → Cromulent joined | 11:23 |
| ← dwmw2_gone left | 11:23 |
| ← maleknet left | 11:25 |
| → dwmw2_gone joined | 11:25 |
| ← aidenhong left | 11:26 |
| → maleknet joined | 11:27 |
| ← i42n left | 11:28 |
| ← dwmw2_gone left | 11:30 |
| ← bolt left | 11:30 |
| → bolt joined | 11:32 |
| → vervic joined | 11:33 |
| ← timoxley left | 11:34 |
| ← ipalaus left | 11:36 |
| → dwmw2_gone joined | 11:36 |
| ← dwmw2_gone left | 11:38 |
| → brian_g joined | 11:38 |
| ← shruggar1 left | 11:39 |
| → dwmw2_gone joined | 11:41 |
| → mpabst joined | 11:43 |
| → _md joined | 11:43 |
| ← Nibato left | 11:45 |
| ← tvw left | 11:45 |
| → Nibato joined | 11:46 |
| ← dwmw2_gone left | 11:46 |
| → bitkiller joined | 11:49 |
| ← catsup left | 11:50 |
| → amigojapan joined | 11:50 |
| ← maqr left | 11:50 |
| ← dharriga1 left | 11:50 |
| → batrick joined | 11:51 |
| ← Caelum left | 11:53 |
| ← Cromulent left | 11:54 |
| → jargon- joined | 11:55 |
| → Caelum joined | 11:56 |
| → Sigma joined | 11:57 |
| → bouzbou joined | 11:57 |
| → _dzonder joined | 11:58 |
| ← _dzonder left | 11:58 |
| → Dave^|| joined | 11:58 |
| gitinfo set mode: +v | 11:59 |
|
bouzbou
| Hi, is git case-insensitive on windows? | 11:59 |
| → dwmw2_gone joined | 11:59 |
|
cmn
| when git initialises a repository, it checks whether the filesystem is case-sensitive | 11:59 |
|
| and sets up a configuration option to remind itself | 11:59 |
| ← seivan left | 12:00 |
|
bouzbou
| if he checks that the filesystem is non case-sensitive (I guess this is the case on windows right?), it doesn't do a trick or something to make it sensitive? | 12:01 |
|
cmn
| no | 12:01 |
|
| it can't | 12:01 |
| → aspotashev| joined | 12:01 |
|
thiago
| how is it going to make a case-insensitive filesystem case-sensitive? | 12:02 |
|
cmn
| that's a limitation/feature of the filesystem, there's nothing git can do abou tit | 12:02 |
| ← Dave^| left | 12:02 |
|
bouzbou
| okay, so is there a way to make a fake renaming with a git command? | 12:03 |
|
cmn
| use a temp filename | 12:03 |
|
| git mv a B; git mv B A | 12:03 |
|
| the term that might be missing here is case-preserving | 12:04 |
|
| FAT and NTFS will store the name as Abc if you create it that way, but if you ask to open abc, it'll open Abc | 12:05 |
| → catsup joined | 12:05 |
|
bouzbou
| but if I create a file AbC on windows, and do a git add, how will git know that it's AbC and not aBC or ABC if the filesystem is non case sensitive? | 12:06 |
|
thiago
| I guess it adds what you typed | 12:06 |
| → vandal-- joined | 12:07 |
| → vandal- joined | 12:07 |
| → vandal-_- joined | 12:07 |
|
bouzbou
| when I type git "add .", I don't type the file names | 12:07 |
|
cmn
| when you do add . git asks the fs | 12:08 |
|
| so the case would be preserved | 12:08 |
| ← vandal-_- left | 12:08 |
| ← vandal-- left | 12:08 |
| ← vandal- left | 12:09 |
|
bouzbou
| okay, so I could also do a 'git rm -cached' (I don't remember if it's that command), and then do a git add and the file case will be back to normal right? | 12:10 |
| → JPT joined | 12:10 |
|
cmn
| maybe | 12:11 |
|
| try it out | 12:11 |
| → ipalaus joined | 12:12 |
| → KU0N joined | 12:12 |
|
bouzbou
| yes it's working | 12:15 |
|
| thank you cmn | 12:16 |
|
| for your explanations | 12:16 |
| ← bouzbou left | 12:16 |
| ← [M]ax left | 12:18 |
| → [M]ax joined | 12:20 |
| ← brian_g left | 12:20 |
| → brian_g joined | 12:21 |
| ← kryl99 left | 12:22 |
| ← rchavik left | 12:22 |
|
totte
| I'm back with git-log-UTF-8-åäö-Inconsolata problems. -_- Some entries in the git log where I'm the author (as I have an "ä" in my name) show up proper with ä, and others show up with an ä that only is printed with the Menlo or Monaco font as a non-ASCII character. If I try to copy and paste it the paste looks like this: a | 12:25 |
|
| a<0308> | 12:25 |
|
bob2
| are they from different machines by any chance | 12:26 |
|
cmn
| still can't see the chars as printable | 12:27 |
| ← BiggFREE left | 12:27 |
|
totte
| bob2: That is possible. | 12:27 |
| ← apok left | 12:27 |
| ← uu left | 12:28 |
| ← pdtpatrick_ left | 12:29 |
| ← Nibato left | 12:30 |
|
totte
| (alt+u, a) ä piped through od -tx1: 0000000 c3 a4 0a (new line) 0000003, a piped through od -tx1: 0000000 61 cc 88 0a (new line) 0000004 | 12:30 |
| → canton7 joined | 12:30 |
| → Nibato joined | 12:34 |
| → fayimora joined | 12:35 |
| ← Nibato left | 12:36 |
| → kryl99 joined | 12:36 |
| → uu joined | 12:38 |
| → Nibato joined | 12:39 |
| → whitman joined | 12:39 |
| → j416 joined | 12:40 |
| → sudoquai joined | 12:41 |
| → Cromulent joined | 12:42 |
|
FauxFaux
| totte: git cat-file commit | od? | 12:42 |
| → project2501a joined | 12:42 |
| → LucasTizma joined | 12:43 |
|
project2501a
| hey guys. i am going brought the o'reilly git book. it is mentioning here that the commits are not in a time order but a to political sort of the commits? i am a bit confused about that. can i please have a pointer? | 12:44 |
| ← Nibato left | 12:44 |
|
FauxFaux
| project2501a: Topilogical, not political? | 12:45 |
|
Mikachu
| topological | 12:45 |
|
project2501a
| nope. says here "topological" | 12:45 |
| ← flaguy48 left | 12:45 |
|
project2501a
| also /b/ | 12:45 |
| ← fayimora left | 12:45 |
| ← bolt left | 12:46 |
|
cmn
| right, topological | 12:47 |
| ← NiklasFiekas|afk left | 12:47 |
|
cmn
| it means they're ordered according to where they stand in the DAG, not some timestamp | 12:47 |
|
| gitk --all will show you how they look | 12:47 |
| ← [M]ax left | 12:47 |
|
project2501a
| gitk ? oh damn! look at that! a GUI! | 12:48 |
|
| A GOOD LOOKING GUI | 12:48 |
| → bolt joined | 12:48 |
|
cmn
| hm? | 12:48 |
|
project2501a
| i didn't know about gitk | 12:49 |
| → Nibato joined | 12:49 |
|
cmn
| it's just a X version of git log --graph --decoreate | 12:49 |
|
project2501a
| color me impressed :D | 12:49 |
|
cmn
| then you'll shit your pants wen you see git gui | 12:49 |
|
project2501a
| cmn: can i save that tree? in png or jpg or somethin | 12:49 |
|
| project2501a prepares to have brix shat | 12:49 |
|
cmn
| printscreen? | 12:49 |
|
project2501a
| well, i was more like thinking git log --graph --decorate --save | 12:50 |
|
bremner
| project2501a: it' | 12:50 |
|
| s just text | 12:50 |
|
| redirect to a file? | 12:50 |
| → [M]ax joined | 12:50 |
|
project2501a
| holy crap,. must rtfm more :D | 12:50 |
| → vandal- joined | 12:50 |
| ← BasicXP left | 12:50 |
|
project2501a
| thanks guys! | 12:51 |
|
| and the occasional fbi agent posing like a 14 year old girl | 12:51 |
| ← ph^ left | 12:53 |
| → ph^ joined | 12:54 |
| → OOPMan joined | 12:59 |
| → f0i joined | 13:01 |
| → khmarbaise joined | 13:02 |
| ← keller left | 13:06 |
| → keller joined | 13:06 |
| → flaguy48 joined | 13:06 |
| → Adaptee joined | 13:07 |
| → michale joined | 13:07 |
| ← vervic left | 13:10 |
| → rebagliatte joined | 13:11 |
| ← Cromulent left | 13:11 |
| → BasicXP joined | 13:13 |
| → dnjaramba_ joined | 13:16 |
| ← Nibato left | 13:17 |
| ← Adaptee left | 13:17 |
| → BasicXP|2 joined | 13:17 |
| ← BasicXP|2 left | 13:17 |
| ← BasicXP left | 13:17 |
| → Adaptee joined | 13:18 |
| ← xerora left | 13:19 |
| → Nibato joined | 13:19 |
| → l1nu5r joined | 13:19 |
| ← l1nu5r left | 13:20 |
| ← rebagliatte left | 13:20 |
| → NiklasFiekas joined | 13:20 |
| → mklappstuhl joined | 13:22 |
| ← jdav_gon` left | 13:22 |
| → BasicXP joined | 13:23 |
| ← NiklasFiekas left | 13:24 |
| → tobias__ joined | 13:26 |
| → icwiener joined | 13:26 |
| ← [M]ax left | 13:26 |
| ← Nibato left | 13:26 |
| → fayimora joined | 13:27 |
| → [M]ax joined | 13:27 |
| → jdav_gone joined | 13:27 |
| → empity joined | 13:28 |
| ← __iron left | 13:30 |
| → vervic joined | 13:30 |
| → Nibato joined | 13:31 |
| ← Chib left | 13:32 |
| → seivan joined | 13:35 |
| ← Nibato left | 13:36 |
| → Nibato joined | 13:36 |
| ← gusnan left | 13:37 |
| ← vervic left | 13:42 |
| → di-five joined | 13:43 |
| → shiba_yu36 joined | 13:43 |
| ← aspotashev| left | 13:44 |
| → i42n joined | 13:46 |
| ← [M]ax left | 13:47 |
| → Hawk416 joined | 13:48 |
| → Xizor joined | 13:49 |
| → Nirvanko joined | 13:49 |
| → [M]ax joined | 13:50 |
| ← brian_g left | 13:50 |
|
Nirvanko
| Is there any difference in wich way we merge two branches? git merge A with a current B branch, or git merge B with the current A branch? | 13:51 |
| → brian_g joined | 13:51 |
| → eletuchy_ joined | 13:51 |
| ← dr0id left | 13:51 |
| Matrixiumn → GoldenHamster | 13:51 |
| ← eletuchy left | 13:54 |
| ← frnkkpp left | 13:58 |
| → CarstenF joined | 13:58 |
| → komma joined | 13:59 |
|
cmn
| yes | 13:59 |
|
| in the first you're merging A into B, the cond you're merging B into A | 14:00 |
|
FauxFaux
| The resultant commit will be roughly the same, but it'll be on a different branch, and the parents will be in a different order (which has meaning to some people). | 14:01 |
| → sharkmonkey joined | 14:01 |
|
cmn
| and it will affect whether you can merge the merged-into branch into older branchesw | 14:02 |
| tizzo → tizzo-afk | 14:02 |
| → frnkkpp joined | 14:02 |
| → erichynds joined | 14:03 |
| → rebagliatte joined | 14:03 |
| GoldenHamster → minimerbo | 14:04 |
| minimerbo → GoldenEagle | 14:04 |
| ← brar left | 14:07 |
| ← maleknet left | 14:09 |
| ← komma left | 14:13 |
| → komma joined | 14:14 |
|
totte
| FauxFaux: Not quite sure what that command does? | 14:14 |
|
FauxFaux
| totte: It takes a commit id, and outputs the actual data file representing it, hopefully without mangling any encoding. | 14:15 |
| ← uu left | 14:18 |
| GoldenEagle → CarbonHamster | 14:19 |
| CarbonHamster → DiamondHamster | 14:19 |
| ← Lgb left | 14:20 |
| ← jargon- left | 14:20 |
|
totte
| FauxFaux: Like so? https://gist.github.com/1699022 | 14:20 |
|
FauxFaux
| I was hoping that it would help you. If you want me to read it then use "xxd" instead of "od -tx1". ¬_¬ | 14:21 |
| ← lapistano left | 14:21 |
| → lapistano joined | 14:21 |
| → Lgb joined | 14:22 |
| ← erichynds left | 14:23 |
|
totte
| Updated, I have no idea of what I'm doing. | 14:23 |
| ← komma left | 14:23 |
| ← Nirvanko left | 14:26 |
|
| FauxFaux is a bit busy to help, sorry; maybe later. | 14:26 |
| → neurodrone joined | 14:26 |
| ← icwiener left | 14:27 |
| → icwiener joined | 14:27 |
| ← mklappstuhl left | 14:28 |
| ← LucasTizma left | 14:29 |
|
Mikachu
| totte: xxd instead of od, not od -xxd | 14:29 |
|
FauxFaux
| Mainly because of that, yes. ¬_¬ | 14:29 |
|
Mikachu
| but your problem is likely to be NFC vs NFD | 14:29 |
|
| for some reason osx decided to break everything and use NFD | 14:30 |
|
| i don't think anyone else uses it | 14:30 |
|
FauxFaux
| Oh dear. | 14:30 |
|
Mikachu
| i didn't mean for that to sound like trolling btw ;) | 14:31 |
| → madewokherd joined | 14:32 |
| → Cromulent joined | 14:34 |
| → NiklasFiekas joined | 14:35 |
| → vervic joined | 14:39 |
| ← CarstenF left | 14:40 |
| → eletuchy joined | 14:40 |
| ← cccaldas left | 14:41 |
| ← edude03 left | 14:42 |
| ← Nibato left | 14:42 |
| → edude03 joined | 14:43 |
| → cccaldas joined | 14:43 |
| ← eletuchy_ left | 14:43 |
| → _h0bbit joined | 14:44 |
| ← [M]ax left | 14:44 |
| ← FernandoBasso left | 14:45 |
| ← vervic left | 14:45 |
| → [M]ax joined | 14:46 |
| → subbyyy joined | 14:46 |
| ← guns left | 14:47 |
| ← subbyyy left | 14:47 |
| → subbyyy joined | 14:47 |
| ← sharkmonkey left | 14:47 |
| ← gavin_huang left | 14:48 |
| → t0rc joined | 14:50 |
| DiamondHamster → GiantHamster | 14:50 |
| ← rurufufuss left | 14:51 |
| → alansaul joined | 14:55 |
| → gusnan joined | 15:00 |
| ← [M]ax left | 15:05 |
|
totte
| Mikachu: I added one piped through xxd at the end of the paste... Still not sure what this is all about. I use iTerm2 on OS X, is there a somewhat simple solution or workaround or am I in the wrong place - should I go to iTerm2 or OS X support? | 15:05 |
| → Chiroo64 joined | 15:06 |
|
totte
| git log is the one and only place I've encountered this and I still don't understand why. :/ | 15:06 |
| → sharkmonkey joined | 15:06 |
| → [M]ax joined | 15:07 |
| → lacrymology joined | 15:09 |
| → lnostdal_ joined | 15:11 |
| ← cccaldas left | 15:15 |
|
Mikachu
| totte: your name is written in nfd in a config file somewhere | 15:16 |
| ← telemachus left | 15:17 |
| ← seivan left | 15:18 |
|
totte
| Mikachu: But Steve is dead. Weren't we liberated? | 15:19 |
|
| On a more serious not I assume it's one of the git config files in ~, is there an easy way to tell NFC from NFD? | 15:20 |
| ← bgerber left | 15:20 |
| ← amigojapan left | 15:20 |
|
Mikachu
| what's lycosaexplorer? | 15:21 |
|
totte
| Some Python FuzzyFinder thing. | 15:22 |
| → bgerber joined | 15:22 |
|
totte
| The entire log is riddled with these issues, it's (probably) not due to LycosaExplorer. | 15:22 |
|
| Eh, vim plugin. | 15:23 |
| → telemachus joined | 15:23 |
| ← [M]ax left | 15:23 |
| → fisted joined | 15:24 |
| → canton8 joined | 15:26 |
| ← fisted_ left | 15:26 |
| → iamjarvo joined | 15:27 |
|
totte
| Well I edited my ~/.gitconfig file, the letter that should be an ä was an a. I made a commit and the log entry for that seems to be alright. | 15:27 |
| → Textmode joined | 15:27 |
| → [M]ax joined | 15:28 |
| → brian joined | 15:28 |
| brian → Guest47787 | 15:28 |
| ← canton8 left | 15:29 |
| → Yojiro joined | 15:29 |
| ← Textmode left | 15:29 |
| → Textmode joined | 15:30 |
| → marcoshack_br joined | 15:33 |
| → Dragooon joined | 15:38 |
| → seivan joined | 15:39 |
| ← AmirBehzad left | 15:40 |
| ← Chiroo64 left | 15:40 |
| → Chiroo joined | 15:40 |
| → cccaldas joined | 15:41 |
| → Chirag joined | 15:42 |
| → HolySinner joined | 15:42 |
| ← Chiroo left | 15:42 |
| tizzo-afk → tizzo | 15:43 |
| ← [M]ax left | 15:43 |
| ← empity left | 15:44 |
| → [M]ax joined | 15:46 |
| ← kpreid left | 15:47 |
| ← dr_win left | 15:47 |
| → dcarper joined | 15:48 |
| ← wolog left | 15:50 |
| → wolog joined | 15:53 |
| → brar joined | 15:55 |
| ← Chirag left | 15:55 |
| → Chiroo joined | 15:56 |
| → list joined | 15:58 |
| ← list left | 15:59 |
| ← HolySinner left | 15:59 |
| → jwmann joined | 16:01 |
| ← ph^ left | 16:02 |
| → kevwil joined | 16:04 |
| → soulcake joined | 16:08 |
| tizzo → tizzo-afk | 16:09 |
| → gebbione joined | 16:12 |
|
gebbione
| hi does anyone use egit? | 16:12 |
|
bremner
| not many, but you can try your question anyway | 16:13 |
| ← angelsl left | 16:13 |
| ← GiantHamster left | 16:13 |
| ← jweinberg left | 16:14 |
| → jweinberg joined | 16:14 |
| → Matrixiumn joined | 16:14 |
|
gebbione
| in another machine i created a few branches and after fetching i dont have them available from this machine through the egit switch option, i have to go to custom and then remote>branch | 16:14 |
|
| but it looks like it refers to the remote reference | 16:14 |
|
| am i not supposed to download that somehow? | 16:14 |
| ← soulcake left | 16:15 |
|
cbreak
| normally with git, if you fetch a remote, you get remote tracking branches for all the remote branches | 16:16 |
|
| (git branch -r) | 16:16 |
|
| if you want to use them locally for example to commit to them, you have to make a local branch out of them with git checkout -t origin/foo or so. | 16:17 |
| → iocor joined | 16:18 |
| ← dennda left | 16:18 |
| ← kevwil left | 16:18 |
| → LucasTizma joined | 16:19 |
| ← Cromulent left | 16:19 |
| → snearch joined | 16:19 |
|
gebbione
| not too sure how that works out in egit | 16:19 |
| → kukks joined | 16:22 |
| ← __main__ left | 16:25 |
| ← rebagliatte left | 16:26 |
| → AmirBehzad joined | 16:27 |
| → ninjaneer joined | 16:28 |
| ← lapistano left | 16:28 |
| → lapistano joined | 16:28 |
| ← ninjaneer left | 16:30 |
| → kriegerod joined | 16:31 |
| ← darrend left | 16:32 |
| → shruggar joined | 16:33 |
|
kriegerod
| I look for command like "git clone --bare /local/repo remoteuser@remotehost:remote/path". exactly this command fails, but i really want to have sth for this case. Is there a way to straightly clone repo to remote host by ssh? If not, seems i have to use git-bundle. Is that right? | 16:33 |
| ← alansaul left | 16:33 |
| ← _md left | 16:35 |
| ← DrHouse|TARDIS left | 16:35 |
| → Raging_Hog joined | 16:36 |
|
FauxFaux
| kriegerod: ssh remoteuser@remotehost 'git init --bare remote/path' && GIT_DIR=/local/repo git push remoteuser@remotehost:remote/path | 16:36 |
|
| (Or git clone --bare locally and rsync / scp the result over.) | 16:37 |
| ← gebbione left | 16:38 |
| → cilly joined | 16:38 |
| ← rdholder left | 16:38 |
| ← berserkr left | 16:39 |
| → chilversc joined | 16:40 |
| → ehsan joined | 16:41 |
| ← i42n left | 16:41 |
| ← cccaldas left | 16:41 |
| → mandric joined | 16:42 |
| ← iocor left | 16:45 |
| → berserkr joined | 16:45 |
| → codewrangler joined | 16:46 |
| → kl4m joined | 16:46 |
| ← AmirBehzad left | 16:47 |
|
kriegerod
| FauxFaux: thanks | 16:47 |
| ← kl4m left | 16:50 |
| → apok joined | 16:51 |
| ← starlays left | 16:51 |
| → starlays joined | 16:51 |
|
chilversc
| odd, git rebase keeps taking ages, then dying with "malloc failed" | 16:52 |
|
| also, when it does that git rebase --abort doesn't reset the head back, leaving the head pointing to the rebase target | 16:53 |
|
FauxFaux
| git version, platform, ulimit -a output, git count-objects -v output, etc. | 16:54 |
|
| FauxFaux has that whole minute "What's that git command.. the one that.. counts objects.. and outputs the count.. of the objects.. in the repository." converstation with himself again. | 16:54 |
| ← tabakhase left | 16:55 |
| → tabakhase joined | 16:55 |
| → intripoon joined | 16:58 |
| ← intripoon_ left | 16:58 |
| → johnkpaul joined | 16:58 |
|
chilversc
| well, more concerning than the error is that it doesn't provide an easy way out unless you have the reflog enabled | 16:59 |
| ← gusnan left | 17:00 |
| ← apok left | 17:01 |
| ← lhunath left | 17:01 |
| → _md joined | 17:01 |
| ← cilly left | 17:03 |
| ← whitman left | 17:03 |
| ← t0rc left | 17:03 |
| ← intripoon left | 17:04 |
|
canton7
| chilversc, ORIG_HEAD probably exists and is correct. Not that I'm not concerned that rebase --abort is failing... | 17:05 |
| ← vandal- left | 17:05 |
| ← brainsail left | 17:05 |
|
chilversc
| FauxFaux: pastebin.com/Sc6HFzei | 17:06 |
| ← lonewulf` left | 17:06 |
| ← drizzd_ left | 17:07 |
| ← drizzd left | 17:07 |
| → whitman joined | 17:07 |
|
chilversc
| so what does rebase do that's any different to resetting the head to the other branch, then individually cherry-picking the commits? | 17:08 |
|
FauxFaux
| That really shouldn't be segfaulting. ¬_¬ | 17:08 |
| → vandal- joined | 17:08 |
| → intripoon joined | 17:09 |
|
chilversc
| the final error currently is, malloc failed (tried to allocate 5,754,881 bytes) | 17:09 |
|
| canton7: so it is, didn't know about ORIG_HEAD | 17:10 |
|
cmn
| I believe there is a -m option | 17:10 |
|
| that doesn't try to allocate so much memoryh | 17:10 |
| tizzo-afk → tizzo | 17:10 |
|
FauxFaux
| Also, I wonder why git bash on Windows returns a max open files of 256 (reproduced). :s | 17:10 |
| ← edude03 left | 17:10 |
|
EugeneKay
| chilversc - IIRC, cherry-pick gives you a "committed-by" field. rebase doesn't. | 17:11 |
|
CareBear\
| rebase also does | 17:11 |
|
| you create a new commit when you rebase | 17:11 |
|
| even if it is identical to another, the new commit has a different parent | 17:11 |
|
| and/or date | 17:11 |
| tizzo → tizzo-afk | 17:11 |
|
chilversc
| cmn: ah, could be copy tracking, there were a lot of files deleted from the master after the branch point | 17:11 |
|
EugeneKay
| I mean, separate Author and Commiter fields | 17:12 |
|
| EugeneKay whips out his test repo | 17:12 |
| ← dcarper left | 17:12 |
| ← EricInBNE left | 17:12 |
|
cmn
| chilversc: it could be... though git shouldn't be calculating anything of the sort for a rebase | 17:12 |
| → iocor joined | 17:13 |
| ← icwiener left | 17:13 |
| → icwiener joined | 17:13 |
| → savage- joined | 17:14 |
| ← savage- left | 17:14 |
| ← shruggar left | 17:15 |
|
EugeneKay
| Hrm, seems not. | 17:15 |
|
chilversc
| cmn: must be that, I tried git rebase -s resolve master and it worked | 17:17 |
| → nixmaniack joined | 17:17 |
| tizzo-afk → tizzo | 17:19 |
| ← icwiener left | 17:20 |
| → icwiener joined | 17:20 |
| ← BlindOracle left | 17:21 |
| ← kkiero left | 17:21 |
| ← frnkkpp left | 17:21 |
| → Cromulent joined | 17:22 |
| → Fernandos joined | 17:22 |
|
Fernandos
| hi | 17:23 |
| → lonewulf` joined | 17:23 |
| → BlindOracle joined | 17:23 |
|
Fernandos
| I'm undecided if I should do a git rebase or which effects it has. I've 7 branches each represents a milestone and I've now reached all milestones so far. one of them represents a release branch. I'm on branch milestone-7 how do I copy all changes to branch release? | 17:24 |
|
nerdboy
| moin | 17:25 |
|
cmn
| a merge might be best | 17:25 |
|
Fernandos
| my buddy always copied the entire directory, checked out the next milestone, overwrote all files with the backup directory.. | 17:26 |
| → frnkkpp joined | 17:26 |
| ← Carmivore left | 17:26 |
|
cmn
| that's very bad | 17:26 |
| → Carmivore joined | 17:26 |
|
Fernandos
| I believe so, but we didn't have time to teach him into git.. | 17:27 |
| → t0rc joined | 17:27 |
| → Destos joined | 17:27 |
| ← fruight left | 17:28 |
| → kl4m joined | 17:28 |
|
cmn
| from what you say, he's destroying history; which means it'll cost you more in developer time if you don't teach him how to use the tools | 17:28 |
|
nerdboy
| if there are no changes on the release branch then it's a pretty simple merge... | 17:30 |
|
chilversc
| milestones sound more like something that should be tags? | 17:30 |
|
Fernandos
| oh, I don't think he copies the .git folder also into the checkout out branch, hmm.. but he lately asked what the .git dir is.. so you're right we should go through it with him.. | 17:31 |
|
cmn
| if he simply copies the result, he's telling git that he did all of those changes in one go | 17:31 |
|
Fernandos
| chilversc: when the milestone is reached I create a tag with the version | 17:31 |
|
cmn
| that's the history he's destroying | 17:31 |
|
| how the files actually got to the state they're in | 17:32 |
|
| assuming these milestone branches represent changes you want to get into the release branch, a merge is what you want | 17:32 |
|
Fernandos
| I see | 17:32 |
| ← frnkkpp left | 17:32 |
|
cmn
| a pre-merge rebase on top of master might make the history a bit prettier graphically | 17:32 |
|
| on top of release, I mean | 17:32 |
| → mattly joined | 17:34 |
| → dfr|floridia joined | 17:35 |
| → FernandoBasso joined | 17:37 |
| ← snearch left | 17:37 |
| → mando joined | 17:37 |
| → dnjaramba joined | 17:37 |
| ← iamjarvo left | 17:37 |
|
smw
| Hi all. If I have a file in the current commit that is checked out, how can I diff it with head? | 17:40 |
|
FauxFaux
| git diff HEAD path/to/file | 17:40 |
|
smw
| thanks FauxFaux | 17:41 |
|
| FauxFaux, HEAD is master's head, right? | 17:42 |
| → fruight joined | 17:42 |
|
cmn
| no | 17:42 |
| → vervic joined | 17:42 |
|
cmn
| HEAD is HEAD, it points to the current branch/commit | 17:42 |
| ← kriegerod left | 17:43 |
|
smw
| cmn, ah | 17:43 |
|
cmn
| if you're in master, then yes, HEAD points to master's head | 17:43 |
|
| (a.k.a tip) | 17:43 |
|
smw
| so I want "git diff master -- the/file" | 17:44 |
|
| ? | 17:44 |
|
cmn
| maybe | 17:44 |
| → HardFu joined | 17:44 |
|
cmn
| what FauxFaux gave you will compare against the current branch's tip | 17:44 |
|
| HardFu announces that Carmivore has been updated, to check your stats, see http://carmivore.com/your-nickname | 17:44 |
|
smw
| cmn, would that diff the/file against "tip" (latest commit to branch master) | 17:44 |
|
| cmn, sounds good | 17:45 |
|
cmn
| the latest commit in branch master is master's tip | 17:45 |
|
| there is no global tip | 17:45 |
|
smw
| ok | 17:45 |
|
| cmn, sorry, I am not a developer and I recently had to start working with git with commands other than clone and pull :-\ | 17:46 |
|
cmn
| read the !book | 17:46 |
|
gitinfo
| 'Pro Git' is a complete book about git that is available online for free (there's a print version, too): http://progit.org/book/ | 17:46 |
|
smw
| thanks | 17:47 |
|
cmn
| and the man pages of whatever commands you're using | 17:47 |
| ← dfr|floridia left | 17:47 |
| → rebagliatte joined | 17:48 |
| → dfr|floridia joined | 17:51 |
| ← di-five left | 17:53 |
| → Pawka joined | 17:54 |
| → adamm joined | 17:58 |
| → churp joined | 17:59 |
| ← vervic left | 17:59 |
|
SethRobertson
| !thanks | 17:59 |
|
gitinfo
| The best way to thank someone is to say their nickname with two pluses after it, as part of a larger message of thanks if you want. So to thank me, for instance, say "gitinfo++". I'm a bot so thanks to me should be directed to my master, jast. | 17:59 |
|
EugeneKay
| Does gitinfo track thanks levels ? :-p | 17:59 |
|
SethRobertson
| No, there is some silly website which does. | 18:00 |
| → jargon- joined | 18:00 |
|
SethRobertson
| Of course, gitinfo can be used to, err, adjust the thanks levels | 18:00 |
| ← vandal- left | 18:00 |
| → Goplat joined | 18:01 |
| → Chillance joined | 18:02 |
| ← iocor left | 18:02 |
|
SethRobertson
| Isn't !vsch a typo? | 18:02 |
|
gitinfo
| https://github.com/RichiH/vcsh - a tool to manage dotfiles using git's fake bare repos to put more than one working directory into $HOME | 18:02 |
| ← NiklasFiekas left | 18:02 |
| ← codeshah left | 18:03 |
| → pdtpatrick_ joined | 18:05 |
| → vervic joined | 18:05 |
| ← subbyyy left | 18:06 |
|
bremner
| SethRobertson: yes | 18:06 |
| ← vervic left | 18:06 |
| ← abetaha left | 18:07 |
| → iocor joined | 18:09 |
| → vandal- joined | 18:10 |
|
jast
| hey now | 18:10 |
|
| I'm not a master of anything :P | 18:10 |
|
SethRobertson
| !vsch | 18:10 |
|
gitinfo
| TYPO! Please delete me! (Or document how we can delete it ourselves) | 18:10 |
|
SethRobertson
| Well, perhaps a master some somethings | 18:10 |
|
jast
| well, deletions get rid of the version history for the trigger, so I've been giving less people the privilege | 18:10 |
|
| try it now: use .trigger_edit to set the expansion to "-" (no quotes) to delete a trigger | 18:11 |
| → pgebhard joined | 18:11 |
| → subbyyy joined | 18:12 |
| ← kylef left | 18:12 |
|
SethRobertson
| jast++ :-) | 18:13 |
|
| Hmm. The gitinfo webpage isn't returning UTF-8 as the encoding type | 18:13 |
|
jast
| I thought I got the web server to send a header | 18:13 |
| ← pgebhard left | 18:13 |
|
SethRobertson
| No, that's a lie. I wonder why it isn't expanding UTF-8 lke gitinfo does in the channel | 18:13 |
|
Fernandos
| does someone use github bots? | 18:14 |
|
| to crawl stats about repos? | 18:14 |
|
jast
| I added the header now... but it still doesn't do it | 18:14 |
|
| oh, in fact it's been in the HTML, too, ever since I made the page | 18:15 |
|
| I think something in the processing chain is double-encoding the data | 18:15 |
|
SethRobertson
| Perhaps you have a HTML encoding that went awry? | 18:15 |
|
jast
| no idea why | 18:15 |
|
| let's just blame PHP | 18:15 |
| → dr_win joined | 18:15 |
|
jast
| a reasonable default in my experience | 18:15 |
| ← yshh left | 18:16 |
| → cilly joined | 18:17 |
| ← OOPMan left | 18:17 |
| → OOPMan joined | 18:18 |
| → cmyk_ joined | 18:18 |
| ← cilly left | 18:19 |
| → yakko joined | 18:21 |
| ← subbyyy left | 18:22 |
| ← arvind_k left | 18:22 |
| ← shiba_yu36 left | 18:23 |
| htoothrot → toothr | 18:24 |
| ← [M]ax left | 18:24 |
|
EugeneKay
| man git-archive | 18:24 |
|
gitinfo
| the git-archive manpage is available at http://jk.gs/git-archive.html | 18:24 |
| → [M]ax joined | 18:26 |
| → macmartine joined | 18:26 |
| ← Yojiro left | 18:26 |
| ← faber left | 18:26 |
| ← HardFu left | 18:27 |
| ← mando left | 18:28 |
| → Biopandemic joined | 18:28 |
| ← Biopandemic left | 18:28 |
| ← tureba left | 18:28 |
| ← mishok13 left | 18:29 |
| → shurane joined | 18:30 |
| → tureba joined | 18:32 |
| → danielpunt joined | 18:33 |
| → dcarper joined | 18:34 |
| ← michale left | 18:34 |
| → crisp joined | 18:35 |
| → arvind_k joined | 18:35 |
|
dcarper
| what's the best way to move a range of commits to a new branch? | 18:35 |
| ← fayimora left | 18:35 |
|
FauxFaux
| dcarper: !fixup | 18:36 |
|
gitinfo
| dcarper: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at https://gist.github.com/1612395 for full instructions. For hints type !fixup_hints in IRC. Remember, if you have pushed there only a few things you can do without !rewriting_public_history (type that for more info) | 18:36 |
| → Yojiro joined | 18:37 |
| → t4nkd joined | 18:37 |
| → cilly joined | 18:37 |
| ← Fernandos left | 18:38 |
|
dcarper
| FauxFaux: that's a helpful resource so thank you but doesn't really answer my question | 18:39 |
|
FauxFaux
| It really did. | 18:39 |
|
offby1
| dcarper: I'd create the new branch pointing at the last commit of the range, then do "git rebase -i" on the original branch to delete those commits. | 18:39 |
| ← brar left | 18:39 |
| → di-five joined | 18:40 |
| → edude03 joined | 18:40 |
| ← Karmaon left | 18:40 |
| → pantsman joined | 18:40 |
| ← pantsman left | 18:40 |
| → pantsman joined | 18:40 |
| ← cilly left | 18:42 |
| ← Jackneill left | 18:42 |
| → diegoviola joined | 18:42 |
| ← martinjlowm-lptp left | 18:44 |
| ← Guest24222 left | 18:45 |
|
smw
| Is there a quick easy way to import a file from master's tip to my branch? | 18:45 |
|
FauxFaux
| git checkout master -- path/to/file | 18:45 |
|
smw
| thanks FauxFaux | 18:45 |
| → marcuy joined | 18:45 |
| ← pantsman left | 18:46 |
| → notola joined | 18:46 |
| ← sudoquai left | 18:46 |
| ← Cromulent left | 18:46 |
| → ehsan_ joined | 18:48 |
| ← ehsan left | 18:48 |
|
RichiH
| .lr | 18:51 |
| → Davey_ joined | 18:51 |
| → subbyyy joined | 18:52 |
| ← flippo left | 18:52 |
| → gaius65 joined | 18:52 |
|
gaius65
| What am I doing here wrong? | 18:52 |
| ← BasicXP left | 18:52 |
|
gaius65
| git tag -a v0.9.3 -m 'Beta3 release' | 18:52 |
|
| fatal: Failed to resolve 'HEAD' as a valid ref. | 18:52 |
|
| last commit was a marge | 18:53 |
|
| merge | 18:53 |
| → empity joined | 18:54 |
|
gaius65
| oh, sry... solved. The download had an erro :-/ | 18:54 |
| ← gaius65 left | 18:54 |
| ← kaimi left | 18:55 |
| ← Yojiro left | 18:55 |
| → Axsuul joined | 18:56 |
| ← Adaptee left | 18:56 |
| → sureaint joined | 18:57 |
| → Yojiro joined | 18:58 |
| ← n3m left | 18:58 |
| → n3m joined | 18:59 |
| ← shurane left | 19:01 |
| ← Yojiro left | 19:02 |
| ← xxtjaxx left | 19:02 |
| → xxtjaxx joined | 19:02 |
| ← xxtjaxx left | 19:02 |
| → xxtjaxx joined | 19:02 |
| → kaimi joined | 19:02 |
| ← xxtjaxx left | 19:03 |
| ← khmarbaise left | 19:03 |
| → Karmaon joined | 19:05 |
| → empity` joined | 19:06 |
| → Heimidal joined | 19:06 |
| ← sharkmonkey left | 19:07 |
| tizzo → tizzo-afk | 19:08 |
| → guns joined | 19:08 |
| ← empity left | 19:10 |
| → QaDeS joined | 19:10 |
| ← dfr|floridia left | 19:11 |
| → kerrick joined | 19:11 |
| → porco joined | 19:13 |
| ← unreal left | 19:14 |
| → Nibato joined | 19:15 |
| → g0bl1n joined | 19:16 |
| → Cromulent joined | 19:16 |
| → shruggar joined | 19:17 |
| ← LeMike left | 19:19 |
| → pantsman joined | 19:20 |
| ← pantsman left | 19:21 |
| ← porco left | 19:21 |
| → porco joined | 19:21 |
| → CannedCorn joined | 19:21 |
| ← rebagliatte left | 19:25 |
| ← Nibato left | 19:25 |
| ← cyphase left | 19:26 |
| ← porco left | 19:26 |
| → fayimora joined | 19:27 |
| → BiggFREE joined | 19:28 |
| ← Davey_ left | 19:28 |
| ← g0bl1n left | 19:28 |
| → Cyber-Dogg joined | 19:29 |
| ← dr_lepper left | 19:30 |
| ← Octalot left | 19:30 |
| → matsebc joined | 19:30 |
|
Cyber-Dogg
| I recently joined a new proejct | 19:30 |
|
| they're using github | 19:30 |
|
| I made a change and commited it | 19:31 |
|
| however, wehn we try to deploy - we're getting ssh issues with known_hosts | 19:31 |
|
| only from my commit | 19:31 |
|
| I don't understand git well enough to know if this is possibly a git config issue | 19:31 |
|
| or something else | 19:31 |
|
| I was hoping someone here could help me shed some light on that | 19:32 |
| → ph^ joined | 19:32 |
| → unreal joined | 19:32 |
|
m1sc
| Cyber-Dogg: do you get any error message? | 19:33 |
| ← shruggar left | 19:34 |
| → shruggar joined | 19:35 |
|
Cyber-Dogg
| yes | 19:35 |
| ← shruggar left | 19:35 |
| → Element9 joined | 19:35 |
|
Cyber-Dogg
| pastebin coming | 19:35 |
|
| http://pastebin.com/DwhGTGez | 19:36 |
| ← CannedCorn left | 19:36 |
| ← matthiaskrgr left | 19:37 |
|
Element9
| Is there a way to undo a commit? I committed instead of amending to the last commit | 19:37 |
|
majuscule
| Element9: if you haven't pushed your commit out, you can use git reset | 19:37 |
|
canton7
| Element9, !fixup | 19:38 |
|
gitinfo
| Element9: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at https://gist.github.com/1612395 for full instructions. For hints type !fixup_hints in IRC. Remember, if you have pushed there only a few things you can do without !rewriting_public_history (type that for more info) | 19:38 |
| → stringoO joined | 19:38 |
|
Element9
| majuscule: I didn't push yet | 19:38 |
|
| canton7: thanks, I'll read that | 19:38 |
|
majuscule
| Element9: man git reset | 19:38 |
|
gitinfo
| Element9: the git-reset manpage is available at http://jk.gs/git-reset.html | 19:38 |
| → matthiaskrgr joined | 19:39 |
| ← Dragooon left | 19:39 |
| → aknewhope joined | 19:39 |
| → cirwin joined | 19:40 |
| ← aknewhope left | 19:41 |
| ← dnjaramba left | 19:41 |
| → aknewhope joined | 19:41 |
| → DofLeFou joined | 19:41 |
| ← fairuz_ left | 19:41 |
| ← notola left | 19:42 |
| → fayimora_ joined | 19:42 |
| ← FernandoBasso left | 19:43 |
|
Cyber-Dogg
| m1sc: does that pastebin tell you anything? | 19:43 |
| ← fayimora_ left | 19:43 |
| ← canton7 left | 19:44 |
| ← fayimora left | 19:44 |
| → apok joined | 19:45 |
|
m1sc
| Cyber-Dogg: delete line 1 in your known_hosts file | 19:46 |
| ← madsy left | 19:46 |
|
Element9
| majuscule, canton7: problem solved. thanks again! | 19:47 |
| → rebagliatte joined | 19:48 |
| ← aknewhope left | 19:49 |
| ← mastro left | 19:52 |
| ← OOPMan left | 19:52 |
| → Fullmoon joined | 19:54 |
| → pantsman joined | 19:56 |
| ← pantsman left | 19:56 |
| → pantsman joined | 19:56 |
| ← ph^ left | 19:56 |
| ← ehsan_ left | 19:56 |
| → ehsan joined | 19:56 |
| ← Cromulent left | 19:57 |
| → Nibato joined | 19:58 |
| ← Nibato left | 19:58 |
| → mastro joined | 19:59 |
| → Nibato joined | 20:00 |
| ← apok left | 20:01 |
| → flippo joined | 20:01 |
| ← chrisf__ left | 20:01 |
| → chrisf joined | 20:02 |
| ← ehsan left | 20:02 |
| → ehsan joined | 20:02 |
| → Cromulent joined | 20:02 |
| ← Nibato left | 20:02 |
| → amcsi joined | 20:02 |
| → MariusKarthaus joined | 20:03 |
| → nicxvan joined | 20:03 |
| ← [M]ax left | 20:05 |
| → [M]ax joined | 20:05 |
|
Cyber-Dogg
| m1sc: thaks that took care of it | 20:08 |
|
| I do have another question... | 20:08 |
| → erickr joined | 20:08 |
| → OOPMan joined | 20:08 |
|
Cyber-Dogg
| I'm getting a message taht says No submodule mapping found in .gitmodules | 20:08 |
| → digitalfiz joined | 20:08 |
| ← digitalfiz left | 20:08 |
| → digitalfiz joined | 20:08 |
|
Cyber-Dogg
| for a specific path | 20:08 |
|
| however - I haven't defined any submodules | 20:08 |
|
| and I'm not sure why it thinks there should be one | 20:08 |
| → toabctl joined | 20:09 |
|
erickr
| Is there a way to merge 2 nonconsecutive commits? I've made some changes and generated 4 patches with git-format-patch, but I want to merge 2 of them to one patch, is that possible? | 20:10 |
| → gusnan joined | 20:10 |
|
cirwin
| erickr: sounds like you want git rebase -i | 20:10 |
| → i42n joined | 20:10 |
|
Mikachu
| see also commit --fixup and rebase -i --autosquash | 20:11 |
|
erickr
| cirwin: but can I ignore some of the 4 commits with that? I only seemed to | 20:11 |
|
dcarper
| offby1: bit delayed but thanks, exactly what I was looking for ;) | 20:11 |
| → madsy joined | 20:12 |
| ← madsy left | 20:12 |
| → madsy joined | 20:12 |
|
erickr
| show have made a branch before my edits.. :) | 20:12 |
|
cirwin
| erickr: you can re-order the commits, put two next to each other | 20:12 |
|
| and change the wording of the lower on to "squash" | 20:13 |
|
| and it will merge them into one commit | 20:13 |
| ← starlays left | 20:13 |
|
erickr
| cirwin: aha, I'll try that.. | 20:14 |
|
| is there a way to only see my local commits+ | 20:14 |
|
cirwin
| erickr: git log HEAD --not @{upstream} | 20:15 |
|
| (--oneline --decorate --graph) | 20:15 |
|
erickr
| sweet. :) | 20:15 |
|
Cyber-Dogg
| basically - I need it to ignore that location anyway | 20:15 |
|
| actually - I shouldn't say that | 20:15 |
|
| I need it htere | 20:15 |
|
| but I'm not sure what the submodule stuff is | 20:15 |
| ← brian_g left | 20:15 |
| → brian_g joined | 20:16 |
| ← rfx left | 20:18 |
|
Cyber-Dogg
| how do I look at the current list of submodules? | 20:18 |
| ← t4nkd left | 20:18 |
| ← TomyLobo left | 20:18 |
| ← krz left | 20:19 |
| ← babilen left | 20:19 |
| ← Lgb left | 20:20 |
| ← Pawka left | 20:20 |
| ← tureba left | 20:21 |
| ← Milossh left | 20:21 |
| → Lgb joined | 20:21 |
| ← agile left | 20:22 |
| → LeMike joined | 20:22 |
| → shurane joined | 20:24 |
| ← jargon- left | 20:25 |
| ← icwiener left | 20:25 |
| → icwiener joined | 20:25 |
| ← danielpunt left | 20:26 |
| ← sureaint left | 20:27 |
| ← macmartine left | 20:28 |
|
Cyber-Dogg
| so I pulled the repo | 20:29 |
|
| there is a branch that was already in it | 20:29 |
| ← [M]ax left | 20:29 |
|
Cyber-Dogg
| I have added a new folder in the staging branch | 20:29 |
|
| commited, pushed | 20:30 |
|
| and I'm getting this 'No submodule mapping found in .gitmodules for path' error | 20:30 |
|
| the path is the new folder I've added | 20:30 |
| → marcreichelt joined | 20:30 |
|
cbreak
| Cyber-Dogg: sees you added a submodule | 20:31 |
|
| a git repository | 20:31 |
|
| without also specifying a source | 20:31 |
| ← matsebc left | 20:31 |
| → [M]ax joined | 20:32 |
| ← Element9 left | 20:32 |
| → macmartine joined | 20:32 |
|
Cyber-Dogg
| i guess...? | 20:33 |
|
| i didn't mean to | 20:33 |
|
| just added a folder | 20:33 |
|
| is that automatucally a submodule? | 20:33 |
|
cbreak
| no | 20:33 |
|
| you added a git repository | 20:34 |
|
Karmaon
| Oh crap, interactive rebasing removed the effect of no-ff | 20:34 |
| → fr0stbyte joined | 20:34 |
|
Cyber-Dogg
| how do i make it not a repo then? | 20:34 |
|
| I just need it to be a folder in the repo | 20:34 |
|
marcreichelt
| Hi! I want to convert my SVN repositories to git. I installed gitosis on my server and created an empty repository there, and I used 'git svn clone' on my client to import a complete SVN repo. Now I want to add my gitosis server as a remote for this repo, but 'git remote add origin gitosis@server:reponame' followed by a 'git push' simply lead to a message 'No refs in common and none specified; doing nothing. Perhaps you should specify a branc | 20:34 |
|
| h such as 'master'.' | 20:34 |
|
cbreak
| Karmaon: rebasing doesn't preserve mages by default | 20:35 |
|
marcreichelt
| what am I doing wrong? | 20:35 |
|
cbreak
| Cyber-Dogg: move the .git folder inside away before git add && git commit && git push | 20:35 |
|
Karmaon
| cbreak: so would I have to reset to the commit before the merge and merge again? | 20:35 |
|
erickr
| cirwin: finally got it right, added git rebase -i origin/master to get it to show only my nonpushed stuff.. | 20:35 |
|
cbreak
| marcreichelt: you used gitosis | 20:35 |
|
| it's old. use gitolite | 20:35 |
|
Cyber-Dogg
| cbreak: you just totally lost me :-) | 20:35 |
|
| I'm very new to git | 20:36 |
|
| came from SVN world | 20:36 |
|
cbreak
| also, you have to read the error message | 20:36 |
|
SethRobertson
| !gitosis | 20: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 | 20:36 |
|
Cyber-Dogg
| all I've done is | 20:36 |
|
marcreichelt
| cbreak, I use a Debian server and gitolite was not available there. Should I use an external APT repository for this? | 20:36 |
|
Cyber-Dogg
| clone | 20:36 |
|
| branch checkout | 20:36 |
| ← rickmasta left | 20:36 |
|
Cyber-Dogg
| mkdir newstuff | 20:36 |
|
cbreak
| marcreichelt: if you push to an empty repository, you have to do git push reponame branchnames | 20:36 |
|
Cyber-Dogg
| added some files to new stuff | 20:36 |
|
SethRobertson
| marcreichelt: You can install gitolite. There are .debs for it | 20:36 |
| ← LongBeach left | 20:36 |
| ← macmartine left | 20:36 |
|
Cyber-Dogg
| git add commit push | 20:36 |
|
| and now my deploy is telling me no submodule defined | 20:37 |
|
cbreak
| Cyber-Dogg: check if the folder contains a .git folder where you added it | 20:37 |
|
Cyber-Dogg
| k - sec | 20:37 |
|
erickr
| marcreichelt: gitolite was a breeze to setup on debian even though it wasnt in the dep repos, i did it last week.. | 20:37 |
|
marcreichelt
| cbreak, ok - thanks for the tip :) | 20:37 |
|
Cyber-Dogg
| no | 20:37 |
|
marcreichelt
| and I definitey will uninstall gitosis :) | 20:37 |
|
Cyber-Dogg
| it does not | 20:37 |
|
| the folder I added though - does | 20:38 |
|
marcreichelt
| SethRobertson, I don't want no .debs, because I want automatic security updates | 20:38 |
|
cbreak
| Cyber-Dogg: do a git cat-file -p HEAD:path/to/parent | 20:38 |
|
| with the path to the parent of the folder you added | 20:38 |
| → corburn joined | 20:38 |
|
Cyber-Dogg
| you know what - the files I added it is a submodule... | 20:38 |
|
cbreak
| relative to the repository root | 20:38 |
| ← corburn left | 20:38 |
|
Cyber-Dogg
| I did a clone in that folder from recurly's github | 20:39 |
|
| so that does make sense... | 20:39 |
| → corburn joined | 20:39 |
|
SethRobertson
| marcreichelt: It is in packages.ubuntu.com. I'm not sure if that means it will get those or not | 20:39 |
| ← Chiroo left | 20:39 |
|
Cyber-Dogg
| I just remembered | 20:39 |
| ← corburn left | 20:39 |
| ← resmo left | 20:39 |
|
| marcreichelt just found out that he is still running Lenny on his server (OMG!) | 20:40 |
|
Cyber-Dogg
| so - yeah I'm an idiot :-) | 20:40 |
|
cbreak
| Cyber-Dogg: if you have a submodule, you have to use git submodule add to add it | 20:40 |
|
| read the man page | 20:40 |
|
| also, be sure that you want a submodule | 20:40 |
| → zetsubo joined | 20:40 |
|
SethRobertson
| Cyber-Dogg: Or consider other options: !subprojects | 20:40 |
|
gitinfo
| So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely seperate. Otherwise your best options are "!submodule" "!gitslave" and "!subtree" Try typing those commands into this IRC channel. | 20:41 |
|
cbreak
| they have some powerful assumptions which annoy anyone who doesn't fit to those assumptions | 20:41 |
| → corburn joined | 20:41 |
|
cbreak
| if you cloned it from someone elses repo, a submodule might be the right choice | 20:41 |
|
| just make sure you know what you're getting yourself into :) | 20:41 |
| → zulax joined | 20:42 |
|
Cyber-Dogg
| hmm... | 20:42 |
| → apok joined | 20:42 |
| ← toabctl left | 20:42 |
|
Cyber-Dogg
| you scare me... | 20:42 |
| → tureba joined | 20:43 |
|
Cyber-Dogg
| basically - we havea vendor that we're using | 20:43 |
|
| they have a github repo for their library | 20:43 |
| → the_cybersphinx joined | 20:43 |
|
Cyber-Dogg
| and the library hits their API | 20:43 |
|
| so - it would make sense to do a submodule right? | 20:43 |
|
| or - is that treating them entirely seperate? | 20:44 |
|
| what would you experts do? :-) | 20:44 |
| ← ehsan left | 20:44 |
| → mcmt joined | 20:44 |
| ← johnkpaul left | 20:44 |
|
cbreak
| I'd use submodules | 20:45 |
|
| will you commit to that repository? | 20:46 |
|
Cyber-Dogg
| nope | 20:46 |
|
| don't have permission to even :) | 20:46 |
| ← cybersphinx left | 20:46 |
|
Cyber-Dogg
| just need to be able to grab their updated library periodically (whenever they make changes) | 20:46 |
|
| but with some level of control on that in case they make breaking changes | 20:47 |
| ← tureba left | 20:47 |
| → maqr joined | 20:47 |
|
cbreak
| yeah, submodules then | 20:48 |
|
Cyber-Dogg
| k | 20:48 |
|
cbreak
| you'll get full control over which submodule commit the parent repo wants | 20:48 |
|
Cyber-Dogg
| k | 20:48 |
|
| so to set that tup - I go to the parent repo and do a git submodule add? | 20:48 |
| → tureba joined | 20:49 |
| → acl_ joined | 20:49 |
|
Cyber-Dogg
| git submodule add <repo> <path> | 20:49 |
| ← tureba left | 20:49 |
|
Cyber-Dogg
| when I do that, I get 'design/javascripts/recurly-js' already exists in the index | 20:50 |
| → Element9 joined | 20:50 |
| → troydm joined | 20:51 |
|
troydm
| how can i merge two last commits? | 20:51 |
|
| into one | 20:51 |
| → resmo joined | 20:52 |
|
troydm
| say i don't need two last commits to be separate | 20:52 |
|
| can i merge them into one? | 20:52 |
|
cmn
| it's called squashing, git rebase -i HEAD~2 | 20:53 |
|
| and squash the last one | 20:53 |
|
| more information in man git rebase | 20:53 |
|
gitinfo
| the git-rebase manpage is available at http://jk.gs/git-rebase.html | 20:53 |
| ← BlindOracle left | 20:54 |
| → macmartine joined | 20:56 |
| → tureba joined | 20:57 |
| ← flyz left | 20:58 |
| ← rebagliatte left | 20:59 |
| → sureaint joined | 21:00 |
| ← gusnan left | 21:03 |
|
Cyber-Dogg
| I got it | 21:03 |
| → mikepack joined | 21:04 |
| ← shurane left | 21:04 |
| ← _h0bbit left | 21:04 |
| ← empity` left | 21:05 |
| → shurane joined | 21:05 |
| ← sureaint left | 21:06 |
| → savage- joined | 21:06 |
|
erickr
| troydm: I just had the same question, | 21:07 |
|
| troydm: I used git rebase -i origin/master | 21:07 |
|
| troydm: adding origin/master will make it include only commits that are not pushed yet.. | 21:07 |
| ← denysonique_ left | 21:08 |
| ← savage- left | 21:08 |
|
troydm
| erickr: but i have already pushed them | 21:08 |
| ← NimeshNeema left | 21:08 |
| ← MetaCosm left | 21:08 |
|
troydm
| erickr: and now on remote branch i have 3 sequentual commits that should be one | 21:08 |
| ← jab416171|Cloud left | 21:08 |
| → linusoleander joined | 21:08 |
|
troydm
| and i'm thinking of how to remove them | 21:08 |
| → NimeshNeema joined | 21:08 |
|
erickr
| troydm: aha, ok, you can probably use rebase anyway, | 21:08 |
| → MetaCosm joined | 21:09 |
| ← dkannan left | 21:09 |
| → marcuy_ joined | 21:09 |
|
erickr
| although, if anyone based work upon them, it will mess with their work.. | 21:09 |
| ← jmcantrell left | 21:09 |
| ← arnihermann left | 21:09 |
| ← zetsubo left | 21:09 |
|
erickr
| use git rebase in the way cmn mentioned.. | 21:09 |
|
troydm
| erickr: yeah, but it's just that those three commits should be one | 21:09 |
| ← NimeshNeema left | 21:09 |
|
troydm
| so basicly i need to somehow merge all three into one | 21:10 |
|
| and rebase remote branch | 21:10 |
|
| or something like that | 21:10 |
|
erickr
| see cmns answer.. it will do it.. | 21:10 |
| ← desaila_ left | 21:10 |
| → eijk joined | 21:10 |
| ← nixmaniack left | 21:10 |
| ← erickr left | 21:10 |
| ← fujin left | 21:11 |
| ← MetaCosm left | 21:11 |
| ← marcuy left | 21:11 |
|
cmn
| troydm: do what I said, maybe change the 2 to 3 if you now have an extra commit to squash; and push with -f; but realise what you're doing is !rewriting_public_history | 21:11 |
|
gitinfo
| troydm: Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 21:11 |
| ← tfnico left | 21:12 |
|
Cyber-Dogg
| thanks for the help! | 21:12 |
| ← Cyber-Dogg left | 21:12 |
|
troydm
| cmn: thanks | 21:12 |
| ← shennyg left | 21:12 |
|
troydm
| cmn: i'll try that | 21:12 |
| → CombatCow joined | 21:13 |
| → shennyg joined | 21:13 |
| ← kerrick left | 21:13 |
| → tfnico joined | 21:14 |
| → jdav_gon` joined | 21:14 |
| → jab416171|Cloud joined | 21:14 |
| → arnihermann joined | 21:15 |
| → jmcantrell joined | 21:15 |
| → johnkpau_ joined | 21:15 |
| → desaila_ joined | 21:16 |
| ← Guest47787 left | 21:16 |
| → Octalot joined | 21:16 |
| → kerrick joined | 21:16 |
| → denysonique_ joined | 21:17 |
| ← jdav_gone left | 21:17 |
| → NimeshNeema joined | 21:17 |
| → fujin joined | 21:18 |
| ← Sigma left | 21:19 |
| → batrick_ joined | 21:22 |
| ← batrick_ left | 21:22 |
| → |Agent joined | 21:23 |
| → dkannan joined | 21:23 |
|
|Agent
| What's the difference between "fetch" and "pull"? | 21:23 |
|
corburn
| pull is a fetch + merge | 21:23 |
|
rue
| You could read the man pages for further info, but pull is fetch + merge | 21:23 |
| → Hati joined | 21:23 |
|
wereHamster
| also, !pull | 21:23 |
|
gitinfo
| also: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ | 21:23 |
|
|Agent
| okay thanks | 21:24 |
| ← guns left | 21:24 |
|
etcetera
| how do I find out the differences between remote master and local master? | 21:24 |
| → friskd joined | 21:25 |
| → s0ber_ joined | 21:26 |
|
cmn
| git diff master <remote>/master | 21:26 |
| ← batrick left | 21:27 |
| → MetaCosm joined | 21:27 |
| ← s0ber left | 21:28 |
| s0ber_ → s0ber | 21:28 |
| ← friskd left | 21:31 |
| ← thomas_b left | 21:32 |
| → batrick joined | 21:32 |
|
etcetera
| cmn: assuming I have not fetched origin/master? | 21:32 |
|
cmn
| you don't | 21:32 |
|
etcetera
| WARNING: terminal is not fully functional | 21:33 |
| ← bindaasomatic left | 21:33 |
|
cmn
| you can find out whether it's different with ls-remote, but to find differences, you need something to compare against | 21:33 |
|
| my terminal works just fine tyvm | 21:35 |
| ← mcmt left | 21:35 |
| → toabctl joined | 21:37 |
| → igotnolegs joined | 21:38 |
| ← |Agent left | 21:38 |
| ← Raging_Hog left | 21:39 |
|
etcetera
| using simple mac terminal.app | 21:40 |
|
| it gives me the warning and provides no output. | 21:40 |
|
| so I'm assuming no differences. | 21:40 |
| → martinjlowm joined | 21:40 |
| → ph^ joined | 21:41 |
| → pom joined | 21:43 |
| ← RaptorX left | 21:44 |
| ← igotnolegs left | 21:45 |
| ← lonewulf` left | 21:46 |
| ← shurane left | 21:47 |
| → gchristensen joined | 21:49 |
| → JackWinter2 joined | 21:49 |
| ← ThomasLocke left | 21:50 |
| ← JackWinter left | 21:50 |
| → igotnolegs joined | 21:50 |
| → guns joined | 21:52 |
| ← merkosh left | 21:53 |
| ← icwiener left | 21:53 |
| → komma joined | 21:55 |
| → friskd joined | 21:56 |
| → CannedCorn joined | 21:57 |
| ← toabctl left | 21:57 |
| johnkpau_ → johnkpaul | 21:58 |
| ← ipalaus left | 21:59 |
| ← tewecske left | 22:00 |
| ← yakko left | 22:02 |
| → thomas_b joined | 22:03 |
| ← Spockz` left | 22:04 |
| ← jaisoares left | 22:04 |
| → Araxia_ joined | 22:05 |
| → rebagliatte joined | 22:06 |
| ← corburn left | 22:06 |
| ← j416 left | 22:07 |
| → logbot83725 joined | 22:07 |
| ← pantsman left | 22:08 |
| → infogulch joined | 22:10 |
| ← whitman left | 22:14 |
| → thusitha joined | 22:15 |
| ← Araxia_ left | 22:15 |
| ← macmartine left | 22:16 |
| ← mikepack left | 22:17 |
| ← thusitha left | 22:18 |
| Omni|Work → Omni|AFK | 22:18 |
| → khmarbaise joined | 22:18 |
| ← lnostdal left | 22:19 |
| → lnostdal joined | 22:21 |
| ← apok left | 22:21 |
| → pen joined | 22:21 |
|
pen
| hey | 22:21 |
| → wuj joined | 22:22 |
|
pen
| sitaram: how's going? | 22:22 |
|
| I have a question for ya, about setting up gitweb with gitolite | 22:22 |
|
FauxFaux
| pen: Out with it! | 22:22 |
|
pen
| I am getting 404 even after setting the appropriate user group permission and update the REPO_UMASK and do the chmod manually for the existing repo | 22:22 |
|
| I am at the end of my wit | 22:23 |
|
| I restart apache | 22:23 |
|
| so many times | 22:23 |
| ← Goplat left | 22:23 |
| → boxybrow1 joined | 22:23 |
|
FauxFaux
| 404 on what URL? | 22:24 |
|
pen
| git.server/gitweb | 22:24 |
|
| the default one | 22:24 |
|
| FauxFaux: the gitweb interface is up, but 404 in the gitweb | 22:24 |
| gitinfo set mode: +v | 22:24 |
|
pen
| 404 - No projects found | 22:24 |
| gitinfo set mode: +v | 22:24 |
|
boxybrow1
| Hi there, I'm trying to run git diff on the tips of two branches and it seems like its giving me incorrect results... | 22:25 |
|
| I was hoping someone could help me figure out what was going on | 22:25 |
|
SethRobertson
| !repro | 22:25 |
|
gitinfo
| please paste (e.g. using http://git.pastebin.com/) a transcript of your terminal session in which the problem occurred so that we can troubleshoot more easily. | 22:25 |
|
boxybrow1
| okay | 22:26 |
|
SethRobertson
| pen: Did you read the gitweb man page about setting export_ok or otherwise authorizing the projects? | 22:26 |
| ← wuj left | 22:26 |
| ← khmarbaise left | 22:27 |
| → macmartine joined | 22:27 |
|
pen
| SethRobertson: I haven't read it yet, I was following some guides online and I set the config files to redirect gitweb to the gitolite repos | 22:27 |
|
| SethRobertson: but the problem is that gitweb cannot find the repos | 22:27 |
| → wuj joined | 22:27 |
|
SethRobertson
| gitweb fails safe. You must explicitly authorize repos to be exported. It might be producing an error since there are not authorized for export | 22:27 |
|
pen
| SethRobertson: from gitweb? hmm | 22:28 |
|
| SethRobertson: I don't see man for gitweb | 22:29 |
|
SethRobertson
| man gitweb | 22:29 |
|
gitinfo
| the gitweb manpage is available at http://jk.gs/gitweb.html | 22:29 |
| → ccushing joined | 22:29 |
| → dfr|floridia joined | 22:29 |
| ← smw left | 22:30 |
|
pen
| SethRobertson: well, I didn't have that in my gitweb.conf, is it off by default? | 22:30 |
|
SethRobertson
| gitweb fails safe. You must explicitly authorize repos to be exported. It might be producing an error since there are not authorized for export | 22:30 |
|
pen
| SethRobertson: yea, it should be off by default | 22:30 |
|
| I didn't set $strict_export | 22:31 |
|
| nor $export_ok, the manual said both are off by default and gitweb can access all repositories | 22:31 |
|
| SethRobertson: are you sure that's the case? I can try but that's just weird | 22:32 |
|
SethRobertson
| Well, then either the permissions ont he directory are wrong and apache cannot access them, or you have pointed gitweb at the wrong directory, or you are misreading the man page | 22:32 |
|
| It has been 2-3 years since I set up gitweb. At that time you had to do something affirmative to allow export | 22:33 |
|
pen
| SethRobertson: that's why I said, I have tried changing $REPO_UMASK to 0027 and chmod the existing directories and I even do usermod to move www-data to my gitolite user group | 22:34 |
| ← Sonderblade left | 22:34 |
|
pen
| it is still complaining that it cannot access the repo | 22:34 |
|
| I follow gitolite's suggestion and run chmod -R g+rX | 22:35 |
|
| for all directories under gitolite user | 22:35 |
|
| including the repos and project.list | 22:35 |
|
| projects.list | 22:35 |
|
SethRobertson
| here is an experiment. Change the permissions and ownership of the gitweb.cgi fiels to the same as the repos. If you can still get gitweb output, then that is not your problem | 22:35 |
| ← bitkiller left | 22:35 |
|
pen
| k, where is the gitweb.cgi? | 22:35 |
| ← wuj left | 22:36 |
|
SethRobertson
| You installed it somewhere so that apache could call it when you requested the right URL, no? | 22:36 |
| → khmarbaise joined | 22:36 |
|
SethRobertson
| Either you installed the gitweb.cgi to a location or you mapped the URL from the location | 22:37 |
| → wuj joined | 22:37 |
|
pen
| ah, found it | 22:37 |
|
| I installed via aptitude | 22:37 |
| ← wuj left | 22:37 |
|
pen
| hmm | 22:37 |
|
| so what would be the command for this? to change it to gitolite user? | 22:38 |
|
SethRobertson
| ls -ld /path/to/a/gitolite/repo | 22:38 |
|
| What does that return? | 22:38 |
| ← komma left | 22:38 |
| → wuj joined | 22:39 |
|
pen
| drwxr-x--- 7 gituser gituser 4096 Jan 23 14:49 repositories/testing.git/ | 22:39 |
|
| yea, I call it gituser | 22:39 |
|
wereHamster
| as if that wasn't obvious enough | 22:39 |
| ← guns left | 22:39 |
|
SethRobertson
| chmod 750 /path/to/gitweb.cig; chown gituser.gituser /path/to/gitweb.cgi | 22:39 |
|
pen
| ok, thanks | 22:40 |
|
SethRobertson
| You, err, have made apache part of group gituser and restart apache? | 22:40 |
|
| Otherwise it isn't going to work. | 22:40 |
|
| Well, that will be obvious enough soon | 22:40 |
| ← ccushing left | 22:40 |
|
pen
| yea, I did, I already did that | 22:41 |
|
boxybrow1
| SethRobertson: okay, I've posted my issue on pastebin: http://pastebin.com/znMa1Jyc | 22:41 |
| → ccushing joined | 22:41 |
|
boxybrow1
| I tried to add some comments to kind of describe whats going on | 22:41 |
|
| er, what I'm seeing | 22:41 |
| → smw joined | 22:42 |
| ← mandric left | 22:42 |
|
boxybrow1
| I suspect I just dont understand what is going on, but it seems like this behavior is pretty unexpected | 22:42 |
| ← khmarbaise left | 22:42 |
|
SethRobertson
| What does `git status` say? | 22:42 |
|
pen
| SethRobertson: still doesn't work after restarting, -rwxr-x--- 1 gituser gituser 211216 Sep 21 13:36 /usr/lib/cgi-bin/gitweb.cgi | 22:43 |
|
boxybrow1
| SethRobertson: it just has a bunch of untracked files, no modifications | 22:43 |
| ← infogulch left | 22:43 |
| ← dfr|floridia left | 22:43 |
| → kojiro joined | 22:43 |
| ← wuj left | 22:43 |
|
SethRobertson
| pen: You are getting 404 no projects? Not 404 not found or something? You have checked the apache error log? | 22:44 |
|
pen
| SethRobertson: still no projects, let me check the log | 22:44 |
| → hwrdprkns joined | 22:44 |
|
SethRobertson
| pen: I'm asking whether you are getting a 404 message about not being able to find/run gitweb.cgi or whether you are getting a 404 message about no git repositories being found? | 22:45 |
| → frogonwheels joined | 22:45 |
|
pen
| SethRobertson: still the same, I can access the gitweb interface | 22:45 |
| → wuj joined | 22:45 |
| → bitkiller joined | 22:45 |
|
pen
| SethRobertson: 404 - No projects found | 22:46 |
|
| still the same error message | 22:46 |
|
SethRobertson
| boxybrow1: !situation | 22:46 |
|
gitinfo
| boxybrow1: Please pastebin the relevant output of `git log -n 20 --all --graph --format="%h %p %d"` to give us an idea about what your situation is (increase the -n argument if you problem is more complex than 20 commits long) | 22:46 |
| ← KU0N left | 22:46 |
| ← Xizor left | 22:47 |
|
SethRobertson
| boxybrow1: Also: git log -n 20 --all --graph -- tutorial/src/gcdTestHarness_rtl.v | 22:47 |
| ← bitkiller left | 22:47 |
| → bitkiller joined | 22:47 |
| ← orospakr left | 22:47 |
| → hacim joined | 22:47 |
|
hacim
| i'm trying to add a submodule, but I keep getting an error that I do not understand: | 22:47 |
|
| fatal: Not a git repository: ../.git/modules/development/modules/etherpad-lite | 22:48 |
|
| Unable to checkout submodule 'development/modules/etherpad-lite' | 22:48 |
| → orospakr joined | 22:48 |
| ← wuj left | 22:48 |
|
hacim
| i'm doing the 'git submodule add <repo> path' in the top level git repository | 22:48 |
| → dfr|floridia joined | 22:48 |
| → wuj joined | 22:48 |
|
boxybrow1
| SethRobertson: any specific branch I should be doing this on? | 22:49 |
|
SethRobertson
| boxybrow1: no | 22:49 |
|
| pen: Have you customized the $project_root? | 22:49 |
|
| projectroot | 22:50 |
| → corburn joined | 22:50 |
|
pdtpatrick_
| Anyone know of something like this for git ? | 22:50 |
|
| http://versionsapp.com/ | 22:50 |
| ← johnkpaul left | 22:50 |
|
SethRobertson
| !tools | 22:50 |
|
gitinfo
| See https://git.wiki.kernel.org/articles/i/n/t/Interfaces,_frontends,_and_tools.html for information about known interfaces, frontends, and tools. | 22:50 |
|
hacim
| SethRobertson: no, I haven't | 22:51 |
|
| err, maybe you weren't talk to me | 22:52 |
|
SethRobertson
| hacim: I didn't reply to you, but if I were going to reply I'd ask you to show the command you used. I'd also advise you to consider switching from git-submodules to !gitslave | 22:52 |
|
gitinfo
| hacim: gitslave (http://gitslave.sf.net) is useful to add subsidiary git repositories to a git superproject when you control and develop on the subprojects at more or less the same time as the superproject, and furthermore when you typically want to tag, branch, push, pull, etc. all repositories at the same time. | 22:52 |
| ← rebagliatte left | 22:52 |
|
hacim
| interesting | 22:53 |
|
pen
| SethRobertson: hey, no | 22:53 |
|
| SethRobertson: I didn't | 22:53 |
|
hacim
| SethRobertson: i'll have a look at gitslave. I can't switch to it right now, but I will look at doing so. This is the command I was using: git submodule add git://labs.riseup.net/module_etherpad-lite development/modules/etherpad-lite | 22:53 |
|
pen
| SethRobertson: it is still in ~/repositories | 22:53 |
|
SethRobertson
| You could have done it in /etc/gitweb.conf | 22:54 |
|
boxybrow1
| SethRobertson: here you go http://pastebin.com/VMxn1yma | 22:54 |
|
SethRobertson
| boxybrow1: Your paste looks corrupted | 22:55 |
| ← eijk left | 22:55 |
|
pen
| SethRobertson: I did, I set it to /home/gituser/repositories | 22:55 |
|
| SethRobertson: btw, it is named $projectroot, no underscore | 22:56 |
| ← LekeFly left | 22:56 |
| → komma joined | 22:56 |
| → LekeFly joined | 22:56 |
|
kojiro
| Offhand, anyone familiar with dulwich and able to tell me how to iterate over the objects in a remote (ssh) repository? Or perhaps just how to clone that repo to local? | 22:57 |
|
SethRobertson
| pen: My only other suggestion is to use strace to try to see what gitweb is doing. `mv gitweb.cgi gitweb.cgi.real; echo "strace -o/tmp/tr -f -s128 $0.real" > gitweb.cgi; chmod 755 gitweb.cig` or something like that. Then yhou can look at /tmp/tr | 22:57 |
| ← arvind_k left | 22:58 |
|
kojiro
| alternatively, is it possible to emulate "clone" via other git commands? (such as init and fetch) | 22:58 |
| ← smw left | 22:58 |
| ← hacim left | 22:59 |
|
boxybrow1
| SethRobertson: ugh sorry, one second | 22:59 |
|
SethRobertson
| boxybrow1: Does this show you the same thiffn? git show master:tutorial/src/gcdTestHarness_rtl.v > /tmp/master; git show solutions:tutorial/src/gcdTestHarness_rtl.v > /tmp/solutions; diff -u /tmp/master /tmp/solutions | 23:00 |
|
pen
| SethRobertson: now I cannot access the gitweb anymore, it now says internal server error | 23:01 |
|
SethRobertson
| kojiro: Yes, you may emulate clone with init, remote add, and fetch | 23:01 |
| → brar joined | 23:01 |
|
SethRobertson
| Hmm, perhaps try adding a line "#!/bin/sh" in front of the other one in gitweb.cgI? | 23:01 |
| ← unreal left | 23:01 |
|
SethRobertson
| I'm assuming you have strace installed. Check that too | 23:02 |
|
boxybrow1
| SethRobertson: updated pastebin: http://pastebin.com/7Z9Y5Ltj | 23:02 |
|
| SethRobertson: Same thiffn? what's that? | 23:02 |
|
SethRobertson
| thing | 23:02 |
|
pen
| SethRobertson: do you know anything about perl? I am examining gitweb.cgi | 23:02 |
|
| SethRobertson: what does our do? | 23:02 |
|
SethRobertson
| our declares a variable as global | 23:02 |
|
boxybrow1
| SethRobertson: yes it shows me the same thing, theres no difference between the files | 23:03 |
|
pen
| SethRobertson: I see that in the beginning it declares projectroot as "pub/git" and the comment said above that it will be prepended | 23:03 |
|
boxybrow1
| diff -u /tmp/master /tmp/solutions dumps out nothing | 23:03 |
|
SethRobertson
| boxybrow1: that is peculiar. | 23:04 |
|
pen
| SethRobertson: seems like it is not getting it from gitweb.conf | 23:04 |
| ← patrick99e99 left | 23:04 |
|
boxybrow1
| yeah I'm not sure what is going on, I'm scared things got corrupted | 23:04 |
| ← zulax left | 23:04 |
|
SethRobertson
| git fsck --full | 23:04 |
|
| What version of git are you running? Can you make your repo publicly available? | 23:05 |
|
boxybrow1
| I'm running 1.7.1, I'm not sure if I can make it publicly available | 23:06 |
| → drizzd joined | 23:06 |
| ← di-five left | 23:06 |
| → drizzd_ joined | 23:06 |
| → daviddoria joined | 23:07 |
|
boxybrow1
| git fsck shows a bunch of dangling blobs | 23:07 |
|
| and a dangling commit | 23:07 |
|
daviddoria
| if it wont let me push because "non-fast-forward updates were rejected", is there a way I can see what it is complaining about? Nothing has changed on the remote, but a lot has changed locally | 23:07 |
|
SethRobertson
| dangling is normal | 23:07 |
|
boxybrow1
| okay | 23:08 |
|
pen
| SethRobertson: btw, I just installed strace but it is still getting me internal server error | 23:08 |
|
thiago
| daviddoria: it's complaining that the push is not a fast-forward | 23:08 |
|
linusoleander
| Is it somehow possible to make "git shortlog -s" not to lock when there isn't any HEAD? | 23:08 |
|
thiago
| daviddoria: that is, the remote has commits you don't | 23:08 |
|
drizzd_
| we should remove dangling objects from fsck's output | 23:08 |
|
thiago
| daviddoria: maybe you need to pull or rebase? | 23:08 |
|
linusoleander
| It's waiting for data from stdin | 23:08 |
|
SethRobertson
| boxybrow1: You have stumped me a bit. Unless there are tags or other refs with the same name (master/solutions) I have no ideas | 23:08 |
| ← pdtpatrick_ left | 23:09 |
|
SethRobertson
| pen: Try running gitweb.cgi manually and see what it says | 23:09 |
| → pdtpatrick_ joined | 23:09 |
|
daviddoria
| thiago, hm, there shouldn't be any commits on the remote that I don't have... i'm afraid if I pull it will undo everything i've done locally or something | 23:09 |
|
cirwin
| linusoleander: you could </dev/null it :p | 23:09 |
|
pen
| SethRobertson: ah, permission denied | 23:09 |
|
boxybrow1
| SethRobertson: okay..., I just did a "git merge master" on the solutions branch and that fixed it... but I'm not sure why | 23:10 |
|
linusoleander
| cirwin: That will send everything to dev/null | 23:10 |
|
| What if shortlog has something to return= | 23:10 |
|
cirwin
| no, it will read from /dev/null | 23:10 |
|
SethRobertson
| pen: ls -l gitweb.cgi* /tmp/tr | 23:10 |
| ← naderman left | 23:10 |
|
cirwin
| and therefore find the empty log | 23:10 |
|
linusoleander
| cirwin: git shortlog -s < /dev/null | 23:11 |
|
| Like that | 23:11 |
|
| ? | 23:11 |
|
cirwin
| yeah | 23:11 |
| ← pdtpatrick_ left | 23:11 |
|
SethRobertson
| boxybrow1: Git 1.7.1 is close to two years old. I'd recommend upgrading | 23:11 |
|
cirwin
| but that causes it to do nothing on real git repos too :( | 23:11 |
|
linusoleander
| cirwin: Exactly | 23:11 |
|
| cirwin: is there a way to check if a head exists? | 23:11 |
|
SethRobertson
| git show HEAD? | 23:12 |
|
cirwin
| git rev-parse HEAD --quiet --verify | 23:12 |
| ← Dave^|| left | 23:12 |
|
SethRobertson
| even better | 23:12 |
|
pen
| -rwxr-xr-x 1 gituser gituser 34 Jan 29 18:07 gitweb.cgi | 23:12 |
|
| -rwxr-x--- 1 gituser gituser 211216 Jan 29 18:06 gitweb.cgi.real | 23:12 |
|
| yea | 23:12 |
|
linusoleander
| SethRobertson: I'm getting "fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. | 23:13 |
|
| Use '--' to separate paths from revisions" | 23:13 |
|
SethRobertson
| pen: Are *you* a member of user/group gituser? | 23:13 |
|
daviddoria
| so if I do a push -f, is there really no way to get back commits in between? | 23:13 |
|
SethRobertson
| pen: What did the apache errorlog have to say about the problem? | 23:13 |
|
pen
| SethRobertson: oh oops, I chown but I run as another user, let me try again :P | 23:13 |
|
SethRobertson
| daviddoria: Yes, there is. !fixup | 23:13 |
|
gitinfo
| daviddoria: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at https://gist.github.com/1612395 for full instructions. For hints type !fixup_hints in IRC. Remember, if you have pushed there only a few things you can do without !rewriting_public_history (type that for more info) | 23:13 |
| ← JackWinter2 left | 23:13 |
|
daviddoria
| SethRobertson, cool, i'll take a look, thanks | 23:14 |
| → unreal joined | 23:14 |
| → bigkm joined | 23:14 |
| → naderman joined | 23:14 |
| ← naderman left | 23:14 |
| → naderman joined | 23:14 |
| → sudoquai joined | 23:15 |
| ← MariusKarthaus left | 23:15 |
|
pen
| SethRobertson: well, I run the gitweb.cgi as root now it spit out some html saying the same thing with 404 projects not found, and the weird thing is that apache is part of gituser group and it still gets the internal server error | 23:15 |
| ← Gitzilla left | 23:15 |
|
SethRobertson
| daviddoria: The advice only works if you had ever had the refs, For instance, if you hadn't pulled, you would have to run the lost&found stuff on the upstream repo | 23:15 |
| ← boxybrow1 left | 23:15 |
|
SethRobertson
| pen: Now grep for "open" in /tmp/tr and look for likely problems Wrong directories, -1 returns for stuff that exists, etc | 23:16 |
|
pen
| SethRobertson: i will paste my /tmp/tr | 23:16 |
|
SethRobertson
| Or that | 23:16 |
|
pen
| SethRobertson: ok | 23:16 |
| → pdtpatrick_ joined | 23:17 |
|
pen
| SethRobertson: https://gist.github.com/1701300 | 23:18 |
|
| SethRobertson: something with io device? | 23:18 |
| → robotmay joined | 23:18 |
| ← unreal left | 23:19 |
|
SethRobertson
| pen: Um, does the file /home/gituser/project.list exist? What is in this file? | 23:19 |
|
| Hint, the answer is nothing | 23:19 |
|
pen
| SethRobertson: let me check, that's weird | 23:19 |
|
SethRobertson
| Remove it, mv gitweb.cgi.real gitweb.cgi, and try again | 23:20 |
|
pen
| SethRobertson: in my gitweb.conf, my $projects_list is /home/gituser/projects.list | 23:20 |
| → JackWinter joined | 23:21 |
|
pen
| looks like gitweb is looking at the wrong file | 23:21 |
| → EricInBNE joined | 23:21 |
|
pen
| it has an s after project | 23:21 |
|
| but why? | 23:21 |
|
SethRobertson
| Remove it, mv gitweb.cgi.real gitweb.cgi, and try again | 23:21 |
| → [RHQme]stringo0 joined | 23:21 |
|
pen
| SethRobertson: k | 23:21 |
|
| SethRobertson: still the same response, 404 no projects found | 23:22 |
| ← stringoO left | 23:22 |
|
SethRobertson
| Try removing that assignment from /etc/gitweb.conf | 23:22 |
| → eletuchy_ joined | 23:22 |
|
pen
| you mean comment it out? | 23:23 |
|
| oh wow | 23:23 |
|
| works now | 23:23 |
|
| what the hell | 23:23 |
|
| I thought it wants the projects.list from gitolite | 23:23 |
| ← robotmay left | 23:23 |
|
pen
| SethRobertson: what's the cause for this? that's so weird | 23:24 |
|
SethRobertson
| If you have such a file with the projects listed it will use it. If the file is empty it will use it, but the results will not be as desired | 23:24 |
|
| It did exactly what you told it to do. Exported all repos listed in that file | 23:24 |
| → mikepack joined | 23:24 |
| → shiba_yu36 joined | 23:25 |
|
pen
| SethRobertson: ohh, you mean my projects.list is empty? hmm I thought gitolite will add it automatically | 23:25 |
|
| SethRobertson: yea, but I see why it says 404 now | 23:25 |
|
| SethRobertson: thanks man | 23:25 |
|
SethRobertson
| !thanks | 23:26 |
|
gitinfo
| The best way to thank someone is to say their nickname with two pluses after it, as part of a larger message of thanks if you want. So to thank me, for instance, say "gitinfo++". I'm a bot so thanks to me should be directed to my master, jast. | 23:26 |
| ← eletuchy left | 23:26 |
| ← coopsh left | 23:26 |
|
pen
| SethRobertson++ | 23:26 |
|
| :D | 23:26 |
| ← tango_ left | 23:27 |
| ← macmartine left | 23:28 |
| → Nathandim joined | 23:28 |
| → macmartine joined | 23:28 |
| ← akosikeno left | 23:29 |
|
pen
| SethRobertson: is there a reason for ++? | 23:31 |
|
SethRobertson
| Learn to program. Most languages have that construct for increment. | 23:31 |
| → mandric joined | 23:32 |
|
pen
| SethRobertson: oh, I see I thought it is something with like c++, so the bot keeps a counter for each user here? | 23:33 |
|
SethRobertson
| mmm | 23:33 |
| ← gchristensen left | 23:34 |
| → Chib joined | 23:35 |
|
pen
| aha | 23:35 |
|
| :P | 23:35 |
| ← Hati left | 23:36 |
| → coopsh joined | 23:36 |
| ← ph^ left | 23:37 |
| → ehsan joined | 23:37 |
| ← Cromulent left | 23:38 |
|
kojiro
| !karma c | 23:38 |
|
| heh | 23:38 |
|
pen
| ha | 23:38 |
| ← kerrick left | 23:38 |
| ← dSebastien left | 23:39 |
| → kerrick joined | 23:39 |
|
SethRobertson
| !karma | 23:40 |
|
gitinfo
| Karma is nominally tracked by http://carmivore.com/. If you wanted to thank me, for instance, you would say gitinfo++. | 23:40 |
| → msponge joined | 23:41 |
|
bob2
| argh | 23:41 |
|
| did they at least make the bot not ever say anything ever? | 23:41 |
| ← marcreichelt left | 23:42 |
|
SethRobertson
| Well, the website looks like it was programmed by dunderheads, so probably not | 23:43 |
| → root_ninja joined | 23:45 |
| ← i42n left | 23:45 |
| ← root_ninja left | 23:45 |
| → root_ninja joined | 23:45 |
| ← Samoi left | 23:45 |
|
daviddoria
| If I 'git status', I see modified: c++/QT/ComputationThread (modified content) under "Changes not staged for commit:". If I then 'git add c++/QT/ComputationThread' then 'git status', it is still listed under "Changes not staged for commit:". How else can I add it? | 23:46 |
| → lonewulf` joined | 23:46 |
| ← Kulrak left | 23:46 |
| → Kulrak joined | 23:46 |
| ← Kulrak left | 23:46 |
| → Kulrak joined | 23:46 |
| root_ninja → Samoi | 23:46 |
|
thiago
| Windows? | 23:47 |
|
daviddoria
| thiago, nope, linux (if you were talking to me) | 23:47 |
|
thiago
| I was | 23:48 |
|
| I've never seen a git add not work on Linux... | 23:48 |
|
| do you have any "crlf" settings on .git/status? | 23:48 |
| ← dfr|floridia left | 23:48 |
|
daviddoria
| not on purpose | 23:48 |
| ← iocor left | 23:49 |
|
kl4m
| daviddoria: is ComputationThread a file or dir? | 23:49 |
|
FauxFaux
| daviddoria: Quote the line? | 23:49 |
|
daviddoria
| kl4m, a dir | 23:49 |
|
thiago
| daviddoria: how about "yes" or "no" ? | 23:50 |
| → babilen joined | 23:50 |
|
thiago
| daviddoria: is that a submodule? | 23:50 |
|
daviddoria
| FauxFaux, do you mean 'git add "c++/QT/ComputationThread/"'? | 23:50 |
|
| thiago, no, there are no submodules | 23:50 |
| → Bass2 joined | 23:51 |
| → Bass10 joined | 23:51 |
|
thiago
| daviddoria: a directory cannot be modified | 23:52 |
|
| add the files that are inside it | 23:52 |
|
FauxFaux
| daviddoria: I don't know, does it work? | 23:52 |
| ← Bass2 left | 23:53 |
| ← glcrazy left | 23:53 |
| → Bass2 joined | 23:54 |
| ← Bass10 left | 23:54 |
| ← bitkiller left | 23:54 |
| → danielpunt joined | 23:54 |
| → bitkiller joined | 23:55 |
| ← Bass2 left | 23:55 |
| → Bass10 joined | 23:56 |
| ← brar left | 23:56 |
| ← Bass10 left | 23:56 |
| → gchristensen joined | 23:56 |
| ← friskd left | 23:57 |
| → brar joined | 23:57 |
| ← sudoquai left | 23:58 |
| ← gchristensen left | 23:58 |
| → sudoquai joined | 23:58 |
| → sudoquai_ joined | 23:58 |