| 2019-06-17 |
|
Soni
| is it safe to git fetch arbitrary URLs? | 00:01 |
| → orbyt_ joined | 00:01 |
| ← camsbury left | 00:04 |
| ← Cheaplogic2 left | 00:05 |
|
Hello71
| mostly | 00:07 |
| ← Newami left | 00:07 |
|
Soni
| "mostly" means...? | 00:07 |
|
| can they write to arbitary locations? are there CVEs I'm unaware of? can objects use `../`? | 00:07 |
| → ecilam joined | 00:07 |
|
Soni
| should I be running my python program in a sandbox like bochs or something? | 00:08 |
| ← bradleyprice left | 00:10 |
| → nabil joined | 00:10 |
| ← alonkli left | 00:12 |
| ← alonkli12 left | 00:12 |
| → bradleyprice joined | 00:12 |
|
Hello71
| well they can fill your hard drive | 00:12 |
|
| and there was the unintended feature where .git/config could have ssh arguments or something like that | 00:12 |
|
| also nobody uses bochs except for os dev | 00:13 |
| → nuala joined | 00:15 |
|
Soni
| and malware dev | 00:15 |
| ← nabil left | 00:16 |
| ← bradleyprice left | 00:17 |
| ← inovas left | 00:18 |
| → inovas joined | 00:21 |
| → thebetrayer joined | 00:22 |
| ← thebetrayer left | 00:24 |
| → learningc joined | 00:28 |
| → bambanx joined | 00:29 |
| ← Anthaas left | 00:29 |
| → Anthaas joined | 00:30 |
| ← yyy left | 00:33 |
| ← Kaisyu7 left | 00:34 |
| → dviola joined | 00:37 |
| ← learningc left | 00:37 |
| → Kaisyu7 joined | 00:44 |
| ← CryptoDavid left | 00:47 |
| → welovfree joined | 00:50 |
| → dansan joined | 00:53 |
| → Hotpinkbrawler joined | 00:56 |
| ← Hotpinkbrawler left | 01:02 |
|
Hello71
| nobody sensible ever used it for that. qemu for speed, vmware/virtualbox for ease of use, softice for the tough wares | 01:07 |
| → igemnace joined | 01:14 |
| ← oatmealraisin left | 01:15 |
| ← m0viefreak left | 01:16 |
| ← skyikot left | 01:17 |
| ← F0rTex left | 01:17 |
| → F0rTex joined | 01:18 |
| → jubal_ joined | 01:25 |
| ← xcm left | 01:25 |
| → xcm joined | 01:26 |
| ← jubal left | 01:26 |
| ← jcbitter left | 01:29 |
| → jcbitter joined | 01:31 |
| ← fatalhalt left | 01:40 |
| → fatalhalt joined | 01:43 |
| ← mowcat left | 01:47 |
| ← dviola left | 01:49 |
| → kenlee joined | 01:52 |
| ← fatalhalt left | 01:52 |
| → fatalhalt joined | 01:56 |
| → dviola joined | 02:00 |
| → hqdruxn08__ joined | 02:01 |
| ← toothe left | 02:02 |
| ← null1337 left | 02:04 |
| ← hqdruxn08_ left | 02:05 |
| → jubal joined | 02:07 |
| ← jubal_ left | 02:09 |
| → crackin joined | 02:15 |
| ← barteks2x left | 02:18 |
| → skyikot joined | 02:20 |
| → dansan_ joined | 02:25 |
| ← dansan left | 02:28 |
| → fphilipe_ joined | 02:29 |
| lagothrix → Guest11857 | 02:30 |
| → lagothrix joined | 02:30 |
| → breakingsad joined | 02:31 |
| ← Guest11857 left | 02:32 |
| ← fphilipe_ left | 02:35 |
| ← welovfree left | 02:43 |
| → wcpan joined | 02:46 |
| ← crackin left | 02:52 |
| ← nic-hartley left | 02:52 |
| ← paraxial left | 03:00 |
| → crackin joined | 03:03 |
| ← omnireq left | 03:12 |
| ← crackin left | 03:13 |
| ← AtumT left | 03:15 |
| → omnireq joined | 03:16 |
| ← bambanx left | 03:20 |
| → pabs3 joined | 03:25 |
|
pabs3
| anyone know if there is a git-remote-darcs project? | 03:26 |
| ← alyptik left | 03:27 |
| → fjellfras joined | 03:34 |
| → crackin joined | 03:34 |
| → milkt joined | 03:40 |
| ← libertyprime left | 03:41 |
| ← cd left | 03:44 |
| → fphilipe_ joined | 03:47 |
| → bradleyprice joined | 03:47 |
| ← milkt left | 03:53 |
| → thevishy joined | 04:00 |
| ← crackin left | 04:02 |
| ← donofrio_ left | 04:06 |
| ← R2robot left | 04:06 |
| → SkarmoutsosV joined | 04:12 |
| ← thevishy left | 04:22 |
| ← armyriad left | 04:22 |
| → regedit joined | 04:25 |
| ← wcpan left | 04:27 |
| → alyptik joined | 04:29 |
| ← queip left | 04:30 |
| ← inovas left | 04:30 |
| ← sunri5e left | 04:31 |
| → inovas joined | 04:31 |
| → wcpan joined | 04:36 |
| → queip joined | 04:37 |
| ← fatalhalt left | 04:39 |
| → Newami joined | 04:40 |
| dansan_ → dansan | 04:48 |
| → thevishy joined | 04:48 |
| → sunri5e joined | 04:56 |
| ← mud left | 04:57 |
| → NightStrike joined | 04:58 |
| ← bradleyprice left | 04:58 |
| → pks_ joined | 05:02 |
| ← Goplat left | 05:02 |
| → libertyprime joined | 05:03 |
| ← pks left | 05:03 |
| pks_ → pks | 05:03 |
| → null1337 joined | 05:06 |
| ← ferdna left | 05:07 |
| → bradleyprice joined | 05:11 |
| ← bradleyprice left | 05:11 |
| → bradleyprice joined | 05:11 |
| → takyashi joined | 05:12 |
| → R2robot joined | 05:13 |
| ← skyikot left | 05:14 |
| ← bradleyprice left | 05:16 |
| ← xcm left | 05:17 |
| → xcm joined | 05:17 |
| ← victorqueiroz left | 05:17 |
| ← Inline left | 05:18 |
| ← libertyprime left | 05:22 |
| → skyikot joined | 05:23 |
| → libertyprime joined | 05:23 |
| ← thiago left | 05:26 |
| ← fk left | 05:35 |
| → victorqueiroz joined | 05:36 |
| → aw1 joined | 05:37 |
| → thiago joined | 05:38 |
| ← neunon left | 05:40 |
| → bradleyprice joined | 05:42 |
| → neunon joined | 05:43 |
| → paraxial joined | 05:45 |
| ← aw1 left | 05:49 |
| ← mat001 left | 05:50 |
| ← bradleyprice left | 05:50 |
| → mat001 joined | 05:51 |
| ← mat001 left | 05:52 |
| → mat001 joined | 05:53 |
| ← mat001 left | 05:53 |
| → Noti joined | 05:55 |
| ← thiago left | 05:59 |
| ← libertyprime left | 06:00 |
| → libertyprime joined | 06:02 |
| ← igemnace left | 06:02 |
| → igemnace joined | 06:03 |
| ← jcbitter left | 06:07 |
| → jcbitter joined | 06:08 |
| → bradleyprice joined | 06:10 |
| ← bradleyprice left | 06:15 |
| → tufteddeer joined | 06:16 |
| → bradleyprice joined | 06:17 |
| → dege joined | 06:20 |
| → esrse joined | 06:22 |
| ← bradleyprice left | 06:22 |
| ← fphilipe_ left | 06:23 |
| ← rhumbot left | 06:24 |
| → chele joined | 06:24 |
| → tsdh joined | 06:27 |
| ← jcbitter left | 06:29 |
| → jcbitter joined | 06:30 |
| → Mattiaslndstrm joined | 06:30 |
| ← Noti left | 06:34 |
| → sQVe joined | 06:41 |
| ← elichai2 left | 06:42 |
| ← netj left | 06:44 |
| ← libertyprime left | 06:44 |
| → netj joined | 06:44 |
| → aw1 joined | 06:45 |
| → n3wborn joined | 06:50 |
| ← tufteddeer left | 06:51 |
| → tufteddeer joined | 06:52 |
| → fk joined | 06:52 |
| ← hussam left | 06:53 |
| → lss8 joined | 06:55 |
| → fphilipe_ joined | 06:55 |
| → libertyprime joined | 06:56 |
| → gloomy joined | 06:57 |
| ← gloomy left | 06:58 |
| → Jackneill joined | 07:02 |
| → crackin joined | 07:04 |
| → z|bandito joined | 07:05 |
| ← nowhere_man left | 07:05 |
| → bradleyprice joined | 07:06 |
| ← orbyt_ left | 07:07 |
| ← crackin left | 07:08 |
| ← tufteddeer left | 07:08 |
| → tufteddeer joined | 07:09 |
| ← bradleyprice left | 07:11 |
| ← takyashi left | 07:14 |
| ← tufteddeer left | 07:15 |
| ← minikdo left | 07:16 |
| → armyriad joined | 07:18 |
| → mayurvpatil joined | 07:21 |
| → mikecmpbll joined | 07:21 |
| ← dviola left | 07:22 |
| → tufteddeer joined | 07:24 |
| ← fjellfras left | 07:24 |
| → Noti joined | 07:26 |
| ← thevishy left | 07:26 |
| ← nuala left | 07:33 |
| → strk joined | 07:37 |
|
strk
| how do I debug what a ref is pointing to ? | 07:37 |
|
| beacuse I'm not getting the expected top-commit in a origin/pr-tea/41 ref | 07:37 |
|
| the only reference i have to "pr-tea" in my .git/config is fetch = +refs/pull/*/head:refs/remotes/origin/pr-tea/* | 07:38 |
|
| under the "origin" remote | 07:38 |
|
| which has url = https://git.osgeo.org/gitea/geos/geos.git | 07:38 |
|
| uhm, forget it please | 07:39 |
|
| it was a left-over | 07:39 |
| → gloomy joined | 07:39 |
| → bradleyprice joined | 07:45 |
| → takyashi joined | 07:47 |
| ← bradleyprice left | 07:49 |
| → nav2002 joined | 07:50 |
| → hofmann3900 joined | 07:50 |
| ← SkarmoutsosV left | 07:52 |
| → crmaurei joined | 07:54 |
| ← mayurvpatil left | 07:57 |
| ← Noti left | 08:00 |
| ← yonder left | 08:03 |
| → floppydh joined | 08:05 |
| ← freeman42x left | 08:05 |
| → Noti joined | 08:06 |
| ← victorqueiroz left | 08:07 |
|
canton7
| strk, at the first sniff of something like this, I normally open 'gitk --all' | 08:11 |
|
| strk, alternatively, if you've only got a command-line, !lol | 08:12 |
|
gitinfo
| strk: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 08:12 |
| → thevishy joined | 08:13 |
| → g00s joined | 08:17 |
| ← queip left | 08:18 |
| ← takyashi left | 08:21 |
| → hio joined | 08:22 |
| → queip joined | 08:24 |
| ← tufteddeer left | 08:27 |
| → tufteddeer joined | 08:27 |
| → crackin joined | 08:29 |
| → florekm joined | 08:31 |
| ← crackin left | 08:33 |
| → OnceMe joined | 08:33 |
|
OnceMe
| when I git rebase -i HEAD~3 and :wq | 08:34 |
|
| I still see my commits in git log, how come? | 08:34 |
| ← sinhue left | 08:35 |
|
igemnace
| is that *all* you did? interactive rebase won't do anything unless you tell it to, e.g. delete some commits or tell it to "edit" some commits | 08:35 |
|
strk
| .. other than rebasing | 08:35 |
|
OnceMe
| yes, thats all I did | 08:35 |
|
| do I need something else? | 08:35 |
|
strk
| why would you not expect to see your commits ? | 08:35 |
|
igemnace
| what are you hoping to do? | 08:35 |
|
OnceMe
| I want to squash last 3 commits into one | 08:35 |
|
| so that I dont see 3 other commits anymore | 08:36 |
|
selckin
| read the editor, and change pick to fixup | 08:36 |
|
igemnace
| change the words beside the commits you want to squash into "squash" instead of "pick" | 08:36 |
|
strk
| read the instructions in the editor buffer that pops up | 08:36 |
|
OnceMe
| squash or fixup? | 08:37 |
|
canton7
| OnceMe, do you want to edit the commit message of the combined commit? | 08:37 |
|
| (if yes, squash. If no, fixup) | 08:37 |
|
igemnace
| for reference, check git help rebase under the INTERACTIVE MODE section | 08:38 |
| ← tufteddeer left | 08:38 |
| ← queip left | 08:38 |
|
OnceMe
| I want new commit message | 08:38 |
|
| I guess Ill use fixup on all 4 commits? | 08:39 |
|
| so that I discard previous commit messages | 08:39 |
|
_ikke_
| OnceMe: fixup will squash the commit into the commit on top of it | 08:40 |
|
igemnace
| you only use fixup on the second and subsequent commits | 08:40 |
|
OnceMe
| so how do I add new message for this one squashed commit? | 08:40 |
| ← Murr left | 08:41 |
|
OnceMe
| so 4 commits, s #1 s #2 s #3 s #4 | 08:42 |
| → Murr joined | 08:42 |
|
OnceMe
| first s #1 is red, I guess for the reason? | 08:42 |
|
canton7
| probably? The first in the series should be "pick" | 08:42 |
|
| squash means "squash into the commit above" | 08:43 |
| → OtakuSenpai joined | 08:43 |
| → queip joined | 08:44 |
|
OnceMe
| ok squashed, git status now says you have 1 and 4 different commits each, use git pull ... | 08:45 |
|
| your branch and origin have diverged.. | 08:45 |
|
canton7
| well yes, you've !rewritten history | 08:45 |
|
| !rewrite | 08:45 |
|
gitinfo
| Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 08:45 |
|
OnceMe
| should I git pull, or just to do git push? git pull will again pull those 4 commits | 08:45 |
|
_ikke_
| yes, you don't want to use git pull | 08:45 |
|
canton7
| do not pull | 08:45 |
| → figuinhas joined | 08:45 |
|
canton7
| that will merge together the old and new versions of history | 08:45 |
| → flavius joined | 08:45 |
|
canton7
| you'll need to force-push as gitinfo said, but make sure that nobody else has fetched the old commits (and that includes you on another machine), otherwise life starts getting confusing | 08:46 |
| ← aw1 left | 08:47 |
|
OnceMe
| heh ok | 08:47 |
|
| these are pretty new commits, like 5 mins ago | 08:47 |
|
| what if somebody pulled those commits? | 08:47 |
| → nuala joined | 08:48 |
|
canton7
| then the risk is 1) they fetched them, 2) they add more commits on top, 3) they try and push. Git refuses, because the remote has different history, 4) they run 'git pull', and they merge together their old version of the history, and the newer version that you just pushed, 5) they push their combination of the old and new histories | 08:48 |
|
igemnace
| they'll have to reset to your new commits, if they wanted to keep up-to-date with your version | 08:49 |
| ← thevishy left | 08:50 |
| → mayurvpatil joined | 08:50 |
| ← skyikot left | 08:50 |
| ← strk left | 08:51 |
| ← g00s left | 08:51 |
|
OnceMe
| they can just git stash | 08:52 |
|
| git branch -D branch.. git checkout branch git stash apply | 08:52 |
|
| problem solved I guess? | 08:52 |
|
canton7
| no | 08:53 |
|
| the easiest thing to do if for them to rebase, rather than pull | 08:53 |
| ← xcm left | 08:53 |
| → benyoo joined | 08:56 |
|
igemnace
| so this is public history? heed the factoid's words; move on | 08:56 |
| → xcm joined | 08:57 |
|
benyoo
| Hello, how I can pull from a repo without merging... just overwriting all existing file? | 08:57 |
|
| I want to push at my work code to a repo and then I want to pull that push at home. I want to avoid merge conflict.. the files at home can be overwritten the whole time. | 08:59 |
|
OnceMe
| benyoo, why dont you checkout the whole branch? | 08:59 |
|
benyoo
| iam not very good with git, I will read about checkout thx | 09:00 |
|
igemnace
| benyoo: git fetch then git reset --hard origin/master or whatever the name of the remote tracking branch is | 09:01 |
|
OnceMe
| igemnace, thats going to lose his local files | 09:02 |
|
igemnace
| i believe that's what he asked for | 09:03 |
|
OnceMe
| if I understood right, he only wants to overwrite existing files but to retain any files which were under his local branch | 09:03 |
|
| or not? | 09:03 |
|
igemnace
| benyoo? | 09:03 |
| ← n3wborn left | 09:05 |
| ← pabs3 left | 09:07 |
| → BeerLover joined | 09:12 |
| ← queip left | 09:13 |
| → mimajof joined | 09:13 |
| → queip joined | 09:19 |
| ← catsup left | 09:19 |
| → catsup joined | 09:19 |
| ← catsup left | 09:20 |
| → dudek joined | 09:21 |
| → catsup joined | 09:21 |
| ← stux|RC left | 09:21 |
| → inquisitiv3 joined | 09:22 |
| ← OtakuSenpai left | 09:22 |
| ← zamba left | 09:23 |
| ← regedit left | 09:25 |
| → stux|RC joined | 09:27 |
| → zamba joined | 09:29 |
| ← Murr left | 09:29 |
| → Murr joined | 09:30 |
| → OtakuSenpai joined | 09:31 |
| ← benyoo left | 09:31 |
| → dviola joined | 09:32 |
| ← Qizzy left | 09:33 |
| → barteks2x joined | 09:34 |
| → Qizzy joined | 09:35 |
| → tombusby joined | 09:35 |
| ← inquisitiv3 left | 09:43 |
| → bloops joined | 09:44 |
| → takyashi joined | 09:46 |
| ← ghoti left | 09:48 |
| → hojang joined | 09:52 |
| ← Murr left | 09:55 |
| → Murr joined | 09:55 |
| ← bloops left | 09:58 |
| ← zamba left | 10:00 |
| ← lankanmon left | 10:03 |
| → zamba joined | 10:03 |
| → planetcall|work joined | 10:06 |
| → bsanford joined | 10:07 |
| ← bsanford left | 10:07 |
| ← diogenese left | 10:14 |
| → diogenese joined | 10:15 |
| ← troyt left | 10:17 |
| → troyt joined | 10:17 |
| ← xcm left | 10:24 |
| → xcm joined | 10:24 |
| ← takyashi left | 10:27 |
| ← nav2002 left | 10:31 |
| → yyy- joined | 10:38 |
| ← fakhraee left | 10:42 |
| ← hojang left | 10:43 |
| ← Murr left | 10:43 |
| ← UrsoBranco left | 10:44 |
| → takyashi joined | 10:44 |
| → fakhraee joined | 10:45 |
| → Murr joined | 10:46 |
| ← esrse left | 10:46 |
| → steven- joined | 10:47 |
| ← steven left | 10:48 |
|
mra90
| if I have a local branch "branch_name" and want to push it onto a remote with different name what should I do? | 10:53 |
|
igemnace
| git push <remote name> <local name>:<different name> | 10:54 |
|
| and you might like --set-upstream with that, so you don't have to specify that entire invocation every time you push | 10:54 |
|
mra90
| igemnace: I noticed that git push origin HEAD:new_remote_branch works | 10:55 |
|
| what does HEAD is used for there? | 10:55 |
|
| and why it works? ;P | 10:55 |
|
moritz
| HEAD refers to the commit that's currently checked out | 10:56 |
|
igemnace
| you can use any ref there | 10:56 |
|
mra90
| igemnace: and what "ref" is? | 10:57 |
|
moritz
| so your command says "create branch new_remote_branch at origin, starting from the current (local) commit" | 10:57 |
|
| something that references a commit | 10:57 |
|
| like a branch name, a tag, a sha1, HEAD, HEAD~5 or such things | 10:57 |
| ← xelxebar left | 11:03 |
| → xelxebar joined | 11:03 |
|
mra90
| moritz: but I will push my local files onto it so it doesn't matter | 11:04 |
|
| I have one more issue, when I do git branch -r to list all my remote brnahches I see a branch my_name/branch_name | 11:05 |
|
| but there is no way to remote that remote branch | 11:06 |
|
| I try git push my_name --delete branch_name | 11:06 |
|
| git says " remote ref does not exist" | 11:06 |
| → T_UNIX joined | 11:07 |
|
moritz
| mra90: try git fetch --prune | 11:07 |
|
| maybe it's gone from the remote already, but your local repo still references it | 11:07 |
|
mra90
| no its stil listed after that | 11:08 |
| ← mayurvpatil left | 11:10 |
|
mra90
| no matter what I do it is still listed as remote branch | 11:10 |
| ← m1dnight_ left | 11:11 |
| ← hofmann3900 left | 11:11 |
| → m1dnight_ joined | 11:11 |
| ← m1dnight_ left | 11:11 |
| → m1dnight_ joined | 11:12 |
|
moritz
| and you're sure you didn't have a typo in your command? | 11:12 |
|
mra90
| yes I am sure ;p | 11:13 |
|
| I even use auto compete | 11:13 |
|
| what is even more curious this branch is not listed on github which is my remote in this case | 11:13 |
|
| the only problem is git branch -r still lists it | 11:13 |
|
moritz
| oh, do you have multiple remotes? | 11:13 |
|
| 'git fetch' only pulls from one by default | 11:14 |
| ← queip left | 11:14 |
|
moritz
| git fetch --prune --all | 11:14 |
| → emsjessec joined | 11:14 |
| → mayurvpatil joined | 11:16 |
|
mra90
| moritz: yes now its gone! Thanks al ot | 11:19 |
| → queip joined | 11:20 |
| → gloomy_ joined | 11:20 |
| → lankanmon joined | 11:21 |
| ← gloomy left | 11:22 |
| → neure joined | 11:23 |
|
neure
| hi | 11:23 |
|
| how do i replace origin url with another? | 11:23 |
|
| git remote set-url ? | 11:24 |
|
selckin
| git remote set-url | 11:24 |
| ← Cork left | 11:25 |
|
neure
| how do I reset my local clone to origin (throwing away any local changes and history) after pointing origin to elsewhere? | 11:25 |
|
| git fetch --prune ? | 11:25 |
|
| that didnt seem to work | 11:26 |
| xcm → Guest14307 | 11:27 |
| ← Guest14307 left | 11:27 |
| ← fakhraee left | 11:27 |
|
selckin
| why not new clone ?, anyway fetch, and then git reset --hard any local branches to the rmeotes i guess | 11:27 |
| → xcm joined | 11:27 |
| ← OtakuSenpai left | 11:28 |
| → fakhraee joined | 11:29 |
| ← Murr left | 11:34 |
| → Murr joined | 11:34 |
| → rsrx joined | 11:37 |
| ← Murr left | 11:46 |
| → tufteddeer joined | 11:48 |
| → Murr joined | 11:50 |
| → mowcat joined | 11:50 |
| → greatgatsby joined | 11:51 |
| → charolastra joined | 11:53 |
|
charolastra
| is there a way to exclude certain files when pulling changes? it's for a test environment that needs some adaptation, but just there | 11:55 |
|
OnceMe
| git update-index --assume-unchanged | 11:56 |
|
selckin
| only shallow clones or certain depth, not file based | 11:56 |
|
| depends what you mean with pulling changes ofc | 11:57 |
| → Cork joined | 11:57 |
|
OnceMe
| for more info https://git-scm.com/docs/git-update-index -- assume-unchanged option | 11:57 |
|
canton7
| don't use assume-unchanged for that | 11:57 |
|
_ikke_
| OnceMe: that won | 11:57 |
|
| OnceMe: That won't help you if git has to update that file anyway | 11:57 |
|
canton7
| !assume_unchanged | 11:58 |
|
gitinfo
| git update-index --assume-unchanged is sometimes suggested for keeping yourself from committing changes to a file, but it's actually a promise to Git that the file is identical to the committed version, to reduce unnecessary disk reads. Not only will Git feel free to discard the flag, it will also happily overwrite your changes whenever a checkout/merge/rebase/... updates it. | 11:58 |
|
jast
| a better choice is using sparse checkout | 11:58 |
|
| !sparse | 11:58 |
|
gitinfo
| [!sparse_checkout] Sparse checkout can be used to restrict which files/folders are updated with all checkout and status operations. It cannot change the tree the checkout is rooted from. One common use case is locally keeping Git from updating some of the files tracked in your repository. See the "Sparse Checkout" section in man git-read-tree (https://gitirc.eu/git-read-tree.html). | 11:58 |
|
jast
| it's not perfect (e.g. if you're merging branches that have conflicting versions of a skipped files), but usually works decently | 11:59 |
| ← Murr left | 12:00 |
| ← jcbitter left | 12:01 |
| → jcbitter joined | 12:02 |
| → supernov1h joined | 12:04 |
| → subopt joined | 12:05 |
| → clime joined | 12:05 |
|
clime
| hello, HEAD:<path> is the part after : called path or something else? | 12:06 |
| → Murr joined | 12:06 |
| ← dviola left | 12:06 |
|
clime
| it's a treeish expresion but i am interested in the second part of it | 12:06 |
|
| i guess either prefix or path_spec | 12:07 |
|
charolastra
| that sparse checkout seems to be what i'm looking for. but will have to look into it | 12:07 |
| ← jcbitter left | 12:08 |
|
clime
| or tree path maybe | 12:08 |
|
canton7
| clime, man git rev-parse calls it "a path" | 12:09 |
|
gitinfo
| clime: the git-rev-parse manpage is available at https://gitirc.eu/git-rev-parse.html | 12:09 |
| → jcbitter joined | 12:09 |
|
charolastra
| dev and production should be the same. there is a test environment that e.g. just needs a different .js. so when pulling from the repo that fake .js should not be overwritten | 12:09 |
|
clime
| canton7: cool ok | 12:09 |
| ← Murr left | 12:12 |
| → regedit joined | 12:12 |
| → Murr joined | 12:13 |
| ← jcbitter left | 12:14 |
| → jcbitter joined | 12:15 |
| ← rtjure left | 12:16 |
| ← Murr left | 12:17 |
| → Murr joined | 12:19 |
| ← queip left | 12:28 |
| → gloomy joined | 12:28 |
| ← gloomy_ left | 12:30 |
| ← Murr left | 12:33 |
| → Murr joined | 12:34 |
| → queip joined | 12:34 |
| ← Murr left | 12:38 |
| → Murr joined | 12:39 |
| → TingelTangelBob joined | 12:39 |
| → nerosnm joined | 12:41 |
| ← uptime left | 12:42 |
| → snowkidimd joined | 12:43 |
| → uptime joined | 12:46 |
| → donofrio joined | 12:48 |
| ← BeerLover left | 12:52 |
| ← Murr left | 12:55 |
| → Murr joined | 12:55 |
| → deathwishdave joined | 12:59 |
| ← yyy- left | 12:59 |
| → yyy- joined | 13:00 |
| → howell joined | 13:01 |
| ← takyashi left | 13:02 |
| ← Murr left | 13:03 |
| ← figuinhas left | 13:04 |
| → Murr joined | 13:05 |
| ← clime left | 13:05 |
| → figuinhas joined | 13:06 |
| ← figuinhas left | 13:07 |
| → figuinhas joined | 13:08 |
| ← figuinhas left | 13:08 |
| ← ixian left | 13:09 |
| ← dege left | 13:09 |
| → bradleyprice joined | 13:10 |
| → figuinhas joined | 13:10 |
| → ixian joined | 13:10 |
| ← Murr left | 13:12 |
| → Murr joined | 13:12 |
| ← nerosnm left | 13:16 |
| ← snowkidimd left | 13:17 |
| ← gxt left | 13:17 |
| → snowkidi_ joined | 13:17 |
| ← bradleyprice left | 13:18 |
| → lucasb joined | 13:21 |
| ← greatgatsby left | 13:21 |
| ← Murr left | 13:21 |
| → Murr joined | 13:22 |
| ← netj left | 13:27 |
| → nerosnm joined | 13:28 |
| → ar1el joined | 13:28 |
| → netj joined | 13:30 |
| → gxt joined | 13:31 |
| ← igemnace left | 13:31 |
| ← mikecmpbll left | 13:32 |
| ← chachasmooth left | 13:38 |
| ← Murr left | 13:40 |
| → Murr joined | 13:40 |
| → chachasmooth joined | 13:40 |
| → hussam joined | 13:42 |
| → im0nde_ joined | 13:43 |
| → czart joined | 13:45 |
| → im0nde- joined | 13:45 |
| ← Murr left | 13:46 |
| ← tsdh left | 13:46 |
| ← im0nde left | 13:46 |
| → Murr joined | 13:46 |
| ← im0nde1 left | 13:46 |
| ← Newami left | 13:47 |
| ← nerosnm left | 13:47 |
| ← mayurvpatil left | 13:47 |
| ← OnceMe left | 13:50 |
| → mayurvpatil joined | 13:51 |
| ← Murr left | 13:54 |
| → igemnace joined | 13:55 |
| → Inline joined | 13:55 |
| → Murr joined | 13:59 |
| ← breakingsad left | 14:00 |
| ← queip left | 14:04 |
| → nishttal joined | 14:06 |
|
nishttal
| hi is there a way to see which commit added/changed a particular line ? | 14:07 |
| steven- → steven | 14:08 |
| → greggerz joined | 14:08 |
| → queip joined | 14:10 |
| ← deathwishdave left | 14:12 |
|
mjt
| nishttal: git blame is _something_ of that sort | 14:13 |
| ← sQVe left | 14:13 |
|
mjt
| (and with -b it shows what you asks) | 14:14 |
|
nishttal
| ok perfect.. thanks | 14:15 |
| ← m1dnight_ left | 14:19 |
| ← supernov1h left | 14:19 |
| → m1dnight_ joined | 14:19 |
| ← m1dnight_ left | 14:19 |
| → m1dnight_ joined | 14:20 |
| ← m1dnight_ left | 14:20 |
| → m1dnight_ joined | 14:21 |
| ← m1dnight_ left | 14:21 |
| → m1dnight_ joined | 14:22 |
| ← m1dnight_ left | 14:23 |
| ← matheusmoreira left | 14:23 |
| → matheusmoreira joined | 14:24 |
| → pks_ joined | 14:24 |
| → OtakuSenpai joined | 14:25 |
| ← pks left | 14:25 |
| pks_ → pks | 14:25 |
| → m1dnight_ joined | 14:26 |
| ← m1dnight_ left | 14:26 |
| → hojang joined | 14:27 |
| → m1dnight_ joined | 14:27 |
| ← m1dnight_ left | 14:28 |
| → m1dnight_ joined | 14:28 |
| ← czart left | 14:28 |
| → AtumT joined | 14:30 |
| ← fphilipe_ left | 14:35 |
| → bradleyprice joined | 14:38 |
| ← bradleyprice left | 14:38 |
| → bradleyprice joined | 14:39 |
| ← bradleyprice left | 14:40 |
| → bradleyprice joined | 14:40 |
| → fphilipe_ joined | 14:41 |
| ← bradleyprice left | 14:42 |
| → bradleyprice joined | 14:42 |
| → netcrash joined | 14:42 |
| ← netcrash left | 14:42 |
|
Celmor[m]
| I'm wondering what commands would be the equivalent to what my IDE does or at least the recommended method would be to "update the project" (as it's called in IDEA), I guess `git stash && git fetch origin master && git stash pop && git rebase FETCH_HEAD` or something like that, not sure about the pull vs. fetch and rebase (which branch) | 14:43 |
| ← mayurvpatil left | 14:44 |
|
GyrosGeier
| you can't rebase with local changes | 14:44 |
|
| but you can always fetch | 14:44 |
|
jast
| how about: git pull --rebase --autostash | 14:46 |
| → nurdie joined | 14:46 |
|
GyrosGeier
| yup | 14:46 |
| → jbuchmaier joined | 14:46 |
|
GyrosGeier
| the --rebase can be omitted if you have a "branch.XXX.rebase" config setting | 14:46 |
| → SerialSmile joined | 14:46 |
| ← m1dnight_ left | 14:48 |
| ← hojang left | 14:49 |
| ← netj left | 14:50 |
|
GyrosGeier
| also, protip: commit often and reorganize commits before submitting | 14:50 |
| ← stdedos left | 14:51 |
|
GyrosGeier
| especially if you add a printf for debugging, the best thing you can do is commit it immediately with a message of 'DISCARD' or something such | 14:51 |
| → stdedos joined | 14:51 |
|
GyrosGeier
| then before submitting you can just do rebase -i to get rid of all the debug code | 14:51 |
| → netj joined | 14:52 |
| ← jbuchmaier left | 14:53 |
| ← OtakuSenpai left | 14:54 |
|
charolastra
| regarding sparse checkout. it requires to create a list of directories which should be checked out. does the inverse work? i.e. check out everything except those files in a blacklist? | 14:56 |
| → galaxie joined | 14:56 |
| ← dskull left | 14:56 |
| → dskull joined | 14:59 |
| → AbleBacon joined | 15:02 |
| → tang^ joined | 15:02 |
| → cdown joined | 15:02 |
| → thiago joined | 15:03 |
| → grawity joined | 15:04 |
| → victorqueiroz joined | 15:04 |
|
grawity
| wait, I just remembered how | 15:05 |
| ← grawity left | 15:05 |
| → m1dnight_ joined | 15:05 |
| → greatgatsby joined | 15:06 |
| ← m1dnight_ left | 15:06 |
| → zautomata joined | 15:07 |
| → m1dnight_ joined | 15:08 |
| ← cdown left | 15:10 |
| → elsheepo joined | 15:10 |
| → cdown joined | 15:10 |
| → deathwishdave joined | 15:12 |
| ← Noti left | 15:14 |
| → fragamus joined | 15:14 |
| → ThePacketBender joined | 15:17 |
| ← m1dnight_ left | 15:17 |
| → atesc joined | 15:17 |
| ← chele left | 15:19 |
| → TomyWork joined | 15:19 |
| → dege joined | 15:20 |
| ← duderonomy left | 15:22 |
| → SkarmoutsosV joined | 15:23 |
| ← mowcat left | 15:23 |
| ← atesc left | 15:26 |
| ← elsheepo left | 15:26 |
| → skyikot joined | 15:29 |
| → plexigras joined | 15:30 |
| ChanServ set mode: +o | 15:32 |
| → leeN joined | 15:33 |
| ← bradleyprice left | 15:34 |
| Eugene changed the topic to: Welcome to the #git that keeps on giving | First visit? Read: https://gitirc.eu | Current stable version: 2.22.0 | Getting "cannot send to channel"? /msg gitinfo .voice | This channel is logged: https://gitirc.eu/log | 15:34 |
| Eugene kicked Eugene (Eugene) | 15:34 |
| → Eugene joined | 15:34 |
| ← floppydh left | 15:34 |
| → bradleyprice joined | 15:35 |
| ← nurdie left | 15:36 |
| ← fragamus left | 15:36 |
| → davidfetter_work joined | 15:37 |
| ← netj left | 15:39 |
| → netj joined | 15:39 |
| → boombatower joined | 15:42 |
| ← bradleyprice left | 15:42 |
| → bradleyprice joined | 15:42 |
| ← kezimo left | 15:44 |
| → clime joined | 15:47 |
| ← TomyWork left | 15:48 |
| → solars joined | 15:54 |
| → orbyt_ joined | 15:55 |
|
Eugene
| Also, my !jokes are terrible, and you guys should all submit something funnier. | 15:55 |
|
gitinfo
| A complete listing of the git-jokes used in the /topic can be found at https://madeitwor.se/git-jokes (patches welcome) | 15:55 |
| ← figuinhas left | 15:56 |
| → figuinhas joined | 15:56 |
| → atesc joined | 15:58 |
| → mat001 joined | 15:58 |
| ← thiago left | 16:00 |
| ← mimajof left | 16:01 |
| ← RandomGuyOnIrc left | 16:01 |
| ← mat001 left | 16:09 |
| ← atesc left | 16:10 |
| → mat001 joined | 16:10 |
| ← omnireq left | 16:10 |
| → atesc joined | 16:11 |
| ← gloomy left | 16:11 |
| ← mat001 left | 16:12 |
| → dfee joined | 16:13 |
| → agowa338 joined | 16:13 |
| → omnireq joined | 16:14 |
| ← fphilipe_ left | 16:15 |
| ← SkarmoutsosV left | 16:16 |
| ← charolastra left | 16:19 |
| → ldh__ joined | 16:24 |
| ← tufteddeer left | 16:25 |
| → thefatma joined | 16:25 |
| → achen_ joined | 16:25 |
| → tufteddeer joined | 16:25 |
| → kezimo joined | 16:30 |
| ← kezimo left | 16:31 |
| ← bradleyprice left | 16:31 |
| → kezimo joined | 16:31 |
| → bradleyprice joined | 16:31 |
| ← kermit left | 16:32 |
| im0nde_ → im0nde | 16:32 |
| ← atesc left | 16:33 |
| ← bradleyprice left | 16:34 |
| → bradleyprice joined | 16:34 |
| ← moldybits left | 16:35 |
| ← queip left | 16:35 |
| → queip joined | 16:36 |
| → impermanence8 joined | 16:37 |
| → hojang joined | 16:37 |
| ← impermanence8 left | 16:37 |
| → impermanence95 joined | 16:38 |
| ← impermanence95 left | 16:38 |
| → nurdie joined | 16:38 |
| → impermanence35 joined | 16:38 |
| ← nurdie left | 16:39 |
| → nerosnm joined | 16:40 |
| ← deathwishdave left | 16:41 |
| → mat001 joined | 16:42 |
| ← orbyt_ left | 16:42 |
| ← nerosnm left | 16:45 |
| ← cdown left | 16:46 |
| → thiago joined | 16:52 |
| → Lucas_Gray joined | 16:53 |
| → orbyt_ joined | 16:53 |
| → moldybits joined | 16:58 |
| → duderonomy joined | 17:00 |
| ← dskull left | 17:01 |
| ← duderonomy left | 17:02 |
| ← Jackneill left | 17:03 |
| → dskull joined | 17:04 |
| → czart joined | 17:05 |
| ← mojisun left | 17:09 |
| → mojisun joined | 17:09 |
| ← lucasb left | 17:10 |
| ← nishttal left | 17:11 |
| ← orbyt_ left | 17:12 |
| → duderonomy joined | 17:13 |
| ← TingelTangelBob left | 17:13 |
| → orbyt_ joined | 17:14 |
| ← orbyt_ left | 17:15 |
| ← mooasaurus left | 17:15 |
| → mooasaurus joined | 17:16 |
| ← duderonomy left | 17:16 |
| → wootehfoot joined | 17:25 |
| ← Murr left | 17:26 |
| → orbyt_ joined | 17:27 |
| → fphilipe_ joined | 17:30 |
| ← fphilipe_ left | 17:35 |
| ← achen_ left | 17:36 |
| ← thefatma left | 17:36 |
| ← zautomata left | 17:38 |
| → m1dnight_ joined | 17:39 |
| → duderonomy joined | 17:46 |
| ← clime left | 17:52 |
| → lucasb joined | 17:55 |
| ← agowa338 left | 17:56 |
| ← yyy- left | 17:57 |
| ← goldleader left | 17:58 |
| → lachesis joined | 17:58 |
| → goldleader joined | 18:00 |
| ← Lucas_Gray left | 18:01 |
| ← bradleyprice left | 18:06 |
| → bradleyprice joined | 18:07 |
| → Sasazuka joined | 18:08 |
| ← nuc left | 18:11 |
| ← boombatower left | 18:12 |
| → nuc joined | 18:12 |
| ← planetcall|work left | 18:16 |
| → kermit joined | 18:17 |
| → freeman42x joined | 18:18 |
| → UrsoBranco joined | 18:21 |
| ← figuinhas left | 18:22 |
| → gloomy joined | 18:22 |
| ← hojang left | 18:23 |
| ← steveeJ left | 18:23 |
| ← netj left | 18:24 |
| → netj joined | 18:24 |
| ← discopatrick left | 18:25 |
| ← jleclanche left | 18:25 |
| → steveeJ joined | 18:25 |
| ← kapilp left | 18:26 |
| → discopatrick joined | 18:26 |
| → CryptoDavid joined | 18:26 |
| → jleclanche joined | 18:26 |
| → kapilp joined | 18:27 |
| ← plexigras left | 18:27 |
| → nerdcore joined | 18:28 |
| ← sauvin left | 18:29 |
|
nerdcore
| is this channel for discussing the git source control management system? | 18:30 |
|
| it's not clear from the topic :P | 18:30 |
|
bin_bash
| yes | 18:30 |
| ← neure left | 18:31 |
|
nerdcore
| ty wanted to send someone here just wanted to be sure first :) | 18:32 |
| ← queip left | 18:33 |
| ← SerialSmile left | 18:35 |
| → queip joined | 18:39 |
| ← leeN left | 18:43 |
| ← nerdcore left | 18:45 |
| ← skyikot left | 18:49 |
| → fphilipe_ joined | 18:49 |
| ← bradleyprice left | 18:50 |
| → skyikot joined | 18:50 |
| → bradleyprice joined | 18:50 |
| ← solars left | 18:54 |
| ← fphilipe_ left | 18:54 |
| → Ch3ck3rs_ joined | 18:55 |
| ← flavius left | 18:57 |
| ← orbyt_ left | 18:57 |
| → goiko joined | 18:59 |
| → orbyt_ joined | 18:59 |
| ← tufteddeer left | 19:02 |
| → tufteddeer joined | 19:03 |
| ← bradleyprice left | 19:06 |
| → nerosnm joined | 19:07 |
| → bradleyprice joined | 19:07 |
| ← bradleyprice left | 19:07 |
| → bradleyprice joined | 19:07 |
| → Newami joined | 19:08 |
| ← jcbitter left | 19:09 |
| → jcbitter joined | 19:11 |
| ← nerosnm left | 19:11 |
| ← UrsoBranco left | 19:11 |
| ← Ch3ck3rs_ left | 19:11 |
| ← Mattiaslndstrm left | 19:12 |
| ← jcbitter left | 19:16 |
| → jcbitter joined | 19:17 |
| → Ch3ck3rs joined | 19:18 |
| ← T_UNIX left | 19:19 |
| ← Ch3ck3rs left | 19:19 |
| → Ch3ck3rs joined | 19:19 |
| ← jcbitter left | 19:22 |
|
robertparkerx
| Hi I have a branch [ahead 1, behind 23] after I reset the head to clear out contamination | 19:24 |
|
| How do I catch it back up | 19:24 |
| → jcbitter joined | 19:25 |
| → boombatower joined | 19:25 |
|
haymawk
| robertparkerx: are you trying to catch it back up to another branch? | 19:27 |
|
robertparkerx
| Well just so its normal | 19:27 |
|
| don't I force push or something | 19:27 |
|
haymawk
| that would force the remote to match what you have locally and remove the 23 commits on the remote. Is that what you want? | 19:28 |
|
robertparkerx
| would that remove [] | 19:29 |
|
haymawk
| 1 ahead means you have a commit locally that isn't on the server. 23 behind means there are 23 commits on the server that you dont' currently have | 19:29 |
|
| to get the 23 commits locally you need to do a 'git pull' | 19:29 |
| ← emsjessec left | 19:30 |
|
robertparkerx
| I want to removve the 23 commits | 19:31 |
|
haymawk
| from the remote server? 'git push --force-with-lease' will do it | 19:32 |
| ← czart left | 19:34 |
| ← bradleyprice left | 19:34 |
| → bradleyprice joined | 19:34 |
| ← bradleyprice left | 19:35 |
|
robertparkerx
| That was it | 19:35 |
|
| Thank you | 19:35 |
| → bradleyprice joined | 19:35 |
| → violentE joined | 19:35 |
| → mat001_ joined | 19:36 |
|
haymawk
| np | 19:37 |
| ← mat001 left | 19:39 |
| ← Shentino left | 19:39 |
| → Shentino joined | 19:40 |
| → SkarmoutsosV joined | 19:46 |
| ← impermanence35 left | 19:48 |
| ← bradleyprice left | 19:50 |
| → bradleyprice joined | 19:51 |
| → remote joined | 19:52 |
| ← orcainbox left | 19:58 |
| → gh0st3d joined | 20:00 |
|
gh0st3d
| Hey guys. Trying to get more proper with git workflows... If I commit and push to the origin and then realize I need to change one little line of code, what's the proper thing to do? Until now I've just been adding another commit and pushing again | 20:01 |
| ← orcacomputers left | 20:01 |
| → mat001 joined | 20:02 |
| → durham joined | 20:03 |
| → Jackneill joined | 20:04 |
|
vishal
| ghormoon: !rewrite is usually not preferred, but if it is ok, you can commit --amend and push --force your oneline change | 20:04 |
|
gitinfo
| ghormoon: Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 20:04 |
| ← mat001_ left | 20:05 |
| ← durham left | 20:05 |
| ← dfee left | 20:05 |
| → n3wborn joined | 20:05 |
| ← PacKetSlayer left | 20:06 |
| → PacKetSlayer joined | 20:06 |
| ← bradleyprice left | 20:08 |
| → bradleyprice joined | 20:09 |
|
gh0st3d
| Ok thank you! I'll read into that | 20:09 |
| ← queip left | 20:10 |
| → Lucas_Gray joined | 20:11 |
| → UrsoBranco joined | 20:13 |
| ← subopt left | 20:15 |
| → thefatma joined | 20:16 |
| → achen_ joined | 20:16 |
| → queip joined | 20:16 |
| → plexigras joined | 20:19 |
| ← gh0st3d left | 20:21 |
| → nerosnm joined | 20:21 |
| → fstd_ joined | 20:32 |
| ← bradleyprice left | 20:33 |
| → bradleyprice joined | 20:33 |
| ← nerosnm left | 20:34 |
| ← bradleyprice left | 20:35 |
| → bradleyprice joined | 20:35 |
| ← jakobvarmose left | 20:35 |
| ← fstd left | 20:36 |
| fstd_ → fstd | 20:36 |
| → jakobvarmose joined | 20:37 |
| → nerosnm joined | 20:38 |
| → MaliusArth joined | 20:41 |
| ← MaliusArth left | 20:41 |
| ← gloomy left | 20:44 |
| ← Lucas_Gray left | 20:46 |
| ← CryptoDavid left | 20:46 |
| ← Cabanossi left | 20:48 |
|
robertparkerx
| if the feature branch exist and I'm already checke out to the feauture branch, when I push do I have to continue to type : git push -u origin feature_1 | 20:49 |
| → fphilipe_ joined | 20:51 |
| → dfee joined | 20:51 |
|
vishal
| robertparkerx: -u sets the upstream in the repo configuration, so you only have to do it once unless the upstream needs to change for some reason | 20:53 |
|
robertparkerx
| ty vishal | 20:53 |
| ← skyikot left | 20:55 |
| → Cabanossi joined | 20:55 |
| ← cliluw left | 20:55 |
| ← fphilipe_ left | 20:56 |
| ← abelvesa_ left | 20:57 |
| → cliluw joined | 20:57 |
| → m0viefreak joined | 20:57 |
| ← SkarmoutsosV left | 20:59 |
| ← synthmeat left | 20:59 |
| → clime joined | 21:02 |
| → MaliusArth[m] joined | 21:04 |
| ← rsrx left | 21:09 |
| ← cvz left | 21:09 |
| ← Jackneill left | 21:10 |
| ← xorander left | 21:10 |
| → xorander joined | 21:12 |
| → hofmann3900 joined | 21:13 |
| → CryptoDavid joined | 21:14 |
| ← tufteddeer left | 21:14 |
| → tufteddeer joined | 21:14 |
| ← bradleyprice left | 21:16 |
| ← dudek left | 21:17 |
| → bradleyprice joined | 21:17 |
| ← AbleBacon left | 21:18 |
| ← bradleyprice left | 21:19 |
| → bradleyprice joined | 21:20 |
| ← pks left | 21:20 |
| ← tombusby left | 21:21 |
| → tombusby joined | 21:21 |
| ← bradleyprice left | 21:22 |
| → bradleyprice joined | 21:22 |
| → impermanence joined | 21:23 |
| ← bradleyprice left | 21:27 |
| ← jubal left | 21:28 |
| → leeN joined | 21:28 |
| → jubal joined | 21:29 |
| → pks joined | 21:29 |
| ← howell left | 21:31 |
| → nurdie joined | 21:32 |
| → ChosunOne joined | 21:35 |
| ← plexigras left | 21:35 |
| → bradleyprice joined | 21:35 |
| ← tufteddeer left | 21:36 |
| ← nerosnm left | 21:36 |
| → LaScoumoune joined | 21:36 |
| → yyy- joined | 21:36 |
| ← nurdie left | 21:36 |
| → plongshot joined | 21:37 |
| → butterthebuddha joined | 21:37 |
| → tufteddeer joined | 21:37 |
| ← LaScoumoune left | 21:37 |
| ← mattcen left | 21:39 |
| → mattcen joined | 21:40 |
| ← armyriad left | 21:50 |
| → armyriad joined | 21:50 |
| → dustinm- joined | 21:50 |
| ← dustinm left | 21:52 |
| → TingelTangelBob joined | 21:52 |
| ← butterthebuddha left | 21:52 |
| ← thiago left | 21:53 |
| → butterthebuddha joined | 21:56 |
| ← butterthebuddha left | 21:59 |
| ← wootehfoot left | 22:00 |
| → butterthebuddha joined | 22:00 |
| ← yyy- left | 22:03 |
| ← butterthebuddha left | 22:04 |
| ← wadadli left | 22:04 |
| ← Khan left | 22:04 |
| ← ajain left | 22:04 |
| ← dege left | 22:05 |
| → LaScoumoune joined | 22:06 |
| ← queip left | 22:08 |
| ← leeN left | 22:08 |
| ← bradleyprice left | 22:10 |
| → bradleyprice joined | 22:15 |
| → sz0 joined | 22:15 |
| ← tombusby left | 22:16 |
| ← clime left | 22:16 |
| ← gxt left | 22:17 |
| → fatalhalt joined | 22:18 |
| → tombusby joined | 22:18 |
| → gxt joined | 22:18 |
| → queip joined | 22:19 |
| ← hussam left | 22:23 |
| ← greggerz left | 22:24 |
| ← frikinz left | 22:29 |
| → clime joined | 22:29 |
| ← orbyt_ left | 22:31 |
| → webstran- joined | 22:31 |
| ← webstrand left | 22:31 |
| → orbyt_ joined | 22:32 |
| webstran- → webstrand | 22:32 |
| ← inkbottle left | 22:32 |
| ← LaScoumoune left | 22:33 |
| ← evanc left | 22:34 |
| → evanc joined | 22:34 |
| → dviola joined | 22:36 |
| ← queip left | 22:36 |
| → LaScoumoune joined | 22:36 |
| ← oh4 left | 22:37 |
| ← impermanence left | 22:37 |
| ← Iroha left | 22:37 |
| → oh4 joined | 22:38 |
| ← LaScoumoune left | 22:40 |
| → queip joined | 22:41 |
| → Iroha joined | 22:41 |
| ← skered left | 22:42 |
| → LaScoumoune joined | 22:42 |
| ← LaScoumoune left | 22:46 |
| ← dfee left | 22:46 |
| ← victorqueiroz left | 22:47 |
| ← Cabanossi left | 22:48 |
| ← Sleepy63 left | 22:48 |
| → victorqueiroz joined | 22:49 |
| → dfee joined | 22:50 |
| → chachasmooth_ joined | 22:50 |
| ← chachasmooth left | 22:51 |
| ← Ch3ck3rs left | 22:53 |
| → Ch3ck3rs joined | 22:53 |
| → Cabanossi joined | 22:54 |
| → skered joined | 22:58 |
| → Sleepy63 joined | 22:58 |
| ← bradleyprice left | 23:02 |
| → bradleyprice joined | 23:02 |
| ← n3wborn left | 23:03 |
|
Soni
| how does git handle URIs? | 23:05 |
|
| like, for remotes, or for "git fetch" | 23:05 |
| → causaui1 joined | 23:05 |
| ← causa-sui left | 23:07 |
| ← bradleyprice left | 23:07 |
|
Ori_B
| ...by parsing them? I'm not sure what the question is. | 23:11 |
|
| are you asking about the 'git-remote-foo' stuff? | 23:12 |
| ← mattcen left | 23:13 |
|
Soni
| does it just accept anything I throw at it as long as it starts with a keyword followed by a ':'? | 23:13 |
| ← mra90 left | 23:14 |
| → fphilipe_ joined | 23:16 |
| ← Anthaas left | 23:16 |
|
Ori_B
| yes, any prefix where is_urlschemechar() returns true. | 23:16 |
|
| https://github.com/git/git/blob/16a465bc018d09e9d7bbbdc5f40a7fb99c21f8ef/url.c#L4 | 23:16 |
| → nic-hartley joined | 23:16 |
| → Anthaas joined | 23:17 |
| → elichai2 joined | 23:19 |
| ← Ch3ck3rs left | 23:20 |
| ← fphilipe_ left | 23:21 |
| → Ch3ck3rs joined | 23:21 |
|
Soni
| so I could do something like `git fetch bash:"$(cat foo.bash)"` and it'd work? | 23:24 |
|
| since when does github use ipv6 | 23:26 |
| ← CryptoDavid left | 23:26 |
| → wadadli joined | 23:27 |
|
Soni
| huh, how come I'm connected to my quassel core over ipv6 but I can't seem to open github... | 23:27 |
|
| (and browser ipv6 tests don't seem to work either) | 23:27 |
|
| ah it's probably my router | 23:28 |
|
| well anyway I can't look at that | 23:28 |
|
| Ori_B: can I just embed raw shell scripts in an so-called "URL" | 23:29 |
|
| well fuck you too https://github.com/git/git/blob/16a465bc018d09e9d7bbbdc5f40a7fb99c21f8ef/url.c#L28 | 23:30 |
| → mattcen joined | 23:31 |
|
rewt
| how would it know to run bash to figure the actual url? | 23:32 |
|
vishal
| what are you really trying to do? | 23:32 |
|
rewt
| just putting bash: in front doesn't mean "run bash", just as http: doesn't mean "run http" | 23:32 |
| → nabil joined | 23:32 |
|
Soni
| ln -s /usr/bin/bash /usr/bin/git-fetch-bash ? | 23:32 |
|
| or w/e | 23:33 |
|
rewt
| is that documented anywhere? | 23:33 |
|
Soni
| anyway I'm gonna do my own URI sanitization and fuck your slashes :/ | 23:33 |
|
Ori_B
| soni: by 'just work', you mean if you implemented an appropriate uri handler? sure. | 23:33 |
| → thiago joined | 23:34 |
|
Ori_B
| you'd probably need to urlencode the argument. | 23:34 |
| ← wymillerlinux left | 23:34 |
| ← mattcen left | 23:36 |
| ← duderonomy left | 23:37 |
| → nerosnm joined | 23:44 |
|
Ori_B
| rewt: which, the https://git-scm.com/docs/git-remote-helpers stuff? | 23:45 |
| ← boombatower left | 23:47 |
| ← m0viefreak left | 23:53 |
| ← mat001 left | 23:54 |
| → bradleyprice joined | 23:56 |
| ← nerosnm left | 23:56 |
| → mattcen joined | 23:56 |