| 2019-08-18 |
| ← Crocodillian left | 00:00 |
| → Crocodillian joined | 00:00 |
| ← de-facto left | 00:01 |
| → de-facto joined | 00:01 |
| ← greatgatsby left | 00:02 |
| ← lacrymology left | 00:06 |
| → lacrymology joined | 00:07 |
| ← moo left | 00:13 |
| ← fphilipe_ left | 00:25 |
| → ElFerna joined | 00:32 |
| ← mowcat left | 00:37 |
| ← jubal left | 00:38 |
| qpdb → Guest40650 | 00:39 |
| → qpdb joined | 00:39 |
| → nly joined | 00:39 |
| → _ADN_ joined | 00:39 |
| ← atrigent left | 00:39 |
| ← ElFerna left | 00:39 |
| ← Guest40650 left | 00:41 |
| ← randomdude999 left | 00:47 |
| → ElFerna joined | 00:49 |
| ← nly left | 00:49 |
| ← thiago left | 00:50 |
| → fphilipe_ joined | 00:56 |
| ← _ADN_ left | 00:57 |
| → atrigent joined | 01:08 |
| ← courrier left | 01:10 |
| ← ryantrinkle left | 01:14 |
| → libertyprime joined | 01:17 |
| ← tufteddeer left | 01:27 |
| → tufteddeer joined | 01:28 |
| → ryantrinkle joined | 01:30 |
| ← tufteddeer left | 01:32 |
| ← fphilipe_ left | 01:32 |
| ← F0rTex left | 01:36 |
| → F0rTex joined | 01:37 |
| ← queip left | 01:43 |
| → tufteddeer joined | 01:44 |
|
rafasc
| _ikke_: are you around? | 01:46 |
|
| yesterday you mentioned that rm file; git restore file would not work. Are you sure about that? | 01:48 |
|
| Just tried and it seemed to work, maybe I misunderstood? | 01:48 |
| ← yyy left | 01:48 |
|
Hello71
| um... if git restore doesn't do that then it's named very badly | 01:49 |
| → kerframil joined | 01:49 |
| ← CryptoDavid left | 01:49 |
|
rafasc
| maybe his info was outdated. | 01:50 |
|
themill
| (if you don't have a new enough git then it won't work) | 01:50 |
|
rafasc
| if you don't have a new enough git you won't have restore at all, given it was added on recent 2.23 | 01:51 |
| → dansan_ joined | 01:54 |
|
themill
| indeed | 01:54 |
| ← dansan left | 01:54 |
| ← AtumT left | 01:56 |
| → n000g joined | 01:57 |
|
rafasc
| I think I like the two new commands. | 01:58 |
|
| switch --orphan is really nice for those dealing with orphan branches. Farewell `git read-tree --empty` | 01:59 |
| ← surfist left | 02:00 |
| → surfist joined | 02:00 |
| → queip joined | 02:01 |
| ← fructose left | 02:03 |
| ← n3wborn left | 02:04 |
| → fphilipe_ joined | 02:07 |
| ← ElFerna left | 02:08 |
| ← n000g left | 02:11 |
| → fructose joined | 02:12 |
| → beastDiv_ joined | 02:26 |
| ← Cabanossi left | 02:30 |
| → Cabanossi joined | 02:34 |
| dansan_ → dansan | 02:38 |
| ← random_yanek left | 02:39 |
| → R2robot joined | 02:40 |
| ← fphilipe_ left | 02:42 |
| ← oatmealraisin left | 02:45 |
| ← R2robot left | 02:45 |
| → R2robot joined | 02:46 |
| → random_yanek joined | 02:47 |
| lagothrix → Guest51980 | 02:47 |
| ← Guest51980 left | 02:47 |
| → lagothrix joined | 02:47 |
| ← libertyprime left | 02:50 |
| ← R2robot left | 02:51 |
| → JeffH joined | 03:09 |
| → R2robot joined | 03:13 |
| → fphilipe_ joined | 03:15 |
| ← Wetmelon left | 03:17 |
| ← JeffH left | 03:27 |
| ← isan left | 03:32 |
| → libertyprime joined | 03:32 |
| ← diogenese left | 03:37 |
| ← libertyprime left | 03:37 |
| ← dopie left | 03:43 |
| ← fphilipe_ left | 03:51 |
| justanotheruser → justanotherchad | 03:51 |
| ← freeman42y left | 03:52 |
| ← beastDiv_ left | 03:56 |
| ← smccarthy left | 03:59 |
| → _xor joined | 04:03 |
| ← dviola left | 04:04 |
| ← kiki_lamb left | 04:08 |
| → beastDiv_ joined | 04:12 |
| → Dirak joined | 04:13 |
| ← deltam_ left | 04:18 |
|
Oleg_
| if I don't know which files/directories were altered/removed, I can simply type git checkout master -- * ? | 04:20 |
|
| with the * sign at the end? | 04:20 |
| → omnireq joined | 04:20 |
| → kiki_lamb joined | 04:21 |
|
Oleg_
| okay, it didn't work | 04:24 |
| → deltam_ joined | 04:25 |
| ← Karyon left | 04:26 |
| → fphilipe_ joined | 04:27 |
|
Oleg_
| maybe git reset --hard HEAD will work | 04:27 |
| → freeman42x joined | 04:27 |
|
rafasc
| Oleg_: do you want to discard changes? | 04:29 |
|
Oleg_
| I want to ignore my own changes | 04:29 |
|
rafasc
| then reset --hard; should work. | 04:29 |
| → Karyon joined | 04:30 |
| ← batrick left | 04:33 |
| → batrick joined | 04:35 |
| ← netj left | 04:43 |
| → netj joined | 04:48 |
| ← beastDiv_ left | 04:56 |
| ← Dirak left | 05:00 |
| → pks_ joined | 05:02 |
| ← pks left | 05:03 |
| pks_ → pks | 05:03 |
| ← fphilipe_ left | 05:05 |
| ← yonder left | 05:06 |
| ← netj left | 05:10 |
| → diogenese joined | 05:13 |
| → netj joined | 05:17 |
| ← netj left | 05:20 |
| → Dirak joined | 05:21 |
| → thiago joined | 05:25 |
| → beastDiv_ joined | 05:26 |
| → Phylock joined | 05:26 |
| → jubal joined | 05:33 |
| → fphilipe_ joined | 05:33 |
| ← thiago left | 05:35 |
| → libertyprime joined | 05:35 |
| ← scottj left | 05:40 |
| ← libertyprime left | 05:42 |
| ← orbyt_ left | 05:53 |
| ← xcm left | 06:00 |
| → g00s joined | 06:00 |
| → xcm joined | 06:00 |
| → pyfgcr joined | 06:05 |
| ← pyfgcr left | 06:07 |
| ← fphilipe_ left | 06:10 |
| → malina joined | 06:11 |
| ← atrigent left | 06:11 |
| → n3wborn joined | 06:12 |
| → fphilipe_ joined | 06:15 |
| ← malina left | 06:27 |
| ← nullniverse left | 06:32 |
| → malina joined | 06:33 |
| ← Dirak left | 06:39 |
| ← tufteddeer left | 06:53 |
| → tufteddeer joined | 06:55 |
| ← kezimo left | 06:55 |
| ← cd left | 06:55 |
| ← Milos left | 06:58 |
| ← tufteddeer left | 07:00 |
| → kezimo joined | 07:01 |
| ← Goplat left | 07:02 |
| ← g00s left | 07:02 |
| → tufteddeer joined | 07:03 |
| → Milos joined | 07:06 |
| → igemnace joined | 07:06 |
| → dartmouthed joined | 07:15 |
| → g00s joined | 07:16 |
| ← fphilipe_ left | 07:19 |
| ← igemnace left | 07:24 |
| ← Nickeeh_ left | 07:25 |
| ← rkta left | 07:25 |
| → rkta joined | 07:26 |
| → Nickeeh joined | 07:26 |
| → igemnace joined | 07:28 |
| → howdoi joined | 07:29 |
| ← mojisun left | 07:29 |
| → mojisun joined | 07:30 |
|
_ikke_
| rafasc: It would not restore any uncomitted changes | 07:33 |
| → alfredb joined | 07:34 |
| ← justanotherchad left | 07:34 |
| → locrian9 joined | 07:36 |
|
rafasc
| ah... well... no miracles. You would need something like a hook that added the changes to an index on file modification or something. | 07:36 |
| → cdown joined | 07:43 |
| → locrian9_ joined | 07:47 |
| → Mattiaslndstrm joined | 07:47 |
| ← locrian9 left | 07:48 |
| → liberiga joined | 07:50 |
| → veegee_ joined | 07:51 |
| ← veegee left | 07:52 |
| → TomTom joined | 07:59 |
| ← cdown left | 08:03 |
| → bluesmonk joined | 08:14 |
| → Dirak joined | 08:14 |
| ← Mattiaslndstrm left | 08:19 |
| → Mattiaslndstrm joined | 08:25 |
| ← causa_sui left | 08:28 |
| ← Dirak left | 08:29 |
| → feriman joined | 08:30 |
| ← liberiga left | 08:33 |
| → mase-tech joined | 08:37 |
| ← alfredb left | 08:38 |
| ← kerframil left | 08:39 |
| → plexigras joined | 08:42 |
| → wildermind joined | 08:47 |
| ← igemnace left | 08:56 |
| → fstd joined | 08:56 |
| → causa_sui joined | 08:56 |
| ← rafasc left | 09:01 |
| ← beastDiv_ left | 09:01 |
| ← is_null left | 09:03 |
| → _ADN_ joined | 09:06 |
| ← g00s left | 09:08 |
| → fphilipe_ joined | 09:08 |
| → Bobguy joined | 09:10 |
| ← Bobdude left | 09:12 |
| → beastDiv_ joined | 09:12 |
| ← fphilipe_ left | 09:14 |
| ← Mattiaslndstrm left | 09:19 |
| ← zamba left | 09:20 |
| → zamba joined | 09:22 |
| ← locrian9_ left | 09:26 |
| → Cork joined | 09:27 |
| → fphilipe_ joined | 09:42 |
| → randomdude999 joined | 09:45 |
| deltam_ → deltam | 09:48 |
| → lalilulelo joined | 09:50 |
| ← queip left | 09:52 |
| → xelxebar_ joined | 09:56 |
| ← xelxebar left | 09:56 |
| → justanotheruser joined | 09:56 |
| → queip joined | 09:59 |
| ← catsup left | 10:02 |
| → catsup joined | 10:03 |
| → hcit joined | 10:07 |
| → Lucas_Gray joined | 10:10 |
| ← fphilipe_ left | 10:17 |
| ← Bobguy left | 10:19 |
| ← queip left | 10:24 |
| → courrier joined | 10:28 |
| ← randomdude999 left | 10:31 |
| → randomdude999 joined | 10:32 |
| → queip joined | 10:37 |
| → Bobguy joined | 10:39 |
| ← Nokurn left | 10:42 |
| → Nokurn joined | 10:43 |
| → learningc joined | 10:44 |
| ← Bobguy left | 10:54 |
| ← queip left | 10:55 |
| → Anticom joined | 10:57 |
| → craigo joined | 11:00 |
| → greatgatsby joined | 11:06 |
| ← Lucas_Gray left | 11:07 |
| ← feriman left | 11:10 |
| → queip joined | 11:13 |
| → tombusby joined | 11:13 |
| → tiggster79 joined | 11:14 |
| ← lacrymology left | 11:22 |
| → lacrymology joined | 11:22 |
| ← gxt left | 11:23 |
| ← queip left | 11:25 |
| ← plexigras left | 11:28 |
| ← beastDiv_ left | 11:29 |
| → hays_ joined | 11:30 |
| ← hays left | 11:31 |
| ← wildlander left | 11:33 |
| ← lacrymology left | 11:33 |
| ← wildermind left | 11:35 |
| → plexigras joined | 11:43 |
| → Lucas_Gray joined | 11:44 |
| → queip joined | 11:45 |
| → beastDiv_ joined | 11:48 |
| ← Anticom left | 11:51 |
| ← bertschneider__ left | 11:54 |
| ← plexigras left | 11:55 |
| ← courrier left | 11:55 |
| → jtmusky joined | 12:00 |
| ← causa_sui left | 12:02 |
| ← jtmusky__ left | 12:03 |
| ← bluesmonk left | 12:10 |
| → bluesmonk joined | 12:11 |
| ← vishal left | 12:12 |
| → zaherdirkey joined | 12:12 |
| ← bachler left | 12:12 |
| ← hqdruxn08 left | 12:12 |
| → fphilipe_ joined | 12:13 |
| → czart joined | 12:13 |
| → bachler joined | 12:13 |
|
zaherdirkey
| is there authenticated server for git, not http or ssh can use it?, i wont to open ssh port (22) to public | 12:14 |
| ← Lucas_Gray left | 12:14 |
| → vishal joined | 12:14 |
| → hqdruxn08 joined | 12:16 |
|
bremner
| zaherdirkey: afaik, https and ssh are the two options. You can run ssh on a different port if you want (although I'm not sure that provides much real security) | 12:16 |
|
zaherdirkey
| yes for security i wont to make ssh public, i will fall into https, but that force me to install webserver | 12:17 |
|
bremner
| I doubt very much that installing a web server will be more secure than an ssh server | 12:18 |
| → malmalmal joined | 12:18 |
| ← malmalmal left | 12:18 |
|
bremner
| but, *shrug*, I'm not your security consultant. | 12:18 |
|
_ikke_
| a webserver doesn't generally give you a shell on the host server | 12:19 |
| ← kezimo left | 12:19 |
| ← learningc left | 12:20 |
| → learningc joined | 12:20 |
|
bremner
| true enough. | 12:20 |
|
| there still seems to be a fair number of CVEs in most webservers. | 12:21 |
| ← queip left | 12:22 |
| → AtumT joined | 12:22 |
| → Inline joined | 12:23 |
|
bremner
| anyway, are there any other sane choices than ssh and https? | 12:24 |
|
_ikke_
| afaik those are the only options if you want to give write access | 12:25 |
|
| read-only, you have git daemon as well | 12:25 |
| ← n3wborn left | 12:31 |
| ← q-u-a-n left | 12:34 |
| → sainathvd joined | 12:34 |
| → thefatma joined | 12:38 |
| → queip joined | 12:39 |
| → kezimo joined | 12:44 |
| ← fphilipe_ left | 12:46 |
| → tchan joined | 12:47 |
| → isan joined | 12:49 |
| ← mojisun left | 12:52 |
| → igemnace joined | 13:04 |
| ← isan left | 13:06 |
| ← d1b left | 13:07 |
| → d1b joined | 13:08 |
| → mowcat joined | 13:10 |
| ← queip left | 13:17 |
| → fphilipe_ joined | 13:19 |
| ← sainathvd left | 13:22 |
| ← thefatma left | 13:22 |
| ← malina left | 13:26 |
| ← czart left | 13:29 |
| → caskd joined | 13:31 |
| → queip joined | 13:35 |
| ← greatgatsby left | 13:36 |
| ← cbreak left | 13:39 |
| → cbreak joined | 13:40 |
| ← Milijus left | 13:41 |
| → isan joined | 13:41 |
| ← isan left | 13:43 |
| ← igemnace left | 13:44 |
| → igemnace joined | 13:45 |
| ← caskd left | 13:46 |
| → malmalmal joined | 13:47 |
| → isan joined | 13:50 |
| → sainathvd joined | 13:53 |
| ← fphilipe_ left | 13:54 |
| → clime joined | 14:01 |
| ← howdoi left | 14:05 |
| → inkbottle joined | 14:07 |
| ← Karyon left | 14:08 |
| ← malmalmal left | 14:09 |
| → Karyon joined | 14:11 |
| → malmalmal joined | 14:14 |
| ← kezimo left | 14:18 |
| → lucasb joined | 14:22 |
| ← Cabanossi left | 14:23 |
| → gxt joined | 14:24 |
| → fphilipe_ joined | 14:26 |
| ← queip left | 14:28 |
| ← igemnace left | 14:32 |
| → wootehfoot joined | 14:34 |
| → CryptoDavid joined | 14:35 |
| → Cabanossi joined | 14:35 |
| → queip joined | 14:38 |
| → igemnace joined | 14:45 |
| → Lucas_Gray joined | 14:49 |
| → Karyon_ joined | 14:55 |
| ← khisanth_ left | 14:55 |
| ← Karyon left | 14:57 |
| → dawidc joined | 14:57 |
| Karyon_ → Karyon | 14:58 |
| ← fphilipe_ left | 14:59 |
| ← styler2go left | 15:00 |
| ← mase-tech left | 15:01 |
| ← queip left | 15:02 |
| → storrgie joined | 15:05 |
| ← TomTom left | 15:08 |
| → khisanth_ joined | 15:08 |
| ← gxt left | 15:09 |
| → thiago joined | 15:11 |
| → kp__ joined | 15:14 |
| → paws_ joined | 15:17 |
| → ryanff joined | 15:18 |
| → azwieg103 joined | 15:26 |
| → queip joined | 15:26 |
| ← isan left | 15:27 |
| → isan joined | 15:29 |
| → savolla joined | 15:32 |
| → nowhereman joined | 15:33 |
| ← zaherdirkey left | 15:37 |
| ← isan left | 15:43 |
| → isan joined | 15:45 |
| ← tiggster79 left | 15:47 |
| ← beastDiv_ left | 15:48 |
| → causa_sui joined | 15:59 |
| ← clime left | 16:00 |
| ← crose left | 16:00 |
| ← mingdao left | 16:00 |
| ← savolla left | 16:01 |
| → mingdao joined | 16:01 |
| ← Phylock left | 16:07 |
| → Es0teric joined | 16:11 |
| ← isan left | 16:13 |
| → isan joined | 16:15 |
| ← Es0teric left | 16:15 |
| → cdown joined | 16:18 |
| ← pks left | 16:19 |
|
cbreak
| bremner: there's dumb https | 16:19 |
|
| and "smart" https | 16:19 |
|
| with different requirements | 16:19 |
| → rafasc joined | 16:19 |
|
cbreak
| I'd expect SSH security to be superior to anything web servers can offer though | 16:20 |
|
bremner
| I guess you could argue that dump https is more secure, since it doesn't need CGI? | 16:20 |
|
cbreak
| yeah | 16:21 |
|
| less features is probably safer | 16:21 |
|
| bremner: and you can hide it behind some proxy / load balancer easier | 16:21 |
| → beastDiv_ joined | 16:23 |
| → pks joined | 16:28 |
|
thiago
| SSH key based authentication is superior to password authentication | 16:29 |
|
| But that doesn't mean the whole setup is better, since the user may have an unencrypted private key file | 16:29 |
|
bremner
| sure. they may also use their username as a password ;) | 16:30 |
|
thiago
| the other drawback of https is whether you've got the weak ciphers turned off | 16:30 |
| ← wootehfoot left | 16:32 |
|
cbreak
| tls 1.3 or no connection | 16:32 |
|
thiago
| I can't even test if github.com has RC4 since my OpenSSL does not | 16:33 |
| → Goplat joined | 16:34 |
| ← skered left | 16:35 |
|
cbreak
| thiago: https://www.ssllabs.com/ssltest/analyze.html?d=github.com | 16:35 |
| → skered joined | 16:37 |
| ← kfoonamalik left | 16:37 |
|
justanotheruser
| is there a way to ignore /src/doc/foo.pdf if /src/doc/foo.org exists? I don't want to commit pdf files generated from org files, but I *do* want to commit all other pdf files | 16:40 |
| ← shabius left | 16:40 |
|
_ikke_
| justanotheruser: git has no mechanism for this | 16:40 |
|
justanotheruser
| ok thanks | 16:40 |
|
| I guess I could make it publish to /src/doc/generated/foo.pdf and ignore */autogenerated/* | 16:41 |
| ← malmalmal left | 16:42 |
| → malmalmal joined | 16:42 |
| → greatgatsby joined | 16:43 |
| ← lupine left | 16:44 |
| → lupine joined | 16:45 |
| ← queip left | 16:45 |
| ← malmalmal left | 16:52 |
| → atrigent joined | 16:53 |
| → malmalmal joined | 16:55 |
| ← malmalmal left | 16:55 |
| → malmalmal joined | 16:57 |
| ← malmalmal left | 16:57 |
| → fphilipe_ joined | 16:57 |
| → queip joined | 17:00 |
| → clime joined | 17:01 |
| ← sainathvd left | 17:01 |
| ← queip left | 17:05 |
| ← macroprep left | 17:06 |
| → malmalmal joined | 17:06 |
| ← greatgatsby left | 17:11 |
| → plongshot joined | 17:11 |
| → queip joined | 17:13 |
| ← plongshot left | 17:18 |
| ← Lucas_Gray left | 17:18 |
| → Bobdude joined | 17:18 |
| ← malmalmal left | 17:19 |
| ← clime left | 17:19 |
| ← cdown left | 17:21 |
| ← F0rTex left | 17:22 |
| → kerframil joined | 17:27 |
| → Lucas_Gray joined | 17:28 |
| → Newami joined | 17:29 |
| ← BrianBlaze left | 17:29 |
| → orbyt_ joined | 17:29 |
| ← fphilipe_ left | 17:30 |
| → cd joined | 17:32 |
| ← kerframil left | 17:33 |
| ← Xiti left | 17:34 |
| → yyy joined | 17:35 |
| ← Lucas_Gray left | 17:36 |
| → BrianBlaze joined | 17:37 |
| → Xiti joined | 17:38 |
| ← tufteddeer left | 17:45 |
| → tufteddeer joined | 17:46 |
| → jil joined | 17:46 |
|
jil
| hello | 17:46 |
|
_ikke_
| o/ | 17:46 |
| ← bluesmonk left | 17:47 |
|
jil
| I'm trying to diff a foo.baz with biz.fip from a previsou commit using magit short cuts (in emacs). I think I am stuck because I don't well know how to give the biz.fip path when asked for a range. | 17:48 |
| → kezimo joined | 17:48 |
|
jil
| can range point to specific files ? | 17:48 |
| ← queip left | 17:48 |
|
_ikke_
| diff doess not work with renges | 17:49 |
|
moritz
| diff -u <(git show commit1:file1) <(git show commit2:file2) | 17:49 |
|
_ikke_
| no need to use external diff | 17:50 |
|
| git diff commit:file1 commit2:file2 | 17:50 |
| → kerframil joined | 17:51 |
| ← jcbitter left | 17:52 |
| → jcbitter joined | 17:53 |
| → Superfox_il_volp joined | 17:55 |
| → wildlander joined | 17:55 |
|
Superfox_il_volp
| dear folks, any idea how to set sqldiff as diff tool in the configuration for *.sqlite3 files? | 17:55 |
|
jil
| yes _ikke_ but I was hopping for a magit shortcut. The easiest seems the cmd line. Thank you | 17:56 |
|
_ikke_
| I'm not familiar with magit, so I cannot help you there | 17:56 |
|
| Superfox_il_volp: first, set diff.<driver>.command (see man git config | 17:57 |
|
gitinfo
| Superfox_il_volp: the git-config manpage is available at https://gitirc.eu/git-config.html | 17:57 |
|
_ikke_
| Superfox_il_volp: then, use man gitattributes to use this driver for sqlite3 files | 17:57 |
|
gitinfo
| Superfox_il_volp: the gitattributes manpage is available at https://gitirc.eu/gitattributes.html | 17:57 |
| ← sgn left | 17:57 |
| → fphilipe_ joined | 17:58 |
|
Superfox_il_volp
| so I'm actually lost looking into this documentation. Whta is the driver? | 17:58 |
|
| is it the ID in .gitattributes: *.sqlite3 diff=mydriver ? | 17:58 |
|
_ikke_
| yes | 17:58 |
| → Dirak joined | 17:59 |
| ← jcbitter left | 17:59 |
| → macroprep joined | 17:59 |
| → sgn joined | 17:59 |
| → jcbitter joined | 18:00 |
|
Superfox_il_volp
| ok so, I've a hook to compress/decompress the sqlite3 on commit/retrieval, so I have set diff.mydriver.textconv to decompress a *.sqlite3 database in case | 18:01 |
|
| right now I'm stuck because git diff now performs an ASCII comparison between the two sqlite3 in binary | 18:01 |
| ← tufteddeer left | 18:02 |
|
Superfox_il_volp
| I wonder whether there is another entry to tell git to use sqldiff to run the final diff | 18:03 |
|
| *entry in the config | 18:03 |
| → tufteddeer joined | 18:04 |
| ← jcbitter left | 18:05 |
| → clime joined | 18:05 |
| → jcbitter joined | 18:06 |
| ← jcbitter left | 18:11 |
| → jcbitter joined | 18:13 |
| → queip joined | 18:14 |
| → wreed joined | 18:20 |
| → yyy- joined | 18:21 |
| ← yyy- left | 18:21 |
| ← kezimo left | 18:23 |
| ← atrigent left | 18:25 |
| ← jil left | 18:26 |
| ← causa_sui left | 18:29 |
| → dviola joined | 18:29 |
| ← Dirak left | 18:29 |
| ← beastDiv_ left | 18:30 |
| ← moldybits left | 18:32 |
| → moldybits joined | 18:32 |
| ← fphilipe_ left | 18:34 |
| ← nowhereman left | 18:36 |
| → yonder joined | 18:37 |
| → nowhereman joined | 18:38 |
| ← moldybits left | 18:38 |
| → moldybits joined | 18:38 |
| ← maxel left | 18:38 |
| → fphilipe_ joined | 18:39 |
| → armyriad joined | 18:40 |
| ← queip left | 18:42 |
| ← fphilipe_ left | 18:44 |
| ← wreed left | 18:47 |
| ← clime left | 18:49 |
| → clime joined | 18:57 |
| ← nowhereman left | 18:57 |
| → atrigent joined | 18:58 |
| → ferdna joined | 18:59 |
| ← isan left | 19:00 |
| → queip joined | 19:02 |
| ← shored left | 19:02 |
| → shored joined | 19:02 |
| → isan joined | 19:03 |
|
rafasc
| Superfox_il_volp: textconv is doing exactly what is says, converting something to text so you can text-diff it. | 19:07 |
| → ldh_ joined | 19:07 |
|
rafasc
| Superfox_il_volp: if you want it to run sqldiff, you need to configure it as a external diff driver | 19:08 |
|
| as in: configure diff.mydriver.command <some cmd> | 19:09 |
|
ldh_
| I'm having trouble using a submodule. I've got a .gitmodules file (https://gist.github.com/lhanson/dd67f8ecf2f45b4217a75c6288c4ca2c), and I clone the parent repo. `git submodule update` doesn't do anything. | 19:10 |
|
_ikke_
| git submodule update --init --recursive | 19:10 |
| → Mattiaslndstrm joined | 19:10 |
|
ldh_
| also does nothing | 19:10 |
|
| returns 0 status code, the subdirectory isn't created, the module isn't cloned | 19:11 |
|
| git version 2.22.1 | 19:11 |
|
_ikke_
| git ls-tree HEAD path/to/dir | 19:11 |
| ← shored left | 19:11 |
| → shored joined | 19:11 |
|
ldh_
| git ls-tree libs/iniparser gives "fatal: Not a valid object name libs/iniparser" | 19:12 |
|
_ikke_
| and iniparser is a directory? | 19:12 |
|
| apparently, at least for the commit you are on, that directory is not tracked by git (git does not know it's a submodule) | 19:13 |
|
ldh_
| So I need to check in an empty directory for git to clone into it? | 19:13 |
|
_ikke_
| no | 19:13 |
|
| You need to add it as an actual submodule | 19:13 |
|
| git submodule add http://github.com/ndevilla/iniparser.git libs/iniparser | 19:14 |
|
ldh_
| So my parent repo needs to check in the submodule's files, and then git uses the fact that it exists in .gitmodules to pull from it as needed? | 19:16 |
|
_ikke_
| It only tracks the parent directory (libs/iniparser) with a note that it's a submodule | 19:17 |
|
| Then it uses the .gitmodules file to find out where to find the repository | 19:17 |
| → fphilipe_ joined | 19:17 |
|
ldh_
| Aha, makes sense now, that's what I was missing. Thanks a bunch. | 19:18 |
| → im0nde_ joined | 19:22 |
| ← Mattiaslndstrm left | 19:22 |
| → fethio joined | 19:23 |
| ← im0nde1 left | 19:24 |
| → plexigras joined | 19:24 |
| → savolla joined | 19:27 |
| → kezimo joined | 19:27 |
| → orjan78 joined | 19:30 |
| → greatgatsby joined | 19:31 |
|
orjan78
| Hi, I'm new here. Can I ask questions about Git Bash on Windows here? | 19:33 |
|
_ikke_
| you can, but not everyone is capable of helping though | 19:34 |
|
orjan78
| i'll give it a try :) | 19:36 |
| → cutecycle joined | 19:36 |
|
cutecycle
| given it's not recommended to put git inside dropbox/syncthing/something like that, what would be the best way to have automatic synchronization of a git repo (say, without you manually commit/pushing)? a separate sync branch with inotifywatch doing a commit/push? | 19:38 |
| ← fethio left | 19:38 |
|
bremner
| automatic commits don't make sense for software developement projects. They might for other things. | 19:39 |
|
_ikke_
| cutecycle: inotifywait + rsync | 19:39 |
| ← azwieg103 left | 19:39 |
|
_ikke_
| no git involved | 19:39 |
|
| cutecycle: that's what I use to sync files for development, before I commit things | 19:39 |
|
cutecycle
| thanks | 19:39 |
| ← mowcat left | 19:40 |
|
_ikke_
| syncronization is almost instant (depends on the latency to the remote end) | 19:40 |
|
orjan78
| I'm trying to generate a new SSH key using Git Bash (MINGW64) on Windows 7, using this command: ssh-keygen -t rsa -b 4096 -C "your_email@example.com" But it does not work. I expect to be able to type the name of the key file, but what I get is either "Generating public/private rsa key pair", then I get a prompt, OR it give me "Enter file in whic | 19:41 |
|
| h to save the key (c///.ssh/id_rsa)", but immediately jumps to new line/prompt. I'm basically not able to provide user input, as it just gives me a new prompt. Any idea? | 19:41 |
|
cutecycle
| bremner: philosophically speaking: what is the difference between a software development project and any other project where you would want automated synchronization (especially given many projects are now, in a way, software)? | 19:41 |
|
bremner
| in a software project, the history is work product | 19:41 |
|
| so, mostly, you don't want it to be meaningless crap | 19:41 |
|
cutecycle
| what about the period before you can manually write the history? | 19:42 |
|
bremner
| I don't understand the question | 19:42 |
|
cutecycle
| why aren't we always forcing manual commit and push for google docs | 19:42 |
| ← randomdude999 left | 19:42 |
| → randomdude999 joined | 19:42 |
| → oatmealraisin joined | 19:43 |
|
_ikke_
| Because it would be too much of a hassle for people | 19:43 |
|
| And the output is not interpreted by machines, so it does not have to be correct | 19:44 |
|
bremner
| otoh, I mainly use text files in git for document production | 19:45 |
| ← queip left | 19:45 |
|
bremner
| but yeah, that tends to be cases where precision matters. | 19:45 |
|
cutecycle
| I'd probably do that if I didn't need to do a manual push where I could forget or something could happen to the computer/to the power/etc... notable looks pretty nice | 19:45 |
| → Xiti` joined | 19:46 |
|
rafasc
| with Latex, or markup languages, you can have meaningfull diffs and history. With WYSIWYG editor, not as easy. | 19:46 |
|
foo
| Is there anything similar to github that allows for private code review? We're highly careful about where we put code and to date have nothing on Github and we're looking for a tool/process to help with code reviews between 4 of us. Thank you | 19:47 |
|
cutecycle
| gitlab? | 19:47 |
|
| you can host a private gitlab server | 19:47 |
|
rafasc
| gerrit | 19:47 |
|
foo
| cutecycle: thank you, will take a look. We currently host our git repos with gitolite. | 19:47 |
|
cutecycle
| there's AMIs and even a docker compose if you want to do that management | 19:47 |
| ← Xiti left | 19:50 |
| → queip joined | 19:52 |
| ← clime left | 19:55 |
| → fethio joined | 20:01 |
| ← _xor left | 20:01 |
| → _xor joined | 20:01 |
| ← queip left | 20:01 |
| → n000g joined | 20:02 |
| → hellauer joined | 20:04 |
| ← ferdna left | 20:04 |
| → queip joined | 20:08 |
| ← fphilipe_ left | 20:11 |
| ← isan left | 20:14 |
| ← orjan78 left | 20:14 |
| → isan joined | 20:18 |
| → bolovanos joined | 20:27 |
| → barteks2x joined | 20:28 |
| → rsrx joined | 20:29 |
| ← _ADN_ left | 20:32 |
| → _ADN_ joined | 20:33 |
| → shabius joined | 20:34 |
| ← isan left | 20:34 |
| ← fethio left | 20:35 |
| → isan joined | 20:35 |
| ← jcbitter left | 20:36 |
| → jcbitter joined | 20:37 |
| ← _ADN_ left | 20:37 |
| → fphilipe_ joined | 20:38 |
| → cdown joined | 20:39 |
| → Xizor joined | 20:41 |
| ← jcbitter left | 20:42 |
| → jcbitter joined | 20:44 |
| ← bolovanos left | 20:44 |
| ← paws_ left | 20:47 |
| ← jcbitter left | 20:49 |
|
Superfox_il_volp
| @rafasc I think I solved the issue with sqldiff | 20:49 |
|
| rafasc: the missing entry for me was diff.mydriver.command | 20:49 |
| im0nde_ → im0nde1 | 20:50 |
| → jcbitter joined | 20:50 |
|
Superfox_il_volp
| rafasc: however it needed a little wrapper as git passes 7 parameters | 20:50 |
|
rafasc
| yeah, that is explained at man git | 20:50 |
|
gitinfo
| the git manpage is available at https://gitirc.eu/git.html | 20:50 |
|
Superfox_il_volp
| I also set the diff.mydriver.binary = true but it's not clear what it does | 20:51 |
| → fethio joined | 20:51 |
| ← savolla left | 20:51 |
|
rafasc
| GIT_EXTERNAL_DIFF= cmd path old-file old-hex old-mode new-file new-hex new-mode | 20:51 |
|
Superfox_il_volp
| perhaps it's simply ignored when you already have a command specified | 20:51 |
| → SkarmoutsosV joined | 20:51 |
|
Superfox_il_volp
| at least for me also it wasn't clear how diff.mydriver.textconv and diff.mydriver.command are combined. It turns out that the first is executed, possibly for both old-file and new-file, before being passed to diff.mydriver.command. | 20:54 |
| → clime joined | 20:55 |
| ← jcbitter left | 20:55 |
|
rafasc
| if you are using the external driver, you probably don't want the textconv one. | 20:55 |
| → jcbitter joined | 20:56 |
| ← queip left | 20:58 |
| → bolovanos joined | 21:01 |
| ← jcbitter left | 21:02 |
| → jcbitter joined | 21:03 |
|
Superfox_il_volp
| rafasc: do you mean to implement the functionality of `textconv' inside the diff command? | 21:03 |
|
| I guess the input to diff would become having the database files still compressed | 21:04 |
| → Achylles joined | 21:04 |
| ← jcbitter left | 21:08 |
| → jcbitter joined | 21:09 |
| → malmalmal joined | 21:09 |
|
rafasc
| Superfox_il_volp: usually you should either use one or the other. Doesn't sqldiff already give you a diff-like output? | 21:10 |
| ← clime left | 21:10 |
|
Superfox_il_volp
| rafasc: the files are sql dumps compressed with gzip, so textconv merely decompress them and recreates the database from the dump, while sqldiff only acts on the final databases | 21:12 |
| ← Whiskey left | 21:12 |
| ← bolovanos left | 21:12 |
|
Superfox_il_volp
| there is also a smudge and clean filter to perform this compression/decompression | 21:12 |
| ← fphilipe_ left | 21:12 |
| → stux|RC-only joined | 21:13 |
|
rafasc
| why not just do it inside the cmdwrapper? | 21:15 |
|
| unless you're trying to take advantage of using --no-textconv and --no-extdiff to disable them on demand. | 21:16 |
| → n3wborn joined | 21:16 |
|
Superfox_il_volp
| which one is cmdwrapper? | 21:16 |
| → queip joined | 21:16 |
|
Superfox_il_volp
| do you mean to skip textconv and perform the decompression in diff.mydriver.command? | 21:17 |
|
rafasc
| that's what I meant. | 21:18 |
|
Superfox_il_volp
| cause I didn't know beforehand :-) | 21:18 |
|
rafasc
| although textconv has the ability to cache results... hmm.. | 21:19 |
| ← cdown left | 21:19 |
|
Superfox_il_volp
| any idea what diff.mydriver.binary = true is supposed to do? While trying I was not able to perceive any noticeable difference when enabling or disabling it. | 21:20 |
|
rafasc
| Does it still textconv if you set binary? | 21:20 |
|
Superfox_il_volp
| yes | 21:20 |
|
| ah right, the config for textconv caching I've not yet tried. I imagine it needs to be explicitly enabled | 21:22 |
| ← igemnace left | 21:23 |
|
rafasc
| binnary = -diff -merge -text | 21:23 |
|
| so not sure why textconv still applies.. | 21:23 |
| ← plexigras left | 21:24 |
| → gxt joined | 21:30 |
| → cdown joined | 21:32 |
| ← jcbitter left | 21:33 |
| → jcbitter joined | 21:34 |
| ← queip left | 21:36 |
| ← cdown left | 21:38 |
| ← mooasaurus left | 21:39 |
| → mooasaurus joined | 21:39 |
| ← jcbitter left | 21:39 |
| → jcbitter joined | 21:40 |
| → Lucas_Gray joined | 21:40 |
| ← barteks2x left | 21:41 |
| → queip joined | 21:45 |
| → duderonomy joined | 21:47 |
| ← sborza left | 21:49 |
| ← greatgatsby left | 21:50 |
| → sborza joined | 21:50 |
| ← randomdude999 left | 21:50 |
| → randomdude999_ joined | 21:50 |
| randomdude999_ → randomdude999 | 21:50 |
| → Whiskey joined | 21:51 |
| ← duderonomy left | 21:53 |
| ← dartmouthed left | 21:55 |
| ← Frobozz left | 21:56 |
| → clime joined | 22:01 |
| ← cognition left | 22:02 |
| → duderonomy joined | 22:03 |
| ← cim209 left | 22:04 |
| → cim209 joined | 22:05 |
| ← rigid left | 22:05 |
| → rigid joined | 22:05 |
| ← jtmusky left | 22:06 |
| → jtmusky joined | 22:07 |
| → Juzzika joined | 22:09 |
| ← shored left | 22:11 |
| → shored joined | 22:12 |
| ← queip left | 22:16 |
| ← learningc left | 22:21 |
| → Milijus joined | 22:23 |
| ← Cabanossi left | 22:23 |
| ← Milijus left | 22:23 |
| → bayman joined | 22:23 |
|
bayman
| how come when i run git status on local, it says Your branch is up to date with 'origin/master' when I added a file and pushed that to my repo from a different machine? | 22:26 |
|
nedbat
| bayman: because you haven't pull origin/master again. | 22:27 |
| ← duderonomy left | 22:27 |
|
nedbat
| bayman: locally, all git knows is to compare your local master and your local origin/master | 22:27 |
|
bayman
| how can I check if there has been a change on remote origin/master? | 22:28 |
|
nedbat
| bayman: the simplest thing is to just pull it | 22:28 |
| → _ADN_ joined | 22:33 |
| → queip joined | 22:35 |
| → Cabanossi joined | 22:36 |
| ← _ADN_ left | 22:38 |
| ← n000g left | 22:38 |
| ← malmalmal left | 22:38 |
| → n000g joined | 22:39 |
| → zmt00 joined | 22:42 |
|
rafasc
| fetch should be enough. | 22:42 |
| ← Inline left | 22:44 |
| ← AtumT left | 22:47 |
| ← SkarmoutsosV left | 22:48 |
|
rafasc
| Superfox_il_volp: One thing that was throwing me off, is that git log --patch doesn't use the external driver unless you ask it with --ext-diff. | 22:49 |
|
| Superfox_il_volp: but it does the --textconv by default. | 22:49 |
|
Superfox_il_volp
| is this because of the binary setting | 22:54 |
|
| ? | 22:54 |
| ← hellauer left | 22:54 |
| ← Atlenohen left | 22:54 |
| ← lalilulelo left | 22:54 |
| → Atlenohen joined | 22:55 |
| ← gxt left | 22:56 |
| ← yyy left | 23:00 |
| ← clime left | 23:01 |
| ← zmt00 left | 23:02 |
| ← Lucas_Gray left | 23:02 |
| ← bayman left | 23:05 |
| → fphilipe_ joined | 23:09 |
|
rafasc
| Superfox_il_volp: if you do *not* have a textconv configured, setting binary to true, git log will show Binary files a/read.me and b/read.me differ | 23:12 |
|
| I am not sure, but seems like having textconv set, is an implicit binary=false, because it assumes you are converting it to text. | 23:13 |
|
Superfox_il_volp
| so it sounds like the binary flag is to force the behaviour of git, if it doesn't correctly guess the file type | 23:14 |
|
| oky, I'm satisfied :-) thanks! | 23:14 |
|
| leaving, bye! | 23:15 |
| ← Superfox_il_volp left | 23:15 |
| ← rafasc left | 23:16 |
| ← kjartan left | 23:17 |
| → kjartan joined | 23:19 |
| → liberiga joined | 23:23 |
| → feriman joined | 23:24 |
| ← kp__ left | 23:27 |
| → Wulf4 joined | 23:30 |
| ← Wulf left | 23:34 |
| Wulf4 → Wulf | 23:34 |
| ← ChrisLane left | 23:34 |
| → ChrisLane joined | 23:36 |
| ← fphilipe_ left | 23:42 |
| → yyy joined | 23:45 |
| ← feriman left | 23:45 |
| ← Juzzika left | 23:46 |
| → ElFerna joined | 23:48 |
| ← n3wborn left | 23:49 |
| ← craigo left | 23:50 |
| ← silverwhitefish left | 23:59 |