| 2023-02-09 |
| → roadie joined | 00:02 |
| ← hectopascal left | 00:02 |
| ← kkawg left | 00:06 |
| ← Hi-Angel left | 00:06 |
|
trafficjam
| I really need to plan this stuff out better beforehand... | 00:06 |
|
| I think i'll just cut the changes from foo, checkout to master and then bar, and paste them in (hangs head in shame) | 00:07 |
| ← TheCatBehemoth left | 00:10 |
|
acidbong
| > can you clone | 00:10 |
|
| adelfino: the pc isn't available at the moment, so i tried out with the ranger repo (which is smaller) | 00:10 |
|
| did a --depth=10 clone, hard-reset last several commits, committed to a side branch and then `git pull --depth 1` from master | 00:10 |
|
| the result is that the side branch is just detached from master | 00:10 |
|
adelfino
| trafficjam: it's alright, just take a good look on what you are pasting | 00:11 |
|
| acidbong: that's fine | 00:11 |
|
| You can rebase on top of master | 00:11 |
|
acidbong
| the patches I'm using are also in development, so if they're updated or new ones are added, I'm pulling their repo and reapply manually | 00:13 |
| → kkawg joined | 00:13 |
|
acidbong
| bit complicated, but i just wanna keep em in sync | 00:13 |
| ← roadie left | 00:14 |
| ← farzat1 left | 00:15 |
| ← chexum_ left | 00:15 |
|
adelfino
| A sync up a day keeps the conflict shitstorm away | 00:16 |
| ← falafel left | 00:16 |
| → chexum joined | 00:16 |
| → farzat1 joined | 00:17 |
| → thebombzen joined | 00:24 |
| → roadie joined | 00:25 |
| ← LW left | 00:26 |
| ← xheimlich left | 00:26 |
| ← nyah left | 00:26 |
| → zulutango joined | 00:30 |
| ← Supavisah left | 00:32 |
| ← Xenguy left | 00:32 |
| ← omethe left | 00:34 |
| ← Muzer left | 00:35 |
| ← The_Blode left | 00:35 |
| ← umbramalison left | 00:36 |
| → umbramalison joined | 00:36 |
| ← roadie left | 00:39 |
| → junebug joined | 00:40 |
| ← rama_ left | 00:41 |
| → rama_ joined | 00:42 |
| ← kkawg left | 00:46 |
| ← rama_ left | 00:47 |
| → Muzer joined | 00:47 |
| ← kostkon left | 00:49 |
| ← keypusher left | 00:49 |
| → jacobk joined | 00:54 |
| → kostkon joined | 00:55 |
| → peirik_ joined | 00:57 |
| → roadie joined | 00:58 |
| → keypusher joined | 00:58 |
| → Xenguy joined | 00:58 |
| → stef204 joined | 00:58 |
| ← roadie left | 01:03 |
| ← kostkon left | 01:05 |
|
trafficjam
| what does it mean if i can see a file in my editor, but it's not included when I push to github (and seemingly doesn't exist in the filesystem)? | 01:06 |
| ← RiFo left | 01:07 |
|
trafficjam
| (say the file is called foo.txt) but if I `touch foo.txt` and then open it in vim, it shows that contents without issue | 01:07 |
|
| also can't see any rules in .gitignore that would ignore it | 01:08 |
| ← keypusher left | 01:11 |
| → keypusher joined | 01:11 |
| → falafel joined | 01:11 |
| ← gvg left | 01:12 |
| → gast0n joined | 01:12 |
| → kostkon joined | 01:13 |
|
trafficjam
| guess it's being ignored somewhere else, all good | 01:15 |
| ← trafficjam left | 01:15 |
|
cabazon
| I've been using bare vim without any plugins to resolve merge conflicts. I think it's time to advance to better tool. For my normal workflow, I usually use Vscode and I'm usually on Debian 10. What tools/methods would you recommend for merge conflicts? | 01:18 |
| → omethe joined | 01:18 |
|
cabazon
| Also, I've seen how some visual editors can cherry pick individual changes from 1 commit which is something I never knew how to do. | 01:19 |
| → gvg joined | 01:19 |
| ← feriman left | 01:22 |
| ← ferdna left | 01:22 |
| ← junebug left | 01:27 |
| ← peirik_ left | 01:31 |
| ← reprazent left | 01:33 |
| → reprazent joined | 01:33 |
| → junebug joined | 01:35 |
| ← gsi left | 01:36 |
| → gsi joined | 01:37 |
| ← lucasta_ left | 01:38 |
| ← falafel left | 01:39 |
| → jaredce joined | 01:41 |
| → gizmore|2 joined | 01:41 |
| → lucasta joined | 01:43 |
| ← gizmore left | 01:44 |
| → thiago joined | 01:45 |
| ← jaredce left | 01:46 |
| → BigShip5 joined | 01:48 |
| → skapata joined | 01:49 |
| ← BigShip left | 01:50 |
| BigShip5 → BigShip | 01:50 |
| ← NeatNit left | 01:51 |
| → NeatNit joined | 01:53 |
| ← causasui left | 01:56 |
| → roadie joined | 02:03 |
| ← lucasta left | 02:08 |
| ← xandris left | 02:15 |
| → xandris joined | 02:16 |
| → lucasta joined | 02:18 |
| ← roadie left | 02:19 |
| → amosbird joined | 02:21 |
| ← ___nick___ left | 02:22 |
| ← lucasta left | 02:23 |
| ← Lord_of_Life left | 02:23 |
| ← vancz left | 02:23 |
| → Lord_of_Life joined | 02:23 |
| → ___nick___ joined | 02:24 |
| ← ___nick___ left | 02:25 |
| ← harv left | 02:26 |
| → harv joined | 02:26 |
| → ___nick___ joined | 02:26 |
| ← mgedmin left | 02:30 |
| → mgedmin joined | 02:32 |
| ← Nintendo left | 02:33 |
| → lucasta joined | 02:33 |
| → vancz joined | 02:38 |
| → kgz joined | 02:38 |
| ← austin987 left | 02:38 |
| ← gsi left | 02:39 |
| → gsi joined | 02:41 |
| ← YuGiOhJCJ left | 02:49 |
| ← lucasta left | 02:49 |
| → chexum_ joined | 02:51 |
| ← chexum left | 02:51 |
| ← moldorcoder7 left | 02:53 |
| → YuGiOhJCJ joined | 02:54 |
| → lucasta joined | 03:00 |
| ← gxt left | 03:00 |
| → gxt joined | 03:00 |
| ← adelfino left | 03:01 |
| → peirik_ joined | 03:02 |
| ← mnathani left | 03:03 |
| → mnathani joined | 03:03 |
| → codaraxis___ joined | 03:05 |
| → tchan1 joined | 03:06 |
| → R2robot_ joined | 03:08 |
| → jkl1337 joined | 03:08 |
| → Milos_ joined | 03:08 |
| → Xenguy_ joined | 03:08 |
| → harv_ joined | 03:09 |
| → terrorjack2 joined | 03:09 |
| → Bardon_ joined | 03:09 |
| → Novi_ joined | 03:09 |
| ← tchan1 left | 03:09 |
| → DynamiteDan_ joined | 03:10 |
| → tchan1 joined | 03:10 |
| → bket_ joined | 03:10 |
| ← tchan left | 03:10 |
| tchan1 → tchan | 03:10 |
| → g2anj_ joined | 03:11 |
| → constxo joined | 03:11 |
| → nevyn_ joined | 03:15 |
| ← peirik_ left | 03:15 |
| ← harv left | 03:15 |
| ← Lord_of_Life left | 03:15 |
| ← amosbird left | 03:15 |
| ← NeatNit left | 03:15 |
| ← reprazent left | 03:15 |
| ← omethe left | 03:15 |
| ← Xenguy left | 03:15 |
| ← Muzer left | 03:15 |
| ← thebombzen left | 03:15 |
| ← g2anj left | 03:15 |
| ← Ranhir left | 03:15 |
| ← Intel8086 left | 03:15 |
| ← dsrt^ left | 03:15 |
| ← codaraxis__ left | 03:15 |
| ← reset left | 03:15 |
| ← Milos left | 03:15 |
| ← megox left | 03:15 |
| ← agowa338 left | 03:15 |
| ← drogas left | 03:15 |
| ← fstd left | 03:15 |
| ← Bardon left | 03:15 |
| ← GoGi left | 03:15 |
| ← nevyn left | 03:15 |
| ← jkl left | 03:15 |
| ← Saloframes left | 03:15 |
| ← bket left | 03:15 |
| ← constxd left | 03:15 |
| ← terrorjack left | 03:15 |
| ← Abrax left | 03:15 |
| ← germ left | 03:15 |
| ← R2robot left | 03:15 |
| ← luckman212 left | 03:15 |
| ← jinsun left | 03:15 |
| ← Novi left | 03:15 |
| ← remedan left | 03:15 |
| ← JanC left | 03:15 |
| ← andypandy left | 03:15 |
| ← DynamiteDan left | 03:15 |
| ← mohit left | 03:15 |
| ← Koeniz left | 03:15 |
| ← nivag left | 03:15 |
| ← A_Dragon left | 03:15 |
| ← Inline left | 03:15 |
| ← EdFletcher left | 03:15 |
| ← drew left | 03:15 |
| ← deltab left | 03:15 |
| ← lantech19446 left | 03:15 |
| ← ProperNoun left | 03:15 |
| ← superice left | 03:15 |
| terrorjack2 → terrorjack | 03:15 |
| harv_ → harv | 03:15 |
| DynamiteDan_ → DynamiteDan | 03:15 |
| ← gast0n left | 03:16 |
| → dsrt^ joined | 03:17 |
| ← moha left | 03:17 |
| → omethe joined | 03:17 |
| → EdFletcher joined | 03:17 |
| ← Arokh left | 03:18 |
| → chandash joined | 03:18 |
| → Arokh joined | 03:18 |
| ← Misotauros left | 03:19 |
| ← omethe left | 03:19 |
| → omethe joined | 03:20 |
| ← omethe left | 03:22 |
| → omethe joined | 03:23 |
| ← Oblomov left | 03:24 |
| → Muzer joined | 03:25 |
| → drew` joined | 03:27 |
| → Lord_of_Life joined | 03:27 |
| → amosbird joined | 03:27 |
| → NeatNit joined | 03:27 |
| → reprazent joined | 03:27 |
| → thebombzen joined | 03:27 |
| → Ranhir joined | 03:27 |
| → Intel8086 joined | 03:27 |
| → reset joined | 03:27 |
| → megox joined | 03:27 |
| → agowa338 joined | 03:27 |
| → fstd joined | 03:27 |
| → GoGi joined | 03:27 |
| → Saloframes joined | 03:27 |
| → Abrax joined | 03:27 |
| → germ joined | 03:27 |
| → luckman212 joined | 03:27 |
| → jinsun joined | 03:27 |
| → remedan joined | 03:27 |
| → JanC joined | 03:27 |
| → andypandy joined | 03:27 |
| → mohit joined | 03:27 |
| → Koeniz joined | 03:27 |
| → nivag joined | 03:27 |
| → A_Dragon joined | 03:27 |
| → Inline joined | 03:27 |
| → deltab joined | 03:27 |
| → lantech19446 joined | 03:27 |
| → ProperNoun joined | 03:27 |
| → superice joined | 03:27 |
| ← Inline left | 03:28 |
| ← mohit left | 03:28 |
| ← GoGi left | 03:28 |
| ← Saloframes left | 03:28 |
| ← ProperNoun left | 03:28 |
| ← Lord_of_Life left | 03:28 |
| → GoGi joined | 03:28 |
| → mohit joined | 03:28 |
| → ProperNoun joined | 03:28 |
| → Inline joined | 03:28 |
| → Saloframes joined | 03:28 |
| ← zeroes left | 03:29 |
| → zeroes joined | 03:29 |
| ← crabbedhaloablut left | 03:30 |
| → Lord_of_Life joined | 03:31 |
| → crabbedhaloablut joined | 03:33 |
| ← FinnElija left | 03:33 |
| → finn_elija joined | 03:33 |
| finn_elija → FinnElija | 03:33 |
| ← farzat1 left | 03:36 |
| ← lucasta left | 03:37 |
| Milos_ → Milos | 03:39 |
| ← terrorjack left | 03:42 |
| → terrorjack joined | 03:43 |
| → bywaterloo joined | 03:43 |
| → Misotauros joined | 03:46 |
| ← nattiestnate left | 03:49 |
| → peirik_ joined | 03:56 |
| ← peirik_ left | 04:01 |
| ← gsi left | 04:01 |
| → gsi joined | 04:01 |
| ← EdFletcher left | 04:02 |
| ← gxt left | 04:05 |
| → gxt joined | 04:06 |
| → EdFletcher joined | 04:07 |
| → vqueiroz joined | 04:08 |
| ← EdFletcher left | 04:13 |
| → lucasta joined | 04:16 |
| ← Pixi left | 04:17 |
| ← zeroes left | 04:17 |
| → han-solo joined | 04:17 |
| → zeroes joined | 04:18 |
| ← cbreak left | 04:21 |
| → EdFletcher joined | 04:21 |
| ← han-solo left | 04:23 |
| → han-solo joined | 04:23 |
| → cbreak joined | 04:25 |
| ← gryffus left | 04:26 |
| ← skapata left | 04:34 |
| ← XV9 left | 04:36 |
| → XV8 joined | 04:37 |
| ← YuGiOhJCJ left | 04:39 |
| ← zulutango left | 04:40 |
| → zulutango joined | 04:42 |
| ← omethe left | 04:45 |
| → Kulrak joined | 04:46 |
| → omethe joined | 04:46 |
| → The_Blode joined | 04:48 |
| ← lucasta left | 04:50 |
| → peirik_ joined | 04:58 |
| ← R2robot_ left | 05:00 |
| → lucasta joined | 05:00 |
| ← junebug left | 05:00 |
| → junebug joined | 05:01 |
| ← peirik_ left | 05:03 |
| → peirik_ joined | 05:04 |
| ← peirik_ left | 05:09 |
| ← V-T60 left | 05:21 |
| → R2robot joined | 05:21 |
|
Intel8086
| git branch --set-upstream origin main | 05:21 |
|
| fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead. | 05:21 |
|
| help please | 05:21 |
| → priority_queue joined | 05:24 |
| ← BUSY left | 05:24 |
|
priority_queue
| Hullo! | 05:25 |
|
| I had a question about fixup! commits. | 05:26 |
| ← chandash left | 05:26 |
| ← bywaterloo left | 05:26 |
| ← kostkon left | 05:27 |
|
R2robot
| !hi | 05:27 |
|
gitinfo
| [!welcome] Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see https://gitirc.eu/ - Take backups (type !backup to learn how) before taking advice. | 05:27 |
|
priority_queue
| !backup | 05:28 |
|
gitinfo
| Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.io/GitBestPractices/#backups | 05:28 |
|
priority_queue
| I want to implement a small feature into git, that in case of an interactive rebase, git should not try to fixup a skipped commit. (As part of my GSoC micro project). | 05:31 |
| ← gxt left | 05:33 |
| → gxt joined | 05:36 |
|
priority_queue
| How exactly does a skipped commit look like if I try to detect it through the command line? | 05:36 |
| → BUSY joined | 05:37 |
| ← koo5 left | 05:37 |
|
Intel8086
| git push origin --delete master | 05:39 |
|
| To https://github.com/myusername/baccarat.git | 05:39 |
|
| ! [remote rejected] master (refusing to delete the current branch: refs/heads/master) | 05:39 |
|
| error: failed to push some refs to 'https://github.com/myusername/baccarat.git' | 05:39 |
| → koo5__ joined | 05:41 |
| ← jjakob left | 05:41 |
| → kostkon joined | 05:41 |
| → matt[m]1234 joined | 05:43 |
| → Jong joined | 05:43 |
| ← Jong left | 05:49 |
| → Jong joined | 05:51 |
| ← sa0 left | 05:54 |
|
grawity
| Intel8086: visit github's repository settings website and select "main" as the new default branch | 05:56 |
| ← mingdao left | 05:56 |
| → jjakob joined | 05:56 |
| ← stef204 left | 05:57 |
|
Intel8086
| I don't want to use master branch | 05:57 |
| ← priority_queue left | 05:57 |
|
Intel8086
| as it is a bad name | 05:57 |
|
| for abranch | 05:57 |
|
| slavery reference | 05:58 |
|
ikke
| like grawity said, you need to change the default branch in your repository | 05:58 |
| ← maret left | 05:59 |
|
Intel8086
| ok done | 06:00 |
| ← lucasta left | 06:04 |
| ← jrm left | 06:08 |
| ← dskull left | 06:08 |
| ← chexum_ left | 06:10 |
| ← gildasio left | 06:10 |
| → chexum joined | 06:11 |
| ← ___nick___ left | 06:13 |
| ← constxo left | 06:13 |
| → ___nick___ joined | 06:14 |
| → peirik_ joined | 06:14 |
| → constxo joined | 06:15 |
| → Hi-Angel joined | 06:16 |
| ← kostkon left | 06:18 |
| ← peirik_ left | 06:19 |
| → maret joined | 06:21 |
| ← thiago left | 06:23 |
| → kostkon joined | 06:24 |
| ← onizu left | 06:25 |
| ← maret left | 06:35 |
| → jrm joined | 06:35 |
| → dskull joined | 06:35 |
| ← junebug left | 06:36 |
| ← cbreak left | 06:40 |
| → cbreak joined | 06:42 |
| → igemnace joined | 06:49 |
| → peirik_ joined | 06:49 |
| → skapata joined | 06:52 |
| → mingdao joined | 06:53 |
| ← peirik_ left | 06:54 |
| ← XV8 left | 06:54 |
| → XV8 joined | 06:56 |
| → otisolsen70 joined | 07:07 |
| ← kostkon left | 07:08 |
| ← leftyfb left | 07:08 |
| → leftyfb joined | 07:08 |
| ← otisolsen70 left | 07:08 |
| → otisolsen70 joined | 07:10 |
| ← skapata left | 07:10 |
| ← Jong left | 07:10 |
| → coot joined | 07:13 |
| → kostkon joined | 07:16 |
| ← Millicent left | 07:18 |
| ← constxo left | 07:22 |
| ← otisolsen70 left | 07:23 |
| → iomari891 joined | 07:23 |
| → constxo joined | 07:24 |
| → Jong joined | 07:27 |
| ← constxo left | 07:29 |
| → clime joined | 07:29 |
| → derfflinger joined | 07:30 |
| → constxo joined | 07:30 |
| → priority_queu joined | 07:32 |
| ← priority_queu left | 07:33 |
| ← Betal left | 07:33 |
| ← Jong left | 07:33 |
| → Guest1 joined | 07:39 |
| → roadie joined | 07:40 |
| → derfflinger_ joined | 07:42 |
| → derfflinger__ joined | 07:43 |
| ← wacko left | 07:44 |
| ← derfflinger left | 07:45 |
| → Millicent joined | 07:45 |
| ← derfflinger_ left | 07:46 |
| ← Guest1 left | 07:47 |
| → Tw joined | 07:47 |
| Tw → Guest563 | 07:48 |
| → wacko joined | 07:48 |
| ← wacko left | 07:48 |
| → wacko joined | 07:48 |
| ← kostkon left | 07:51 |
| ← riposte left | 07:58 |
| → kostkon joined | 07:59 |
| ← ackyshake left | 08:01 |
| ← stenno left | 08:01 |
| ← dharrigan left | 08:04 |
| ← realies left | 08:05 |
| → rosco joined | 08:05 |
| → realies joined | 08:06 |
| → raxor2k joined | 08:07 |
| matt[m]1234 → socinep | 08:07 |
| → LW joined | 08:07 |
| → dharrigan joined | 08:07 |
|
raxor2k
| Lets say you are supposed to work on your own "dev-branch", do you alot of changes, and before you push, you suddenly see that: "oo shit im on the main branch!!!", what do you do? | 08:07 |
| ← socinep left | 08:08 |
|
raxor2k
| I personally just take local backup, and pull the dev-branch, and paste the files in there and then commit | 08:08 |
|
selckin
| git checkout -b dev-branch | 08:08 |
| → socinep joined | 08:08 |
| ← unluckyshrubbery left | 08:09 |
| → menace joined | 08:09 |
| ← menace left | 08:10 |
| → menace joined | 08:10 |
| menace → Deknos | 08:10 |
| ← Kangie left | 08:13 |
| → trafficjam joined | 08:14 |
|
osse
| git stash; git checkout dev-branch; git stash pop | 08:21 |
| → peirik_ joined | 08:24 |
| ← mohit left | 08:26 |
| → mohit joined | 08:26 |
| ← peirik_ left | 08:29 |
| ← sefidel left | 08:33 |
| → sefidel joined | 08:33 |
| → MajorBiscuit joined | 08:35 |
| → Spawns_Carpeting joined | 08:36 |
| → Oblomov joined | 08:37 |
|
Spawns_Carpeting
| hello. I am curious about the 64bit offset section in packfile indexes (version 2). normally you find your way around the index by finding the position of the sha1 via binary search, and then using that position to calculation the actual byte position of the crc and whatever else! i am not totally sure if the 64bit offset section works the same way or not | 08:39 |
| ← FinnElija left | 08:40 |
|
Spawns_Carpeting
| this has a cool picture https://shafiul.github.io/gitbook/7_the_packfile.html | 08:40 |
| → FinnElija joined | 08:42 |
| → theoceaniscool joined | 08:43 |
| ← Guest563 left | 08:43 |
|
Spawns_Carpeting
| to be a little more clear, you do a binary search on the sha1 section, and if say, the one you are searching for is the Nth sha1, you know that the corresponding crc or packfile offset is the Nth entry in those sections as well, and you can calculate the actual position in the byte stream using that N | 08:43 |
| → Holz joined | 08:44 |
| ← The_Blode left | 08:48 |
| ← MajorBiscuit left | 08:49 |
| → MajorBiscuit joined | 08:50 |
| ← Inline left | 08:52 |
| → mobidrop joined | 08:52 |
| → peirik_ joined | 08:57 |
| → delay joined | 08:57 |
| → feriman joined | 09:01 |
| ← peirik_ left | 09:03 |
| → RiFo joined | 09:03 |
| ← derfflinger__ left | 09:05 |
| ← warmana left | 09:05 |
| → jaredce joined | 09:06 |
| → derfflinger__ joined | 09:06 |
| → warmana joined | 09:06 |
| → derfflinger_ joined | 09:11 |
| ← raxor2k left | 09:11 |
| → circle joined | 09:12 |
| ← FinnElija left | 09:12 |
| → stenno joined | 09:13 |
| → riposte joined | 09:15 |
| ← derfflinger__ left | 09:15 |
| → derfflinger__ joined | 09:15 |
| ← derfflinger_ left | 09:16 |
| ← delay left | 09:16 |
| → FinnElija joined | 09:16 |
| → delay joined | 09:16 |
| ← roadie left | 09:17 |
| → hectopascal joined | 09:18 |
| ← delay left | 09:18 |
| → delay joined | 09:20 |
| → DrowningElysium joined | 09:26 |
| → zeenk joined | 09:27 |
| ← Masklin left | 09:28 |
| → Masklin joined | 09:29 |
| → agowa joined | 09:29 |
| ← circle left | 09:29 |
| → peirik_ joined | 09:30 |
| ← agowa338 left | 09:32 |
| → derfflinger_ joined | 09:33 |
| → farzat1 joined | 09:33 |
| → derfflinger joined | 09:35 |
| ← derfflinger__ left | 09:36 |
| → drogas joined | 09:38 |
| ← derfflinger_ left | 09:39 |
| → nyah joined | 09:42 |
| ← delay left | 09:42 |
| → delay joined | 09:42 |
| ← warmana left | 09:43 |
| → Aule joined | 09:44 |
| ← Aule left | 09:44 |
| → Aule joined | 09:44 |
| ← delay left | 09:46 |
| → delay joined | 09:46 |
| → derfflinger_ joined | 09:47 |
| → lxsameer joined | 09:49 |
| → derfflinger__ joined | 09:50 |
| ← delay left | 09:50 |
| → Jong joined | 09:50 |
| ← derfflinger left | 09:50 |
| → warmana joined | 09:51 |
| ← derfflinger_ left | 09:53 |
| ← FinnElija left | 09:57 |
| → FinnElija joined | 09:58 |
| → unluckyshrubbery joined | 10:00 |
| → f__ joined | 10:03 |
| f__ → f_ | 10:06 |
| → zer0bitz joined | 10:08 |
| → delay joined | 10:11 |
| ← Furai left | 10:14 |
| ← delay left | 10:16 |
| → Furai joined | 10:17 |
| → dionysus69 joined | 10:22 |
| ← tirnanog left | 10:22 |
| ← kostkon left | 10:27 |
| ← trafficjam left | 10:27 |
| ← travisghansen left | 10:28 |
| → travisghansen joined | 10:28 |
| jkl1337 → jkl | 10:29 |
| → dinkus joined | 10:29 |
| ← peirik_ left | 10:33 |
| ← snappy left | 10:33 |
| → kostkon joined | 10:37 |
|
Spawns_Carpeting
| If anyone does have any info about this 64bit section in the packfile index make sure to ping me! Thanks | 10:44 |
| → EvgenyK_ joined | 10:45 |
| → peirik_ joined | 10:45 |
| ← JanC left | 10:46 |
| → JanC joined | 10:47 |
| ← EvgenyK left | 10:48 |
| ← farzat1 left | 10:54 |
| → duxsco joined | 10:54 |
| → delay joined | 10:57 |
| ← delay left | 10:58 |
| ← dinkus left | 11:04 |
| → grub-reinstall joined | 11:04 |
| → farzat1 joined | 11:07 |
| → bgs joined | 11:08 |
| ← peirik_ left | 11:10 |
|
osse
| Spawns_Carpeting: I tried to figure it out, but couldn't | 11:11 |
|
| But maybe this comment helps you: https://github.com/git/git/blob/master/packfile.h#L110-L113 | 11:11 |
|
| I didn't for me, so don't expect enlightenment :p | 11:11 |
|
| There's always the mailing list | 11:12 |
| → peirik_ joined | 11:14 |
|
osse
| Spawns_Carpeting: now I found this: https://github.com/git/git/blob/master/Documentation/gitformat-pack.txt#L290-L293 | 11:14 |
| → delay joined | 11:18 |
| ← derfflinger__ left | 11:22 |
| → dinkus joined | 11:25 |
| ← delay left | 11:29 |
| → delay joined | 11:31 |
| ← grub-reinstall left | 11:31 |
| → grub-reinstall joined | 11:31 |
| → bywaterloo joined | 11:32 |
| ← delay left | 11:33 |
| ← duxsco left | 11:33 |
| ← peirik_ left | 11:33 |
| → delay joined | 11:33 |
| ← bywaterloo left | 11:36 |
| ← apoorv569[m] left | 11:36 |
| ← cyprussocialite[ left | 11:37 |
| ← colemickens left | 11:37 |
| ← kadoban left | 11:37 |
| ← hussam left | 11:37 |
| ← Industrial[m] left | 11:37 |
| ← kadoban[m] left | 11:37 |
| ← ForeverNoob[m] left | 11:37 |
| ← MHickford[m]12 left | 11:37 |
| ← nexilva[m] left | 11:37 |
| ← bluepenquin1 left | 11:37 |
| ← tiziodcaio left | 11:37 |
| ← socinep left | 11:37 |
| ← _Null[m] left | 11:37 |
| ← cpackham[m] left | 11:37 |
| ← MHickford[m]1 left | 11:37 |
| ← epony left | 11:38 |
| → epony joined | 11:38 |
| ← grub-reinstall left | 11:39 |
| → grub-reinstall joined | 11:39 |
| → colemickens joined | 11:41 |
| ← delay left | 11:55 |
| → delay joined | 11:56 |
| → heftig joined | 12:00 |
| → Fernando-Basso joined | 12:00 |
| → CarlFK joined | 12:00 |
| → Celmor[m] joined | 12:00 |
| → ForeverNoob[m] joined | 12:00 |
| → DamienCassou joined | 12:00 |
| → jmcantrell joined | 12:00 |
| → jcgruenhage joined | 12:00 |
| → ronny joined | 12:00 |
| → graham joined | 12:00 |
| → azadzadeh[m] joined | 12:00 |
| → psydroid joined | 12:00 |
| → nazarewk[m] joined | 12:00 |
| → T_UNIX[m] joined | 12:00 |
| → lasloum[m] joined | 12:00 |
| → morguldir joined | 12:00 |
| → tiziodcaio joined | 12:00 |
| → matthewcroughan- joined | 12:00 |
| → defolos joined | 12:00 |
| → kadoban joined | 12:00 |
| → bluepenquin joined | 12:00 |
| → cyprussocialite[ joined | 12:00 |
| → Industrial[m] joined | 12:00 |
| → nexilva[m] joined | 12:00 |
| → ckie[m] joined | 12:00 |
| → hussam joined | 12:00 |
| → zebrag[m] joined | 12:00 |
| → vitali64[m] joined | 12:00 |
| → cpackham[m] joined | 12:00 |
| → apoorv569[m] joined | 12:00 |
| → madewokherd[m] joined | 12:00 |
| → MHickford[m]1 joined | 12:00 |
| → MHickford[m]12 joined | 12:00 |
| → socinep joined | 12:00 |
| → kadoban[m] joined | 12:00 |
| → _Null[m] joined | 12:00 |
| → gryffus joined | 12:02 |
| ← delay left | 12:03 |
| → delay joined | 12:04 |
| → derfflinger__ joined | 12:06 |
| ← delay left | 12:08 |
| → delay joined | 12:08 |
| ← rosco left | 12:09 |
| → xheimlich joined | 12:10 |
| ← colemickens left | 12:14 |
| ← cyprussocialite[ left | 12:14 |
| ← Fernando-Basso left | 12:14 |
| ← jcgruenhage left | 12:14 |
| ← CarlFK left | 12:14 |
| ← kadoban left | 12:14 |
| ← vitali64[m] left | 12:14 |
| ← ronny left | 12:14 |
| ← hussam left | 12:14 |
| ← bluepenquin left | 12:14 |
| ← nazarewk[m] left | 12:14 |
| ← ckie[m] left | 12:14 |
| ← defolos left | 12:14 |
| ← Industrial[m] left | 12:14 |
| ← lasloum[m] left | 12:14 |
| ← graham left | 12:14 |
| ← cpackham[m] left | 12:14 |
| ← matthewcroughan- left | 12:14 |
| ← zebrag[m] left | 12:14 |
| ← kadoban[m] left | 12:14 |
| ← socinep left | 12:14 |
| ← azadzadeh[m] left | 12:14 |
| ← ForeverNoob[m] left | 12:14 |
| ← psydroid left | 12:14 |
| ← Celmor[m] left | 12:14 |
| ← nexilva[m] left | 12:14 |
| ← _Null[m] left | 12:14 |
| ← MHickford[m]12 left | 12:14 |
| ← jmcantrell left | 12:15 |
| ← tiziodcaio left | 12:15 |
| ← heftig left | 12:15 |
| ← MHickford[m]1 left | 12:15 |
| ← DamienCassou left | 12:15 |
| ← morguldir left | 12:15 |
| ← T_UNIX[m] left | 12:15 |
| ← madewokherd[m] left | 12:15 |
| ← apoorv569[m] left | 12:15 |
| → assedaka joined | 12:18 |
| → mncheck joined | 12:18 |
|
assedaka
| hi - is there a way to see what exact steps and logic git took in a merge? | 12:19 |
|
| like actual algo debug | 12:20 |
|
| not just evidence in console and log | 12:20 |
| ← c0dehu1k left | 12:20 |
| ← grub-reinstall left | 12:23 |
| → c0dehu1k joined | 12:23 |
| → grub-reinstall joined | 12:23 |
| → colemickens joined | 12:23 |
| → DamienCassou joined | 12:24 |
| → Fernando-Basso joined | 12:24 |
| → kaisyu joined | 12:25 |
| → hussam joined | 12:25 |
| → bluepenquin joined | 12:25 |
| → defolos joined | 12:25 |
| ← dinkus left | 12:28 |
| → dinkus joined | 12:28 |
| ← Deknos left | 12:29 |
|
jast
| assedaka: maybe GIT_MERGE_VERBOSITY (environment variable) will help? or GIT_TRACE | 12:30 |
|
assedaka
| am on windows and GIT_MERGE_VERBOSITY=5 didn't give more | 12:31 |
|
| also tried via config: merge.verbosity=5 | 12:35 |
| ← skered left | 12:36 |
| ← delay left | 12:40 |
| → skered joined | 12:40 |
| ← cbreak left | 12:42 |
|
jast
| I did see `trace2_...` calls in the code but I'm not sure what is used to make those visible for end users | 12:42 |
|
| and I think that's actually mostly for profiling | 12:42 |
|
assedaka
| jast: tnx. i managed to make some progress with GIT_TRACE but it is still not enough info. | 12:43 |
|
jast
| which parts of the merge process are you interested in in particular? | 12:43 |
| → rosco joined | 12:43 |
|
assedaka
| I have a file with deleted line commited on branch A much later then this line was added on branch B. am expecting a merge of A into B to delete this line but it doesn't. | 12:44 |
|
| So want to understand why GIT decides file in B should still have the line | 12:45 |
| → cbreak joined | 12:45 |
|
jast
| is the commit in which the line was added part of the history of both branches? | 12:45 |
|
| i.e. shared history | 12:45 |
| ← han-solo left | 12:46 |
|
assedaka
| how do i check that :) ? | 12:46 |
|
jast
| if you don't have too many branches, `git branch --contains <commit>` is an easy way | 12:47 |
|
assedaka
| trying.. | 12:47 |
| → han-solo joined | 12:48 |
|
jast
| a more general way is to check if `git rev-list <branch>..<commit>` has any output for either of the two branches. if it comes up empty both times, the commit is part of the history of both branches | 12:49 |
| → _Null[m] joined | 12:50 |
| → MHickford[m]12 joined | 12:50 |
| → srinidhi joined | 12:51 |
|
assedaka
| i see the line was added in both branches in 2 different commits :( and no shared history for neither :( | 12:52 |
|
| aded inA in commit a , added in B in commit b | 12:52 |
| → cpackham[m] joined | 12:53 |
|
jast
| yeah, in that case git can't be sure that you mean for the "other" version of the line to disappear, too | 12:53 |
|
imme-emosol
| Can the behaviour of git commit --fixup=<commit> be changed through a setting? (I would like it to use the commit-hash instead of the subject.) | 12:53 |
| → kadoban[m] joined | 12:54 |
|
imme-emosol
| which should be recognized by git rebase --autosquash as well, according to the docs. | 12:54 |
|
assedaka
| jast: so back to my initial ask: is there a way to see the actual operation where git examined the relevant commit that contains line deletion and decided not to apply it? | 12:55 |
|
jast
| imme-emosol: no, sorry | 12:56 |
| → MHickford[m]1 joined | 12:57 |
|
imme-emosol
| okay, so writing my own function is probably easiest solution? | 12:57 |
| → sudoforge joined | 12:57 |
|
imme-emosol
| thanks. | 12:57 |
|
jast
| imme-emosol: however you could freestyle it: git commit -m 'fixup! <commit>' | 12:57 |
| ← grub-reinstall left | 12:57 |
|
jast
| which isn't that much more typing even | 12:57 |
| → grub-reinstall_ joined | 12:57 |
| → vitali64[m] joined | 12:58 |
| → cyprussocialite[ joined | 12:58 |
| → CarlFK joined | 12:58 |
| ← grub-reinstall_ left | 12:58 |
| → jmcantrell joined | 12:58 |
|
jast
| assedaka: no, and that's not exactly how it works. merges have two steps: step one is to generate three trees (snapshots of repo contents) for the base version, the local version and the remote version. step one does file-level merging on these files. | 12:58 |
| → azadzadeh[m] joined | 12:59 |
|
jast
| the overall merge operation doesn't look at the commits individually | 12:59 |
| → jcgruenhage joined | 12:59 |
| → nexilva[m] joined | 12:59 |
| → nazarewk[m] joined | 12:59 |
| → moldorcoder7 joined | 12:59 |
| → Celmor[m] joined | 12:59 |
| → socinep joined | 12:59 |
| → ckie[m] joined | 12:59 |
|
jast
| merge strategies mostly differs in terms of how the "base" version is constructed and which versions of the files are used for it | 13:00 |
|
| so, after merge has constructed the trees, they look like this: | 13:00 |
| → zebrag[m] joined | 13:00 |
|
jast
| base (common history of both branches): does not have the line | 13:00 |
|
| A: does not have the line | 13:00 |
|
| B: does have the line | 13:00 |
| → lasloum[m] joined | 13:00 |
|
jast
| as far as git is concerned, that's a change on one side only, so it uses the version from B | 13:00 |
| → Guest82 joined | 13:01 |
| → ronny joined | 13:03 |
| ← andypandy left | 13:03 |
|
jast
| now if you first do a merge from A-but-before-the-line-is-deleted, then a merge of the rest of A, *probably* the line will be deleted in the second merge | 13:04 |
|
assedaka
| tnx. is this moving the merge-base or so? | 13:05 |
| → kadoban joined | 13:06 |
| → madewokherd[m] joined | 13:06 |
| → grub-reinstall joined | 13:06 |
| → andypandy joined | 13:06 |
| → matthewcroughan- joined | 13:07 |
| → Industrial[m] joined | 13:08 |
| → irrgit__ joined | 13:09 |
|
assedaka
| jast: is the timestamp of commit is not a factor in merge and diff decision? | 13:09 |
| → alfredb joined | 13:10 |
|
jast
| assedaka: no | 13:12 |
|
| to your latter question | 13:12 |
| ← irrgit_ left | 13:12 |
|
jast
| and yes to your first question - after you've merged part of A, the merge base "moves up" because git doesn't care to merge anything twice | 13:13 |
| → delay joined | 13:14 |
|
assedaka
| jast: much tnx! have a good day! | 13:14 |
| ← delay left | 13:14 |
| ← jaredce left | 13:14 |
|
jast
| you too! | 13:15 |
| → delay joined | 13:15 |
| → jaredce joined | 13:16 |
| ← Guest82 left | 13:17 |
| → Guest82 joined | 13:18 |
| ← assedaka left | 13:18 |
| → ForeverNoob[m] joined | 13:19 |
| → graham joined | 13:19 |
| ← delay left | 13:19 |
| → morguldir joined | 13:20 |
| → T_UNIX[m] joined | 13:21 |
| ← jaredce left | 13:21 |
| → apoorv569[m] joined | 13:21 |
| → psydroid joined | 13:21 |
| → jaredce joined | 13:22 |
| → tiziodcaio joined | 13:22 |
| → delay joined | 13:22 |
| → heftig joined | 13:22 |
| → gildasio joined | 13:24 |
| ← delay left | 13:26 |
| ← jaredce left | 13:26 |
| → jaredce joined | 13:27 |
| ← jaredce left | 13:32 |
| → jaredce joined | 13:33 |
| ← hamburgler left | 13:35 |
| ← jaredce left | 13:38 |
| → jaredce joined | 13:39 |
| → lucasta joined | 13:39 |
| ← feriman left | 13:40 |
| ← grub-reinstall left | 13:41 |
| → feriman joined | 13:42 |
| → grub-reinstall joined | 13:44 |
| ← jaredce left | 13:44 |
| → jaredce joined | 13:45 |
| → delay joined | 13:47 |
| → bywaterloo joined | 13:49 |
| ← jaredce left | 13:49 |
| → TasKuro joined | 13:50 |
| → jaredce joined | 13:50 |
| → gast0n joined | 13:51 |
| → assedaka joined | 13:54 |
| ← assedaka left | 13:54 |
| ← grub-reinstall left | 13:55 |
| ← jaredce left | 13:56 |
| ← delay left | 13:56 |
| → jaredce joined | 13:56 |
| → delay joined | 13:56 |
| ← delay left | 13:56 |
| → grub-reinstall joined | 13:57 |
| ← gxt left | 13:58 |
| ← bywaterloo left | 13:58 |
| → gxt joined | 13:59 |
| ← TasKuro left | 14:00 |
| ← jaredce left | 14:01 |
| ← grub-reinstall left | 14:01 |
| ← rosco left | 14:01 |
| → jaredce joined | 14:02 |
| → otisolsen70 joined | 14:02 |
| → rosco joined | 14:03 |
| → grub-reinstall joined | 14:06 |
| ← jaredce left | 14:07 |
| → jaredce joined | 14:08 |
| ← grub-reinstall left | 14:09 |
| → bywaterloo joined | 14:10 |
| → grub-reinstall joined | 14:10 |
| ← grub-reinstall left | 14:10 |
| ← sudoforge left | 14:10 |
| → grub-reinstall joined | 14:11 |
| ← grub-reinstall left | 14:11 |
| → cdown joined | 14:12 |
| → grub-reinstall joined | 14:12 |
| ← grub-reinstall left | 14:12 |
| → grub-reinstall joined | 14:14 |
| ← grub-reinstall left | 14:14 |
| → otisolsen70_ joined | 14:14 |
| ← kostkon left | 14:15 |
| ← otisolsen70 left | 14:15 |
| otisolsen70_ → otisolsen70 | 14:15 |
| ← derfflinger__ left | 14:16 |
| → grub-reinstall joined | 14:16 |
| ← Xenguy_ left | 14:16 |
| → derfflinger__ joined | 14:16 |
| ← grub-reinstall left | 14:16 |
| → kostkon joined | 14:18 |
| → kurbus joined | 14:19 |
| ← dionysus69 left | 14:20 |
| ← dinkus left | 14:21 |
| → ludovicchabant joined | 14:21 |
| → dionysus69 joined | 14:22 |
| → jwpapi joined | 14:22 |
| → derfj joined | 14:22 |
| ← agowa left | 14:22 |
| → jdek joined | 14:22 |
| ← derfflinger__ left | 14:24 |
| → cdown_ joined | 14:25 |
| ← warmana left | 14:25 |
| → dinkus joined | 14:27 |
| ← cdown left | 14:27 |
| cdown_ → cdown | 14:27 |
| → warmana joined | 14:28 |
| ← warmana left | 14:29 |
| ← Artea left | 14:29 |
| → delay joined | 14:29 |
| → warmana joined | 14:31 |
| → Artea joined | 14:32 |
| ← kaisyu left | 14:34 |
| ← c0dehu1k left | 14:39 |
| → lgc joined | 14:42 |
| ← lgc left | 14:43 |
| → derfflinger__ joined | 14:47 |
| ← rosco left | 14:51 |
| → jaykelly joined | 14:54 |
| ← derfflinger__ left | 14:56 |
| → saohh joined | 14:56 |
| → c0dehu1k joined | 14:56 |
| ← jaykelly left | 14:58 |
| → jaykelly joined | 14:58 |
| ← shokohsc6 left | 14:59 |
| ← delay left | 15:00 |
| → shokohsc6 joined | 15:00 |
| → derfflinger__ joined | 15:01 |
| ← JanC left | 15:02 |
| ← c0dehu1k left | 15:02 |
| → JanC joined | 15:02 |
| → gas51627 joined | 15:05 |
| ← mobidrop left | 15:06 |
| ← derfflinger__ left | 15:08 |
| ← f451 left | 15:08 |
| ← otisolsen70 left | 15:08 |
| → derfflinger__ joined | 15:09 |
| ← derfflinger__ left | 15:15 |
| → roadie joined | 15:16 |
| → rosco joined | 15:19 |
| → gh34 joined | 15:23 |
| ← lucasta left | 15:23 |
| → lpapp joined | 15:23 |
|
lpapp
| hi, is there a git config to always clone with submodules? | 15:23 |
| ← bgs left | 15:23 |
| ← juergh left | 15:24 |
| → VaniaPy joined | 15:25 |
|
VaniaPy
| Hello ,is there a way to detect the default branch of a remote repo? | 15:25 |
|
| i found this command so far but it points to the current HEAD | 15:25 |
|
| git ls-remote --symref testrepo HEAD | awk -F'[/\t]' 'NR == 1 {print $3}' | 15:25 |
| → miraH joined | 15:26 |
| → lucasta joined | 15:26 |
|
selckin
| lpapp: git config --global submodule.recurse true | 15:27 |
| → skapata joined | 15:28 |
|
selckin
| VaniaPy: isn't head the default? | 15:28 |
| ← skapata left | 15:29 |
| → skapata joined | 15:30 |
| ← Guest82 left | 15:31 |
| ← constxo left | 15:31 |
| ← saohh left | 15:31 |
| ← Dotz0cat left | 15:32 |
| → axisys joined | 15:33 |
|
VaniaPy
| selckin it can be changed | 15:33 |
|
| the HEAD | 15:33 |
| → constxo joined | 15:33 |
|
selckin
| that changes the default branch? | 15:34 |
|
dinkus
| Can I make the reflog show only when branches were switched? | 15:35 |
| → Dotz0cat joined | 15:36 |
| ← constxo left | 15:38 |
| ← lucasta left | 15:38 |
| ← daru left | 15:39 |
| → constxo joined | 15:39 |
|
fury_
| I have a deployment script that checks out a single branch of my repo. I need to change the branch temporarily, without modifying the deployment script. I cannot change to the branch, because that local repo knows nothing about it. how can I tell git to fetch all the branches so that it can check another one out? git fetch and git fetch --all have no effect. | 15:41 |
|
| git pull origin/otherbranch leaves me in a weird inconsistent state | 15:41 |
| → Guest13 joined | 15:44 |
| → thiago joined | 15:44 |
|
selckin
| how do you check out a single branch? | 15:44 |
| → c0dehu1k joined | 15:45 |
|
selckin
| custom refs/* type options i guess? else git fetch would work, so have to change the config | 15:45 |
|
fury_
| I honestly don't know how it does it. all I know is that while my repo has many branches, this only has one checked out, and I need a different one. git fetch --unshallow has no effect either. | 15:47 |
| → daru joined | 15:47 |
| ← Guest13 left | 15:47 |
|
selckin
| in .git/config, under remote -> fetch, it probably lists a single branch instead of like +refs/heads/*:refs/remotes/origin/* ? | 15:47 |
| → delay joined | 15:48 |
|
fury_
| ah yes, that did it, thanks! | 15:49 |
| ← llh left | 15:49 |
| ← Aule left | 15:49 |
|
fury_
| surprising that I have to modify a config | 15:49 |
| → lucasta joined | 15:49 |
|
selckin
| you can find the magical git remote cmd to set it, but i don't know by hearth | 15:50 |
|
| git clone has more fancy options now that'll let you clone a single branch leaving that one default | 15:50 |
|
| and then git fetch will pull em all | 15:50 |
| ← delay left | 15:53 |
| → sa0 joined | 15:55 |
| ← lucasta left | 15:56 |
| → brezanac joined | 15:58 |
| → pconst167 joined | 16:00 |
| → llh joined | 16:01 |
| ← pconst167 left | 16:04 |
| ← brezanac left | 16:07 |
| ← rosco left | 16:10 |
| → brezanac joined | 16:11 |
| → lucasta joined | 16:11 |
| → so-offishul joined | 16:14 |
| so-offishul → so-offish | 16:15 |
| ← kurbus left | 16:15 |
| → Xeroine_ joined | 16:16 |
| ← kostkon left | 16:16 |
| → Betal joined | 16:18 |
| → delay joined | 16:19 |
| → garrettprimm joined | 16:19 |
| → kostkon joined | 16:22 |
| → junebug joined | 16:22 |
| ← codaraxis___ left | 16:23 |
| ← junebug left | 16:24 |
| → junebug joined | 16:25 |
| ← VaniaPy left | 16:25 |
| ← brezanac left | 16:26 |
| ← kostkon left | 16:27 |
| ← warmana left | 16:30 |
| → kurbus joined | 16:30 |
| → kostkon joined | 16:32 |
| → sqrl joined | 16:32 |
| → warmana joined | 16:33 |
| → wootehfoot joined | 16:34 |
| → rosco joined | 16:34 |
| → rhelper joined | 16:36 |
| ← delay left | 16:37 |
| → delay joined | 16:37 |
| ← lucasta left | 16:40 |
| ← Coop left | 16:40 |
| ← dionysus69 left | 16:41 |
| ← llh left | 16:44 |
| ← gxt left | 16:44 |
| → gxt joined | 16:45 |
| → llh joined | 16:48 |
| ← so-offish left | 16:49 |
| → so-offish joined | 16:49 |
| → lucasta joined | 16:50 |
| ← so-offish left | 16:51 |
| → so-offish joined | 16:51 |
| ← so-offish left | 16:52 |
| → so-offish joined | 16:53 |
| ← so-offish left | 16:55 |
| → so-offish joined | 16:55 |
| ← so-offish left | 16:56 |
| → so-offish joined | 16:57 |
| ← so-offish left | 16:59 |
| ← jaredce left | 16:59 |
| → so-offish joined | 16:59 |
| ← lucasta left | 17:00 |
| ← so-offish left | 17:03 |
| → so-offish joined | 17:04 |
| ← so-offish left | 17:05 |
| → so-offish joined | 17:05 |
| ← so-offish left | 17:05 |
| → so-offish joined | 17:05 |
| ← kurbus left | 17:05 |
| → TasKuro joined | 17:09 |
| → lucasta joined | 17:10 |
| ← feriman left | 17:12 |
| → sudoforge joined | 17:13 |
| → rama joined | 17:16 |
| ← DrowningElysium left | 17:16 |
| ← jacobk left | 17:19 |
| → Coop joined | 17:21 |
| → codaraxis___ joined | 17:22 |
| → goldfish joined | 17:23 |
| ← Guest78 left | 17:25 |
| ← goldfish left | 17:25 |
| → Guest75 joined | 17:27 |
| → kurbus joined | 17:30 |
| ← lucasta left | 17:33 |
| → lucasta joined | 17:34 |
| → grub-reinstall joined | 17:37 |
| ← rosco left | 17:39 |
| ← kurbus left | 17:41 |
| ← lucasta left | 17:41 |
| → rosco joined | 17:41 |
| ← warmana left | 17:42 |
| ← han-solo left | 17:44 |
| → kurbus joined | 17:48 |
| ← rosco left | 17:49 |
| ← lxsameer left | 17:50 |
| ← GNUmoon left | 17:51 |
| → lolok joined | 17:52 |
| → lucasta joined | 17:54 |
| → duxsco joined | 17:54 |
| ← delay left | 17:56 |
| ← junebug left | 17:57 |
| ← skapata left | 17:58 |
| → delay joined | 18:02 |
| ← jaykelly left | 18:03 |
| → jaykelly joined | 18:03 |
| ← delay left | 18:03 |
| → geri joined | 18:06 |
| ← kurbus left | 18:09 |
| → kurbus joined | 18:10 |
| → mexen joined | 18:12 |
| drew` → drew | 18:12 |
| ← drew left | 18:13 |
| → drew joined | 18:13 |
| ← Guest75 left | 18:13 |
| ← swistak left | 18:19 |
| → lucasta_ joined | 18:19 |
| → junebug joined | 18:19 |
| xheimlich → fine_very_well | 18:20 |
| → skapata joined | 18:20 |
| ← lucasta left | 18:21 |
| ← junebug left | 18:21 |
| ← geri left | 18:21 |
| ← SuperLag left | 18:23 |
| → rosco joined | 18:23 |
| ← zeenk left | 18:24 |
| → delay joined | 18:24 |
| → davicito joined | 18:26 |
| → lucasta joined | 18:27 |
| ← kurbus left | 18:30 |
| → swistak joined | 18:30 |
| → pconst joined | 18:30 |
| ← lucasta left | 18:32 |
| ← duxsco left | 18:32 |
| → duxsco joined | 18:33 |
| → f451 joined | 18:33 |
| → gildasio1 joined | 18:35 |
| ← gildasio left | 18:35 |
| ← iomari891 left | 18:36 |
| → SuperLag joined | 18:36 |
| ← robo left | 18:38 |
| ← MajorBiscuit left | 18:38 |
| → robo joined | 18:38 |
| ← z3bra left | 18:38 |
| → MajorBiscuit joined | 18:40 |
| → nuala joined | 18:40 |
| ← TasKuro left | 18:42 |
| → TasKuro joined | 18:43 |
| → TasKuro63 joined | 18:44 |
| ← lacrymology left | 18:45 |
| ← lucasta_ left | 18:46 |
| → jacobk joined | 18:46 |
| ← MajorBiscuit left | 18:47 |
| ← TasKuro left | 18:47 |
| ← duxsco left | 18:48 |
| → TasKuro636 joined | 18:49 |
| ← crabbedhaloablut left | 18:49 |
| → crabbedhaloablut joined | 18:50 |
| ← Novi_ left | 18:50 |
| ← TasKuro63 left | 18:52 |
| → Novi joined | 18:53 |
| → feriman joined | 18:56 |
| ← delay left | 18:59 |
| ← dinkus left | 18:59 |
| ← rama left | 19:01 |
| ← TasKuro636 left | 19:05 |
| ← skapata left | 19:10 |
| → skapata joined | 19:11 |
|
d1rewolf
| I have a commit in a repository which appears to be empty...no files changed. However, I know from experience that permission changes can cause what appears to be an empty commit. what's the appropriate way to find out what git thinks changed? "git diff <commit rev> <parent rev>" returns empty output | 19:11 |
| ← BlessJah left | 19:17 |
| → BlessJah joined | 19:19 |
| ← jaykelly left | 19:19 |
|
ikke
| git diff should show permission changes as well | 19:19 |
| → whatsupdoc joined | 19:19 |
|
ikke
| try git rev-parse <commit>~^{tree} <commit>^{tree} | 19:20 |
| ← fine_very_well left | 19:23 |
| → jaykelly joined | 19:24 |
| → delay joined | 19:28 |
| → rama joined | 19:30 |
| ← Jong left | 19:30 |
|
sqrl
| it's possible to have completely empty commits, useful with --fixup=amend & reword | 19:30 |
| ← jaykelly left | 19:30 |
|
d1rewolf
| sqrl: ah...didn't realize that. thanks. | 19:31 |
| ← delay left | 19:33 |
| → masber joined | 19:35 |
| → Jong joined | 19:35 |
| ← grub-reinstall left | 19:38 |
| ← rosco left | 19:38 |
| ← Novi left | 19:40 |
| ← f_ left | 19:40 |
| → delay joined | 19:41 |
| → Novi joined | 19:43 |
| ← delay left | 19:46 |
| → delay joined | 19:49 |
| → irrgit_ joined | 19:49 |
| → grub-reinstall joined | 19:50 |
| ← stenno left | 19:51 |
| ← Furai left | 19:51 |
| ← irrgit__ left | 19:52 |
| ← delay left | 19:53 |
| → delay joined | 19:54 |
| → momomo joined | 19:54 |
| ← grub-reinstall left | 19:55 |
| ← delay left | 19:58 |
| ← miraH left | 20:06 |
| → TasKuro joined | 20:07 |
| → Guest39 joined | 20:07 |
| → donofrio_ joined | 20:10 |
| → hans_ joined | 20:11 |
| ← pconst left | 20:13 |
| ← donofrio left | 20:14 |
| ← weko left | 20:14 |
| ← zer0bitz left | 20:16 |
| ← jacobk left | 20:17 |
| ← ghost43 left | 20:19 |
| → weko joined | 20:19 |
| → ghost43 joined | 20:20 |
| → zer0bitz joined | 20:25 |
| ← wootehfoot left | 20:25 |
| → zen_coder joined | 20:27 |
| ← Jong left | 20:29 |
| ← weko left | 20:31 |
| ← TasKuro left | 20:31 |
| → TasKuro joined | 20:31 |
| → Furai joined | 20:34 |
| → donofrio joined | 20:36 |
| ← masber left | 20:37 |
| ← FFY00_ left | 20:37 |
| → FFY00_ joined | 20:38 |
| ← TasKuro left | 20:38 |
| ← donofrio_ left | 20:38 |
| ← donofrio left | 20:41 |
| → weko joined | 20:42 |
| → jacobk joined | 20:43 |
| → weko_ joined | 20:46 |
| ← mexen left | 20:47 |
| → alexherbo2 joined | 20:47 |
| ← weko left | 20:48 |
| ← jacobk left | 20:50 |
| ← moldorcoder7 left | 20:52 |
| → lucasta joined | 20:53 |
| → moldorcoder7 joined | 20:53 |
| ← omethe left | 20:55 |
| ← moldorcoder7 left | 20:58 |
| ← weko_ left | 21:00 |
| ← sudoforge left | 21:02 |
| ← alexherbo2 left | 21:02 |
| → moldorcoder7 joined | 21:03 |
| ← moldorcoder7 left | 21:09 |
| → moldorcoder7 joined | 21:09 |
| ← lucasta left | 21:09 |
| → delay joined | 21:12 |
| → YuGiOhJCJ joined | 21:12 |
| → cousteau joined | 21:14 |
| ← srinidhi left | 21:14 |
| ← ___nick___ left | 21:15 |
| ← Saloframes left | 21:16 |
| ← Intel8086 left | 21:17 |
| ← thiago left | 21:19 |
| → ___nick___ joined | 21:19 |
| ← c0dehu1k left | 21:20 |
| → weko joined | 21:20 |
| → c0dehu1k joined | 21:20 |
| → so-offishul joined | 21:21 |
| → omethe joined | 21:24 |
| ← so-offish left | 21:24 |
| ← gast0n left | 21:24 |
| ← igemnace left | 21:25 |
| → m0viefreak joined | 21:30 |
| → jaykelly joined | 21:31 |
| MiguelX4139 → MiguelX413 | 21:31 |
| ← weko left | 21:31 |
| ← MiguelX413 left | 21:31 |
| → MiguelX413 joined | 21:32 |
| → z3bra joined | 21:35 |
| ← delay left | 21:38 |
| → delay joined | 21:39 |
| → multi_io joined | 21:42 |
| → lucasta joined | 21:44 |
| ← delay left | 21:54 |
| → thiago joined | 21:56 |
| ← multi_io left | 21:58 |
| → multi_io joined | 21:59 |
| → bewees joined | 22:01 |
| → giu- joined | 22:03 |
|
bewees
| After I applied a stash and then switched the branch I noticed that the files from the stash get applied to the branch I switched to. This is an intended feature of stashes I guess, and if I wanted to discard the stash from the working directory I would have to do `git checkout .`? | 22:04 |
|
| "With path specifier only (git checkout .) it writes content from index. That is, it undoes unstaged local modification." So I think `git checkout .` should be what I want? | 22:07 |
|
| Only confusing that by checking out different branches the stash carries on | 22:07 |
| ← z3bra left | 22:10 |
| → weko joined | 22:11 |
| ← rama left | 22:15 |
| → so-offish1 joined | 22:15 |
|
osse
| bewees: !float | 22:16 |
|
gitinfo
| bewees: If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout existing_branch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution. | 22:16 |
|
osse
| it has nothing to do with the stash itself, actually | 22:16 |
| ← so-offishul left | 22:18 |
| ← BrianBlaze left | 22:18 |
| ← roadie left | 22:19 |
| → BrianBlaze joined | 22:20 |
| → lxsameer joined | 22:21 |
| → roadie joined | 22:21 |
|
bewees
| osse, Ah, I see. I thought when you have unstaged changes and checkout to another branch git would prevent you from changing the branch. Thanks make sense now! I can use `git checkout .` nevertheless when I want to remove any unstaged changes from my working directory | 22:25 |
| ← roadie left | 22:25 |
| → w4 joined | 22:26 |
| → delay joined | 22:26 |
| ← w4 left | 22:30 |
| → w4 joined | 22:31 |
| ← m0viefreak left | 22:32 |
| ← delay left | 22:32 |
| → m0viefreak joined | 22:33 |
| ← feriman left | 22:38 |
|
bewees
| Important part is "files you changed differ between branches", because even if you different files `git-checkout` will let you switch the branch, unless there is an unstaged changed file and the file on the other branch is different commit-wise | 22:40 |
|
| +have | 22:41 |
| → hamburgler joined | 22:42 |
| ← YuGiOhJCJ left | 22:42 |
| → dionysus69 joined | 22:44 |
| → trafficjam joined | 22:45 |
| → roadie joined | 22:45 |
| → Kangie joined | 22:46 |
| ← roadie left | 22:50 |
| → odoood joined | 22:51 |
| ← gh34 left | 22:58 |
| ← bewees left | 23:00 |
| → delay joined | 23:01 |
|
Spawns_Carpeting
| osse: hey that actually does help | 23:04 |
|
| thank you | 23:04 |
|
| i think the offsets with the high bit set are themselves the index into the 64bit section | 23:06 |
|
| so you just use that value as the offset directly I think, maybe with the high bit masked off | 23:06 |
| ← megox left | 23:07 |
| ← LW left | 23:10 |
| ← thebombzen left | 23:10 |
| → rama joined | 23:11 |
| → Jong joined | 23:11 |
| ← theoceaniscool left | 23:12 |
| ← w4 left | 23:14 |
| → w4 joined | 23:15 |
| ← Jong left | 23:18 |
| ← m0viefreak left | 23:20 |
| ← rhelper left | 23:20 |
| ← w4 left | 23:22 |
| ← Misotauros left | 23:23 |
| ← giu- left | 23:26 |
| ← sa0 left | 23:26 |
| → Xenguy joined | 23:27 |
| → ackyshake joined | 23:28 |
| → w4 joined | 23:30 |
| → Misotauros joined | 23:34 |
|
ario
| i've been kinda wondering about this, not sure if it's possible | 23:35 |
|
| is it possible to 'cherry-pick' a specific commit from one branch into another without rewriting metadata (hash, author, etc). Keeping their commit exactly the same? | 23:36 |
|
| I see that cherry-pick does rewrite metadata and that may confuse diffs at time if the cherry-picking author is different and hash changes | 23:37 |
|
ljharb
| ario: the hash depends on the parent commit, so, no | 23:39 |
|
| ario: you can certainly keep all the rest tho | 23:39 |
| → ferdna joined | 23:39 |
| ← epony left | 23:39 |
|
ario
| ljharb: i've noticed if i cherry-pick say a commit by ljharb into my branch, then it will mark me as a co-author | 23:40 |
|
| I don't want this | 23:40 |
|
| since all i did was cherry-pick | 23:40 |
|
ljharb
| ario: perhaps you're referring to you being committer on github? | 23:41 |
|
ario
| yeah, i see this on github | 23:41 |
|
ljharb
| ario: that's a github thing; unless they push the cherry-picked commit your name will show up next to it and you can't do anything about it | 23:41 |
|
| ario: but that doesn't make you a co-author | 23:42 |
| → keypushe- joined | 23:42 |
|
ario
| weird | 23:42 |
| ← keypusher left | 23:43 |
| ← FFY00_ left | 23:43 |
| → FFY00 joined | 23:43 |
|
ario
| ljharb: it's weird since if i do a three dot diff "..." between the branches, the cherry-picked commit will show in github since the hash and author are different | 23:45 |
| keypushe- → keypusher | 23:45 |
|
ario
| in the commit entry | 23:45 |
|
| feels like a bug | 23:46 |
|
| but also feel like i'm doing something wrong | 23:46 |
| ← lxsameer left | 23:47 |
|
ljharb
| ario: i think that's just the way it works | 23:48 |
| ← zen_coder left | 23:51 |
|
Oblomov
| yeah if you want a system that doesn't do that you'll need a different revision control system | 23:53 |
|
| like pijul | 23:54 |
| ← xeelad left | 23:57 |
| → xeelad joined | 23:58 |
| → _over joined | 23:58 |
| ← gas51627 left | 23:59 |