IRCloggy #git 2023-05-09

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2023-05-09

mcrod joined00:07
xx left00:07
oriba left00:08
jinsun left00:10
zeenk left00:12
bn_work left00:16
Lord_of_Life left00:17
Lord_of_Life joined00:21
dax joined00:26
skapata joined00:29
dax left00:30
dax joined00:30
Rashad joined00:35
JanC left00:42
JanC joined00:42
jbg joined00:56
derpydoo joined00:58
Jong left01:04
moldorcoder7 left01:14
kilobyte_ch left01:16
cdown left01:16
cdown joined01:18
ThorMojito joined01:23
cdown left01:23
clime left01:28
kilobyte_ch joined01:29
Misotauros joined01:33
clime joined01:42
tachoknight left01:43
ThorMojito1 joined01:45
gsi joined01:49
ThorMojito left01:49
gsi_ left01:52
Xenguy joined01:52
vysn left01:53
bri left01:56
bloody left01:57
cbreak left02:01
bri joined02:02
Jck_true2 joined02:03
FinnElija left02:03
finn_elija joined02:03
finn_elijaFinnElija02:03
Jck_true left02:04
Jck_true2Jck_true02:04
roadie joined02:06
money left02:07
roadie left02:14
nate2 joined02:15
memset left02:17
memset joined02:18
farzat left02:18
vqueiroz joined02:18
roadie joined02:23
ThorMojito1 left02:25
roadie left02:27
ThorMojito joined02:28
farzat joined02:30
dreaded joined02:35
ThorMojito left02:40
mns joined02:40
terrorjack left02:42
rama_ left02:43
llh left02:43
terrorjack joined02:43
llh joined02:45
dsrt^ left02:48
dsrt^ joined02:49
derpydoo left02:51
nektro left02:58
juno__ joined03:15
nate2 left03:19
shailangsa joined03:21
Pseudocrat joined03:22
krushia left03:25
Rashad left03:27
tanyastopguy joined03:28
fling left03:28
kilobyte_ch left03:37
moldorcoder7 joined03:37
peas left03:40
Dragoon left03:41
kilobyte_ch joined03:51
stenno left03:52
Jong joined03:55
roadie joined03:57
roadie left04:08
sjoshi joined04:16
sjoshi left04:16
c0dehu1k left04:19
sjoshi joined04:22
kadoban[m] joined04:27
kadoban[m]kadobanana04:30
kadobanana left04:30
kadobanana joined04:31
Suchiman left04:31
kadobananaGuest16604:31
Guest166kadobanana04:32
kadobanana left04:32
Guest9199 joined04:32
YuGiOhJCJ joined04:32
Guest9199 left04:34
Guest9199 joined04:34
Guest9199kadobanana04:34
Pseudocrat left04:47
robik joined04:48
otisolsen70 joined04:51
jacobk joined04:59
roadie joined05:00
xeelad joined05:01
xeelad left05:02
Masklin left05:04
sa0 left05:08
bgs joined05:08
roadie left05:12
sa0 joined05:16
moldorcoder7 left05:21
roadie joined05:22
juno__ left05:28
zebrag[m] Combination of (device, inode number, modify time) identify a file content as certainly as a control sum? (from the output of stat)05:39
so if you have a table where the key is the triple device, inode, modify time. If nothing changed in the triple you are certain you don't have to compute again the control sum?05:41
I guess (file name, modify time) pair is not enough to correspond uniquely to a content05:42
but (inode, modify time) should be okay?05:43
roadie left05:44
thiago left05:45
zebrag[m] It's about some guy trying to use the script there https://askubuntu.com/questions/990495/update-md5-checksum-when-files-are-modified05:45
and I think it's a good idea but it's tricky to really have it right05:46
so I was wondering if device, inode, modify time was the right way to go05:46
bookworm you do realize this is #git, yes?05:47
zebrag[m] yes05:47
who else would precisely know when you have to compute again a sha? and when you can reuse the previous one05:48
osse #hg perhaps05:48
zebrag[m] yeah them too05:48
I was thinking maybe someone knows. Certainly Linus knows05:49
osse I was looking into this a couple of weeks ago in fact05:51
I can see if I can find it05:51
zebrag[m] If you find info about that, please ping me05:55
gsi gut feeling tells me that timestamps in filesystems "don't mean a thing" and you should not rely on them05:58
if you want to determine whether to update a cache, it could be as expensive as just updating the cache05:58
it's certainly more reliable to just do it instead of potentially doing it and getting it wrong05:58
osse zebrag[m]: this is the function that Git uses to determine if a file has changed on disk (compared to the index): https://github.com/git/git/blob/master/read-cache.c#L40005:59
eventually it checks stat()05:59
(Also, damn github's code browser thingy has become good)05:59
follow the logic into ce_match_stat_basic() and then match_stat_data()06:00
carl-- joined06:00
osse I don't know whether it's a 1:1 relationship between this function saying it's changed and Git recalculating the SHA1. Probably not since there's a lot of situation where git needs to know whether the file has changed but doesn't need to know the SHA1, e.g. git diff --name-only06:03
RiFo joined06:07
bgs left06:08
EvgenyK joined06:10
dtux_ left06:12
jbg left06:15
EvgenyK left06:16
EvgenyK joined06:18
jbg joined06:18
jacobk left06:34
rfuentess joined06:36
falafel joined06:36
falafel left06:39
falafel joined06:40
elastic_1 joined06:40
elastic_dog left06:40
elastic_1elastic_dog06:40
zebrag[m] gsi osse Thanks a lot, I'll look into that function asap, awesome. So you say github's code browser has become good, good to know too.06:40
sa0 left06:46
_sa0sin_ joined06:46
dionysus69 joined06:47
trivial_metaphys joined06:48
srinidhi joined06:56
han-solo joined06:57
stenno joined06:59
igemnace joined07:01
gblfxt left07:02
duxsco joined07:07
jacobk joined07:11
lgc joined07:11
lgc left07:12
EvgenyK left07:14
feriman joined07:15
nate2 joined07:16
EvgenyK joined07:18
mns left07:18
mns joined07:20
nate2 left07:21
srinidhi left07:21
mncheck joined07:26
Dragoon joined07:26
ccapndave joined07:27
Atque joined07:29
osfe_ joined07:30
zeenk joined07:31
xx joined07:33
Gary_Sinise1 joined07:34
Gary_Sinise left07:35
Gary_Sinise1Gary_Sinise07:35
skapata left07:40
farzat1 left07:47
DrowningElysium joined07:48
srinidhi joined07:50
iomari891 joined07:56
ghoti left07:57
skyl4rk left08:01
skyl4rk` joined08:01
osfe joined08:01
osfe_ left08:02
farzat1 joined08:03
duxsco left08:08
MajorBiscuit joined08:09
falafel left08:10
ccapndave left08:11
hans_ joined08:11
akimbo5334308470 left08:12
vdamewood joined08:13
MajorBiscuit left08:14
MajorBiscuit joined08:15
MajorBiscuit left08:19
zeenk left08:20
MajorBiscuit joined08:20
zeenk joined08:20
Masklin__Gurder joined08:24
Masklin__GurderMasklin08:24
pharonix71 left08:24
pharonix71 joined08:24
Masklin left08:31
srinidhi left08:31
Masklin__Gurder joined08:33
Masklin__GurderMasklin08:33
pharonix71 left08:35
teut joined08:36
pharonix71 joined08:37
mobidrop joined08:38
Betal left08:47
EvgenyK left08:51
srinidhi joined08:52
feep[work] joined08:54
feep[work] hi08:55
if I have a repo with two histories, only one of which precedes the branch I'm cloning, will it download the other history at all?08:55
the other history does have valid tags.. I guess that means yes?08:55
EvgenyK joined08:56
dani-g5x[m] left09:00
Gary_Sinise left09:00
EvgenyK left09:01
EvgenyK joined09:03
pharonix71 left09:07
pharonix71 joined09:07
chexum left09:17
chexum joined09:17
Feuermagier[m] left09:21
pharonix71 left09:28
pharonix71 joined09:28
EvgenyK left09:31
krumelmonster left09:32
feep[work] eh, not that important09:35
feep[work] left09:35
EvgenyK joined09:37
Jong left09:45
krumelmonster joined09:45
EvgenyK left09:45
plantroon left09:46
EvgenyK joined09:48
plantroon joined09:48
xx left09:49
srinidhi left09:56
EvgenyK left09:57
EvgenyK joined10:01
YuGiOhJCJ left10:02
zer0bitz_ joined10:05
zer0bitz left10:07
jacobk left10:08
Lunatrius left10:11
Lunatrius joined10:13
maroloccio joined10:16
akimbo5334308470 joined10:20
teut left10:23
teut joined10:27
EvgenyK left10:32
cdown joined10:33
maroloccio left10:34
EvgenyK joined10:36
clime left10:36
lemuria left10:42
EvgenyK left10:44
srinidhi joined10:45
clime joined10:47
EvgenyK joined10:47
fillx joined10:49
f_ joined10:50
f_ left10:50
f_ joined10:51
EvgenyK left10:52
EvgenyK joined10:53
DrowningElysium left10:58
EvgenyK left11:01
EvgenyK joined11:02
gurkenglas joined11:05
fling joined11:08
fillx left11:13
cdown left11:14
jbg left11:16
nate2 joined11:17
EvgenyK left11:22
nate2 left11:22
EvgenyK joined11:25
sqrrl joined11:30
f_ left11:31
gurkenglas left11:32
jaykelly450 joined11:32
selckin github broken?11:35
it is11:36
very_sneaky left11:36
gurkenglas joined11:39
shored left11:41
shored joined11:41
very_sneaky joined11:47
jbg joined11:53
R2robot https://www.githubstatus.com/11:58
wrong channel11:59
TomyWork joined12:01
bn_work joined12:03
aspirin joined12:16
xx joined12:17
moldorcoder7 joined12:25
rustyshackleford left12:27
hans_ left12:31
OMGOMG left12:34
OMGOMG joined12:34
relipse Is it possible to do git show hash (and ignore *.min.js files)12:36
they are taking up my diff12:36
osse git show -- . ':!*.min.js'12:37
jbg left12:41
ferdna joined12:43
feriman left12:44
relipse thanks osse12:46
ThorMojito joined12:51
grawity oh nice did they add a shorter alias to :(exclude)foo12:52
szkl joined12:52
osse afaik it's always been there12:52
ThorMojito1 joined12:54
ThorMojito2 joined12:57
teut left12:58
ThorMojito left12:58
ThorMojito1 left12:59
delay joined13:12
iffraff left13:12
ThorMojito joined13:13
srinidhi left13:14
Aryan left13:15
ThorMojito2 left13:16
dcunit3d left13:18
Xenguy left13:23
alexherbo2 joined13:26
pac1 joined13:26
pac1 left13:27
taupiqueur2 joined13:27
taupiqueur2 left13:29
taupiqueur1 left13:30
SuperLag left13:32
cdown joined13:35
srinidhi joined13:36
alexherbo2 left13:39
sqrrl left13:40
srinidhi left13:41
Aryan joined13:45
jbg joined13:46
crabbedhaloablut left13:47
R2robot left13:47
crabbedhaloablut joined13:47
teut joined13:50
feriman joined13:56
aspirin left13:57
maret joined14:03
thiago joined14:03
relipse anyone here use shopify?14:04
i have some questions14:04
bloody joined14:05
stenno relipse: this channel is about git14:05
npm_i_kurbus joined14:05
relipse I used the wrong channel. Can you please forgive me?14:06
selckin no, 50$ for everyone that read it14:06
stenno ez money14:06
rubbing my hands like birdman14:06
nona i'll also take a few benjamins, thanks14:07
duxsco joined14:07
GNUmoon2 left14:07
GNUmoon2 joined14:10
mncheck left14:13
maret_ joined14:14
ferdna left14:15
maret left14:17
stenno i wonder what the 'right channel' was14:17
Tlsx joined14:18
teut left14:21
SuperLag joined14:21
SuperLag left14:21
SuperLag joined14:21
mkosmo5 joined14:21
Tlsx left14:22
maret_ left14:23
dionysus69 left14:24
SuperLag left14:31
SuperLag joined14:32
SuperLag left14:32
SuperLag joined14:32
zer0bitz_ left14:35
f_ joined14:36
Rashad joined14:41
hamburgler joined14:43
zer0bitz joined14:45
rama_ joined14:53
zer0bitz left14:56
zer0bitz joined14:56
rama_ left14:57
RiFo left14:57
szkl left14:58
mncheck joined15:00
rustyshackleford joined15:02
RiFo joined15:03
jbg left15:03
memset left15:04
memset joined15:05
mjt0k left15:06
dviola joined15:09
rama_ joined15:10
so-offish joined15:14
rama_ left15:14
rama_ joined15:14
duxsco left15:17
nate2 joined15:19
nate2 left15:23
R2robot joined15:25
HoloIRCUser joined15:25
HoloIRCUser left15:27
gast0n joined15:32
ThorMojito left15:33
Tlsx joined15:33
duxsco joined15:34
money joined15:35
Tlsx left15:35
shnt joined15:36
maret joined15:37
mobidrop left15:41
maret left15:42
maret joined15:42
terminalpusher joined15:43
KimK_KimK15:45
maret left15:46
sunny93 joined15:50
sunny93 left15:51
sunny93 joined15:51
Rashad left15:52
maret joined15:54
maret left15:54
maret joined15:55
maret left15:58
lemuria joined15:59
lemuria left16:00
lemuria joined16:02
delay left16:04
jacobk joined16:10
Suchiman joined16:11
noord left16:12
duxsco left16:13
noord joined16:14
strk left16:15
weko left16:17
ThorMojito joined16:20
RiFo left16:21
ThorMojito left16:23
rfuentess left16:25
osfe left16:26
weko joined16:27
Ekho left16:27
zeenk left16:29
cfjk left16:30
cfjk joined16:31
vdamewood left16:32
macrover joined16:34
mexen joined16:36
vdamewood joined16:36
rama__ joined16:38
rama_ left16:41
teut joined16:45
liefer396 joined16:46
macrover left16:47
rama__ left16:52
rama_ joined16:53
juliadev left16:56
juliadev joined16:56
bgs joined16:58
ThorMojito joined16:58
TomyWork left17:00
humanface joined17:01
Guest9 joined17:03
Guest9 left17:04
vdamewood left17:05
vdamewood joined17:07
kexec joined17:09
Ekho joined17:16
cdown left17:19
cdown joined17:19
Jong joined17:21
hamburgler left17:23
shnt left17:24
jacobk left17:25
MajorBiscuit left17:25
Jong left17:27
Traneptora left17:30
jacobk joined17:32
jacobk left17:38
Narrat joined17:39
gas51627 joined17:40
han-solo left17:42
llh left17:43
vdamewood left17:44
vdamewood joined17:47
ThorMojito left17:48
skapata joined17:50
Tlsx joined17:52
pagnol joined17:57
pagnol Hi, I have a PR on Github and I must have done something wrong because some commits from the main branch now show up as being part of my branch17:58
on the PR page, I mean17:58
Tlsx left17:59
cbreak joined18:00
m0viefreak joined18:04
cdown left18:07
jacobk joined18:07
cdown joined18:07
Betal joined18:10
wootehfoot joined18:12
cdown left18:12
cdown joined18:12
llh joined18:20
jacobk left18:21
teut left18:25
Gary_Sinise joined18:25
cdown left18:25
dcunit3d joined18:26
npm_i_kurbus left18:27
npm_i_kurbus joined18:27
ThorMojito joined18:27
memset left18:29
memset joined18:30
f_ left18:32
kexec left18:33
iffraff joined18:33
iffraff Hi, is it possilble to do a git log -g for a range? e.g. master..mybranch?18:35
iomari891 left18:38
npm_i_kurbus left18:39
dcunit3d left18:39
npm_i_kurbus joined18:39
teut joined18:39
dcunit3d joined18:41
OolonColluphid left18:43
humanface left18:45
OolonColluphid joined18:46
humanface joined18:49
alexherbo2 joined18:54
teut left18:56
Inline joined18:59
OolonColluphid left19:06
OolonColluphid joined19:10
nate2 joined19:20
cdown joined19:22
Coop left19:23
humanface left19:23
nate2 left19:25
memset left19:31
memset joined19:32
terminalpusher left19:33
terminalpusher joined19:34
TheCatBehemoth joined19:35
npm_i_kurbus left19:40
ThorMojito left19:43
pagnol left19:43
npm_i_kurbus joined19:43
npm_i_kurbus left19:45
money left19:47
terminalpusher left19:50
terminalpusher joined19:51
Jong joined19:51
npm_i_kurbus joined19:52
duxsco joined19:52
npm_i_kurbus left19:55
skapata left19:56
memset left20:01
memset joined20:02
junebug joined20:03
coot left20:06
coot joined20:07
mexen left20:07
carl-- left20:07
feriman left20:13
zeenk joined20:13
humanface joined20:15
ThorMojito joined20:16
elastic_dog left20:16
dcunit3d left20:17
Jong left20:17
elastic_dog joined20:18
robik left20:26
otisolsen70 left20:30
money joined20:31
rundown joined20:32
defjam left20:32
warmana left20:32
PobodysNerfect_ left20:34
w4 left20:35
Jong joined20:39
ThorMojito left20:39
osse iffraff: That doesn't really make sense. log -g is the same as reflog.20:41
Or perhaps I misunderstand20:41
bywaterloo joined20:49
iffraff so you can do log -g myBranch, so I though maybe you could do git log -g master..mybranch which could get you all the reflog btween the two commits20:50
vysn joined20:50
igemnace left20:51
terminalpusher left20:55
terminalpusher joined20:56
mitrokov left20:57
elastic_dog left21:00
wootehfoot left21:01
elastic_dog joined21:01
osse iffraff: I guess it could act as a filter of sorts, but technically the reflog can jump from anywhere to anywhere21:03
iffraff yea. Well I'll tell what I'm doing see if you have a better idea. I do `git log -g --no-merges --pretty=format: --name-only --diff-filter=ACM $(git branch --show-current) | sort | uniq` this gets me a list of all the files that have changed since this branch. Then I take each of those files and do `git diff someCommit..HEAD filePath` this gets me a diff for that file IF there are changes that happened between those two commits.21:08
Jong left21:08
iffraff But the log -g gets all the changes in the branch not just the changes between someCommit..HEAD so it's a bit ... wasteful I guess21:09
The reason I don't do it all with a diff is because I don't want merge commits in there as I did not change the files in the merge commit.21:09
duxsco left21:16
duxsco joined21:17
PeasfulTown joined21:19
stenno left21:19
w4 joined21:23
ThorMojito joined21:27
Narrat left21:31
dcunit3d joined21:32
PeasfulTownpeas21:32
ThorMojito1 joined21:35
bgs left21:38
ThorMojito left21:39
mitrokov joined21:40
alexherbo2 left21:42
duxsco left21:42
jacobk joined21:45
jacobk left21:51
ThorMojito1 left21:57
TheCatBehemoth left21:58
TheCatBehemoth joined21:59
elastic_1 joined22:04
elastic_dogGuest650422:04
Guest6504 left22:04
elastic_1elastic_dog22:04
Wulf left22:04
Wulf joined22:06
Nuc1eoN joined22:07
ThorMojito joined22:08
Nuc1eoN Hi I have just sef up git lfs on my local repo, sice I have a few big files. I have used the command "git lfs track "public/media/**" and then I committed the changes to the repo. Now I have tried to push those changes to the gitlab remote repo, but pushig fails.22:11
After I type in my ssh pw it just keeps me asking for the ssh key again, no error messages. I don't know what is going on, althugh it is also my first time dealing with lfs. Did I miss anything? Thanks.22:11
weaksauc_ do you have your gitlab credentials added?22:12
ssh-add22:12
Nuc1eoN I mean, usually ssh pushing works fine. Only after adding the lfs stuff it "fails"22:14
iffraff left22:14
weaksauc_ does running git more verbosely give more insight?22:14
Nuc1eoN I tried git -v but no it doesnt sadly.22:17
imme-emosol left22:18
junebug left22:18
Nuc1eoN Just made another repo to check again, but pushing works fine.22:19
elastic_1 joined22:19
elastic_dog left22:19
elastic_1elastic_dog22:19
Nuc1eoN Just the lfs stuff for some reaon messed stuff up?22:19
gxt__ left22:19
faceface joined22:20
faceface hihi22:21
gxt__ joined22:21
weaksauc_ Nuc1eoN is it enabled?22:22
faceface I'm stuck in rebase hell... I'm looking at commits by an author who didn't have git-lsf installed. When I pulled his branch, I got a message saying, 'one file should be a pointer'... OK, it's now a pointer on my box... I committed that change and submitted a PR to that PRs repo... meanwhile, main branch has moved on, so I want to rebase his pr on main to keep testing...22:22
weaksauc_ https://docs.gitlab.com/ee/topics/git/lfs/22:22
Nuc1eoN It worked now22:23
faceface When I try to rebase, the file becomes not a pointer again, and the rebase falls over...22:23
Nuc1eoN But I had to enter the pw 5 (!!!) times22:23
wtf?22:23
(pw for my ssh key)22:23
similar here https://github.com/git-lfs/git-lfs/issues/331822:23
faceface $ git checkout riddles # Your branch is ahead of 'riddles/main' by 1 commit. <- where riddles is the name of my local branch that points to riddles/main where riddles is the name of the remote where the PR is22:24
imme-emosol joined22:24
faceface That 1 commit is me turning the file into a pointer for lfs22:25
Coop joined22:25
faceface I create and checkout a new branch (just to be safe) then hit `git rebase main`, which gives the error...22:26
Encountered 1 file(s) that should have been pointers, but weren't:22:26
I guess the author didn't have lfs installed...22:27
Do I just uninstall lfs, merge and re-install? seems banayanays22:27
Jong joined22:27
ThorMojito1 joined22:28
faceface hi Jong22:29
ThorMojito left22:31
faceface it's just a stupid warning... I should be able to ignore it for the sake of the rebase...22:31
just used git add and --continue over and over until the end (my 'fix' commit). I guess I should rebase manually to just make 'the file' a pointer and ignore his commits that touch the file?22:38
junebug joined22:41
gurkenglas left22:41
lucasta joined22:43
jaykelly450 left22:46
faceface I'm in hell again22:48
git rebase --abort fails22:48
huge list of untracked files22:49
OK... I have 8 commits ahead of main, most touching a file that /should/ have been in LFS but wasn't... The last commit puts the file in LFS22:51
I need to rewrite history as if the file was always in LSF, but maintain the authors commits.?22:51
vqueiroz left22:52
falafel joined22:58
ThorMojito1 left22:59
xx left23:01
TheCatBehemoth left23:02
faceface Totally stuck...23:02
falafel left23:05
ikwyl6 joined23:08
Nuc1eoN Hm am I wrong or does LFS essntially double all specified blobs in the repository?23:15
ThorMojito joined23:15
Nuc1eoN So actual repo size is 200MB, but with LFS it is 400MB23:15
Apparently it holds the blobs under .git/lfs/objects/23:16
mncheck left23:16
Nuc1eoN Not sure why those are not symlinks to the actual files?23:16
chandash joined23:16
ThorMojito1 joined23:17
Nuc1eoN Or is the "doubling" phenomenon expected with lfs?23:17
money left23:17
BtbN that's just how git works23:19
how else would it be able to tell what you changed when you make a change? It need to know how the original looks like.23:19
+s23:19
nedbat Nuc1eoN: the .git directory has all of the data needed to get any revision of any file.23:19
ThorMojito left23:20
Nuc1eoN My understanding was that lfs ommits keeping multiple version of binary files? I mean it could simply store the hash to check for changes?23:22
nate2 joined23:22
cdown left23:22
llh left23:23
terminalpusher left23:26
zeenk left23:26
nate2 left23:26
YoungFrog left23:27
bodiccea left23:27
YoungFrog joined23:27
m1dnight left23:33
humanface left23:33
Nuc1eoN So to be clear, it is normal that LFS basically keeps every binary file twice?23:33
Rififi joined23:34
Nuc1eoN Once under `.git/lfs/objects/` and once under its usual location in the repo folder?23:35
I find it really weird, that not using LFS would essentially half my repo size.23:35
travisghansen left23:38
travisghansen joined23:39
lucasta left23:39
ThorMojito1 left23:40
lucasta joined23:43
BtbN it would not halve anything23:46
then git would keep that copy itself instead of LFS23:46
Nuc1eoN yup ok I get it23:50
Then this is a bug in gitlab23:50
ikwyl6_ joined23:50
ikwyl6 left23:50
m1dnight joined23:56

Logs Search ←Prev date Next date→ Channels Documentation