| 2018-05-18 |
| ← jdogherman left | 00:01 |
| ← jimmyrcom_ left | 00:03 |
| → energizer joined | 00:04 |
| → _ikke_ joined | 00:04 |
| ← NEOalquimista left | 00:04 |
| → jdogherman joined | 00:05 |
| ← nowhere_man left | 00:05 |
| → nowhere_man joined | 00:06 |
| ← Narrat left | 00:08 |
| ← Powielony left | 00:14 |
| ← dreiss left | 00:16 |
| → Powielony joined | 00:17 |
| ← Powielony left | 00:17 |
| → Powielony joined | 00:17 |
| ← Powielony left | 00:17 |
| ← akushner left | 00:17 |
| → Powielony joined | 00:17 |
| → akushner joined | 00:18 |
| ← lafleurdubien left | 00:20 |
| ← Powielony left | 00:21 |
| ← regedit left | 00:22 |
| → andyhuzhill joined | 00:22 |
| ← akushner left | 00:23 |
| ← mattcen left | 00:26 |
| → dendazen joined | 00:26 |
|
nedbat
| masterasia: pushing a new commit won't remove the old commit. | 00:27 |
|
| masterasia: a git repo is a tree (really a graph) of commits. You created a new line of commits, but that doesn't remove the old ones | 00:28 |
| → mattcen joined | 00:29 |
| → pity joined | 00:31 |
| → BallChang-CN joined | 00:32 |
| ← xaxxon left | 00:32 |
| ← beefjoe left | 00:34 |
| → beefjoe joined | 00:35 |
| → xaxxon joined | 00:35 |
| → durham_ joined | 00:36 |
| ← nitric_ left | 00:37 |
| → Have-Quick joined | 00:37 |
| ← cagomez left | 00:39 |
|
masterasia
| nedbat, I force pushed over the old commit | 00:39 |
| → thiago joined | 00:39 |
|
nedbat
| masterasia: that doesn't matter. | 00:39 |
|
| masterasia: it just means you now have two commits, both with the same parent commit. | 00:39 |
|
masterasia
| how would I retrieve the old commit then? | 00:39 |
|
nedbat
| masterasia: if you knew the hash, you could get it. | 00:39 |
| → ToBeFree joined | 00:39 |
| ← ToBeFree left | 00:39 |
| → ToBeFree joined | 00:39 |
|
nedbat
| masterasia: or if there is a branch (like that pull request) that refers to it | 00:40 |
| → cagomez joined | 00:40 |
| → rosco_y joined | 00:40 |
| gitinfo set mode: +v | 00:40 |
|
masterasia
| oh so once something is pushed | 00:40 |
|
| it is up there forever? | 00:40 |
| ← thiago left | 00:40 |
|
nedbat
| masterasia: if nothing refers to it, it will eventually be garbage-collected. | 00:40 |
| ← durham left | 00:40 |
|
masterasia
| ah | 00:40 |
|
| so what I have to do is delete the PR?(but the PR isn't a git construct) | 00:40 |
| ← ToBeFree left | 00:41 |
| ← durham_ left | 00:41 |
| → doubtful joined | 00:42 |
| ← strugee left | 00:42 |
| → noobineer joined | 00:43 |
| ← noobineer left | 00:43 |
| ← dviola left | 00:44 |
| → jameser joined | 00:44 |
| ← cagomez left | 00:44 |
|
nedbat
| masterasia: deleting the PR and the branch will help, i don't know if it will be enough | 00:44 |
|
| masterasia: why do you need to get rid of the commit? | 00:45 |
| → goweol1 joined | 00:45 |
|
masterasia
| I used a racial slur in a console.log so I could grep for it in my terminal | 00:45 |
|
| A code-review caught it | 00:45 |
|
| :| | 00:45 |
|
| I forgot to remove it | 00:45 |
| → cagomez joined | 00:46 |
|
nedbat
| masterasia: ok, well, it's not in the code any more. | 00:46 |
| ← ryantrinkle left | 00:47 |
| ← kfoonamalik left | 00:47 |
| ← goweol left | 00:47 |
| → ryantrinkle joined | 00:47 |
| → shinnya joined | 00:49 |
| ← drbean left | 00:50 |
| ← cagomez left | 00:51 |
| → thiago joined | 00:51 |
| → strugee joined | 00:53 |
| ← _ADN_ left | 00:53 |
| ← noteness_ left | 00:56 |
| → noteness joined | 00:56 |
| → igemnace joined | 00:56 |
| ← CodeSlingerPaul left | 00:58 |
| → dreiss joined | 01:00 |
| ← hesco left | 01:00 |
| ← Sasazuka left | 01:07 |
| ← kneeki|aa left | 01:07 |
| ← doubtful left | 01:08 |
| → noobineer joined | 01:10 |
| ← bork left | 01:10 |
| → RobertLM78 joined | 01:11 |
| → bork joined | 01:12 |
| → doubtful joined | 01:12 |
| ← dansan_ left | 01:12 |
| → dviola joined | 01:12 |
| → dansan joined | 01:14 |
| ← abe left | 01:14 |
| ← noobineer left | 01:14 |
| → finalbeta joined | 01:15 |
| ← goweol1 left | 01:16 |
| ← doubtful left | 01:17 |
| → goweol joined | 01:19 |
| → bdonnahue joined | 01:19 |
| → crimson_king joined | 01:23 |
| → doubtful joined | 01:23 |
| → orbyt_ joined | 01:24 |
| ← masterasia left | 01:24 |
| ← RobertLM78 left | 01:25 |
| ← orbyt_ left | 01:28 |
| ← sentriz left | 01:28 |
| ← sanscoeur left | 01:29 |
| → sentriz joined | 01:30 |
|
michael2
| is there a way to view what a `git cherry-pick' would do before running the command? i.e. how can I diff between HeAD and the commit I am "cherry picking" ? | 01:33 |
| ← jready left | 01:34 |
|
michael2
| ah, `git cherry-pick --no-commit' seems to work | 01:35 |
|
| actually, it loses the commit message. so it would be better to have a command which just shows the diff - if possible | 01:36 |
| ← doubtful left | 01:37 |
| ← navy_seal9614 left | 01:38 |
| → doubtful joined | 01:39 |
| ← robattila256 left | 01:40 |
| → navy_seal9614 joined | 01:41 |
| ← pity left | 01:43 |
| ← doubtful left | 01:45 |
| ← ilbot3 left | 01:45 |
| ← nowhere_man left | 01:47 |
| → nowhere_man joined | 01:47 |
| ← Gurkenglas left | 01:51 |
| ← hph^ left | 01:51 |
| → _antares_ joined | 01:52 |
| ← thiago left | 01:53 |
| → physikoi joined | 01:55 |
| ← _antares_ left | 01:57 |
| → ilbot3 joined | 01:57 |
| ← nowhere_man left | 01:58 |
| → ToBeFree joined | 02:00 |
| → pity joined | 02:00 |
| ← ToBeFree left | 02:00 |
| → _antares_ joined | 02:02 |
| ← mlopezviedma left | 02:06 |
| → mlopezviedma joined | 02:06 |
| ← physikoi left | 02:06 |
| ← leah2 left | 02:07 |
| ← atrus left | 02:07 |
|
Eugene
| michael2 - that would be `git show` for the commit you're trying to cherry-pick | 02:08 |
| → physikoi joined | 02:08 |
| → leah2 joined | 02:08 |
| ← crimson_king left | 02:10 |
| → crimson_king joined | 02:10 |
| → orbyt_ joined | 02:12 |
| ← crtcji left | 02:14 |
| → atrus joined | 02:16 |
| → houami joined | 02:20 |
| ← navy_seal9614 left | 02:20 |
| ← widp left | 02:20 |
| ← ryantrinkle left | 02:21 |
| ← inovas left | 02:24 |
| ← physikoi left | 02:26 |
| → inovas joined | 02:29 |
| → Es0teric joined | 02:29 |
| ← lagothrix left | 02:31 |
| → drbean joined | 02:32 |
| ← goweol left | 02:33 |
| ← Hello71 left | 02:35 |
| → ArcaTech joined | 02:35 |
| ← RougeT430 left | 02:35 |
| → physikoi joined | 02:35 |
| ← xaxxon left | 02:36 |
| → lagothrix joined | 02:36 |
| → xaxxon joined | 02:37 |
| ← Es0teric left | 02:38 |
| → Hello71 joined | 02:39 |
| ← dreiss left | 02:40 |
| → mizu_no_oto joined | 02:41 |
| → goweol joined | 02:43 |
| ← mizu_no_oto left | 02:43 |
| ← mel00010 left | 02:43 |
| ← amirpro left | 02:44 |
| → mel00010 joined | 02:44 |
| → robattila256 joined | 02:45 |
|
rosco_y
| Here is a visual of my branch history: https://pasteboard.co/HlGsE8D.png . I'm currently in "genericLists" and everything is working great. I'd like to merge genericLists into exploratory and delete all branches after exploratory. Would this be safe? | 02:49 |
| ← _antares_ left | 02:52 |
|
rosco_y
| I think I should a) "git checkout exploratory" b) "git merge genericLists" and c) "git delete validateRowsAndColumns", "git delete detached-Head", "git branch -d ValidationLists" and finally "git branch -d genericLists" Does this sound about right? | 02:52 |
|
| (I guess "git delete branch" would fail) :) | 02:53 |
| ← ArcaTech left | 02:53 |
|
rosco_y
| I have a sneaking suspicion that since everything is working really great, I'm about to do something really stupid and lose everything. | 02:54 |
| → Arcaelyx joined | 02:54 |
| ← metts left | 02:55 |
|
rosco_y
| oh well, I suppose I can copy the entire project directories somewhere, and then experiment. | 02:56 |
|
| It's getting late here--maybe I should just go to bed and see what it looks like in the morning. | 02:56 |
|
| yeah, I think that sounds safest. | 02:56 |
| → duderonomy joined | 02:56 |
| ← rosco_y left | 02:56 |
| → pnepe6 joined | 02:57 |
| → govg joined | 02:58 |
| → dreiss joined | 03:01 |
| → _antares_ joined | 03:02 |
| ← _antares_ left | 03:03 |
| → _antares_ joined | 03:05 |
| ← boombatower left | 03:06 |
| ← ustekne left | 03:08 |
| → mda1 joined | 03:10 |
| ← ewitz left | 03:10 |
| → ArcaTech joined | 03:11 |
| → ewitz joined | 03:11 |
| ← beefjoe left | 03:11 |
| ← _antares_ left | 03:17 |
| → Goplat joined | 03:18 |
| → olivegrt joined | 03:18 |
| → YuGiOhJCJ joined | 03:21 |
| → destiny_ joined | 03:21 |
| ← dviola left | 03:25 |
| ← dreiss left | 03:25 |
| ← fr33domlover left | 03:36 |
| ← olivegrt left | 03:39 |
| → dreiss joined | 03:43 |
| ← gordonfish left | 03:47 |
| → _antares_ joined | 03:52 |
| → gordonfish joined | 03:54 |
| ← houami left | 03:58 |
| ← drodger left | 03:58 |
| ← ArcaTech left | 03:59 |
| → ryantrinkle joined | 04:00 |
| → ArcaTech joined | 04:00 |
| → Darcidride__ joined | 04:00 |
| ← Darcidride left | 04:02 |
| → drodger joined | 04:04 |
| ← raymond left | 04:05 |
| → raymond joined | 04:11 |
| → JonnyAt joined | 04:11 |
| → houami joined | 04:12 |
| ← raymond left | 04:13 |
| ← andyhuzhill left | 04:17 |
| ← shinnya left | 04:17 |
| → andyhuzhill joined | 04:17 |
| rofl__ → jcarpenter2 | 04:18 |
| ← JonnyAt left | 04:18 |
| → JonnyAt joined | 04:24 |
| ← physikoi left | 04:27 |
| ← mel00010 left | 04:31 |
| → mel00010 joined | 04:33 |
| ← orbyt_ left | 04:33 |
| ← wgrant left | 04:34 |
| → freimatz joined | 04:44 |
| → ruslangaripov joined | 04:46 |
| ← crimson_king left | 04:47 |
| → crtcji joined | 04:48 |
| → Alystair joined | 04:50 |
| → jready joined | 04:50 |
| → czart__ joined | 04:50 |
| ← czart_ left | 04:54 |
| ← jready left | 04:54 |
| ← om-henners left | 04:56 |
| → thiago joined | 04:56 |
| ← foul_owl left | 04:59 |
| ← jsrtr left | 05:00 |
| ← bdonnahue left | 05:00 |
| → foul_owl joined | 05:01 |
| → jsrtr joined | 05:01 |
| → skisela joined | 05:02 |
| ← dustinm left | 05:04 |
| ← dreiss left | 05:05 |
| → rchavik joined | 05:06 |
| → om_henners joined | 05:06 |
| → muelleme joined | 05:08 |
| → venmx joined | 05:09 |
| ← duderonomy left | 05:09 |
| ← jimmyrcom left | 05:09 |
| ← xaxxon left | 05:09 |
| ← houami left | 05:10 |
| ← stoopkid left | 05:14 |
| → dustinm joined | 05:14 |
| ← _antares_ left | 05:18 |
| → duderonomy joined | 05:18 |
| → howdoi joined | 05:20 |
| → ti2 joined | 05:22 |
| → houami joined | 05:22 |
| ← venmx left | 05:22 |
| ← dendazen left | 05:22 |
| ← englishm_work left | 05:23 |
| → Tobbi joined | 05:23 |
| ← houami left | 05:23 |
| → _antares_ joined | 05:27 |
| → venmx joined | 05:28 |
| → wgrant joined | 05:29 |
| ← exotime left | 05:30 |
| → exotime joined | 05:30 |
| ← mooasaurus left | 05:31 |
| → wandering_vagran joined | 05:31 |
| → UTAN_dev_ joined | 05:32 |
| ← TikityTik2 left | 05:33 |
| → sauvin joined | 05:33 |
| ← UTAN_dev left | 05:35 |
| ← _antares_ left | 05:35 |
| ← ArcaTech left | 05:37 |
| → vdv joined | 05:37 |
| → _antares_ joined | 05:37 |
| → TikityTik joined | 05:38 |
| → Raging_Hog joined | 05:45 |
| ← crtcji left | 05:50 |
| → ronskisika joined | 05:51 |
| → mikemcowie joined | 05:52 |
| ← thiago left | 05:54 |
| ← venmx left | 05:54 |
| → thiago joined | 05:54 |
| ← Raging_Hog left | 05:55 |
| ← jokajak left | 05:55 |
| ← jameser left | 05:55 |
| ← YuGiOhJCJ left | 05:57 |
| → YuGiOhJCJ joined | 05:57 |
| ← freimatz left | 05:59 |
| ← g00s left | 06:07 |
| → g00s_ joined | 06:07 |
| → subhojit777 joined | 06:10 |
| ← muelleme left | 06:12 |
| → MACscr|lappy joined | 06:14 |
| → houami joined | 06:14 |
| ← MACscr|lappy left | 06:15 |
| → MACscr|lappy joined | 06:15 |
| g00s_ → g00s | 06:18 |
| ← MACscr|lappy left | 06:19 |
| ← houami left | 06:23 |
| ← keep_learning left | 06:23 |
| ← drodger left | 06:24 |
| → drodger joined | 06:26 |
| → ArcaTech joined | 06:29 |
| → dege joined | 06:31 |
| ← Have-Quick left | 06:32 |
| → MACscr|lappy joined | 06:33 |
| ← drodger left | 06:36 |
| → drodger joined | 06:37 |
| → oscarcp joined | 06:38 |
| → muelleme joined | 06:38 |
| ← oscarcp left | 06:38 |
| → Gurkenglas joined | 06:38 |
| ← inovas left | 06:38 |
| → Masplus joined | 06:39 |
| → tvw joined | 06:40 |
| ← MACscr|lappy left | 06:42 |
| ← Masplus left | 06:42 |
| ← drodger left | 06:43 |
| → Masplus joined | 06:43 |
| → inovas joined | 06:44 |
| ← duderonomy left | 06:45 |
| → duderono_ joined | 06:45 |
| → drodger joined | 06:45 |
| → chele joined | 06:48 |
| ← muelleme left | 06:51 |
| → T_UNIX joined | 06:52 |
| ← ArcaTech left | 06:53 |
| ← wizardedit left | 06:53 |
| → wizardedit joined | 06:55 |
| ← wizardedit left | 06:55 |
| → wizardedit joined | 06:55 |
|
grawity
| !a | 06:56 |
| → dreiss joined | 06:57 |
| ← ndevgeek left | 06:59 |
| → KeyJoo joined | 07:00 |
| → abba joined | 07:01 |
| ← gordonfish left | 07:03 |
| → schleppel joined | 07:04 |
| ← _antares_ left | 07:04 |
| ← Alystair left | 07:10 |
| → theoceaniscool joined | 07:10 |
| ← Soni left | 07:11 |
| → Soni joined | 07:12 |
| ← energizer left | 07:12 |
| ← subhojit777 left | 07:12 |
| ← dreiss left | 07:12 |
| → Ishtv4n joined | 07:12 |
| ← YuGiOhJCJ left | 07:12 |
| ← dansan left | 07:13 |
| → ferdna joined | 07:13 |
| → dansan joined | 07:14 |
| ← goweol left | 07:14 |
| → Raging_Hog joined | 07:16 |
| quite_ → quite | 07:16 |
| ← Ishtv4n left | 07:17 |
| → venmx joined | 07:17 |
| ← w0ng left | 07:18 |
| → TomyWork joined | 07:18 |
| → Ishtv4n joined | 07:18 |
| → w0ng joined | 07:18 |
| ← ronskisika left | 07:18 |
| ← Eryn_1983_FL left | 07:20 |
| → oxymoron93 joined | 07:21 |
| → Eryn_1983_FL joined | 07:22 |
| ← Raging_Hog left | 07:22 |
| → Raging_Hog joined | 07:23 |
| ← JonnyAt left | 07:23 |
| → _antares_ joined | 07:26 |
| → JonnyAt joined | 07:26 |
| → Karyon joined | 07:27 |
| → Tobbi_ joined | 07:28 |
| ← thiago left | 07:28 |
| → cur8or joined | 07:30 |
| ← _antares_ left | 07:31 |
| → rfuentess joined | 07:32 |
| ← KeyJoo left | 07:34 |
| ← sarri left | 07:36 |
| → widp joined | 07:37 |
| → sarri joined | 07:38 |
| ← sarri left | 07:38 |
| → sarri joined | 07:38 |
| → Karyon_ joined | 07:38 |
| → tvale joined | 07:38 |
| ← ryantrinkle left | 07:41 |
| ← Karyon left | 07:41 |
| → _antares_ joined | 07:41 |
| ← _antares_ left | 07:46 |
| ← kyan left | 07:49 |
| _ikke_ → kdaudt | 07:49 |
| kdaudt → _ikke_ | 07:49 |
| ← venmx left | 07:50 |
| → Xiti` joined | 07:53 |
| ← Raging_Hog left | 07:54 |
| → mikecmpbll joined | 07:54 |
| ← ferdna left | 07:54 |
| ← widp left | 07:55 |
| → dmone joined | 07:56 |
| ← Xiti left | 07:57 |
| → Raging_Hog joined | 07:58 |
| → kurkale6ka joined | 07:58 |
| ← mikecmpbll left | 07:59 |
| ← Gurkenglas left | 07:59 |
| → houami joined | 08:00 |
| → nikheizen joined | 08:01 |
| → Exagone313 joined | 08:01 |
| ← andyhuzhill left | 08:03 |
| ← howdoi left | 08:03 |
| → venmx joined | 08:04 |
| → mikecmpbll joined | 08:06 |
| ← JonnyAt left | 08:08 |
| → widp joined | 08:09 |
| ← houami left | 08:10 |
| → minionofgozer_ joined | 08:11 |
| ← minionofgozer left | 08:12 |
| → Naq joined | 08:13 |
| → zish joined | 08:13 |
| → andyhuzhill joined | 08:13 |
| ← Naq left | 08:13 |
| gitinfo set mode: +v | 08:14 |
| → goweol joined | 08:15 |
| → JeroenT joined | 08:15 |
| ← ruslangaripov left | 08:15 |
| ← andyhuzhill left | 08:17 |
| → andyhuzhill joined | 08:17 |
|
zish
| Hey there! I want to automatically build a specific version of QT but I have issues with the submodules. According to https://wiki.qt.io/Building_Qt_5_from_Git one has to clone the repository; do a checkout of the specific version; do a submodule update. | 08:17 |
|
| This works if the repository is freshly cloned - but if i jump to e.g. version 5.9 and then to 5.8 my working directory is dirty | 08:18 |
| → bahamut24 joined | 08:18 |
| → PioneerAxon joined | 08:18 |
| ← PioneerAxon_ left | 08:20 |
|
tobiasvl
| zish: I haven't read the entire article, but I assume you need to do this: https://wiki.qt.io/Building_Qt_5_from_Git#Cleaning | 08:21 |
| ← g00s left | 08:21 |
| → dbedrenko joined | 08:22 |
|
zish
| tobiasvl: I tried that but git status still reports: modified: qtdeclarative (untracked content) | 08:23 |
|
dbedrenko
| Good morning. Did something change in git recently? `git stash list` doesn't show git IDs anymore so I can't apply/drop stashes easily. It shows me instead: "stash@{Wed May 16 10:58:23 2018}: WIP on update-prof-pw: 7229ee4 TMP fix " | 08:23 |
| ← flavius left | 08:23 |
|
zish
| When executing the clean command it actually states that it is skipping certain repositories | 08:23 |
|
| But don't know why | 08:23 |
| → zulutango joined | 08:26 |
| ← theoceaniscool left | 08:28 |
| → _antares_ joined | 08:30 |
| → g00s joined | 08:31 |
| → riemann joined | 08:34 |
| ← _antares_ left | 08:35 |
| ← LiftLeft left | 08:36 |
| → _antares_ joined | 08:36 |
| ← dpyro left | 08:38 |
| ← JeroenT left | 08:40 |
| → LiftLeft joined | 08:40 |
| ← sauvin left | 08:41 |
| → sauvin joined | 08:41 |
| ← sauvin left | 08:43 |
| → sauvin joined | 08:43 |
|
heftig
| meh, I wish git rebase -i -p would create a list that includes parent information (as relative line numbers), so that reordering isn't so fragile | 08:43 |
| ← sauvin left | 08:43 |
| ← Goplat left | 08:44 |
| ← venmx left | 08:44 |
| → sauvin joined | 08:44 |
| ← sauvin left | 08:45 |
| → sauvin joined | 08:46 |
| ← sauvin left | 08:46 |
| → DocRedfish joined | 08:46 |
| → ArcaTech joined | 08:47 |
| ← kbaegis left | 08:47 |
| ← ArcaTech left | 08:48 |
| → _ADN_ joined | 08:49 |
| ← Karyon_ left | 08:53 |
| → cdown_ joined | 08:55 |
| → Neo4 joined | 08:56 |
| ← cdown left | 08:58 |
| cdown_ → cdown | 08:58 |
| ← BallChang-CN left | 09:00 |
|
osse
| heftig: You can define yourself how the lines should look within rebase.instructionFormat. Maybe that can help | 09:05 |
| ← goweol left | 09:06 |
| → Karyon_ joined | 09:07 |
| ← freimatz_ left | 09:13 |
| → Karyon joined | 09:13 |
| → nowhere_man joined | 09:14 |
| ← Karyon_ left | 09:17 |
| ← neunon left | 09:17 |
| ← hunterlabs left | 09:18 |
|
heftig
| osse: that can only change the look and not the semantics, though | 09:19 |
| ← _ADN_ left | 09:20 |
| ← Karyon left | 09:22 |
| → mikecmpb_ joined | 09:22 |
|
heftig
| I mean that the rebase lines actually contain parent information, e.g. "pick 1 3 | 1234567 message" would mean to use the HEAD from one and three rebase steps earlier as the parents of that commit, creating a merge | 09:22 |
| ← mikecmpbll left | 09:23 |
| → Karyon joined | 09:24 |
| ← catsup left | 09:25 |
| → catsup joined | 09:25 |
| ← catsup left | 09:26 |
| → catsup joined | 09:26 |
| → Schrostfutz joined | 09:27 |
| → ojdo joined | 09:27 |
| ← rchavik left | 09:28 |
| → hunterlabs joined | 09:29 |
| → theoceaniscool joined | 09:30 |
| ← wandering_vagran left | 09:30 |
| ← Tobbi_ left | 09:31 |
| → KeyJoo joined | 09:31 |
| ← andyhuzhill left | 09:34 |
| → leeN joined | 09:36 |
| ← beerdrop left | 09:37 |
| → JonnyAt joined | 09:39 |
| → smallville7123 joined | 09:41 |
| ← Xarodon left | 09:41 |
| ← JonnyAt left | 09:44 |
| → wandering_vagran joined | 09:45 |
| ← wandering_vagran left | 09:46 |
| → wandering_vagran joined | 09:47 |
| ← tvale left | 09:48 |
| ← wandering_vagran left | 09:49 |
| → houami joined | 09:49 |
| → kilobyte joined | 09:52 |
| → BallChang-CN joined | 09:52 |
| ← jungsubk left | 09:52 |
| ← houami left | 09:54 |
| → beerdrop joined | 09:54 |
|
kilobyte
| hi! If a file's mtime but not contents changes, most plumbing thinks the tree is dirty, most porcelain considers it clean (and marks clean for subsequent low-level queries). Where may I RTFM about the mechanism involved? | 09:54 |
|
| and also how do I trigger the check to mark the tree clean (if it's indeed clean...)? | 09:55 |
| ← nikheizen left | 09:55 |
| ← dcpc007 left | 09:57 |
| → pfleck joined | 09:59 |
| ← lankanmon left | 10:01 |
| → tvale joined | 10:02 |
| ← ojdo left | 10:02 |
| → ojdo joined | 10:03 |
|
fuchstronaut
| How do I add a (sub-folder) .gitignore file to my repo? | 10:05 |
|
| it does not show up using git status | 10:05 |
| ← _antares_ left | 10:06 |
| ← Karyon left | 10:06 |
|
kilobyte
| fuchstronaut: perhaps it matches one of your current ignore rules? Even if it does, you can still add it manually. | 10:06 |
|
j416
| fuchstronaut: you can use man git-check-ignore to see why something is ignored. | 10:09 |
|
gitinfo
| fuchstronaut: the git-check-ignore manpage is available at https://gitirc.eu/git-check-ignore.html | 10:09 |
|
j416
| fuchstronaut: perhaps that helps. | 10:09 |
|
| what's a clean and simple way to determine whether or not the work tree is clean? I think i want "git status --porcelain" but it'd be nice to have an exit code rather than printed output. Is there a good way? | 10:12 |
|
| (in a script, this is) | 10:12 |
| ← pity left | 10:12 |
| ← Kaisyu left | 10:12 |
|
fuchstronaut
| thanks kilobyte, j416 | 10:13 |
|
j416
| o/ | 10:13 |
| → MarioBranco joined | 10:14 |
| → crimson_king joined | 10:14 |
| → Amadiro joined | 10:16 |
| → _antares_ joined | 10:16 |
|
fuchstronaut
| Uhm... what is the ~/.gitignore_global file ? | 10:18 |
|
| Looks like i am globally ignoring .gitignore files | 10:18 |
| ← naoey left | 10:19 |
| → Nizumzen joined | 10:19 |
| → dcpc007 joined | 10:21 |
| ← _antares_ left | 10:21 |
| ← skisela left | 10:22 |
| ← chris349 left | 10:27 |
| ← mikecmpb_ left | 10:28 |
|
canton7
| fuchstronaut, I don't think that's a standard file, but you might have it set as core.excludesFile in your global git config? | 10:29 |
| → mikecmpbll joined | 10:30 |
| ← widp left | 10:31 |
| ← g00s left | 10:44 |
| ← igemnace left | 10:44 |
| ← crimson_king left | 10:47 |
| → widp joined | 10:49 |
| ← pfleck left | 10:53 |
| ← inovas left | 10:54 |
| ← gunnarx left | 10:55 |
| ← nowhere_man left | 10:56 |
| → mofai joined | 10:56 |
| ← Schrostfutz left | 10:58 |
| ← plexigras left | 10:58 |
| → linuxmodder joined | 10:59 |
| ← linuxmodder left | 11:00 |
| ← Neo4 left | 11:01 |
| → linuxmodder joined | 11:01 |
| → Neo4 joined | 11:01 |
| → mikecmpb_ joined | 11:02 |
| → lankanmon joined | 11:02 |
| → inovas joined | 11:02 |
| ← linuxmodder left | 11:02 |
| → linuxmodder joined | 11:02 |
| ← mikecmpbll left | 11:02 |
| → _antares_ joined | 11:03 |
| → pity joined | 11:04 |
| ← Neo4 left | 11:05 |
| → Neo4 joined | 11:05 |
| → jlebrech joined | 11:06 |
| → floppydh joined | 11:08 |
| → Fernando-Basso joined | 11:08 |
| → RougeR joined | 11:09 |
| ← RougeR left | 11:09 |
| → RougeR joined | 11:09 |
| → crtcji joined | 11:10 |
| → plexigras joined | 11:11 |
| → CheckDavid joined | 11:15 |
| ← a3Dman left | 11:16 |
| ← _antares_ left | 11:17 |
| → rafasc joined | 11:20 |
| → _antares_ joined | 11:20 |
| → pfleck joined | 11:23 |
| ← robattila256 left | 11:23 |
| ← smallville7123 left | 11:26 |
| → nowhere_man joined | 11:27 |
| → a3Dman joined | 11:30 |
| ← pity left | 11:32 |
| ← widp left | 11:32 |
| → dendazen joined | 11:32 |
| → sword_smith joined | 11:34 |
| → naoey joined | 11:34 |
| ← sword_smith left | 11:35 |
| → tcorneli joined | 11:35 |
| ← beerdrop left | 11:36 |
| → Regon joined | 11:39 |
| → orbitex joined | 11:39 |
| ← tvale left | 11:40 |
| → tvale joined | 11:40 |
| ← tvale left | 11:41 |
| → Cavallari joined | 11:42 |
|
zish
| Also posted my question on stackoverflow - if anyone has an idea how to solve this: https://stackoverflow.com/questions/50407382/automating-qt-build-submodule-issue-can-not-get-a-clean-working-directory | 11:44 |
| → tvale joined | 11:45 |
| ← kurkale6ka left | 11:46 |
|
rafasc
| zish: have you tried it without --init? | 11:48 |
| ← Darcidride__ left | 11:48 |
| ← Cthalupa left | 11:48 |
|
zish
| rafasc: not yet but will try now. takes some time because qt is quite large | 11:49 |
| → Cthalupa joined | 11:50 |
|
zish
| rafasc: Skipping submodule '../../../../qtdeclarative/' => repository is still dirty | 11:50 |
| → RougeT430 joined | 11:51 |
| → Gurkenglas joined | 11:51 |
| ← ojdo left | 11:51 |
| → brontosaurusrex joined | 11:52 |
|
rafasc
| zish: reading the man page, maybe update --checkout --force; | 11:53 |
| → rouget430__ joined | 11:53 |
| → rnsanchez joined | 11:53 |
| ← RougeR left | 11:53 |
|
rafasc
| or hang there a bit longer and someone more experienced with submodules will get to you. | 11:54 |
| → synthroid joined | 11:54 |
| ← Masplus left | 11:54 |
| → beerdrop joined | 11:54 |
| → charolastra joined | 11:55 |
| → JeroenT joined | 11:55 |
|
zish
| rafasc: force on checkout doesn't change anything. the skipping happens only when doing submodule update but i tried to do force on update too - which also didnt work. i am trying to fix this till two days :/ | 11:56 |
| → kbaegis joined | 11:56 |
| → gunnarx joined | 11:56 |
| ← gunnarx left | 11:56 |
| → gunnarx joined | 11:56 |
| ← JeroenT left | 11:56 |
| ← kbaegis left | 11:56 |
|
zish
| but lets see | 11:56 |
| → kbaegis joined | 11:56 |
|
rafasc
| zish: $git submodule update --checkout --force; | 11:56 |
|
| I meant that as a single command. | 11:56 |
| ← RougeT430 left | 11:57 |
| → ojdo joined | 11:58 |
|
zish
| rafasc: okay that's interesting. executing this there is no warning and it says "'qtdeclarative': checked out 'fffb997e192a72b4dcd66edc2fbad5473dd359f3'" but afterwards the directory is still dirty :/ | 11:58 |
|
| modified: qtdeclarative (untracked content) | 11:59 |
| → pity joined | 11:59 |
|
rafasc
| and you claim git clean is not working for you? | 12:00 |
|
zish
| rafasc: yes. executing git submodule foreach --recursive "git clean -dfx" results in an output which contains a line like "Skipping repository tests/auto/qml/ecmascripttests/test262" | 12:01 |
|
| which seems to be the issue | 12:01 |
|
| but i dont know why it is skipped | 12:02 |
|
rafasc
| pass -f twice. | 12:02 |
| → camsbury joined | 12:02 |
|
rafasc
| clean doesn't remove git repositories unless force is passed twice. | 12:02 |
|
zish
| rafasc: holy - you are my hero! | 12:03 |
|
| it worked | 12:03 |
| → Karyon joined | 12:03 |
|
rafasc
| zish: my secret super power is reading the manpages :) | 12:04 |
|
zish
| rafasc: ok somehow i missed that | 12:04 |
|
| but thanks! | 12:04 |
|
rafasc
| you're welcome :P glad I could help. | 12:04 |
|
| zish: but now that you deleted the git repos, you probably need to --init --recursive them again. | 12:05 |
| ← Nizumzen left | 12:05 |
| → wandering_vagran joined | 12:06 |
|
zish
| rafasc: well i think i read that part of the man pages like a billion times but always skipped the last part :/ | 12:06 |
|
rafasc
| I bet there's a better way to do it. Without having to keep deleting the repos. | 12:06 |
|
zish
| will check now what is the minimal command set to do a checkout between versions | 12:06 |
|
rafasc
| zish: git man pages are very detailed, it's hard to catch everything. | 12:07 |
| ← wandering_vagran left | 12:08 |
| → wandering_vagran joined | 12:08 |
|
zish
| rafasc: seems like - therefore its good if there is a friendly community around the tools, which seems to be the case :) | 12:09 |
| → Karyon_ joined | 12:09 |
| → Schrostfutz joined | 12:11 |
| ← nowhere_man left | 12:12 |
|
rafasc
| zish: reading the manpages a bit more.. | 12:12 |
| ← Karyon left | 12:12 |
|
rafasc
| seems like submodule.<name>.update can be set to a custom command. | 12:12 |
| → CodeSlingerPaul joined | 12:13 |
|
rafasc
| maybe you can set it to a shell script that also cleans the submodule. | 12:13 |
| ← naoey left | 12:15 |
| ← dcpc007 left | 12:16 |
|
rafasc
| zish: ideally you need a solution that doesn't delete the git repos you already transferred. | 12:16 |
|
zish
| rafasc: the build automation is a set of commands anyway so it shouldn't be a problem to just do: clone; checkout; clean | 12:16 |
| → dcpc007 joined | 12:17 |
|
zish
| rafasc: yes but it doesn't look like git has a way to get a clean copy of the current state. in mercurial there is actually a command to export a repository to another directory (similar to git archive) | 12:17 |
|
| https://www.mercurial-scm.org/repo/hg/help/archive | 12:18 |
| ← rouget430__ left | 12:18 |
| → RougeR joined | 12:18 |
| ← RougeR left | 12:18 |
| → RougeR joined | 12:18 |
| → kurkale6ka joined | 12:19 |
| → vdamewood joined | 12:20 |
| ← wandering_vagran left | 12:20 |
|
rafasc
| you can checkout to a different worktree path with something like: $git --work-tree=<path> checkout HEAD -- . | 12:21 |
|
| or even make a new worktree, with git worktree add <...> | 12:22 |
|
| that plays well when there's no submodules in the middle. | 12:22 |
| → kurkale61 joined | 12:22 |
| ← _antares_ left | 12:24 |
|
rafasc
| zish: do you know if "tests/auto/qml/ecmascripttests/test262" is a submodule, or just a rogue .git dir inside the repo? | 12:24 |
| ← kurkale6ka left | 12:24 |
|
zish
| rafasc: seems like a submodule of qtdeclarative https://github.com/qt/qtdeclarative/blob/5.11/.gitmodules | 12:26 |
| ← luca_penn_ left | 12:28 |
| → _antares_ joined | 12:30 |
| ← _antares_ left | 12:31 |
| → luke_penn joined | 12:31 |
| ← Neo4 left | 12:31 |
| → Nizumzen joined | 12:31 |
| → Neo4 joined | 12:32 |
| → luist joined | 12:32 |
| → mSSM joined | 12:32 |
| → stoopkid joined | 12:33 |
| ← synthroid left | 12:34 |
| ← rnsanchez left | 12:34 |
| → Darcidride joined | 12:35 |
| → shinnya joined | 12:35 |
|
rafasc
| zish: to be honest, what's confusing me here is that if you're passing --recursive, but the time he tries to clean the parent project, that should already be clean. | 12:35 |
|
| so, not sure why it is complaining. Maybe a bug, maybe some configuration abuse... | 12:36 |
|
| or most likely, just my ignorance. :) | 12:36 |
| ← zulutango left | 12:36 |
| → synthroid joined | 12:38 |
|
zish
| rafasc: i think it is because gitmodules no longer contains the entry so git no longer knows anything about the submodule -> therefore it just says that there is modified content no? | 12:39 |
|
| seems to be more a conceptual issue with submodules | 12:40 |
| → _antares_ joined | 12:41 |
| → cagomez joined | 12:41 |
| ← mSSM left | 12:42 |
| → wandering_vagran joined | 12:42 |
| → nuxdie joined | 12:43 |
| → Cavallari1 joined | 12:43 |
| ← pfleck left | 12:44 |
| ← Cavallari left | 12:45 |
| Cavallari1 → Cavallari | 12:45 |
|
rafasc
| yeah. And the submodule url is relative.. so you probably won't need to redownload, which was my main concern. | 12:45 |
| ← cagomez left | 12:45 |
|
zish
| rafasc: but i have to redownload if i do a clean?! | 12:46 |
|
rafasc
| zish: git clean doesn't delete directories that contains a .git directory. | 12:47 |
|
| when you pass -f, you're telling git to delete them. | 12:48 |
|
| pass -f twice* | 12:49 |
|
zish
| rafasc: yes but if you do not delete them you have a dirty directory which is not really what you want for a clean built | 12:49 |
| ← tcorneli left | 12:50 |
|
zish
| so right now i actually prefer to redownload some submodules if i switch between versions | 12:50 |
| → rnsanchez joined | 12:51 |
| ← _antares_ left | 12:54 |
|
rafasc
| zish: if that works for you great. I was just wondering if there was a better solution. | 12:54 |
| ← brontosaurusrex left | 12:56 |
| → zarzar joined | 12:57 |
| ← zarzar left | 12:57 |
| ← duderono_ left | 12:58 |
| ← pnepe6 left | 12:58 |
| ← pity left | 12:59 |
| → houami joined | 12:59 |
| → fission6 joined | 13:02 |
| ← robotroll left | 13:03 |
| ← houami left | 13:04 |
| → robotroll joined | 13:04 |
| → amirpro joined | 13:06 |
| ← gunnarx left | 13:06 |
| → marcelofr joined | 13:07 |
| → _antares_ joined | 13:08 |
| ← amirpro left | 13:08 |
| → amirpro joined | 13:09 |
| ← oxymoron93 left | 13:14 |
| → wouter01008 joined | 13:15 |
| → gunnarx joined | 13:16 |
| ← wouter0100 left | 13:16 |
| ← Eryn_1983_FL left | 13:16 |
| ← daurnimator left | 13:18 |
| ← Nizumzen left | 13:19 |
| ← amirpro left | 13:20 |
| → smallville7123 joined | 13:23 |
| → anjen joined | 13:23 |
| → PsychoBoB joined | 13:23 |
|
PsychoBoB
| Guys, How I can see the changes of specific commit ? | 13:24 |
| ← gunnarx left | 13:24 |
| → amirpro joined | 13:24 |
|
PsychoBoB
| I have the number of commit | 13:25 |
| → rsrx joined | 13:25 |
|
PsychoBoB
| I need see the diffs that commit | 13:25 |
|
Ratler
| git show <sha> | 13:25 |
| ← charolastra left | 13:26 |
| → cdown_ joined | 13:27 |
| ← anjen left | 13:28 |
| ← cdown left | 13:29 |
| cdown_ → cdown | 13:29 |
| ← CheckDavid left | 13:31 |
| → jready joined | 13:34 |
| ← govg left | 13:34 |
| → govg joined | 13:36 |
| → pfleck joined | 13:37 |
| → Mike11 joined | 13:39 |
| ← orbitex left | 13:39 |
| → gunnarx joined | 13:39 |
| ← fission6 left | 13:41 |
| → Turandon joined | 13:41 |
| → physikoi joined | 13:42 |
| ← iamthad left | 13:42 |
|
Turandon
| greetings, i have a question related to my .gitignore. I have added the file cache.db from newsboat. from the point of view of my .gitignore it is in ./newsboat/cache.db. at the moment it is not ignored and consequently added to my changed files. any tips how to solve this? | 13:43 |
| → Es0teric joined | 13:43 |
|
Turandon
| i tried: newsboat/cache.db; ./newsboat/cache.db; cache.db | 13:44 |
| ← smallville7123 left | 13:44 |
|
dbedrenko
| Turandon: do you need to `git rm` too? | 13:44 |
| → fission6 joined | 13:47 |
| ← camsbury left | 13:47 |
| ← gunnarx left | 13:47 |
| → camsbury joined | 13:47 |
| ← wandering_vagran left | 13:48 |
| ← Fernando-Basso left | 13:48 |
| → iamthad joined | 13:51 |
| ← camsbury left | 13:52 |
| ← pfleck left | 13:53 |
| → penguinPerplexed joined | 13:53 |
| ← abba left | 13:54 |
| → wandering_vagran joined | 13:54 |
| → phluks joined | 13:54 |
| → dumyan joined | 13:55 |
| ← dumyan left | 13:55 |
| ← Schrostfutz left | 13:55 |
| → ryantrinkle joined | 13:56 |
| → kiero joined | 13:58 |
| ← cur8or left | 13:58 |
| ← riemann left | 13:58 |
| → stutter_ joined | 13:58 |
| → freimatz joined | 13:59 |
| → pfleck joined | 14:00 |
| ← rsrx left | 14:01 |
| → igemnace joined | 14:01 |
| ← pfleck left | 14:02 |
| → pfleck joined | 14:02 |
| → gunnarx joined | 14:03 |
| → Masplus joined | 14:04 |
| ← Raging_Hog left | 14:04 |
| ← Hello71 left | 14:04 |
|
rafasc
| Turandon: !ignore_tracked | 14:05 |
|
gitinfo
| Turandon: Git only applies ignore patterns to untracked files. You can't use ignore patterns to ignore changes to files that are already tracked by git. To remove files only from git, but keeping them on disk, use git rm --cached <file>. Still, see https://gist.github.com/1423106 for ways people have worked around the problem. | 14:05 |
| → dimi1947 joined | 14:06 |
| ← Mike11 left | 14:06 |
|
dimi1947
| How I can get config info...e-mail/name etc? | 14:06 |
| ← tomfarr left | 14:07 |
| → smallville7123 joined | 14:07 |
| → Mike11 joined | 14:07 |
| ← Mike11 left | 14:07 |
| ← gunnarx left | 14:08 |
| ← smallville7123 left | 14:09 |
| → bdonnahue joined | 14:09 |
| → greggerz joined | 14:10 |
| ← wandering_vagran left | 14:10 |
|
moritz
| dimi1947: git config user.name | 14:11 |
| → Dougie187 joined | 14:11 |
|
moritz
| and same for other config keys | 14:11 |
|
| or git config --list # to get all of them | 14:11 |
|
dimi1947
| thx | 14:11 |
| → Mike11 joined | 14:12 |
| ← Mike11 left | 14:12 |
| ← DocRedfish left | 14:13 |
| ← ryantrinkle left | 14:14 |
| → boombatower joined | 14:15 |
| → wandering_vagran joined | 14:15 |
| ← linuxmodder left | 14:15 |
| ← jready left | 14:15 |
| → fmgt joined | 14:15 |
| → Eryn_1983_FL joined | 14:16 |
| → Mike11 joined | 14:17 |
| → oxymoron93 joined | 14:17 |
| ← Mike11 left | 14:17 |
| ← tvale left | 14:19 |
| → jready joined | 14:20 |
| ← _antares_ left | 14:20 |
| ← raynold left | 14:21 |
| → Hello71 joined | 14:22 |
| ← rts-sander left | 14:23 |
| ← Guest67374 left | 14:24 |
| → rts-sander_2 joined | 14:24 |
| → _antares_ joined | 14:24 |
| ← rts-sander_2 left | 14:25 |
| → camsbury joined | 14:26 |
| → linuxmodder joined | 14:26 |
| ← camsbury left | 14:26 |
| → rts-sander joined | 14:26 |
| ← linuxmodder left | 14:27 |
| → camsbury joined | 14:27 |
| → linuxmodder joined | 14:27 |
| ← luist left | 14:27 |
| → relipse joined | 14:28 |
| ← camsbury left | 14:28 |
| → camsbury joined | 14:29 |
| → fr33domlover joined | 14:31 |
| → luist joined | 14:33 |
| ← alhariel left | 14:34 |
| ← Neo4 left | 14:34 |
| → crimson_king joined | 14:36 |
| ← zish left | 14:36 |
|
_ikke_
| or git config --get-regexp user | 14:36 |
| ← freimatz left | 14:36 |
| → freimatz joined | 14:36 |
| → nurdie joined | 14:37 |
| → jamiejackson joined | 14:37 |
| → eh3 joined | 14:38 |
| → Sudrien joined | 14:42 |
| → jimmyrcom joined | 14:43 |
| ← crtcji left | 14:44 |
| ← floppydh left | 14:45 |
| ← _antares_ left | 14:46 |
| gitinfo set mode: +v | 14:47 |
|
Sudrien
| So I've got this pair of commands | 14:47 |
|
| git diff --find-copies-harder --find-renames=101% --name-only --diff-filter=ACMRT 'refs/tags/0.0.25' 'refs/tags/0.0.27' | 14:47 |
|
| git diff --find-copies-harder --find-renames=101% --name-only --diff-filter=D 'refs/tags/0.0.25' 'refs/tags/0.0.27' | 14:47 |
|
| The first should tell me what files changed & were created, the second should tell me what files were deleted | 14:47 |
|
| NEITHER tells me the original filename of a content-unchanged rename | 14:48 |
| ← chele left | 14:48 |
|
Sudrien
| So how do I get the original filename of a rename | 14:49 |
| → durham joined | 14:50 |
| ← durham left | 14:50 |
| → durham joined | 14:50 |
| → csan joined | 14:53 |
| ← matthiaskrgr left | 14:55 |
| ← prg318 left | 14:58 |
| ← durham left | 14:59 |
| → prg318 joined | 14:59 |
| → pity joined | 14:59 |
| ← amirpro left | 15:00 |
| → amirpro joined | 15:00 |
| ← Cavallari left | 15:01 |
| ← fr33domlover left | 15:01 |
| → jimmyrcom_ joined | 15:02 |
| ← jimmyrcom_ left | 15:03 |
| → jimmyrcom_ joined | 15:03 |
| → Nizumzen joined | 15:05 |
|
Sudrien
| Nobody knows how to find the original path of a rename with git diff? | 15:05 |
| ← argoneus left | 15:06 |
| ← prg318 left | 15:07 |
| → troulouliou_div2 joined | 15:07 |
| → prg318 joined | 15:08 |
| → argoneus joined | 15:08 |
| ← pfleck left | 15:08 |
| → nowhere_man joined | 15:09 |
| ← luist left | 15:09 |
| → regedit joined | 15:12 |
| ← inovas left | 15:12 |
| → mizu_no__ joined | 15:13 |
| ← diogenese left | 15:14 |
| → Fernando-Basso joined | 15:14 |
| ← synthroid left | 15:14 |
| → IanLiu joined | 15:16 |
| → diogenese joined | 15:16 |
|
j416
| Sudrien: did you try 'git diff --stat' ? | 15:16 |
| → inovas joined | 15:17 |
| → matthiaskrgr joined | 15:17 |
| ← csan left | 15:17 |
| ← kiero left | 15:18 |
| matthiaskrgr → Guest11178 | 15:18 |
| → NAAAN9T3 joined | 15:18 |
| ← amirpro left | 15:18 |
| ← Guest11178 left | 15:19 |
| → Guest11178 joined | 15:19 |
| ← Guest11178 left | 15:19 |
| → Guest11178 joined | 15:19 |
|
Sudrien
| j416: that doesn't make any difference to the file list I'm getting | 15:19 |
| → orbyt_ joined | 15:19 |
| → crose joined | 15:19 |
|
j416
| alright. | 15:19 |
|
| it shows renames here. | 15:19 |
| Guest11178 → matthiaskrgr_ | 15:19 |
| → berendir joined | 15:19 |
| → cagomez joined | 15:20 |
| ← berendir left | 15:21 |
| → thiago joined | 15:21 |
| ← IanLiu left | 15:23 |
|
Sudrien
| j416: My issue is not the formatting of the list, it's that there seems to be no way to git the file name BEFORE the rename. Only AFTER rename comes up, given the appropriate --diff-filter | 15:23 |
| → durham joined | 15:23 |
| → AndyBlue joined | 15:23 |
| → Schrostfutz joined | 15:23 |
| ← dimi1947 left | 15:23 |
| → dimi1947 joined | 15:24 |
| ← TSS_ left | 15:24 |
|
dimi1947
| what git command tells me the default git editor | 15:25 |
| → amirpro joined | 15:25 |
| ← Karyon_ left | 15:25 |
| → TSS_ joined | 15:25 |
|
oxymoron93
| search for "editor" in man git config, it is that easy | 15:26 |
|
gitinfo
| the git-config manpage is available at https://gitirc.eu/git-config.html | 15:26 |
| ← modin left | 15:27 |
| ← mizu_no__ left | 15:27 |
| ← penguinPerplexed left | 15:27 |
| ← amirpro left | 15:28 |
| ← durham left | 15:28 |
| → amirpro joined | 15:28 |
| ← plains left | 15:29 |
| → synthroid joined | 15:29 |
| ← AndyBlue left | 15:29 |
| → gordonfish joined | 15:30 |
| ← gordonfish left | 15:30 |
| → AndyBlue joined | 15:30 |
|
thiago
| dimi1947: git var GIT_EDITOR | 15:30 |
| → gordonfish joined | 15:30 |
| ← orbyt_ left | 15:31 |
| → modin joined | 15:32 |
| ← AndyBlue left | 15:32 |
| → AndyBlue joined | 15:33 |
| → tomfarr joined | 15:33 |
| → vdv_ joined | 15:34 |
| ← oxymoron93 left | 15:36 |
| ← AndyBlue left | 15:36 |
| ← cagomez left | 15:37 |
| → lordjancso joined | 15:37 |
| ← vdv left | 15:37 |
| → plains joined | 15:38 |
| → cagomez joined | 15:38 |
| ← albel727 left | 15:40 |
| ← modin left | 15:40 |
| → penguinPerplexed joined | 15:41 |
| ← thblt left | 15:43 |
| ← pity left | 15:44 |
| → albel727 joined | 15:44 |
| ← Es0teric left | 15:44 |
| → modin joined | 15:45 |
| → borkr joined | 15:46 |
| → d3r3k joined | 15:48 |
| ← borkr left | 15:50 |
| ← linuxmodder left | 15:50 |
| → pity joined | 15:50 |
| → duderonomy joined | 15:52 |
| → dreiss joined | 15:53 |
| → ocds joined | 15:54 |
|
dimi1947
| I tried this command but it does not work:git --l GIT_EDITOR | 15:54 |
| → RougeT430 joined | 15:55 |
| ← ocds left | 15:56 |
| → rouget430__ joined | 15:57 |
| ← RougeR left | 15:58 |
| ← crimson_king left | 15:59 |
| ← thiago left | 15:59 |
| ← Schrostfutz left | 15:59 |
| ← lordjancso left | 16:00 |
| ← RougeT430 left | 16:01 |
| ← LiftLeft left | 16:01 |
| → Es0teric joined | 16:02 |
| → durham joined | 16:02 |
| → lordjancso joined | 16:02 |
|
dimi1947
| I am using this command to see the default editor:git config core.editor but nothing shows up...what might be the cause of it? | 16:03 |
| → JonnyAt joined | 16:03 |
| → Neo4 joined | 16:03 |
| ← jlebrech left | 16:04 |
| → LiftLeft joined | 16:04 |
| → jstimm joined | 16:05 |
| ← mikecmpb_ left | 16:05 |
| → jesst_ joined | 16:05 |
| ← jesst_ left | 16:05 |
| → Karyon_ joined | 16:07 |
| ← Masplus left | 16:07 |
| ← crose left | 16:07 |
| → sanscoeur joined | 16:08 |
|
furrymcgee
| git config --unset core.editor | 16:08 |
| → MACscr|lappy joined | 16:10 |
| → crose joined | 16:10 |
| → King_Hual joined | 16:10 |
| → summi joined | 16:12 |
|
_ikke_
| git var -l | grep -i editor | 16:12 |
| gitinfo set mode: +v | 16:13 |
|
summi
| hello git gurus. Hope you're all doing well today. | 16:13 |
| → _antares_ joined | 16:13 |
|
_ikke_
| I'm doing quite alright, thank you :-) | 16:14 |
|
summi
| I use a complex git subtree command but due to not using it frequently over the past month i'm unable to find it through my log history. I didn't document it too. How would I go on listing all my previously executed commands | 16:14 |
| ← rfuentess left | 16:14 |
|
summi
| Thank you! :) | 16:14 |
|
_ikke_
| git itself does not keep track of it | 16:15 |
|
| so you have to rely on you shell history | 16:15 |
|
| history | grep subtree | 16:15 |
|
summi
| hmm, i've tried going back through git bash | 16:15 |
|
| okay | 16:15 |
|
| no luck | 16:15 |
|
| it seemed to store only 500 some commands | 16:16 |
| → amirpro_ joined | 16:16 |
| ← amirpro_ left | 16:18 |
| ← lordjancso left | 16:18 |
| → amirpro_ joined | 16:18 |
| ← marcelofr left | 16:19 |
| ← MACscr|lappy left | 16:19 |
| ← theoceaniscool left | 16:19 |
|
summi
| either way, thanks for your quick response _ikke_ | 16:19 |
| ← summi left | 16:20 |
| ← amirpro left | 16:20 |
| amirpro_ → amirpro | 16:20 |
| → akushner joined | 16:21 |
| → borkr joined | 16:23 |
| ← amirpro left | 16:23 |
| → oxymoron93 joined | 16:25 |
| → ephemera_ joined | 16:26 |
| ← robotroll left | 16:27 |
| → orbyt_ joined | 16:27 |
| → luist joined | 16:27 |
| ← kurkale61 left | 16:28 |
| → linuxmodder joined | 16:28 |
| ← fission6 left | 16:28 |
| ← jamiejackson left | 16:29 |
| ← PioneerAxon left | 16:30 |
| → PioneerAxon joined | 16:30 |
| → pfleck joined | 16:31 |
| → amirpro joined | 16:31 |
| → ArcaTech joined | 16:33 |
| ← amirpro left | 16:33 |
| → amirpro joined | 16:33 |
| ← PioneerAxon left | 16:34 |
| → PioneerAxon joined | 16:35 |
| ← pfleck left | 16:35 |
| ← madewokherd left | 16:36 |
| ← PioneerAxon left | 16:37 |
| → PioneerAxon joined | 16:37 |
| → gareppa joined | 16:39 |
| ← stutter_ left | 16:39 |
| ← shinnya left | 16:39 |
| → jokajak joined | 16:40 |
| → applecrumble joined | 16:40 |
| ← guideX left | 16:41 |
| → kurkale61 joined | 16:42 |
| ← PioneerAxon left | 16:44 |
| → PioneerAxon joined | 16:44 |
| ← dmone left | 16:44 |
| ← dreiss left | 16:45 |
| ← PioneerAxon left | 16:46 |
| → PioneerAxon joined | 16:47 |
| ← MarioBranco left | 16:48 |
| → xaxxon joined | 16:49 |
| ← bahamut24 left | 16:50 |
| ← mel00010 left | 16:50 |
| → ferdna joined | 16:51 |
| → stutter_ joined | 16:51 |
|
DelTree
| how should I check in a script that a branch is merged into another ? | 16:51 |
| ← PioneerAxon left | 16:51 |
| → PioneerAxon joined | 16:52 |
| ← Nizumzen left | 16:52 |
| ← _antares_ left | 16:53 |
| ← nurdie left | 16:53 |
| ← cdown left | 16:53 |
| → nurdie joined | 16:54 |
| → _antares_ joined | 16:54 |
| → iNCoNFuN joined | 16:55 |
|
jokajak
| DelTree: did you try google? My initial thought would be to use git branch --contains <commit-id> where <commit-id> is some commit in the branch to merge | 16:55 |
| ← troulouliou_div2 left | 16:55 |
| → cdown joined | 16:55 |
| → theDiabolicalKid joined | 16:56 |
| ← kurkale61 left | 16:56 |
|
_ikke_
| git merge-tree --is-ancestor | 16:56 |
| → Worldexe joined | 16:56 |
|
_ikke_
| git merge-base --is-ancestor | 16:56 |
| → nitric joined | 16:57 |
| ← nowhere_man left | 16:57 |
| ← ArcaTech left | 16:57 |
| → fission6 joined | 16:58 |
| ← gareppa left | 16:58 |
| ← fission6 left | 16:59 |
| ← penguinPerplexed left | 16:59 |
| → muelleme joined | 17:00 |
| ← Karyon_ left | 17:02 |
|
DelTree
| jokajak: I thought git branch was not to be used in a script... | 17:02 |
|
rafasc
| jokajak: _ikke_ already posted the answer. | 17:03 |
| ← pity left | 17:03 |
| ← Dougie187 left | 17:04 |
|
DelTree
| oooh... | 17:04 |
| ← rouget430__ left | 17:05 |
|
rafasc
| you failed to google and read the chat. You need to grab some coffee. ;) | 17:05 |
|
DelTree
| quite possible... | 17:06 |
| ← duderonomy left | 17:07 |
|
DelTree
| and I need to understand what it actually does... | 17:08 |
|
oxymoron93
| it returns exit code depending on result, so it is suitable for scripts | 17:08 |
| → fission6 joined | 17:09 |
| → crtcji joined | 17:12 |
|
DelTree
| what I fail to see for now is if there's a difference between git merge-base A B and git merge-base B A | 17:13 |
| → energizer joined | 17:13 |
| ← leeN left | 17:14 |
|
_ikke_
| DelTree: git merge-base <upstream> <commit> checks if <upstream> is an ancestor of <commit> | 17:14 |
| ← mattcen left | 17:14 |
|
jokajak
| DelTree: there isn't. the --is-ancestor operation is what makes the difference from what I can see in the man page | 17:14 |
|
_ikke_
| right, with --is-ancestor | 17:15 |
|
| otherwise it will find the merge-base between two commits | 17:15 |
|
oxymoron93
| merge-base does not make difference when reordering commit | 17:15 |
|
DelTree
| ok... a little script contexting it inside an if helps... | 17:15 |
|
oxymoron93
| commits* | 17:15 |
|
_ikke_
| but it does matter with --is-ancestor like jokajak said | 17:15 |
|
DelTree
| ok... I seem to get it... | 17:15 |
|
oxymoron93
| yup | 17:16 |
|
jokajak
| DelTree: "Check if the first <commit> is an ancestor of the second <commit>, and exit with status 0 if true, or with status 1 if not. Errors are signaled by a non-zero status that is not 1." | 17:16 |
| → mattcen joined | 17:16 |
|
DelTree
| thanks... I can be slow to understand sometimes... ^_^ | 17:17 |
|
jokajak
| DelTree: you can check the man-page to see how things work: https://git-scm.com/docs/git-merge-base | 17:17 |
| ← dimi1947 left | 17:18 |
| → penguinPerplexed joined | 17:20 |
| ← theDiabolicalKid left | 17:20 |
| → shinnya joined | 17:20 |
| → kneeki joined | 17:23 |
| → jnavila joined | 17:25 |
| → CheckDavid joined | 17:25 |
| → ArcaTech joined | 17:26 |
| ← jstimm left | 17:26 |
| → ivokh joined | 17:29 |
| → nd_ joined | 17:29 |
| ← nd left | 17:30 |
| → jungsubk joined | 17:32 |
| ← penguinPerplexed left | 17:32 |
| → freimatz3 joined | 17:32 |
| ← freimatz left | 17:35 |
| → Sonderblade joined | 17:36 |
| ← amirpro left | 17:38 |
| → amirpro joined | 17:41 |
| → venmx joined | 17:41 |
| ← Arcaelyx left | 17:41 |
| ← T_UNIX left | 17:42 |
| → wootehfoot joined | 17:42 |
| → csan joined | 17:42 |
| ← csan left | 17:43 |
| → csan joined | 17:43 |
| ← csan left | 17:44 |
| ← linuxmodder left | 17:45 |
| → Nizumzen joined | 17:45 |
| → csan joined | 17:45 |
| → Naq joined | 17:45 |
| ← Naq left | 17:46 |
| ← wootehfoot left | 17:46 |
| ← ArcaTech left | 17:48 |
| ← csan left | 17:48 |
| → weird_error joined | 17:50 |
| → nitric_ joined | 17:52 |
| ← nurdie left | 17:52 |
| → chris349 joined | 17:52 |
| → pfleck joined | 17:53 |
| → nurdie joined | 17:53 |
| ← _antares_ left | 17:53 |
| ← nurdie left | 17:54 |
| ← nitric left | 17:54 |
| ← venmx left | 17:54 |
| → nurdie joined | 17:55 |
| ← camsbury left | 17:55 |
| → nikheizen joined | 17:56 |
| ← cdown left | 17:57 |
| ← chris349 left | 17:57 |
| → camsbury joined | 17:58 |
| → D630 joined | 17:59 |
| → drbean_ joined | 18:01 |
| ← bdonnahue left | 18:01 |
| → bdonnahue joined | 18:01 |
| ← drbean left | 18:02 |
| ← ivokh left | 18:02 |
| ← jnavila left | 18:03 |
| ← D630 left | 18:03 |
| ← nurdie left | 18:04 |
| → nurdie joined | 18:05 |
| ← jready left | 18:06 |
| ← rafasc left | 18:06 |
| → ChristopheT joined | 18:06 |
| → jready joined | 18:06 |
| ← ChristopheT left | 18:06 |
| ← Es0teric left | 18:07 |
| → rafasc joined | 18:07 |
| → Es0teric joined | 18:10 |
| ← jready left | 18:10 |
| ← Wizzup left | 18:11 |
| ← nurdie left | 18:13 |
| → robattila256 joined | 18:15 |
| ← stfn left | 18:15 |
| → stfn joined | 18:17 |
| → Wizzup joined | 18:18 |
| → mel00010 joined | 18:18 |
| ← Es0teric left | 18:21 |
| → wootehfoot joined | 18:21 |
| → jready joined | 18:22 |
| ← kes left | 18:22 |
| ← Sudrien left | 18:22 |
| → houami joined | 18:24 |
| → nurdie joined | 18:25 |
| → MikHel joined | 18:25 |
| → Sasazuka joined | 18:26 |
| gitinfo set mode: +v | 18:27 |
|
MikHel
| Hi. I have a git repository created from a Mercurial repository. I've made many changes under git and the mercurial one has also changed. I am not sure which tool I used to create my first git repo, but the two tools I am finding now that can sync the two create a git repo from mercurial with a different set of commit hashes. | 18:27 |
|
| I am trying now to take all my commits added to the repo from the first hg->git and putting them onto the new repo. | 18:28 |
|
| How can I do that easily? | 18:28 |
| ← houami left | 18:28 |
| → jhaenchen joined | 18:28 |
|
_ikke_
| MikHel: I don't think they repos are related (share the same history, because they were converted independently), right? | 18:30 |
| → thiago joined | 18:30 |
|
MikHel
| _ikke_ correct. | 18:31 |
| ← King_Hual left | 18:31 |
|
_ikke_
| How many commits are you talking about? | 18:31 |
|
MikHel
| _ikke-: However if I check out the same points in the history, the files match. | 18:31 |
| ← regedit left | 18:31 |
|
MikHel
| We're talking of about 200 commits. | 18:31 |
|
_ikke_
| Not sure if it's feasible, but with man git format-patch + man git am, you can basically copy commits between unrelated repositories | 18:32 |
|
gitinfo
| the git-format-patch manpage is available at https://gitirc.eu/git-format-patch.html | 18:32 |
|
| the git-am manpage is available at https://gitirc.eu/git-am.html | 18:32 |
|
MikHel
| Can patches preserve separate commits are separate when being applied? | 18:32 |
| ← vdamewood left | 18:32 |
|
_ikke_
| yes | 18:32 |
|
MikHel
| I'll try that way. | 18:33 |
|
_ikke_
| (patches created with format-patch) | 18:33 |
| ← crose left | 18:33 |
| ← wandering_vagran left | 18:34 |
|
BlessJah
| how about git filter-branch --parent-filter?ODOC | 18:35 |
|
_ikke_
| '?ODOC'? | 18:35 |
|
| BlessJah is on a train | 18:36 |
|
BlessJah
| I guess it is possible, I'm not sure however how much scripting would that require | 18:37 |
|
MikHel
| git format-patch created >2700 files :) I'll try to apply them now. | 18:37 |
|
_ikke_
| that's more than 200 commits then | 18:37 |
|
MikHel
| No, but some commits touched many files. Either that or my use of --root was incorrect | 18:38 |
|
| Option 2. | 18:38 |
| ← bket left | 18:38 |
|
MikHel
| Clearly it put the complete history.... | 18:39 |
|
| I've misused the command. | 18:39 |
| → Es0teric joined | 18:39 |
|
_ikke_
| right | 18:39 |
|
| it doesn't create a patch per file, but a patch per commit | 18:39 |
| ← shinnya left | 18:39 |
| ← bdonnahue left | 18:40 |
| ← Sonderblade left | 18:40 |
| → nowhere_man joined | 18:40 |
| → MACscr|lappy joined | 18:40 |
|
MikHel
| Now I have it correctly I think. | 18:41 |
| → bket joined | 18:42 |
| → jnavila joined | 18:42 |
| ← iNCoNFuN left | 18:43 |
|
MikHel
| I am a bit confused on git am | 18:43 |
|
| Can it apply the patches from the directory immediately? Is that what they mean by "Maildir" ? | 18:44 |
| ← Wizzup left | 18:44 |
| ← mikemcowie left | 18:44 |
|
_ikke_
| Yes, but you have to supply the files I believe, not the directory | 18:45 |
| ← Xiti` left | 18:47 |
|
MikHel
| Doc says: git am [(<mbox> | <Maildir>)…] | 18:47 |
|
| Let's try. | 18:47 |
| → Xiti joined | 18:47 |
|
_ikke_
| I think that says more about the format of the files | 18:47 |
|
MikHel
| OK I have to do file by file. | 18:49 |
|
_ikke_
| You can specify a list of files | 18:49 |
| ← oxymoron93 left | 18:49 |
|
MikHel
| Interesting warnings (all similar): warning: Feti.d/CMakeLists.txt has type 100755, expected 100644 | 18:49 |
|
| Maybe that file flags are the only differences between the repositories. | 18:49 |
| → sjoshi joined | 18:51 |
| → Wizzup joined | 18:51 |
| ← TomyWork left | 18:52 |
| → bdonnahue joined | 18:52 |
| ← mel00010 left | 18:52 |
| → fr33domlover joined | 18:54 |
| ← robattila256 left | 18:54 |
|
thiago
| 755 for CMakeLists.txt is wrong | 18:54 |
|
| your local repository has a problem | 18:54 |
|
MikHel
| thiago: It was created by a tool. The new tool does not have 755. | 18:55 |
|
| But I may have a bigger problem. | 18:55 |
|
thiago
| if the tool created as 755, the tool has a problem | 18:55 |
|
| it's most likely a filesystem issue | 18:55 |
|
MikHel
| It seems the old tool may have put \cr\nl and not the new one. | 18:55 |
|
thiago
| don't use FAT for storage | 18:56 |
| ← crtcji left | 18:56 |
|
MikHel
| I am on Mac. | 18:56 |
|
thiago
| then use HFS or the new filesystem | 18:56 |
|
MikHel
| But some contributors are on other systems.... | 18:56 |
|
thiago
| so? | 18:56 |
|
MikHel
| I am using new FS. | 18:56 |
| ← physikoi left | 18:56 |
|
thiago
| ok, so the tool created with the wrong permissions or something else changed it after that | 18:57 |
|
MikHel
| I don't know why the file would have 755 except it was made by an old tool that may have had a big. | 18:57 |
|
| bug | 18:57 |
| ← igemnace left | 18:57 |
| → physikoi joined | 19:02 |
| ← muelleme left | 19:03 |
| ← fission6 left | 19:04 |
| ← carbolymer left | 19:05 |
| → invisisith joined | 19:07 |
| ← pks left | 19:09 |
| → pks joined | 19:10 |
| ← MACscr|lappy left | 19:10 |
| ← luist left | 19:12 |
| → mel00010 joined | 19:12 |
| → luist joined | 19:13 |
| → MACscr|lappy joined | 19:15 |
| ← physikoi left | 19:15 |
| → carbolymer joined | 19:16 |
| → beefjoe joined | 19:17 |
| → vrach joined | 19:17 |
| → physikoi joined | 19:18 |
| → sQVe joined | 19:19 |
| ← manuelschneid3r left | 19:19 |
| → venmx joined | 19:22 |
| ← MACscr|lappy left | 19:22 |
| ← physikoi left | 19:23 |
| → MACscr|lappy joined | 19:23 |
| → physikoi joined | 19:23 |
| → fission6 joined | 19:25 |
| → sameerynho joined | 19:25 |
| ← MACscr|lappy left | 19:26 |
| ← armyriad left | 19:26 |
| → MACscr|lappy joined | 19:27 |
| → armyriad joined | 19:27 |
| → Cyrum joined | 19:28 |
| → chat_ joined | 19:28 |
| → pity joined | 19:28 |
| ← sQVe left | 19:30 |
| → sQVe joined | 19:31 |
| → manuelschneid3r joined | 19:32 |
| ← physikoi left | 19:32 |
|
furrymcgee
| do you know how to add .git to another repository? | 19:32 |
|
_ikke_
| furrymcgee: !subproject | 19:32 |
|
gitinfo
| furrymcgee: [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding. | 19:32 |
| ← sjoshi left | 19:33 |
| ← pity left | 19:33 |
| ← akushner left | 19:33 |
| ← venmx left | 19:35 |
| ← _aeris_ left | 19:36 |
|
furrymcgee
| the foo/.git file/folder is ignored by git add foo/.git | 19:37 |
| → _aeris_ joined | 19:37 |
| ← pfleck left | 19:37 |
|
_ikke_
| You cannot track .git directories itself | 19:38 |
|
| it's hardcoded to be ignored | 19:38 |
| ← Fernando-Basso left | 19:41 |
| → venmx joined | 19:43 |
|
furrymcgee
| thanks good to know | 19:44 |
| ← sQVe left | 19:44 |
|
furrymcgee
| !gitslave | 19:45 |
|
gitinfo
| gitslave ( http://gitslave.sf.net ) is useful to add subsidiary git repositories to a git superproject when you control and develop on the subprojects at more or less the same time as the superproject, and furthermore when you typically want to tag, branch, push, pull, etc. all repositories at the same time. | 19:45 |
| → dreiss joined | 19:47 |
| ← synthroid left | 19:48 |
| → sQVe joined | 19:49 |
| → vdv__ joined | 19:50 |
| → duderonomy joined | 19:50 |
| → pfleck joined | 19:51 |
| ← xaxxon left | 19:51 |
| → xaxxon joined | 19:51 |
| → physikoi joined | 19:52 |
| ← sanscoeur left | 19:53 |
| ← vdv_ left | 19:53 |
| ← Cyrum left | 19:54 |
| → vdv joined | 19:54 |
| → Cyrum joined | 19:55 |
| → Cromulent|2 joined | 19:55 |
| ← pfleck left | 19:55 |
| ← vdv__ left | 19:56 |
| ← dreiss left | 19:57 |
| ← Nizumzen left | 19:57 |
| → ivokh joined | 19:58 |
| ← dendazen left | 19:58 |
| → Trillium1 joined | 19:59 |
| → lafleurdubien joined | 19:59 |
|
dakar
| is there a decent solution to periodically check a remote git repository for new commits, and if there are, then pull, compile, etc.? | 20:00 |
|
_ikke_
| Just regular run git fetch? | 20:01 |
|
| regularly* | 20:01 |
| ← tvw left | 20:01 |
|
dakar
| _ikke_ i thought about a shell script to git pull, ./configure, whatever | 20:01 |
|
| was wondering if there's something nicer | 20:02 |
| ← LiftLeft left | 20:02 |
| → cr1mson_king joined | 20:02 |
|
Zarthus
| "compile, etc." is outside of the scope of what git does. *shrug* | 20:02 |
|
dakar
| true. | 20:02 |
|
Zarthus
| it'll depend per project what you want to do | 20:02 |
|
dakar
| fetch latest head every so often, compile the code and some other things. | 20:02 |
|
_ikke_
| right | 20:02 |
|
dakar
| if the code changed at all, that is | 20:02 |
|
Zarthus
| generally i would advocate a package manager / ppa / what have you | 20:03 |
| ← ivokh left | 20:03 |
| → muelleme joined | 20:03 |
| ← duderonomy left | 20:03 |
|
dakar
| okay | 20:03 |
|
_ikke_
| in combintion with a proper CI server | 20:03 |
| → sanscoeur joined | 20:03 |
|
_ikke_
| (I'm currently looking into buildbot | 20:04 |
|
| ) | 20:04 |
| ← mel00010 left | 20:05 |
|
kilobyte
| proper CI is for the weak, Real Men™ use a few lines of script, some string and twine, glued with bubble gum. Usually far less work than adapting to dain bramage of existing CI programs. | 20:07 |
| ← muelleme left | 20:08 |
| ← schleppel left | 20:08 |
| ← Cyrum left | 20:09 |
| → Cyrum joined | 20:10 |
| ← cr1mson_king left | 20:10 |
| → cr1mson_king joined | 20:10 |
| ← cr1mson_king left | 20:11 |
| → cr1mson_king joined | 20:12 |
| ← Cromulent|2 left | 20:12 |
| → muelleme joined | 20:12 |
| → schleppel joined | 20:14 |
| → ivokh joined | 20:15 |
| → g00s joined | 20:16 |
| ← muelleme left | 20:18 |
| ← Worldexe left | 20:18 |
| ← plexigras left | 20:18 |
| ← MACscr|lappy left | 20:19 |
| → duderonomy joined | 20:19 |
| ← relipse left | 20:19 |
| ← ivokh left | 20:20 |
| ← Trillium1 left | 20:21 |
| ← mofai left | 20:21 |
| ← venmx left | 20:22 |
| ← duderonomy left | 20:22 |
| ← heyoni left | 20:22 |
| → venmx joined | 20:22 |
| → duderonomy joined | 20:23 |
| ← duderonomy left | 20:23 |
| → duderonomy joined | 20:23 |
| ← duderonomy left | 20:24 |
|
moritz
| kilobyte: that stops being true when a single machine isn't enough, usually | 20:24 |
| → duderonomy joined | 20:24 |
| ← duderonomy left | 20:25 |
| → ocds joined | 20:25 |
|
dakar
| moritz we're talking about 1 machine ;) | 20:25 |
| → duderonomy joined | 20:25 |
| ← duderonomy left | 20:25 |
| → duderonomy joined | 20:26 |
|
kilobyte
| moritz: well yeah, depends on the use case | 20:26 |
| ← duderonomy left | 20:26 |
| → duderonomy joined | 20:26 |
| ← duderonomy left | 20:27 |
| → duderonomy joined | 20:27 |
| ← duderonomy left | 20:28 |
| → duderonomy joined | 20:28 |
| ← duderonomy left | 20:28 |
| → duderonomy joined | 20:29 |
| ← duderonomy left | 20:29 |
| → duderonomy joined | 20:30 |
| → synthroid joined | 20:30 |
| ← duderonomy left | 20:30 |
| ← venmx left | 20:30 |
| ← Impaloo left | 20:31 |
| ← schleppel left | 20:31 |
| → Impaloo joined | 20:32 |
| → venmx joined | 20:32 |
| ← cr1mson_king left | 20:33 |
| ← mlopezviedma left | 20:39 |
| ← freimatz3 left | 20:41 |
| ← rnsanchez left | 20:43 |
| ← stutter_ left | 20:43 |
| → themiddleman joined | 20:43 |
| ← borkr left | 20:46 |
| → shinnya joined | 20:47 |
|
furrymcgee
| OC[6~ | 20:47 |
| ← eh3 left | 20:47 |
| → madewokherd joined | 20:47 |
| → ryantrinkle joined | 20:49 |
| → djapo_ joined | 20:50 |
| ← djapo left | 20:51 |
| ← synthroid left | 20:52 |
| → borkr joined | 20:53 |
| ← nikheizen left | 20:53 |
| → kyan joined | 20:56 |
| → LiftLeft joined | 20:58 |
| → eh3 joined | 20:58 |
| → rnsanchez joined | 20:58 |
| ← physikoi left | 20:59 |
| → mikemcowie joined | 21:00 |
| ← jhaenchen left | 21:01 |
| → jhaenchen joined | 21:01 |
| ← JonnyAt left | 21:02 |
| ← jhaenchen left | 21:02 |
| → jhaenchen joined | 21:02 |
| ← PsychoBoB left | 21:02 |
| → HJJHJH joined | 21:03 |
| ← jhaenchen left | 21:03 |
| ← HJJHJH left | 21:03 |
| → physikoi joined | 21:04 |
| → jhaenchen joined | 21:04 |
| ← borkr left | 21:04 |
| ← jhaenchen left | 21:04 |
| → PsychoBoB joined | 21:04 |
| → jhaenchen joined | 21:05 |
| → crimson_king joined | 21:05 |
| ← invisisith left | 21:05 |
| ← sQVe left | 21:06 |
| → JonnyAt joined | 21:07 |
| → sat-aton joined | 21:08 |
| ← sat-aton left | 21:08 |
| → sat-aton joined | 21:08 |
| → relipse joined | 21:08 |
| ← physikoi left | 21:08 |
| → Alystair joined | 21:12 |
| ← satifant left | 21:12 |
| → physikoi joined | 21:13 |
| → endiruna joined | 21:13 |
| ← luist left | 21:13 |
| ← sameerynho left | 21:14 |
| ← relipse left | 21:14 |
| ← Tobbi left | 21:14 |
| → muelleme joined | 21:14 |
| ← fmgt left | 21:16 |
| → msp301 joined | 21:16 |
| → luist joined | 21:17 |
| ← shabius left | 21:17 |
| ← eh3 left | 21:17 |
| ← muelleme left | 21:19 |
| → shabius joined | 21:19 |
| ← jhaenchen left | 21:19 |
| ← physikoi left | 21:20 |
| → labh joined | 21:21 |
| ← cybrNaut left | 21:23 |
| → cfoch joined | 21:23 |
| ← shabius left | 21:25 |
| ← jnavila left | 21:25 |
| → NeUx joined | 21:27 |
| ← ocds left | 21:29 |
| ← Es0teric left | 21:31 |
| → btree joined | 21:34 |
| ← Neo4 left | 21:34 |
| ← greggerz left | 21:37 |
| ← btree left | 21:37 |
| → Have-Quick joined | 21:40 |
| → shabius joined | 21:40 |
| ← amirpro left | 21:40 |
| ← Alystair left | 21:42 |
| → average joined | 21:42 |
| → mSSM joined | 21:43 |
| ← venmx left | 21:44 |
|
average
| how do I throw away all commit history except for the latest? | 21:44 |
|
| but like, not just the history, but also the refs, like all the data | 21:44 |
|
| basically I want to compact the entire history into one commit, but not just to see one commit in git-log, I actually want to throw away the history because I don't need it and I want the Git repo to be smaller | 21:44 |
| ← mrkake left | 21:44 |
| → physikoi joined | 21:44 |
| ← mSSM left | 21:45 |
|
leah2
| rm -rf .git; git init; git add .; git commit -m 'all in one' | 21:46 |
|
| ;) | 21:46 |
| → mikecmpbll joined | 21:46 |
| → cybrNaut joined | 21:47 |
|
average
| that's a bit more complicated because there's some unversioned files too and my .gitignores are not the best | 21:47 |
|
kilobyte
| clone --depth if you want to preserve the hash | 21:47 |
|
average
| kilobyte: interesting, so clone --depth i thought of that, it would be interesting to remove the remote too and then start over by a git-push | 21:47 |
| → mrkake joined | 21:47 |
|
average
| kilobyte: yeah, that's currently one option i would like to explore | 21:48 |
| ← jready left | 21:48 |
| → jready joined | 21:49 |
|
leah2
| git checkout --orphan new-master master | 21:49 |
|
kilobyte
| kind of pointless to have pointers to commits that don't exist ANYWHERE. What about rebasing everything, squashing into a single commit? | 21:49 |
|
leah2
| then remove all other refs and branches and gc? | 21:49 |
|
average
| leah2: that's interesting but i don't understand it | 21:50 |
|
| leah2: please explain | 21:50 |
|
| leah2: how does it work? | 21:50 |
|
leah2
| it makes a new branch without parent | 21:50 |
|
average
| also how do i remove all other refs? | 21:50 |
|
leah2
| but with contents of master | 21:50 |
| ← fission6 left | 21:50 |
| ← [Kid] left | 21:50 |
| ← physikoi left | 21:50 |
| → hph^ joined | 21:51 |
| ← shabius left | 21:51 |
|
leah2
| git branch -d ... and git tag -d | 21:51 |
| ← jready left | 21:53 |
| → physikoi joined | 21:54 |
| ← vdv left | 21:55 |
| ← Khisanth left | 21:56 |
| → TOB_CyxoB joined | 21:56 |
| ← nurdie left | 21:58 |
| ← physikoi left | 22:01 |
| ← CheckDavid left | 22:02 |
| ← ferdna left | 22:03 |
| gitinfo set mode: +v | 22:05 |
| → sz0 joined | 22:06 |
|
TOB_CyxoB
| Sooo, I have multiple branches with variations (one offs) of the same products, some are test branches with abandoned features on them etc... I'm trying to figure-out what set of changes is missing from a branch. I'm thinking of getting subject list (git log --format=%s) from all branches in chronological order and then run some sort of a bash merge that combines all the branch files into one super-set which I can compare to a specific branch | 22:06 |
| → dendazen joined | 22:06 |
|
TOB_CyxoB
| subject list. Short of writing such merger is there a bash command that will merge a super set of two files. Or perhaps there is a git trick that will do this??? Thanks! | 22:06 |
| → physikoi joined | 22:06 |
| ← paraxial left | 22:07 |
| → paraxial joined | 22:08 |
| ← PsychoBoB left | 22:08 |
|
rafasc
| what you described sounds like an octopus merge... | 22:09 |
|
TOB_CyxoB
| :) | 22:09 |
|
| seriously? I'll google that :) | 22:09 |
|
rafasc
| git can merge more than one branch. | 22:09 |
|
| git merge A B C D E... | 22:10 |
|
beefjoe
| why has github flipped | 22:10 |
|
rafasc
| beefjoe: ask #github | 22:10 |
|
TOB_CyxoB
| rafasc: management will decide what features go where, I don't want to merge it, just want to list what is available (if you know what I mean) :) | 22:11 |
| ← AndresInSpace left | 22:12 |
|
rafasc
| I don't. | 22:12 |
|
average
| how can I delete all the remote refs that are not in my local clone of a repository? | 22:12 |
| → Khisanth joined | 22:12 |
| ← bdonnahue left | 22:12 |
|
rafasc
| average: what do you mean by deleting all remote refs? | 22:13 |
|
| do you want to delete your local remote refs | 22:14 |
|
average
| like rsync --delete | 22:14 |
|
TOB_CyxoB
| rafasc: well some products are not compatible but main code base is the same, certain things have been tried/attempted on some versions of a product and not on the other thus technically there is a super set of features that you may not want on a specific product | 22:14 |
|
average
| rafasc: deleting the remote refs, not the local ones | 22:14 |
|
| rafasc: here's the scenario, imagine this | 22:14 |
|
| I have my local clone A, and my remote B | 22:14 |
|
| A was made by git clone --depth 1 (so just the latest commit from B) | 22:15 |
|
| now I want B to be exactly like A | 22:15 |
|
| how do I do that? | 22:15 |
| ← physikoi left | 22:15 |
|
tobiasvl
| pretty sure you need to unshallow A (make it equal to B in depth) and then squash all the commits together | 22:16 |
|
| and then force push to B | 22:16 |
|
| a shallow clone isn't actually squashed | 22:16 |
| → Copenhagen_Bram joined | 22:17 |
| ← BrAsS_mO- left | 22:17 |
| ← justanotheruser left | 22:18 |
| ← SCHAPiE left | 22:19 |
| → PettanShoutaKun joined | 22:20 |
|
PettanShoutaKun
| we have a repo that has like... been around forever... what commands should we/can we run to optimize it and stuff? | 22:21 |
|
average
| PettanShoutaKun: git gc | 22:21 |
|
| PettanShoutaKun: that's one way | 22:21 |
|
| PettanShoutaKun: but.. there's also the option to start removing commits, which is what I'm doing now for one of my repos | 22:22 |
|
Zarthus
| depends on what's in it. `git gc` would probably help, removal of big binaries in the history might. | 22:22 |
|
PettanShoutaKun
| what does git GC do? | 22:22 |
| ← Copenhagen_Bram left | 22:22 |
|
Zarthus
| garbage collect. man git-gc | 22:22 |
|
gitinfo
| the git-gc manpage is available at https://gitirc.eu/git-gc.html | 22:22 |
|
average
| git-gc would help you with your local clone being smaller but like.. | 22:22 |
| → bvtton joined | 22:22 |
|
PettanShoutaKun
| My big concern is we have a lot of tagged commits in master that relate to versions of our product we have released I wouldn't want to lose any of those | 22:23 |
|
average
| what you really want to do is to remove commits as well | 22:23 |
| ← LiftLeft left | 22:23 |
| → Copenhagen_Bram joined | 22:23 |
|
Zarthus
| You can backup the old repository and "deprecate it". | 22:23 |
|
| Start a new repository from a fresh range of commits | 22:23 |
|
PettanShoutaKun
| interesting idea | 22:24 |
|
| so for now should I just run git gc --agressive and push master? | 22:24 |
|
| you think that would do the trick? | 22:24 |
|
Zarthus
| no, git gc is only local. | 22:24 |
| → SCHAPiE joined | 22:24 |
| → amirpro joined | 22:24 |
|
PettanShoutaKun
| hmmm... so there's nothing I cean really do to make master/fresh checkouts better other than start a repo off of a base of commits? | 22:25 |
| ← kilobyte left | 22:25 |
|
Zarthus
| that's not the only solution we provided | 22:25 |
|
| but it is the easiest one | 22:25 |
|
PettanShoutaKun
| Well you said remove commits but I wouldn't know what to remove. I don't think we commit any binaries luckily. | 22:26 |
| → jready joined | 22:26 |
|
Zarthus
| I haven't really had issues with git performance for large repositories myself. | 22:26 |
| ← bvtton left | 22:26 |
|
Zarthus
| even just cloning git/git from github takes only a few seconds (~15) for me. | 22:27 |
| ← amirpro left | 22:27 |
|
PettanShoutaKun
| Really I just keep coming across Resolving deltas: 100% (74064/74064), done. fatal: fsync error on '.git/objects/pack/tmp_idx_of18ra': Bad file descriptor fatal: index-pack failed | 22:27 |
| ← diogenese left | 22:27 |
| → bvtton joined | 22:28 |
|
PettanShoutaKun
| I'm just wondering if making the repo smaller or more optimized or something can help this | 22:28 |
|
Zarthus
| maybe that should have been your opener :P | 22:28 |
|
PettanShoutaKun
| Probably | 22:28 |
|
Zarthus
| i imagine it would, but it doesn't fix the problem (just works around it) | 22:28 |
|
PettanShoutaKun
| I am in a weird situation though... because I am git checking out files through jenkins on a network file share... which makes me think any number of things could really be causing that <_> | 22:28 |
|
Zarthus
| what OS/fs are you on? | 22:28 |
|
PettanShoutaKun
| Windows | 22:28 |
|
Zarthus
| that _might_ be why | 22:29 |
|
PettanShoutaKun
| NTFS, but files are checked out onto a mapped network drive | 22:29 |
|
Zarthus
| i imagine someone committed a file that's not supported by your FS. e.g. both `Test` and `test` in the same directory (ntfs is case insensitive), or some illegal windows name | 22:29 |
|
PettanShoutaKun
| sadly all the build machines are windows... even though this particular build machine doesn't actually need to be a windows box | 22:30 |
|
Zarthus
| just theories though, could be any number of things. | 22:30 |
| → amirpro joined | 22:30 |
|
PettanShoutaKun
| npm also gets fsync errors occasionally | 22:30 |
| ← camsbury left | 22:30 |
| ← jready left | 22:30 |
| → camsbury joined | 22:31 |
| → BrAsS_mOnKeY joined | 22:32 |
| → nurdie joined | 22:33 |
|
PettanShoutaKun
| I thought maybe the drive was just butt but it's supposedly on a VM backed by an SSD | 22:33 |
| ← Rhvs left | 22:35 |
| ← camsbury left | 22:35 |
| → LiftLeft joined | 22:36 |
| → diogenese joined | 22:36 |
| → physikoi joined | 22:36 |
| → pfleck joined | 22:37 |
| ← bvtton left | 22:37 |
| ← nurdie left | 22:38 |
| ← boombatower left | 22:38 |
| → pwnz0r joined | 22:38 |
| ← TOB_CyxoB left | 22:40 |
| ← luist left | 22:41 |
| → Rhvs joined | 22:41 |
| ← physikoi left | 22:45 |
| ← phluks left | 22:51 |
| ← vrach left | 22:57 |
| → DaGoaty joined | 22:58 |
| ← labh left | 23:00 |
| ← Praxi left | 23:00 |
| → treehug88 joined | 23:02 |
| ← themiddleman left | 23:03 |
| → muelleme joined | 23:03 |
| ← finalbeta left | 23:04 |
| ← Khisanth left | 23:05 |
| ← KeyJoo left | 23:06 |
| ← pfleck left | 23:07 |
| ← muelleme left | 23:08 |
| → shabius joined | 23:09 |
| ← felixsanz left | 23:10 |
| → felixsanz joined | 23:12 |
| ← _ikke_ left | 23:13 |
| ← pwnz0r left | 23:14 |
| → pbrewczynski joined | 23:14 |
| ← James0r left | 23:16 |
| → James0r joined | 23:16 |
| → ferdna joined | 23:17 |
| → _ikke_ joined | 23:18 |
| → Khisanth joined | 23:18 |
| → fstd_ joined | 23:18 |
| → m0viefreak joined | 23:19 |
| ← James0r left | 23:21 |
| ← fstd left | 23:21 |
| fstd_ → fstd | 23:21 |
| ← xaxxon left | 23:23 |
| → z|bandito joined | 23:24 |
| → James0r joined | 23:25 |
| ← mattcen left | 23:25 |
| ← zbandito left | 23:26 |
| → noobineer joined | 23:27 |
| ← dege left | 23:27 |
|
dmc
| https://opensource.googleblog.com/2018/05/introducing-git-protocol-version-2.html | 23:28 |
| ← PettanShoutaKun left | 23:29 |
| → mattcen joined | 23:30 |
| → Atro_ joined | 23:31 |
| → justanotheruser joined | 23:31 |
| ← noobineer left | 23:32 |
| ← Atro left | 23:33 |
|
rafasc
| partial clones woohoo | 23:34 |
| ← _ikke_ left | 23:34 |
| → noobineer joined | 23:34 |
|
p14nd4
| does that incorporate some of microsoft's changes to make massive repos more usable? | 23:36 |
| ← inovas left | 23:37 |
| ← Copenhagen_Bram left | 23:37 |
| → Copenhagen_Bram joined | 23:38 |
| ← Have-Quick left | 23:38 |
| ← mikecmpbll left | 23:38 |
| → bdonnahue joined | 23:39 |
| → duderonomy joined | 23:41 |
| → Have-Quick joined | 23:42 |
| → inovas joined | 23:42 |
| ← James0r left | 23:42 |
| → _ikke_ joined | 23:42 |
| → mikecmpbll joined | 23:48 |
| → James0r joined | 23:50 |
| ← ryantrinkle left | 23:52 |
| ← applecrumble left | 23:54 |
| ← nitric_ left | 23:55 |