IRCloggy #git 2019-08-25

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.

2019-08-25

Crocodillian left00:00
Crocodillian joined00:00
de-facto left00:01
de-facto joined00:01
invisbl joined00:02
leeN left00:02
libertyprime left00:04
ExeciN left00:05
invisbl left00:06
null1337 joined00:08
wootehfoot left00:09
malina left00:12
Viking667 Ah well. Problem resolved, though not the way I wanted.00:12
"resolving" the problem put my tree two commits ahead of remote, which wasn't the idea.00:12
Back another time, and really, sorry about the upset feeling I had. you guys do a good job.00:14
malina joined00:17
mowcat left00:21
null1337 left00:22
mase-tech left00:24
rkta left00:25
rkta joined00:25
pie_ left00:25
AtumT left00:28
null1337 joined00:28
null1337 left00:28
null1337 joined00:29
rafasc left00:31
kerframil joined00:35
diogenese left00:37
cd joined00:38
Tie-1000 joined00:41
TomyLobo left00:46
libertyprime joined00:46
malina left00:55
Stoot left00:55
impermanence joined01:03
caskd left01:05
learningc joined01:08
sgn left01:08
sgn joined01:08
_xor left01:15
finn0 joined01:16
_xor joined01:23
sgn left01:24
sgn joined01:26
cd left01:28
tufteddeer joined01:28
MoziM left01:30
Shentino__Shentino01:34
malina joined01:36
cd joined01:37
malina left01:39
caskd joined01:41
learningc left01:46
MACscr left01:49
Murr left01:52
Murr joined01:53
tufteddeer left01:54
tufteddeer joined01:54
MoziM joined01:54
magic_ninja left01:55
_xor left01:56
_xor joined01:57
F0rTex left01:58
F0rTex joined01:59
_xor left02:00
effprimeHunterk02:00
_xor joined02:01
null1337 left02:01
HunterkPipeItToDevSda102:02
fflam left02:02
PipeItToDevSda1effprime02:03
null1337 joined02:03
orbyt_ left02:04
fflam joined02:05
MoziM left02:06
MoziM joined02:08
oatmealraisin left02:09
diogenese joined02:10
null1337 left02:11
tufteddeer left02:15
null1337 joined02:16
m0viefreak left02:19
khisanth_ left02:23
Tie-1000 left02:28
Tie-1000 joined02:28
learningc joined02:30
MoziM left02:30
magic_ninja joined02:32
MoziM joined02:34
fphilipe_ joined02:38
impermanence left02:39
lagothrix left02:42
lagothrix joined02:42
fphilipe_ left02:43
khisanth_ joined02:44
Cabanossi left02:45
libertyprime left02:51
MoziM left02:51
magic_ninja left02:55
Cabanossi joined02:55
magic_ninja joined02:57
macroprep joined02:57
libertyprime joined03:02
nowhere_man left03:08
RoriconKnight left03:10
RoriconKnight joined03:11
learningc left03:15
learningc joined03:23
invisbl joined03:31
invisbl left03:36
magic_ninja left03:37
macroprep_ joined03:38
magic_ninja joined03:39
causa_sui joined03:39
surfist joined03:41
macroprep left03:42
invisbl joined03:43
Viking667 hm. That's interesting. I forked a project, and want to keep it up to date with the parent, but I'm being told I shouldn't use git pull for that, as it creates "merge commits". How else do I keep the two synchronised?03:44
The only other way I've seen (so far) also involves git merge (git fetch --upstream)03:49
thiago git rebase03:53
or git pull --rebase03:54
learningc left03:54
macroprep_ left03:56
sjohnson joined03:58
fatalhalt joined04:02
z|bandito joined04:10
magic_ninja left04:11
tufteddeer joined04:12
magic_ninja joined04:13
Viking667 okay. Will that adjust my commits counter if I'm already x ahead?04:13
(sorry I'm late in replying, there's a bit going on here)04:15
MoziM joined04:17
dre_ joined04:17
freeman42x left04:18
learningc joined04:24
finn0 left04:27
Anthaas left04:32
Anthaas joined04:33
gioyik joined04:35
cd left04:38
invisbl left04:38
YuGiOhJCJ joined04:43
learningc left04:49
veegee left04:54
RoriconKnight left05:00
pks_ joined05:02
pks left05:03
pks_pks05:03
learningc joined05:08
Goplat left05:13
orbyt_ joined05:20
podlech joined05:21
iam730 left05:27
learningc left05:28
dre_ left05:28
hcit left05:31
fxrs left05:32
learningc joined05:33
Whiskey left05:37
g00s joined05:38
Cabanossi left05:39
Whiskey joined05:43
telling left05:46
finn0 joined05:48
fling left05:48
dviola joined05:49
telling joined05:53
Cabanossi joined05:53
libertyprime left05:53
fling joined05:54
thiago left05:58
dartmouthed joined06:11
podlech left06:13
podlech joined06:13
learningc left06:16
learningc joined06:23
learningc left06:25
Mattiaslndstrm joined06:32
dviola left06:32
pyfgcr joined06:37
fatalhalt left06:39
BonusPlay left06:44
BonusPlay joined06:44
jottr joined06:45
g00s left06:52
jottr left06:52
gioyik left06:57
g00s joined07:04
tufteddeer left07:05
tufteddeer joined07:06
n3wborn joined07:06
alystair left07:09
SleePy left07:16
snappy left07:16
kini left07:16
boshhead left07:16
stux|RC-only left07:17
mu left07:17
boshhead joined07:17
mu joined07:18
snappy joined07:19
SleePy joined07:19
_xor left07:20
kini joined07:23
tufteddeer left07:27
tufteddeer joined07:27
yonder left07:29
pyfgcr left07:40
feriman joined07:41
podlech left07:43
magic_ninja left07:48
theoceaniscool joined07:49
magic_ninja joined07:50
g00s left07:54
g00s joined07:54
xcm joined07:58
crose joined07:58
libertyprime joined08:15
jottr joined08:18
ExeciN joined08:20
czart joined08:33
AfroThundr|main joined08:45
orbyt_ left08:46
g00s left08:47
PityDaFool joined08:48
AfroThundr|main left08:49
theoceaniscool left08:53
n3wborn left08:54
theoceaniscool joined09:00
randomdude999 joined09:01
j416 Viking667: we already talked about this yesterday09:06
Viking667: try it and see™ :)09:06
Viking667: I'd also recommend reading about Git's object model, it'll make this more clear to you09:07
TomTom left09:10
plasticle left09:14
nuala joined09:31
macroprep joined09:32
nabil__ joined09:32
Tie-1000 left09:32
nabil_ left09:36
nuala left09:37
dartmouthed left09:41
czart left09:44
Tie-1000 joined09:46
Piraty joined09:50
Piraty how can i address the next commit of a ref (say: a tag)? <ref>^1 and <ref>~1 both seem to mean the previous commit09:51
BtbN A commit only has a parent, no children.09:53
Well, technically it has, but it does not keep track of them.09:53
Piraty no double-linked list?09:54
i always assumed...09:55
BtbN How would that work? A commits hash would change each time a child changes if it would keep track.09:55
Piraty not necessarily, but it's quite some overhead09:56
thanks BtbN09:56
TomTom joined10:01
dartmouthed joined10:13
Raging_Hog left10:22
Raging_Hog joined10:23
ave_milia joined10:28
Tie-1000 left10:34
malina joined10:34
cdown joined10:36
clime joined10:38
cdown_ joined10:40
cdown left10:42
Aquazi joined10:43
cdown_cdown10:43
jottr left10:47
fphilipe_ joined10:49
igemnace left10:50
pie_ joined10:52
localhorse joined10:55
Inline left10:55
jottr joined10:58
feriman left10:59
fphilipe_ left10:59
jottr left11:11
Hello71 left11:12
causa_sui left11:15
Viking667 left11:18
fstd_ joined11:23
greatgatsby joined11:23
_ikke_ There is also not a well defined order of children11:24
fstd left11:27
fstd_fstd11:27
Hello71 joined11:28
Fernando-Basso joined11:30
nuala joined11:32
abraxxas joined11:33
SkarmoutsosV joined11:33
random_y1 left11:34
Tie-1000 joined11:38
kjartan left11:38
kjartan joined11:39
arinov joined11:42
savolla joined11:43
random_y1 joined11:46
Tie-1000 left11:48
Tie-1000 joined11:49
fphilipe_ joined11:50
AtumT joined11:52
savolla left12:02
random_yanek joined12:06
cdown left12:07
duderonomy left12:07
cdown joined12:07
random_y1 left12:08
vishal left12:11
vishal joined12:16
jottr joined12:17
Murr left12:18
bladodo joined12:19
Murr joined12:19
cdown left12:20
clime left12:21
bladodo Hello, I am new to git. I cloned a repo (using git clone url) some weeks ago and now I would like to update the local clone and see the new changes. What commands shall I try ?12:21
_ikke_ first git fetch to get the latest changes12:23
(that won't update your working tree yet)12:24
finn0 left12:25
jottr left12:26
leeN joined12:29
bladodo does git fetch need sudo ?12:29
_ikke_ no12:30
bladodo anyway, I tried it with sudo git fetch, and did not show anything. So, that means there is no update. right ?12:30
_ikke_ Do not use sudo for git operations12:30
bladodo without sudo, I got 'error: cannot open .git/FETCH_HEAD: Permission denied'12:31
_ikke_ Probably because you already used sudo earlier12:31
bladodo I think I did not use during cloning. maybe mistakenly I did but not sure12:31
nedbat bladodo: pro-tip: never use sudo unless you are sure you need it12:31
_ikke_ bladodo: sudo chown -R <user>: .git12:32
nedbat bladodo: or remove the clone and do it again12:32
Peng_ also pro-tip: do not mess up sudo chown -R commands12:32
or any other sudo, chown, or -R commands, really12:32
xelxebar left12:32
rmsvc left12:32
de-facto left12:33
ghost43 left12:33
bladodo hmm, among the files in .git, I see only FETCH_HEAD owner is root and the other files are with my normal user12:33
_ikke_ You probably ran git fetch / git pull as sudo earlier then12:34
Hello71 left12:34
tombusby left12:34
_ikke_ (as root)\12:34
bladodo could be my mistake12:34
nedbat bladodo: do you have any work on the local machine that isn't on the remote?12:36
ghost43 joined12:36
bladodo well, I am not modifying any code locally. I just wanted to see the differences between my local clone and the remote repo12:37
de-facto joined12:38
nedbat bladodo: i'm suggesting the easiest way to make this right is to delete your local clone and re-clone. But don't do that if you have local changes that aren'12:38
t on the remote12:38
rmsvc joined12:38
xelxebar joined12:38
Hello71 joined12:40
Piraty left12:40
cbreak left12:42
wyoung bladodo: Can you chown it back to your user?12:42
kerframil left12:42
tombusby joined12:42
cbreak joined12:43
finn0 joined12:47
wyoung Or just do what nedbat. She knows what she is talking about.12:50
TomTom left12:50
bladodo ok12:52
_xor joined12:54
bladodo so, git fetch shows some output. How shall I check the changes at file level ?12:55
nedbat bladodo: git log # will show what's happened12:58
bladodo thanks a lot :)13:01
bladodo left13:03
kerframil joined13:07
finn0 left13:11
arinov_ joined13:12
arinov_ left13:13
Murr left13:13
arinov_ joined13:13
arinov left13:14
Murr joined13:14
arinov_arinov13:15
ave_milia I recently asked to which extend git relies on stat() when deciding whether the file has beed modified, because surely timestamps can be unreliable. this document describes one such group of problems and its solution: https://mirrors.edge.kernel.org/pub/software/scm/git/docs/technical/racy-git.html13:15
nuala left13:16
kerframil left13:19
pie_ left13:21
Murr left13:21
Murr joined13:22
Hello71 left13:23
wootehfoot joined13:27
kerframil joined13:30
SkarmoutsosV left13:31
pie_ joined13:32
kerframil left13:32
kerframil joined13:32
arinov left13:36
Envil left13:37
kerframil left13:37
arinov joined13:38
igemnace joined13:39
Hello71 joined13:39
shaarad joined13:39
shaarad left13:40
shaarad joined13:42
kerframil joined13:44
Envil joined13:44
Fernando-Basso left13:46
ExeciN left13:46
randomdude999 left13:48
thefatma joined13:48
Murr left13:56
randomdude999 joined13:57
Murr joined13:57
arinov left13:58
Newami joined14:02
sgn left14:04
libertyprime left14:10
ExeciN joined14:12
Aquazi left14:14
riotz left14:14
wootehfoot left14:16
fxrs joined14:17
riotz joined14:19
sgen joined14:19
shaarad left14:20
fxrs left14:23
fxrs joined14:24
jimender2 left14:25
shaarad joined14:29
kp__ joined14:31
barteks2x left14:32
macroprep left14:32
greatgatsby left14:37
aw1 joined14:37
sgen left14:39
kezimo left14:41
wootehfoot joined14:44
finn0 joined14:46
YuGiOhJCJ left14:46
pie_ left14:55
Inline joined14:58
pie_ joined14:59
jottr joined15:02
horribleprogram joined15:04
max12345 joined15:08
inkbottle left15:09
max12345 hello all. I my repo is corrupted somehow. good news is I have multiple back ups so nothing will be lost, it's just annoying. I have my remote on an SD card. I can't push because one objects local in empty and I can't pull because an object remote is empty.15:09
I looked at some solutions on stackoverflow, but I think I just don't know enough about how git works to solve this effectively. Is there a specific part of some manual that you can recommend?15:10
it's nothing critical either, so if all else fails I can just copy all the code and start a completely new history.15:11
thefatma left15:12
thiago joined15:14
Newami left15:15
nuala joined15:17
azwieg103 joined15:19
Fernando-Basso joined15:22
azwieg103 left15:24
BrianBlaze left15:27
BrianBlaze joined15:38
rmsvc left15:38
TomTom joined15:46
thefatma joined15:47
nabil_ joined15:48
inkbottle joined15:49
apetresc left15:50
nabil__ left15:51
finn0 left15:51
Tie-1000 left15:53
Tie-1000 joined15:53
apetresc joined15:55
shaarad left15:56
nabil_ left15:57
abraxxas left15:59
shaarad joined15:59
jottr left16:01
Tie-1000 left16:02
pie_ left16:03
Tie-1000 joined16:03
rafasc joined16:04
rafasc left16:04
rafasc joined16:05
pie_ joined16:06
yonder joined16:07
hellauer left16:10
oatmealraisin joined16:13
jottr joined16:13
dijitol joined16:14
dijitol left16:14
max12345 left16:18
jottr left16:18
nuala left16:22
welovfree joined16:24
welovfree left16:24
aw1_ joined16:27
ave_milia left16:29
aw1 left16:29
ave_milia joined16:29
greatgatsby joined16:30
mikedd joined16:34
gareppa joined16:35
paws_ joined16:40
plasticle joined16:42
gareppa left16:44
mns left16:45
justanotheruser left16:47
pie_ left16:49
eb0t joined17:01
eblip joined17:02
eb0t_ left17:02
def_jam left17:02
justanotheruser joined17:03
omnireq left17:04
omnireq joined17:05
rmsvc joined17:08
Aquazi joined17:11
pie_ joined17:14
jnewt left17:18
pie_ left17:19
rafasc left17:21
mns joined17:27
shicks2525 joined17:30
aw1_ left17:31
KnoP joined17:36
greatgatsby left17:38
KnoP left17:40
magic_ninja left17:41
kezimo joined17:41
malina left17:41
mns left17:42
shaarad left17:43
magic_ninja joined17:43
malina joined17:45
yokisuci joined17:52
shaarad joined17:52
oatmealraisin left18:02
magic_ninja left18:02
pie_ joined18:03
Atlenohen joined18:03
davidlt joined18:04
feriman joined18:04
greatgatsby joined18:04
davidlt Is "--no-show-signatures" supported? I seems that works for me with 2.21.0, but not 2.22.018:04
git log command18:04
magic_ninja joined18:05
Freshnuts joined18:06
meLon left18:07
alystair joined18:08
mns joined18:08
SkarmoutsosV joined18:09
meLon joined18:10
ExeciN left18:13
clime joined18:16
pie_ left18:17
rafasc joined18:18
j416 davidlt: which command?18:20
davidlt j416, git log, but looking the source seems I always had a typo "signatures" (s at the end)18:20
seems that until 2.22.0 was happy to accept that18:20
j416 :)18:21
interesting.18:21
Fernando-Basso left18:26
rsrx joined18:27
greatgatsby left18:32
omnireq left18:47
wootehfoot left18:50
justachejustache218:52
GreyXor joined18:53
justache2justache18:53
GreyXor hello, how can i use git to change file owner ?18:53
shaarad left18:53
_ikke_ Git does not do any of that18:54
shaarad joined18:56
cd joined19:00
rudrab joined19:02
Raging_Hog left19:03
nowhere_man joined19:03
GreyXor or a command that run an executable19:03
kezimo left19:15
TomTom left19:16
malina left19:16
Mattiaslndstrm left19:18
troulouliou_dev joined19:19
rsrx left19:21
nowhere_man left19:21
AaronMT joined19:21
rudrab left19:22
shaarad left19:25
Tie-1000 left19:26
orbyt_ joined19:26
Tie-1000 joined19:27
Narrat joined19:29
fling_ joined19:29
clime left19:30
fling left19:32
fling_fling19:32
rafasc GreyXor: what's the problem you are trying to solve?19:34
mase-tech joined19:34
GreyXor rafasc, escape a shell19:34
rafasc not sure what you mean with that..19:35
GreyXor i'm in a shell jail. and i only can use git with sudo to go out (it's a game). with git commit i can enter in vim. then i can execute !/bin/bash to go out. solved19:37
rafasc wringing a hook could be another possibility.19:39
GreyXor rafasc, it was my second idea, but git commit more quick to do19:41
Newami joined19:41
Newami left19:41
Murr left19:42
troulouliou_dev left19:43
Murr joined19:43
mikedd left19:44
AaronMT left19:44
rafasc it's quicker because vim has a easy way to shell out, yeah.19:44
kerframil left19:45
rafasc GreyXor: another thing you can try: put the command in the PATH named git-shell-out and call it with git shell-out.19:45
igemnace left19:46
GreyXor git shell-pit is not accepted19:46
rafasc Nvm, you probably cannot change the path..19:46
GreyXor or disabled? idk19:46
feriman left19:47
igemnace joined19:48
feriman joined19:49
rafasc maybe aliases as well.. the !f(){...};f19:50
CarlFK left19:51
planigan left19:54
cdown joined19:58
meLon left20:01
jnewt joined20:02
kjartan left20:03
meLon joined20:04
kjartan joined20:05
freeman42x joined20:06
duderonomy joined20:07
SkarmoutsosV left20:09
null1337 left20:12
GreyXor left20:12
Stoot joined20:14
null1337 joined20:15
feriman left20:15
randomdude999 left20:18
randomdude999_ joined20:18
randomdude999_randomdude99920:18
Tie-1000 left20:19
feriman joined20:19
Tie-1000 joined20:21
de-facto left20:21
null1337 left20:21
jottr joined20:22
planigan joined20:22
lmariscal left20:25
Fernando-Basso joined20:25
jottr left20:27
Fernando-Basso left20:27
Fernando-Basso joined20:27
greatgatsby joined20:27
magic_ninja left20:28
randomdude999 left20:28
randomdude999 joined20:29
yokisuci left20:30
magic_ninja joined20:30
lmariscal joined20:31
xace left20:34
yokisuci joined20:36
randomdude999 left20:37
randomdude999 joined20:37
jottr joined20:38
randomdude999 left20:38
randomdude999 joined20:39
yokisuci left20:39
jstimm left20:41
feriman left20:42
causa_sui joined20:43
jottr left20:43
feriman joined20:48
troulouliou_div2 joined20:49
randomdude999 left20:49
randomdude999 joined20:50
n3wborn joined20:52
d^sh left20:54
d^sh joined20:56
meribold left20:56
meribold joined20:56
randomdude999 left21:00
nuala joined21:01
tufteddeer left21:06
oatmealraisin joined21:06
tufteddeer joined21:07
feriman left21:10
alystair left21:12
jottr joined21:13
magic_ninja left21:14
shabius_ joined21:16
magic_ninja joined21:17
ExeciN joined21:17
shabius left21:18
jottr left21:19
malina joined21:19
m0viefreak joined21:22
ricks_ joined21:22
mowcat joined21:22
ricks_ Hey there. I downloaded a linux tarball and intend to push it to GItHUB with my own changes. however, I"ve run into a snaggle21:23
I use an alternate repo to host my patchset, so I used 'git remote add patches www.isopale.com'21:23
SOrry btw, let me know if you'd prefer me to have spearate messages or onre big one21:24
yokisuci joined21:24
horribleprogram left21:25
ricks_ Anyways, I remote added it no problem, fetched ti too. But it ended in the top level directory rather than directory of its own. So Then the rest is a blur but now my original locla repo's HEAD is stuck on the remote HEAD21:25
How would I go about changing that if I didn't define HEAD in te first place? LOL. Brb. Let me check if I can do that.21:26
abraxxas joined21:26
rafasc ricks_: what do you mean by 'define HEAD' ?21:33
ricks_ I iam assuming 'HEAD' is how I would be able to determine what repo a branch belongs to21:34
since name clobber21:34
rafasc if you want to fetch something into its own directory, you'll need to use either submodules or subtrees.21:34
mase-tech left21:35
ricks_ pikachu face21:35
Should I nuke this and remove the remote brnach?21:35
I'll read about subm/t and come back thank you21:36
rafasc ricks_: HEAD is what defines what you have checked out.21:36
ricks_ SO HEAD is more of a check rather than what determines what's going to happen?21:36
rafasc It's not a check. When HEAD resolves to 'master', it means you have master checked out.21:37
lungaro__ joined21:37
ricks_ RIghto. So my current local repo master has been replaced by the remote21:37
rafasc ricks_: just for clarification, the 'name clobbering' is avoided on fetch, because it fetches branches into their own namespaces.21:39
ricks_ While I figure out submodules; I have an identical branch to master. Would running 'git rebase <branc>' while on master work21:39
rafasc if you fetch master from remote1, you get remote1/master.21:39
ricks_ oh that's a new thing to me, thank you21:39
lungaro_ left21:39
Inline left21:40
rafasc ricks_: No, rebase would not work because your trees mismatch.21:40
xcm left21:41
ricks_ > (no branch, rebasing master)21:41
you're a wizard21:41
xcm joined21:41
ricks_ What is the preferred method to revert commits?21:41
greatgatsby left21:42
rafasc !revert21:42
gitinfo That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?21:42
leeN left21:43
ricks_ Preface: apologies if it seems like I am ignore parts of youor message, I am still new to this so I don't know how to answer them21:45
Ideally I just want to revert it to the very first commit, and I would like to discard all changes21:45
Then use a sub[module][tree][etc] to clone a single folder to use as a quilt series source21:46
rafasc may I bikeshed a bit?21:47
why do you want to track diffs inside git?21:47
ricks_ the floor is yours21:47
so right now in my local repo i untarred a kernel21:49
rafasc I think it would be better if you made commits from those patches. Then have a branch to represent a series, or tags for single ones.21:49
ricks_ i have a remote repo on github where I can update it separate from this kernel. the end goal is to be able to fetch updates for the patchsets and have it automatically updated for the kernel tree (this kernel tree being the untarred local repo kernel)21:50
rafasc (in the future, you could either merge these branches, or cherry-pick the commits, to apply them individually)21:50
ricks_ SO what I'm reading is that remote repos aren't meant for what I'm doing right now21:51
Wait, I would add the remote branch *to* commit...is that right?21:52
magic_ninja left21:52
rafasc remotes are for tracking another clone of the repository, not to track a directory of unrelated files.21:52
tufteddeer left21:53
abraxxas left21:53
tufteddeer joined21:54
rafasc ricks_: let me see if I understand your scenario.21:54
magic_ninja joined21:54
rafasc you have a kernel tar ball from some place.21:55
and you want to track changes from said tarball?21:56
to apply on your own kernel?21:56
ricks_ oh no21:56
hm21:56
I'll do a little doodle for you in dpaste21:56
pie_ joined21:57
nuala left22:04
omnireq joined22:04
misuto left22:05
kh31d4r left22:05
ricks_ rafasc, I *think* this is relevant: https://dpaste.de/4Aaq22:05
So what my major malfunction may have been was I am following https://www.kernel.org/doc/man-pages/linux-next.html, which is meant to patch over the original repo.. I do not want to do that, and prefer to have the patche files ready to be applied22:07
rafasc ricks_: is github.com/oidfjos.git a clone of the kernel?22:07
ricks_ That is a placeholder for a folder of *.patch files22:09
rafasc then git isn't the right tool for this job.22:09
ricks_ Please explain, I do not understand22:09
ave_milia left22:09
ricks_ Sorry to interrupt so early, but I intend to upload the tarball I had so I wouldn't have to clone a tag which owuld be slower. Is it bad practice to not work on the kernel itself, even for personal use?22:11
(unzipped tarball)22:11
rafasc clone a tag would be slower? That can be easily fixed by doing shallow clones for example.22:12
you're trying to force a patch-workflow into git, which is more suited for a commits workflow.22:12
It can be done, but I do not see the point.22:13
Narrat left22:13
tufteddeer left22:14
rafasc If you're willing to sacrifice the layout of the github.com/oidfjos.git repo, (no readmes, just a patch/ directory with the patches, and maybe the readme inside), you can simplify this quite a lot by doing git merge --allow-unrelated-histories.22:14
tufteddeer joined22:15
ricks_ hm22:15
rafasc but otherwise, you'll need to use submodules/subtrees to have control over the place they get included in the other repo.22:15
ricks_ I'm hearing you, and what I can understand is what what I'm currently doing is the hard way with no benefit22:15
rafasc But why not just apply the patches, making commits out of them? Any person interested could fetch from you and cherry-pick the commits.22:16
ricks_ In your opinion, git clone a tag with depth of 1? How do shallow forks work22:16
Interesting22:16
rafasc it basically clones the files and N commits of history. (But has some limitations)22:17
ricks_ If sequential order is important, would that affect the utility of using commits like that?22:17
Thanks btw, this is all really helpful22:17
rafasc if sequencial order is important, make a branch out of them.22:18
users would use $git rebase --onto my_target <first-commit-in-sequence> branch-with-last-commit-in-sequence22:19
this basically would apply the commits in the same order you made them..22:19
jottr joined22:20
misuto joined22:21
ricks_ I see. This is whY I choose to use Quilt instead, but if you don't mind me asking, do people prefer your method in most cases? I've been using tags instead of branches so I wouldn't have too many branches to sort through for incremental patches but obviously taggin has its limitations22:22
LaScoumoune_ joined22:22
kh31d4r joined22:23
ricks_ I'm going to have to look into rebasing as well. Now that I think about it, rebasinw with commits would be much faster, although I wonder how that would affect quilt22:23
crose left22:26
ricks_ Alright I'm going to clone a tag with depth 1 and see how it works out with submodules22:26
rafasc if you go with the clone approach, you don't need submodules.22:27
if you insist about having the .patch files, (files that you can generate from commits with git format-patch, gidd diff, etc), you'll have to do it to accommodate the tree mismatch.22:28
jubal joined22:28
rafasc I'll have to go, maybe wait someone else chime in.22:29
ricks_ Tree mismatch?22:29
I'm intending for the patchset to only be gor a specific kernel version22:29
Anyways22:29
Thanks a lot for the help friend22:29
+rafasc,22:29
jubal_ left22:30
LaScoumoune_ left22:32
ricks_ I wonder if this means anything? https://dpaste.de/tUUH22:33
qotta left22:35
alystair joined22:36
tribly left22:40
paws_ left22:40
tribly joined22:41
ricks_ When intending to fork via cli.....nevermind. I'll fork it and clone it from my repo22:43
jubal left22:43
tufteddeer left22:45
tufteddeer joined22:45
jubal joined22:46
jottr left22:51
yokisuci left22:52
theoceaniscool left22:57
cdown left23:01
Aquazi left23:01
localhorse left23:03
tufteddeer left23:05
tufteddeer joined23:06
Fernando-Basso left23:13
supernovah left23:17
camsbury joined23:18
libertyprime joined23:20
justanotheruser left23:20
rafasc ricks_: by three mismatch I mean that the files you're putting in the repo (*.patch) do not match the files in the kernel (*.c etc)23:21
justanotheruser joined23:21
rafasc ricks_: there are a couple of things to note.23:21
you have a branch named remove 'rm'23:22
you probably created it trying to delete a branch.23:22
arinov joined23:23
ricks_ yes!23:23
rafasc also, you are in what we call 'Detached HEAD state'23:23
ricks_ how the heck did you find me23:23
wait23:23
I posted a log earlier23:23
rafasc and probably in the middle of a rebase: * (no branch, rebasing master)23:24
ricks_ sorry for the confusion. I;ve since renoved it23:24
yeah I wasn't able ti cancel that for some rreason23:25
I'm nuking it and cloning a fork now23:25
Whiskey left23:25
rafasc git rebase --abort23:26
ricks_ yeah it didn;t do anything, i gave a knack for breaking things23:26
camsbury left23:26
m0viefreak left23:27
ricks_ RE: mismatch I'll double chec, I've beeen using these since 5.2,023:32
rafasc Maybe another way you could about this, keeping the patch approach. (with submodules)23:33
make a repository with your patches, in any way you like, then add the kernel as a submodule.23:34
n3wborn left23:34
rafasc that way, you can can specify the kernel version you intend. And people can clone with --shallow-submodules23:35
that way, they'll only need to transfer the kernel you're targeting, and not the history of the kernel.23:35
and if they want to do it in another kernel version, they could just change the submodule to the appropriate version.23:36
im0nde joined23:37
im0nde_ left23:38
rafasc but tracking patches in git is a bit of an anti-pattern.23:39
morozovm joined23:39
arinov left23:40
Whiskey- joined23:42
morozovm left23:44
dartmouthed left23:51
squirrel hi, i don't seem to be able to fetch remote branches. `git remote -v` correctly lists a github repo for fetch and push, and `git fetch --all -v` says that master is up to date but lists no other branches, what am i doing wrong?23:59

Logs Search ←Prev date Next date→ Channels Documentation