IRCloggy #git 2022-07-10

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.

2022-07-10

otisolsen70 left00:00
gast0n joined00:02
randm left00:03
Ajax1463 joined00:04
randm joined00:04
Ajax146 left00:06
Ajax1463Ajax14600:06
ano joined00:09
konrados joined00:11
ano is there a way to "fully" clone gh repo with lfs?00:12
nicolas17 you mean download all lfs files, from all commits?00:13
ano *clone master with all lfs files00:15
ThorMojito joined00:15
ano found some guides but seems (git lfs) is not a thing anymore00:15
nicolas17 but do you want all files from the latest commit in master, or from the whole history too?00:15
ano latest commit00:16
nicolas17 doesn't git do that automatically when you clone?00:17
ano nope00:17
git clone https://github.com/VGPU-Community-Drivers/NV-VGPU-Driver00:18
nicolas17 that's downloading lfs files for me00:18
do you have git-lfs installed?00:19
it downloaded like 700MB of data00:19
ano ah it's an external extension, curious why git even didn't notice that some files will be missed due missed extension00:20
nicolas17 if lfs is not installed then you get "LFS pointers"00:21
which look like normal files (containing 3 lines of text)00:21
BtbN How would git know something is missing? lfs is entirely separate.00:22
gurkenglas left00:24
ano not sure, but if such a broken integrity extensions exist then probably there should be at least sort of notification "ur git client not fully compatible because necessary extension(s) missed"00:27
howdoi left00:28
ferdna joined00:28
ano after years of git cloning even didn't know that can miss some files because of some server-side extensions00:29
mackerman Client side extensions00:30
Core git does not know or care about lfs.00:30
nicolas17 as far as git is concerned that's a normal git repository00:31
BtbN You'd be shocked that if you just clone, even git native features like submodules will be just plain not there until you make git fetch them with a separate command.00:31
nicolas17 it has .run files with text content like this:00:31
version https://git-lfs.github.com/spec/v100:31
oid sha256:10f7873893ff558f92bbf0d2e7ec208d652f43f2829e7a307a83d46ac6cb61df00:31
size 33567214000:31
if you have the git lfs hooks configured, then after git checks out the files, lfs will recognize them and replace them with the actual large files, downloading them if necessary00:32
thiago left00:33
thiago joined00:36
midnight left00:39
thiago left00:40
mackerman No, silently not downloading lfs files is not very obvious or discoverable.00:41
I assume most projects using lfs keep telling their users to search git-lfs from where they got their git package from or https://git-lfs.github.com/00:41
maroloccio left00:42
nicolas17 I wonder if pointer files can have comments or extensions00:43
add "# if you can see this then you don't have git-lfs installed or configured correctly" to them :P00:44
maroloccio joined00:44
Dotz0cat How do you make a patch containing 3 commits? I need the patch to be a single file00:45
mw_ left00:49
hoochmonger joined00:50
Xenguy left00:53
Xenguy joined00:53
bambanxx joined01:08
clime left01:10
great_taste joined01:11
dnh left01:13
ThorMojito left01:14
umbramalison left01:17
umbramalison joined01:18
pretty_dumm_guy joined01:18
dvl left01:32
Betal joined01:32
mw_ joined01:37
jmloyola left01:38
maroloccio left01:53
maroloccio joined01:56
Crassus joined01:57
rgrinberg joined02:01
dsrt^ joined02:17
Crassus left02:20
ano left02:22
jelmer left02:22
ano joined02:25
pretty_dumm_guy left02:34
bambanxx left02:37
Yruama left02:39
pulse left02:39
terrorjack left02:49
terrorjack joined02:50
zebrag left02:58
ano left03:09
CYKS6 joined03:13
CYKS left03:15
CYKS6CYKS03:16
ano joined03:18
dig joined03:26
TheDcoder joined03:33
TheDcoder Hi, is there a channel for libgit2? I would like to do the equivalent of `git show abcdef:foo.txt` (i.e. read a file as it would be on a specific commit) but I have no idea how03:35
nicolas17 you probably need "get commit by ID abcdef, get its tree, find foo.txt in it and its blob ID, get blob by ID"03:42
I don't know the specific libgit2 API to do that though03:43
I only used python-dulwich years ago03:43
nicolas17 left03:47
bambanxx joined03:48
TheDcoder nicolas17: Thanks, but aren't blobs simply deltas objects? i.e. not the complete file? I hope libgit2 has a function to resolve deltas to get a complete file. I'm using pygit2 to interface but I don't fear libgit2's native interface :)03:51
hamburgler left03:53
rewt afaik blobs are complete files; when packing, git may use deltas, but that should be invisible03:55
mattil joined03:58
bambanxx left04:01
Dotz0cat I need to make a patch for 3 commits. I know I can make a patch file that contains 3 seperate patchs for each commit. Is there a way to make a patch that squashes the 3 commits together? (I think squashes is the right word)04:11
gast0n left04:15
bket left04:15
bket joined04:16
mattil left04:17
smallville7123 joined04:28
mud joined04:37
led_belly left04:47
rewt Dotz0cat, if they're 3 consecutive commits, you can just do a diff from parent of the first commit to the 3rd commit04:48
mw_ left04:58
onizu joined05:02
Dotz0cat diff from parent to third? like git format-patch parent..third?05:02
rewt yes05:03
thomas25 left05:04
rewt i was thinking more like git diff -p parent..third05:04
thomas25 joined05:04
ikke Dotz0cat: you'd need to squash them before using git format-patch05:05
c4017 joined05:05
smallville7123 left05:08
Dotz0cat How would you make squash them?05:08
ikke interactive rebase + fixup05:09
or reset --soft + commit05:09
mw_ joined05:12
madewokherd joined05:22
Dotz0cat I used reset --soft. Thanks05:23
TheDcoder rewt: really? If so then great! I'll verify this05:25
madewokherd` left05:26
rgrinberg left05:27
CYKS left05:27
CYKS joined05:27
TheDcoder rewt: It does indeed work, awesome! Thank you so much for the hint :)05:34
And thanks to nicolas17 too for the initial pointers, but they left the room...05:35
hbautista left05:37
Guest56 joined05:39
Guest56 left05:40
jazzy left05:41
zulutango left05:44
dviola left05:45
terminaldweller left05:51
dviola joined05:51
great_taste left05:54
ferdna left06:06
konrados left06:07
infogulch joined06:10
sudoforge left06:17
Crassus joined06:30
vdamewood left06:33
ghost43 left06:36
ghost43 joined06:37
bket left06:42
terminaldweller joined06:43
bket joined06:43
cvmn joined06:45
rsx joined06:49
Betal left06:50
feriman joined06:56
feriman left07:00
dsrt^ left07:01
feriman joined07:01
dsrt^ joined07:06
thomas25 left07:12
coot joined07:13
Wh0 joined07:23
Wh0 left07:30
Wh0 joined07:31
cdown joined07:32
derpydoo joined07:32
bloody left07:41
Wh0 left07:45
dig left07:49
n0n43cr3ms joined07:49
n0n43cr3ms left07:49
dig joined07:50
onizu left07:50
Crassus left07:53
onizu joined07:55
dionysus69 joined07:59
maroloccio left08:05
Wh0 joined08:06
maroloccio joined08:07
cvmn left08:09
mbalmer joined08:11
V__ joined08:13
Wh0 left08:16
dsrt^ left08:17
Guest42 joined08:26
welder_ left08:27
pleb66 joined08:27
carl--- joined08:30
pleb66 left08:36
Ajax1467 joined08:36
austin987 left08:37
pleb66 joined08:37
Ajax146 left08:38
Ajax1467Ajax14608:38
toluene left09:00
DavidTucker[m] left09:00
toluene joined09:01
terminaldweller left09:04
konrados joined09:09
YuGiOhJCJ joined09:10
myme1 left09:15
myme1 joined09:15
sebag joined09:15
sebag hi09:15
csm3105 joined09:19
sebag I like applying stashes in an unstandard way, like git-show | patch or git dif stash{0}..stash{0}^1 | patch …09:21
dig left09:21
csm3105 left09:21
tuskkk____ joined09:26
mw_ left09:30
gurkenglas joined09:33
bookworm that sounds very roundabout09:34
otisolsen70 joined09:36
andypandy left09:37
andypandy joined09:39
hnOsmium0001 left09:40
mw_ joined09:42
forgotmynick joined09:42
skapata left09:46
hoochmonger left09:46
pretty_dumm_guy joined09:55
maroloccio left09:56
lejocelyn joined09:57
YuGiOhJCJ left10:01
lejocelyn left10:03
dionysus69 left10:05
donsequitur joined10:10
YuGiOhJCJ joined10:11
terminaldweller joined10:14
knolle left10:15
knolle joined10:19
Guest74 joined10:23
BUSY joined10:24
dig joined10:24
kenanmarasli joined10:30
clime joined10:46
Rh0nda left10:49
pleb66 left10:50
Rhonda joined10:52
kevr left11:01
kevr joined11:01
sebag bookworm: sometimes git stash apply cannot merge the stash…11:06
igemnace joined11:16
chiselfuse left11:18
chiselfuse joined11:18
ThorMojito joined11:19
ThorMojito left11:19
dig left11:32
mpldr joined11:32
coot left11:35
tuskkk____ left11:35
Liblx joined11:46
dsrt^ joined11:48
V__ left11:52
forgotmynick left11:52
hiroot joined11:54
Liblx left11:55
arch_angel left11:56
ano left11:56
ano joined11:57
Liblx joined11:58
powftw joined11:58
Wh0 joined12:03
cweiss07653212 left12:04
arch_angel joined12:04
hbautista joined12:07
tyson2 joined12:09
cweiss07653212 joined12:10
dsrt^ left12:11
hbautista left12:12
pleb66 joined12:13
hiroot hello12:13
bookworm o/ how can we help?12:14
Guest42 left12:15
maroloccio joined12:15
m1dnight left12:18
hiroot left12:18
m1dnight joined12:18
hiroot joined12:18
EvilDMP joined12:19
hiroot left12:19
pleb66 left12:19
hiroot joined12:20
ThorMojito joined12:21
ThorMojito left12:21
Weiland joined12:22
hiroot left12:23
hiroot joined12:24
Celelibi left12:28
Celelibi joined12:30
pleb66 joined12:31
pleb66 left12:31
Weiland left12:32
Weiland joined12:32
coot joined12:32
dnh joined12:33
ThorMojito joined12:34
ThorMojito left12:35
YuGiOhJCJ left12:35
pulse joined12:36
Weiland left12:38
Guest42 joined12:38
ThorMojito joined12:38
dsrt^ joined12:39
Weiland joined12:39
ThorMojito left12:39
ThorMojito joined12:41
ThorMojito left12:41
donsequitur_ joined12:42
donsequitur left12:45
donsequitur_donsequitur12:45
coot left12:46
LuKaRo left12:46
bkircher left12:48
LuKaRo joined12:52
momomo joined12:53
V__ joined12:55
MajorBiscuit joined12:56
Rashad joined12:56
bkircher joined12:57
Wh0 left12:58
chiselfuse left12:59
dsrt^ left12:59
chiselfuse joined13:00
Rashad left13:00
Rashad joined13:01
Rashad left13:05
dsrt^ joined13:06
MajorBiscuit left13:11
hiroot left13:12
hiroot joined13:12
EvilDMP left13:20
Guest74 left13:25
donsequitur_ joined13:31
sudoforge joined13:33
donsequitur left13:34
donsequitur_donsequitur13:34
Murr left13:35
Murr joined13:35
R2robot left13:42
ikke Apparently we can't13:43
han-solo joined13:44
Jck_true5 joined13:45
Jck_true left13:45
Jck_true5Jck_true13:45
Weiland left13:49
onizu left13:50
nate4 joined13:51
igemnace left13:52
R2robot joined13:54
nate4 left13:55
sudoforge left13:56
Guest42 left13:58
Guest42 joined13:59
Guest42 left14:04
arch_angel left14:05
Guest42 joined14:08
Guest42 left14:08
ThorMojito joined14:08
DF32 joined14:10
mercxry joined14:12
Sulky left14:14
coot joined14:16
powftw left14:17
mercxry left14:17
mercxry joined14:17
dnh left14:18
ano left14:20
ano joined14:23
ThorMojito left14:25
rgrinberg joined14:27
mitrokov joined14:36
dnh joined14:38
DF32 left14:38
V__ left14:38
dsrt^ left14:42
V__ joined14:43
EvilDMP joined14:45
nicolas17 joined14:45
jelmer joined14:47
hamburgler joined14:48
sudoforge joined14:49
causasui joined14:51
causasui anybody know where I can get the changelog for git?14:52
bookworm sure, source code of git... release emails etc14:53
ikke https://github.com/git/git/blob/master/Documentation/RelNotes/2.37.0.txt14:54
.version14:54
gitinfo changed the topic to: Welcome to #git, we like graphs | Current stable version: 2.37.0 | First visit? https://gitirc.eu | This channel is logged: https://gitirc.eu/log14:54
rgrinberg left15:08
thiago joined15:12
sudoforge left15:14
ferdna joined15:14
coot left15:14
madewokherd` joined15:18
madewokherd left15:22
wh00 joined15:25
V__ left15:27
hiroot left15:28
hiroot joined15:29
konrados left15:32
sudoforge joined15:39
Guest74 joined15:41
thomas25 joined15:43
Rashad joined15:45
szkl left15:45
han-solo left15:46
Rashad left15:46
han-solo joined15:48
hiroot left15:48
Jong joined15:51
pyeverything joined15:54
adelfino joined15:54
adelfino Hi! How can I get the name of the default branch of a repository I haven't cloned? That is with remote info only15:55
jazzy joined15:57
csm3105 joined15:59
mitrokov left16:00
nicolas17 git ls-remote --symref <remote repo URL>16:02
will tell you what HEAD points at16:03
vicecea left16:16
vicecea joined16:17
derpydoo left16:22
Jong left16:23
han-solo left16:25
causasui ikke: thanks16:26
bookworm: duh16:26
adelfino nicolas17: thank you!16:27
ikke causasui: github also provides a higher level changelog16:28
Rashad joined16:30
hamburgler left16:33
regedit joined16:37
hoochmonger joined16:42
Guest42 joined16:43
Rashad left16:46
CM_ joined16:48
hnOsmium0001 joined16:49
han-solo joined16:49
csm3105 left16:52
FinnElija left16:54
FinnElija joined16:55
CM_ left16:57
adelfino left17:00
rgrinberg joined17:01
vdamewood joined17:02
awmv joined17:04
vinleod joined17:04
vdamewood left17:05
vinleodvdamewood17:05
fstd_ joined17:09
fstd left17:09
dnh left17:10
ThorMojito joined17:10
rsx left17:11
jumpcutking joined17:13
wh00 left17:14
Guest42 left17:14
coldmountain joined17:14
dnh joined17:15
wh00 joined17:15
dnh left17:16
dmc left17:18
bloody joined17:18
wh00 left17:18
wh00 joined17:18
dmc joined17:18
tyson2 left17:18
great_taste joined17:19
dob1 left17:20
dob1 joined17:22
kodah left17:30
kodah joined17:30
ThorMojito left17:30
Murr left17:34
Murr joined17:35
rgrinberg left17:37
rgrinberg joined17:46
howdoi joined17:46
Furai left17:57
Furai joined17:57
hbautista joined17:57
rgrinberg left18:14
rgrinberg joined18:21
carl--- left18:22
Liblx left18:23
coot joined18:24
node1 joined18:27
magic_ninja left18:30
magic_ninja joined18:32
skapata joined18:35
skapata left18:35
skapata joined18:35
Fischmie1 left18:35
Guest74 left18:44
m0viefreak joined18:45
rgrinberg left18:46
wh00 left18:47
magic_ninja left18:50
magic_ninja joined18:51
wwalker left18:54
lgc joined19:01
lgc left19:02
Jong joined19:04
V__ joined19:07
junktext_ left19:08
Fischmiep joined19:08
junktext_ joined19:09
node1 left19:13
Jong left19:14
awmv left19:22
ThorMojito joined19:30
ThorMojito left19:34
Murr left19:34
Murr joined19:35
donsequitur_ joined19:35
donsequitur left19:38
donsequitur_donsequitur19:38
tyson2 joined19:41
junktext_ left19:41
junktext_ joined19:45
han-solo left19:51
Jong joined19:55
LuKaRo left19:55
led_belly joined19:57
led_belly left19:58
dsrt^ joined20:00
LuKaRo joined20:00
led_belly joined20:03
ThorMojito joined20:12
ThorMojito left20:29
tyson2 left20:33
dsrt^ left20:39
dsrt^ joined20:40
john_johnk joined20:44
ferdna left20:46
mbalmer left20:48
feriman left20:56
qwedfg left20:57
bambanxx joined20:57
Betal joined20:59
ThorMojito joined21:00
john_johnk left21:01
qwedfg joined21:03
dnh joined21:11
shored left21:18
Xenguy left21:21
shored joined21:21
dsrt^ left21:28
llh joined21:30
Murr left21:34
Murr joined21:34
Xenguy joined21:36
Weiland joined21:41
otisolsen70 left21:44
cation left21:46
cation joined21:46
dsrt^ joined21:48
tyson2 joined21:48
EvilDMP left21:49
EvilDMP joined21:49
ThorMojito left21:50
EvilDMP left21:53
cation left21:53
cation joined21:53
ThorMojito joined21:56
toluene left21:59
runlevel_0 left22:00
toluene joined22:00
bob518 joined22:05
The_Blode left22:06
thekingofbandit left22:09
bambanxx left22:09
coot left22:12
tsraoien joined22:12
konrados joined22:16
Ram-Z left22:18
tsraoien left22:21
Weiland left22:23
Weiland joined22:23
thekingofbandit joined22:28
arescorpio joined22:30
Weiland left22:31
runlevel_0 joined22:31
ThorMojito left22:38
arescorpio left22:45
donsequitur_ joined22:45
donsequitur left22:48
donsequitur_donsequitur22:48
jonosterman joined22:48
m0viefreak left22:52
ano left23:01
ano joined23:01
causasui left23:12
Xenguy left23:15
Xenguy joined23:16
multi_io joined23:21
V___ joined23:22
Xenguy left23:22
Xenguy joined23:25
V__ left23:26
Ram-Z joined23:27
Lord_of_Life left23:35
Lord_of_Life joined23:35
hiroot joined23:44
hiroot left23:47
hiroot joined23:47
hiroot left23:48

Logs Search ←Prev date Next date→ Channels Documentation