IRCloggy #git 2022-08-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.

2022-08-09

loulou left00:08
loulou joined00:08
loulou left00:08
loulou joined00:08
kaisyu left00:09
softirq left00:10
off^ joined00:17
ellobo joined00:25
loulou left00:27
loulou joined00:27
loulou left00:27
loulou joined00:27
remyabel2 joined00:28
karabaja4 joined00:29
Gambino joined00:31
zeenk left00:32
Gambino left00:32
skered I don't have GIT_PAGER or PAGER set (or in my env.) I have global core.pager set to "less -x4" yet git-diff seems to always use 8 spaces for tabs. Any idea what I'm missing?00:33
exporting LESS=FXRx4 seems to fix it but I'm wondering why git doesn't want to use core.pager.00:34
The repo doesn't have pager settings either.00:34
vysn joined00:36
skered oh son of gun... it's pager.diff is 'diff-highlighter | less' so I guess if I wanna use that LESS is my only option...00:37
Or just add the -x2 to that.00:38
-x4 rather...00:38
hbautista joined00:41
thebombzen left00:42
stef204 joined00:44
Sasazuka left00:45
madprops what happens if i try to clone but the clone already exists. What I would want is to pull instead. Is there a clone or pull?00:45
bambanxx left00:46
wallabra left00:47
gumnos joined00:48
Murr- joined00:50
blaklistd left00:50
madprops so maybe this: git -C repo pull || git clone https://server/repo repo00:51
mackerman madprops: Try it and see00:52
Murr left00:52
Murr-Murr00:52
wacko joined00:53
wacko left00:53
wacko joined00:53
mackerman clone is only for copying an entire repo from empty, so it will refuse if the target is not empty00:54
A robust shell script might check if a directory is a git repo, with a fast plumbing command like git rev-parse --git-dir01:02
And if that returns non zero, clone it or whatever01:02
smallville7123 joined01:05
umbramalison left01:06
umbramalison joined01:06
imp joined01:10
nyah left01:10
darklambda joined01:10
umbramalison left01:11
waterkip_waterkip01:11
umbramalison joined01:12
Torr left01:12
ekaj1ekaj01:12
ekaj left01:12
ekaj joined01:12
darklambda left01:13
adanwan left01:14
ellobo left01:14
adanwan joined01:14
ellobo joined01:14
FinnElija left01:16
FinnElija joined01:16
chexum left01:21
chexum joined01:21
gildasio joined01:25
loulou left01:26
imp left01:28
rgrinberg left01:28
Misotauros joined01:33
cdown left01:35
FinnElija left01:35
FinnElija joined01:36
tofran joined01:37
FinnElija left01:38
FinnElija joined01:39
Xenguy joined01:42
bambanxx joined01:42
bambanxx left01:43
nivag left01:44
nivag joined01:46
lemonsnicks left01:50
vysn left01:50
EternalSunshine joined01:55
mw__ left01:58
mw_ joined01:58
CarloWood left02:02
Misotauros left02:03
hqdruxn08_ left02:04
Murr- joined02:04
hqdruxn08_ joined02:05
Murr left02:07
Murr-Murr02:07
chexum left02:09
kevr_ joined02:13
kevr left02:15
finn_elija joined02:16
FinnElija left02:16
finn_elijaFinnElija02:16
wallabra joined02:17
kevr_kevr02:17
blaklistd joined02:20
rgrinberg joined02:23
stef204 left02:27
Misotauros joined02:27
av2156 joined02:28
jazzy2jazzy02:31
Rashad left02:32
adanwan left02:38
millido left02:38
thiago joined02:38
adanwan joined02:39
chexum joined02:39
lucasta left02:44
lucasta joined02:45
millido joined02:54
Coop56 joined02:54
bdeferme1 joined02:54
pcarphin020 joined02:55
Cienisty joined02:55
Black joined02:55
bluekoopa left02:56
aindilis_ joined02:56
njt_ joined02:56
randm_ joined02:56
wallabra_ joined02:56
dansan_ joined02:56
mgedmin_ joined02:56
mort0 joined02:56
GoGi_ joined02:56
tonitch_ joined02:56
xkoncek0 joined02:57
f-chymera joined02:57
Magician joined02:57
brw7 joined02:57
oprypin joined02:57
wallabra left02:57
ag4ve joined02:57
Jck_true2 joined02:57
Soni joined02:57
leftyfb_ joined02:57
scottg489 joined02:57
lukedashjr joined02:57
Jonno_FTW joined02:57
Jonno_FTW left02:57
Jonno_FTW joined02:57
wagle_ joined02:57
luckman212_ joined02:57
OMGOMG joined02:58
kandinski joined02:58
berndj-blackout joined02:58
wallabra_wallabra02:58
tdeo_ joined02:59
G30RD14 joined02:59
Ajax1463 joined02:59
bleb_ joined02:59
gothicserpent_ joined02:59
gothicserpent_ left02:59
soifou joined02:59
wpcarro_ joined02:59
hexnewbie joined02:59
zx2c4_ joined02:59
madduck_ joined03:00
NightMonkey_ joined03:00
phryk_ joined03:00
ripdog_ joined03:00
Fischmie1 joined03:00
sitaramc joined03:00
ludovicchabant_ joined03:00
qsx joined03:00
Ajax146 left03:00
Ajax1463Ajax14603:00
charly_ joined03:00
gothicserpent_ joined03:01
lagash joined03:01
jsatk___ joined03:01
oztunan_ joined03:02
jab416171_ joined03:02
gothicserpent_ left03:02
Vaelatern joined03:02
Vaelatern left03:02
Vaelatern joined03:02
Walex2 joined03:02
cyberpear_ joined03:02
rudi_s_ joined03:02
another joined03:02
pasky_ joined03:02
jsatk__ left03:03
synthmeat left03:03
Coop left03:03
Square2 left03:03
bdeferme left03:03
rapmoc_ left03:03
soifou_ left03:03
lagash_ left03:03
hexnewbie_ left03:03
tkazi left03:03
LuKaRo_ left03:03
njt left03:03
Jonno_FT1 left03:03
oprypin_ left03:03
SoniEx2 left03:03
another| left03:03
luke-jr left03:03
Vaelatern_ left03:03
glider_ left03:03
qsx` left03:03
OMGOMG_ left03:03
Sazhen86 left03:03
kandinsk1 left03:03
sitaramc_ left03:03
jgn left03:03
comploti1t left03:03
hbjy left03:03
bleb left03:03
ag4ve_ left03:03
luckman212 left03:03
NightMonkey left03:03
scottgy left03:03
berndj left03:03
G30RD13 left03:03
Jck_true left03:03
shailangsa_ left03:03
leftyfb left03:03
brw left03:03
paperino42[m] left03:03
ike[m] left03:03
gothicserpent left03:03
phryk left03:03
Benett left03:03
Wolf480pl left03:03
gitinfo left03:03
yourfate left03:03
ludovicchabant left03:03
slaughter left03:03
charly left03:03
GoGi left03:03
cyberpear left03:03
tonitch left03:03
randm left03:03
catern left03:03
kilobyte_ch left03:03
Walex left03:03
Hash left03:03
madduck left03:03
zx2c4 left03:03
ForeverNoob[m] left03:03
dansan left03:03
rudi_s left03:03
mort left03:03
sepples left03:03
ripdog left03:03
pcarphin02 left03:03
auri left03:03
Koeniz left03:03
aindilis left03:03
teear left03:03
brw7brw03:03
randm_randm03:03
tdeo_tdeo03:03
ludovicchabant_ludovicchabant03:03
njt_njt03:03
pcarphin020pcarphin0203:03
luckman212_luckman21203:03
Jck_true2Jck_true03:03
mort0mort03:03
f-chymerachymera03:03
xkoncek0xkoncek03:03
mgedmin_mgedmin03:03
G30RD14G30RD1303:03
bleb_bleb03:03
cyberpear_cyberpear03:03
zx2c4_zx2c403:03
lukedashjrluke-jr03:03
madduck_madduck03:03
berndj-blackoutberndj03:03
NightMonkey_NightMonkey03:03
tharkun joined03:04
hbjy joined03:04
gordonfish joined03:04
gothicserpent joined03:04
pflanze_pflanze03:05
rapmoc joined03:05
Oddly joined03:05
lucasta left03:06
glider joined03:06
paperino42[m] joined03:06
softirq joined03:07
sepples joined03:08
yourfate joined03:08
teear joined03:08
tkazi joined03:09
sebastorama joined03:09
polyrob joined03:10
ike[m] joined03:11
darklambda joined03:11
Square joined03:11
slaughter joined03:11
leah2 joined03:12
darklambda left03:12
ForeverNoob[m] joined03:12
Koeniz joined03:12
Hash joined03:12
hololeap_hololeap03:12
Yruama left03:13
complotist joined03:13
auri joined03:13
Wolf480pl joined03:13
jgn joined03:13
ellobo left03:14
synthmeat joined03:14
kilobyte_ch joined03:14
ellobo joined03:14
LuKaRo joined03:17
bluekoopa joined03:17
YuGiOhJCJ joined03:21
CalimeroTeknik joined03:21
bindu_ left03:25
softirq left03:26
bindu_ joined03:26
Gambino joined03:26
zumba_addict joined03:30
gitinfo joined03:30
ChanServ set mode: +o03:30
shailangsa joined03:36
YuGiOhJCJ left03:38
YuGiOhJCJ joined03:39
lemonsnicks joined03:39
bloody left03:43
froyo9 joined03:43
froyo left03:45
froyo9froyo03:45
antoniomika joined03:45
daurnimator joined03:45
antoniomika left03:45
Coop56 left03:49
rgrinberg left03:53
lmat left03:57
Gambino left04:02
zebrag left04:04
Gambino joined04:09
Natrick left04:11
Guest1776 joined04:11
CarloWood joined04:12
Gambino left04:12
ColdKeyboard left04:12
Guest1776 left04:13
ColdKeyboard joined04:13
Natrick joined04:17
mihael joined04:19
blaklistd left04:20
blaklistd joined04:22
GNUmoon2 left04:23
adanwan left04:26
crabbedhaloablut left04:26
gxt___ left04:26
fling left04:26
ghost43 left04:26
chexum left04:26
crabbedhaloablut joined04:26
adanwan joined04:26
chexum joined04:26
fling joined04:27
ghost43 joined04:27
remyabel2 left04:31
loulou joined04:33
loulou left04:33
loulou joined04:33
av2156_ joined04:33
EternalSunshine left04:34
luffy left04:34
thiago left04:35
av2156 left04:36
remyabel2 joined04:40
hamburgler2 joined04:42
av2156_ left04:43
hamburgler left04:45
powftw joined04:49
srinidhi joined04:51
darklambda joined04:54
tirnanog left04:59
loulou left05:03
hamburgler3 joined05:04
hamburgler2 left05:06
catern joined05:07
mihael left05:11
ellobo left05:14
ellobo joined05:15
fling left05:16
fling joined05:17
smallville7123 left05:19
srinidhi left05:20
darklambda left05:23
fling left05:28
fling joined05:28
Gambino joined05:30
smallville7123 joined05:32
madewokherd joined05:33
madewokherd` left05:35
srinidhi joined05:42
Gambino left05:46
Gambino joined05:47
jazzy left05:50
daurnimator left05:50
daurnimator joined05:52
Malin left05:54
Malin joined05:55
coot joined05:55
chexum left05:57
chexum joined05:57
derfflinger joined05:58
gast0n left06:01
ChmEarl left06:01
mexen joined06:05
adanwan left06:06
adanwan joined06:06
otisolsen70 joined06:07
rudi_s_rudi_s06:10
remyabel2 left06:11
nasamuffin left06:19
Gambino left06:20
hbautista left06:20
FH_thecat joined06:25
Gambino joined06:26
vanessa joined06:27
YuGiOhJCJ left06:29
YuGiOhJCJ joined06:30
rfuentess joined06:32
srinidhi left06:33
crabbedhaloablut left06:38
crabbedhaloablut joined06:39
thebombzen joined06:40
enoq joined06:42
The_Blode joined06:42
csm3105 joined06:43
mrmango17 joined06:51
benonline joined06:51
srinidhi joined06:55
realies left07:04
MajorBiscuit joined07:05
realies joined07:06
YuGiOhJCJ left07:06
YuGiOhJCJ joined07:06
crabbedhaloablut left07:10
crabbedhaloablut joined07:10
MajorBiscuit left07:11
MajorBiscuit joined07:11
vysn joined07:12
iomari891 joined07:14
ellobo left07:14
ellobo joined07:14
Gambino left07:15
Mo joined07:15
Guest4572 joined07:16
gildasio left07:17
crabbedhaloablut left07:18
vanessa left07:18
Guest4572POLO07:18
crabbedhaloablut joined07:18
gildasio joined07:18
thebombzen_ joined07:19
thebombzen left07:19
vanessa joined07:19
very_sneaky left07:21
POLO left07:23
Polo joined07:24
thebombzen_ left07:26
thebombzen joined07:26
Gambino joined07:27
Polo left07:29
Rh0ndaRhonda07:37
BlessJah_BlessJah07:37
Gambino left07:40
hamburgler2 joined07:41
hamburgler3 left07:44
benonline81 joined07:45
rohdef joined07:47
benonline left07:47
Scalamoosh joined07:48
rohdef I got a strange issue. I got some repositories where if I use the git editor I get `Aborting commit due to empty commit message.` and others where it doesn't. Editor works fine, I can confirm that `.git/COMMIT_EDITMSG` exists and has the right contents in both cases, I cannot spot any relevant differences in the configuration. What do I do to fix07:49
this?07:49
I got a strange issue. I got some repositories where it works if I use the git editor I get `Aborting commit due to empty commit message.` and others where it doesn't. Editor works fine, I can confirm that `.git/COMMIT_EDITMSG` exists and has the right contents in both cases, I cannot spot any relevant differences in the configuration. What do I do07:50
to fix this?07:50
osse rohdef: is it the same editor you use in all cases?07:50
rohdef it is:) I only got a global editor config (set to emacs, but reproced with nano)07:51
osse the version of git is the same in all cases?07:52
are some of the repos "different" in some way, e.g. they are additional worktrees or submodules07:52
TomyWork joined07:52
zer0bitz joined07:53
rohdef yes, version 2.34.1 in both cases (just double checked :) ). And to my knowledge no differences apart from the code under control and thus of course also different branches, origin etc. the usual stuff. But apart from that and the weird commit issue no differences that I know of07:54
osse diff the output of git config --list --show-origin in a working and non-working repo07:56
Scalamoosh left07:59
rohdef https://diffonline.net/YMQaaua6ia weirdness on the aliases oO something is off in that diff, but not sure exactly what's the case though08:01
dionysus69 joined08:04
osse this is on the same pc ?08:04
rohdef it is08:07
osse so the emacs version is also the same I presume08:07
I'm stumped, then.08:07
Sasazuka joined08:08
gildasio left08:09
bindu_ left08:09
kevr left08:09
FinnElija left08:09
crabbedhaloablut left08:09
fling left08:09
crabbedhaloablut joined08:10
gildasio joined08:10
FinnElija joined08:10
fling joined08:10
lpapp joined08:10
lpapp hi, why is it not possible to reword the title in the interactive rebase session without having to reword each commit, potentially many, one by one?08:11
kevr joined08:11
lpapp Just wanted to change the prefix in the title of 10+ commits from foo to bar08:11
but doing so, save and exit, would still give the old titles back after all.08:11
osse rohdef: hmm, in one repo you actually have the editor setup in the repo-local config, in addition to the global. That *shouldn't* be the cause of the problem, but worth eliminating as a suspect08:12
bindu_ joined08:12
feriman joined08:13
Sasazuka left08:13
bindu_ left08:18
Betal left08:20
bindu_ joined08:20
bindu_ left08:21
bindu_ joined08:22
john_johnk joined08:22
hamburgler3 joined08:27
hamburgler2 left08:30
Polo joined08:34
osse lpapp: i'm guessing because no one bothered to implement it08:34
lpapp: here's a hacky solution: git rebase -i --exec 'git log -1 --pretty=%B | sed "1s/^old/new/" | git commit --amend --no-edit --file -'08:35
using exec in interactive rebase is pretty cool08:38
lpapp yes, I was thinking that it could be automated.08:39
Thanks. Sounds like a reasonable feature request?08:39
remyabel2 joined08:40
lpapp Although, I guess that the counter-argument is that it is easy to sneak in accidental keypresses in unguarded editors.08:40
mingdao left08:41
Sasazuka joined08:42
osse And people might be confused about only changing the first line. Should the rest be kept or discared?08:42
But imo. it should be implemented, and it should modify the first line and keep everything else. It just feels so natural to try08:42
lpapp why not kept?08:43
I do not see a use case for dropping the rest08:43
if you want to drop the rest, reword.08:43
very_sneaky joined08:43
lpapp or introduce a new command in place of reword08:43
but it is rarely a good practice not to have a body.08:43
osse I don't either, honestly. I just imagine someone expecting to be able to *set* the commit message in its entirety08:43
and complaining about it because the rest of the message was kept without their knowledge, and they git fired or something08:44
lpapp put it into the comment below to explain this.08:44
and then their expectation can be managed.08:44
I would not use this feature very often, but I had to do 10 steps now instead of a column replace in vim :)08:45
benonline81 left08:45
benonline joined08:45
lpapp I thought that the only argument could be the maintenance overhead vs. rare use case.08:45
but then git has options and features for rare use cases, too.08:45
YuGiOhJCJ left08:46
Sasazuka left08:46
john_johnk left08:47
momomo joined08:48
osse Oh look, a week ago: https://public-inbox.org/git/pull.1228.git.git.1659422389830.gitgitgadget@gmail.com/#t08:49
let's see if this patch makes it08:49
not exactly the same we imagined it, but...08:49
xx joined08:50
lpapp nice coincidence, thanks :)08:50
[email@hidden.address] sounds dodgy.08:51
osse Sounds like a cartoon character to me08:52
like inspector Gadget's little helper08:52
anyway, it's pretty neat: https://gitgitgadget.github.io/08:52
mingdao joined08:53
lpapp Yep, googled it, thanks.08:53
I do not know if reword is really needed to be honest.08:53
to me, it sounds like an extra step...08:53
osse agreed.08:54
natrys joined08:54
lpapp I would just edit it and that is it08:54
and mention in the comment below08:54
osse the maintainer didn't like it either. he proposed "retitle" which makes sense.08:54
yeah i agree08:55
lpapp Also, what if you want to edit + reword08:55
you cannot have both08:55
I do not like any word for it08:55
I think it should be the default08:55
what if you want to retitle + edit08:55
you have to write retitle first and then edit?08:55
sounds over-complicated08:55
osse i agree08:55
lpapp also, it is not consistent with reorder08:56
do we need a reorder keyword to be consistent? I do not think so08:56
everything you do is inline.08:56
the extra words refer to step-by-step actions08:57
osse or both? implement retitle, and have a config flag rebase.allowChangeTitle that controls whether or not it's implied (and thus can be combined with other actions)08:57
keypushe- joined08:57
lpapp to me, the editor session ought to be freestyle, similarly to reorder08:57
without further imposition08:57
and the keywords ought to refer to the step-by-step actions.08:58
keypusher left08:58
lpapp you are in the editor directly to change the content, why keywords08:58
your actions determine what you want to do08:58
Mo silly: Hi, I got the issue solved with --force: https://github.com/frej/fast-export/issues/9 Thanks. What does it mean that git can't represent a branch with 2 heads? How can hg do that?08:59
How can that happen in hg, I guess without renaming the branch I was submitting on 2 machines, and one just had a lost head, while later I was continuing with the other head. So git can't do such a thing?09:00
keypushe-keypusher09:00
Mo With --force, I'm not sure now if I lost data at the migration.09:00
lpapp if we need an explicit option, retitle is better than reword as that would make the intention clear not to open up the commits for rewording.09:01
I am just not sure about the rationale behind the explicit option.09:01
also, the commit message ought to explain the rationale behind an extra step09:02
(which it currently does not, just explains how to use the option)09:02
lxsameer joined09:02
ikke Mo: in git, a branch is defined by a ref name.09:03
Sazhen86 joined09:03
ikke A ref can only point to a single commit09:03
Mo ikke: What means, defined by a ref name? Comparing 'git log --graph --full-history --all' with 'hg glog' looks quite similar, every branch seems to have a head revision. Just in the hg repo, one branch had 2 heads by mistake.09:06
ikke I don't know the technical details of hf, but there you have the concept of anymous heads09:06
hg*09:07
Mo ikke: The scenario here, I like to migrate hg to git, using etc-keeper to maintain different /etc of different machines. Every machine will have its branch name. The branches will never be merged, just cherry-picked between.09:07
Is this the right approach or should every machine have it's own repo?09:07
I still need to manually merge single files between the machines, I thought using branches makes it easier in one repo.09:08
In hg I did it like that.09:08
ikke If you don't expect to merge, it can work09:08
Mo The cherry picking in hg was a bit uncomfortable, I usually did it like this: fl=/home/mb/.unison/DAV_Common.prf;gvimdiff $fl <(hg cat -r gentoo-mb $f)09:10
Maybe this will be easier in git?09:11
While -r ... was pointing to the other branch merging from.09:11
Polo left09:12
Magiciandeepy09:13
ellobo left09:14
ellobo joined09:14
chexum left09:15
chexum joined09:16
Sasazuka joined09:17
mingdao left09:18
mingdao joined09:20
Sasazuka left09:21
Peng__Peng09:25
luffy joined09:27
rohdef left09:27
kenanmarasli joined09:28
feriman left09:29
feriman joined09:30
coot left09:34
cdown joined09:36
G30RD13 left09:40
skapata left09:40
john_johnk joined09:42
G30RD13 joined09:45
benonline left09:48
farzat joined09:51
gryffus joined09:54
farzat left09:56
farzat joined09:57
Sazhen86 left09:58
john_johnk left10:01
farzat left10:04
farzat joined10:06
vishal left10:06
vishal joined10:09
Swahili joined10:15
Misotauros left10:16
zumba_addict left10:16
Leonarbro left10:25
darklambda joined10:33
Noisytoot left10:37
awmv joined10:39
Mo left10:41
Mo joined10:42
Mo_ joined10:45
Mo left10:48
bindu_ left10:48
G30RD13 left10:49
bindu_ joined10:50
anotheranother|10:53
nyah joined10:56
bindu_ left10:56
bindu_ joined10:57
Mo_ left10:58
Mo joined10:58
powftw left10:59
darklambda left11:01
gxt___ joined11:05
darklambda joined11:06
darklambda left11:08
Misotauros joined11:08
rgrinberg joined11:16
ghost43_ joined11:20
ghost43 left11:20
darklambda joined11:32
mjt0k joined11:33
darklambda left11:33
Mo I imported a local hg repo into git, then tried to push it to Bitbucket, following https://stackoverflow.com/questions/24294034/how-do-i-push-a-local-repo-to-bitbucket-using-sourcetree-without-creating-a-repo11:34
So I did git push -u origin --all11:34
What does '-u origin' mean?11:34
zeenk joined11:35
Murr left11:37
Murr joined11:37
gnoo it'll associate the current branch with the branch name on the remote so if you push to origin/foo while being on bar, git push bar will then push to origin/foo11:39
i think11:39
mbalmer joined11:41
bambanxx joined11:44
Mo After that I have the master branch again and can't remove that.11:47
* [new branch] master -> origin/master git branch -d master ..not found. git branch -d origin/master ..not found11:49
tyson2 joined11:53
benonline joined11:57
bambanxx left12:00
momomo left12:02
Wh0 joined12:03
momomo joined12:04
momomo left12:06
momomo joined12:07
CalimeroTeknik left12:12
CalimeroTeknik joined12:12
FH_thecat left12:14
john_johnk joined12:16
mncheck joined12:16
Gaboradon joined12:17
vitali64 joined12:22
FinnElija left12:25
vysn left12:25
FinnElija joined12:26
rgrinberg left12:28
bambanxx joined12:30
Sasazuka joined12:37
Sulky left12:39
Sasazuka left12:42
Vonter_ left12:43
wyre_wyre12:46
bloody joined12:49
V__ joined12:49
Wh0 left12:52
MajorBiscuit left12:53
csm3105 left12:57
smallville7123 left12:57
john_johnk left13:00
FH_thecat joined13:01
FH_thecat how do I change the color of the commit hash in "git log" ?13:02
off^ left13:04
osse I think you have to write your own format :/13:05
I can't find a way¨'13:05
GNUmoon2 joined13:06
mingdao osse: https://git-scm.com/docs/git-log13:07
darklambda joined13:08
dnh joined13:09
darklambda left13:09
hstct joined13:10
osse FH_thecat: actually, it's affected by this: git config diff.color.commit red13:10
had to read the code to find out13:10
maybe it's documented somewhere13:11
Sasazuka joined13:11
MajorBiscuit joined13:11
ellobo left13:14
ellobo joined13:15
Major_Biscuit joined13:15
V__ left13:15
ThorMojito joined13:16
Sasazuka left13:16
ThorMojito left13:16
MajorBiscuit left13:16
impermanence joined13:17
ThorMojito joined13:17
Gambino joined13:17
ThorMojito left13:17
GambinoPolo13:22
iomari891 left13:23
cdown_ joined13:23
Xenguy left13:23
FH_thecat osse: thank you13:26
cdown left13:26
cdown_cdown13:26
wkawka joined13:26
FH_thecat and how do I define which fields are printed when I use: git log --pretty=oneline ?13:26
now, it does not print date13:27
osse try --date13:27
leftyfb_leftyfb13:28
leftyfb left13:28
leftyfb joined13:28
Celelibi_Celelibi13:28
thiago joined13:29
awmv left13:30
Major_Biscuit left13:31
causasui joined13:32
bambanxx left13:32
iomari891 joined13:34
Major_Biscuit joined13:35
Major_Biscuit left13:36
llh joined13:37
GyrosGei1rGyrosGeier13:37
momomo left13:38
lllh left13:38
softirq joined13:39
luffy left13:39
Polo left13:40
momomo joined13:40
MajorBiscuit joined13:43
hbautista joined13:45
busybusybusy left13:45
BUSY left13:45
Anticom joined13:46
Misotauros left13:48
Misotauros joined13:49
theoceaniscool joined13:49
momomo left13:50
SuperLag left13:50
Sulky joined13:50
SuperLag joined13:50
SuperLag left13:51
momomo joined13:51
coot joined13:55
SuperLag joined13:56
SuperLag left13:57
Mo How do I get the list of tracked files? Like hg status -nacu ? git status --untracked-file=no -s still shows a leading status symbol.13:57
bremner git ls-files ?13:58
mncheckm joined13:58
bremner or git ls-tree13:58
Mo Thanks.13:58
crabbedhaloablut left14:00
crabbedhaloablut joined14:00
mncheck left14:01
cdleonard9 joined14:01
cdleonard9cdleonard14:01
SuperLag joined14:01
SuperLag left14:02
SuperLag joined14:02
SuperLag left14:03
coot left14:03
gildasio1 joined14:03
GNUmoon2 left14:04
crabbedhaloablut left14:04
bindu_ left14:04
gxt___ left14:04
ghost43_ left14:04
ghost43 joined14:04
gxt___ joined14:05
crabbedhaloablut joined14:05
bindu_ joined14:06
bindu_ left14:06
Mo left14:07
zebrag joined14:07
bindu_ joined14:07
gildasio left14:07
SuperLag joined14:07
SuperLag left14:08
coot joined14:08
SuperLag joined14:08
SuperLag left14:08
derfflinger left14:09
BUSY joined14:11
Xaldafax joined14:11
bindu_ left14:13
SuperLag joined14:13
SuperLag left14:13
SuperLag joined14:14
SuperLag left14:14
bindu_ joined14:14
softirq left14:15
loulou joined14:15
loulou left14:15
loulou joined14:15
tyson2 left14:16
FH_thecat left14:17
farzat1 joined14:18
farzat left14:19
enoq left14:19
SuperLag joined14:20
srinidhi left14:20
bindu_ left14:20
awmv joined14:21
SuperLag left14:21
bindu_ joined14:22
cbreak left14:24
softirq joined14:24
farzat1 left14:25
madewokherd` joined14:26
softirq left14:26
cbreak joined14:26
farzat1 joined14:27
SuperLag joined14:27
SuperLag left14:28
bindu_ left14:28
madewokherd left14:30
Wh0 joined14:31
bindu_ joined14:33
SuperLag joined14:33
Sasazuka joined14:34
SuperLag left14:34
SuperLag joined14:34
feriman left14:34
SuperLag left14:34
Wh0 left14:37
srinidhi joined14:38
Sasazuka left14:38
SuperLag joined14:39
bindu_ left14:39
SuperLag left14:40
SuperLag joined14:40
SuperLag left14:40
bindu_ joined14:40
bindu_ left14:40
remyabel2 left14:41
bindu joined14:42
Murr- joined14:43
Murr left14:45
Murr-Murr14:45
SuperLag joined14:46
SuperLag left14:46
SuperLag joined14:46
SuperLag left14:47
Rashad joined14:47
Sulky left14:47
Sulky joined14:48
majors left14:50
fcser left14:50
grantbow left14:51
KillerWasp left14:51
mud left14:51
ChmEarl joined14:51
_vanessa_ joined14:52
fcser joined14:52
SuperLag joined14:52
SuperLag left14:52
dfg joined14:53
dfg left14:53
dfg joined14:53
majors joined14:53
SuperLag joined14:53
SuperLag left14:53
grantbow joined14:53
jazzy joined14:54
vanessa left14:54
KillerWasp joined14:55
gxt___ left14:55
gxt___ joined14:56
SuperLag joined14:58
SuperLag left14:58
SuperLag joined14:58
SuperLag left14:59
cdown_ joined14:59
m0viefreak joined14:59
srinidhi left15:00
xx left15:00
cdown left15:01
cdown_cdown15:02
SuperLag joined15:03
SuperLag left15:03
ThorMojito joined15:04
SuperLag joined15:04
gildasio1 left15:04
SuperLag left15:05
gildasio1 joined15:05
gast0n joined15:05
Anticom left15:05
fling left15:07
fling joined15:07
FinnElija left15:07
xx joined15:07
bindu left15:07
FH_thecat joined15:08
FinnElija joined15:08
darklambda joined15:09
SuperLag joined15:09
remyabel2 joined15:09
dionysus69 left15:09
gxt___ left15:09
gxt___ joined15:10
bindu joined15:10
bindu left15:10
SuperLag left15:10
SuperLag joined15:10
darklambda left15:11
SuperLag left15:11
bindu joined15:12
ellobo left15:14
ellobo joined15:14
fling left15:15
fling joined15:15
SuperLag joined15:15
SuperLag left15:15
ixil joined15:19
iomari891 left15:20
adanwan left15:21
ellobo left15:22
SuperLag joined15:22
adanwan joined15:22
SuperLag left15:23
srinidhi joined15:23
ixil left15:24
SuperLag joined15:26
SuperLag left15:26
SuperLag joined15:28
Sulky left15:29
SuperLag left15:30
SuperLag joined15:32
SuperLag left15:32
rfuentess left15:33
SuperLag joined15:35
SuperLag left15:35
iomari891 joined15:36
SuperLag joined15:38
SuperLag left15:39
farzat1 left15:40
farzat2 joined15:40
jamiejackson joined15:44
Rashad left15:45
gxt joined15:47
gxt___ left15:48
adanwan left15:50
thiago left15:50
adanwan joined15:51
SuperLag joined15:54
thiago joined15:54
SuperLag left15:55
Sulky joined15:56
hbautista_ joined15:58
batrick joined16:00
SuperLag joined16:00
arescorpio joined16:00
SuperLag left16:01
hbautista left16:01
ixil joined16:01
SuperLag joined16:02
SuperLag left16:02
FH_thecat left16:03
powftw joined16:03
Noisytoot_ joined16:05
Noisytoot_ left16:06
SuperLag joined16:06
ixil left16:06
SuperLag left16:07
SuperLag joined16:07
srinidhi left16:07
SuperLag left16:07
abu left16:08
alfredb joined16:08
Noisytoot_ joined16:09
SuperLag joined16:12
SuperLag left16:12
SuperLag joined16:13
SuperLag left16:13
Sasazuka joined16:15
awmv left16:16
vysn joined16:17
coot left16:18
dionysus69 joined16:18
SuperLag joined16:18
Noisytoot_Noisytoot16:18
SuperLag left16:19
Sulky left16:19
SuperLag joined16:19
Sasazuka left16:19
SuperLag left16:20
lolok joined16:20
jamiejackson left16:21
feriman joined16:21
SuperLag joined16:25
SuperLag left16:25
ThorMojito left16:25
hstct left16:27
farzat2 left16:30
SuperLag joined16:31
SuperLag left16:31
kenanmarasli_ joined16:32
farzat2 joined16:33
SuperLag joined16:34
Swahili left16:34
Swahili joined16:35
G30RD13 joined16:35
kenanmarasli left16:35
SuperLag left16:36
SuperLag joined16:37
SuperLag left16:37
Swahili left16:39
adanwan left16:39
remyabel2 left16:40
adanwan joined16:40
Rashad joined16:40
bambanxx joined16:41
SuperLag joined16:42
SuperLag left16:42
SuperLag joined16:43
SuperLag left16:43
farzat2 left16:43
SuperLag joined16:48
SuperLag left16:48
SuperLag joined16:48
SuperLag left16:49
kenanmarasli_kenanmarasli16:50
ThorMojito joined16:51
SuperLag joined16:54
SuperLag left16:56
OnkelTem left16:57
fercell joined16:57
FinnElija left16:57
Sasazuka joined16:58
FinnElija joined16:59
Sasazuka left17:00
foo_foo17:00
ghost43 left17:01
ghost43 joined17:01
SuperLag joined17:02
SuperLag left17:02
k1773__ left17:03
SuperLag joined17:04
SuperLag left17:04
Sasazuka joined17:05
ghost43 left17:10
k1773__ joined17:13
k1773__ left17:13
k1773__ joined17:13
SuperLag joined17:13
benonline left17:14
SuperLag left17:14
ThorMojito left17:15
vitali64 left17:15
FinnElija left17:15
FinnElija joined17:15
ghost43 joined17:16
forgotmynick joined17:17
iomari891 left17:17
mud joined17:19
SuperLag joined17:20
SuperLag left17:21
coot joined17:23
iomari891 joined17:26
SuperLag joined17:26
SuperLag left17:26
farzat3 joined17:27
wkawka left17:29
froyo left17:29
rgrinberg joined17:30
john_johnk joined17:30
froyo joined17:31
bambanxx left17:31
SuperLag joined17:32
SuperLag left17:32
Rashad left17:32
bambanxx joined17:35
lolok left17:36
Jenna64bit left17:38
Jenna16bit joined17:40
SuperLag joined17:40
Rashad joined17:41
SuperLag left17:42
SuperLag joined17:43
arescorpio left17:43
SuperLag left17:43
ThorMojito joined17:45
ThorMojito left17:45
SuperLag joined17:48
SuperLag left17:48
SuperLag joined17:49
SuperLag left17:49
gryffus left17:49
SuperLag joined17:54
SuperLag left17:54
SuperLag joined17:54
SuperLag left17:55
thekingofbandit left17:55
thekingofbandit joined17:56
pmcnabb joined17:59
SuperLag joined17:59
SuperLag left18:00
SuperLag joined18:00
crabbedhaloablut left18:01
SuperLag left18:01
crabbedhaloablut joined18:02
mbalmer left18:03
thekingofbandit left18:04
bambanxx left18:05
SuperLag joined18:06
SuperLag left18:06
G30RD13 left18:06
SuperLag joined18:07
bambanxx joined18:07
SuperLag left18:07
Lord_of_Life_ joined18:08
Lord_of_Life left18:10
Lord_of_Life_Lord_of_Life18:10
SuperLag joined18:13
SuperLag left18:13
TomyWork left18:14
iomari891 left18:18
SuperLag joined18:19
Sasazuka left18:19
john_johnk left18:19
SuperLag left18:19
rgrinberg left18:20
treefrob left18:21
llh left18:21
SuperLag joined18:21
SuperLag left18:23
treefrob joined18:23
llh joined18:23
Sasazuka joined18:25
SuperLag joined18:28
gareppa joined18:28
SuperLag left18:29
SuperLag joined18:30
SuperLag left18:30
SuperLag joined18:34
benonline joined18:34
SuperLag left18:35
SuperLag joined18:35
SuperLag left18:35
SuperLag joined18:40
SuperLag left18:41
SuperLag joined18:41
SuperLag left18:41
gareppa left18:41
srinidhi joined18:45
SuperLag joined18:51
Betal joined18:51
SuperLag left18:51
SuperLag joined18:56
SuperLag left18:57
SuperLag joined18:57
bambanxx left18:58
SuperLag left18:58
MajorBiscuit left18:58
lolok joined18:59
awmv joined18:59
MajorBiscuit joined19:00
rgrinberg joined19:02
natrys left19:04
MajorBiscuit left19:06
bn_work left19:06
causasui left19:08
adanwan left19:08
SuperLag joined19:08
adanwan joined19:08
SuperLag left19:08
darklambda joined19:09
SuperLag joined19:12
darklambda left19:13
SuperLag left19:13
SuperLag joined19:13
SuperLag left19:14
Tobbi_ left19:14
Rashad left19:17
lolok left19:18
SuperLag joined19:18
SuperLag left19:19
SuperLag joined19:19
SuperLag left19:20
rgrinberg left19:23
SuperLag joined19:24
SuperLag left19:24
FinnElija left19:29
YellowSuB joined19:30
FinnElija joined19:30
SuperLag joined19:31
SuperLag left19:31
Welp left19:34
Coop joined19:34
umbramalison left19:36
umbramalison joined19:36
SuperLag joined19:36
SuperLag left19:37
Sasazuka left19:42
alfredb left19:42
SuperLag joined19:42
SuperLag left19:42
foo We need to do a clean up of feature branches on our repo... we have a list of tasks with branches. I'm thinking we'll have someone walk through all branches, run git branch --contains feature-branch ... ensure it's in master. If yes, then push a delete to remote since it's done/closed. This will likely be done with dozens of branches. Any other better process here? I don't think there's any way around this19:45
SuperLag joined19:48
SuperLag left19:48
Welp joined19:50
SuperLag joined19:50
SuperLag left19:50
bookworm foo: git branch --merged too easy?19:51
bambanxx joined19:51
bookworm remove the current HEAD, assuming that's master and off you go19:51
foo bookworm: thanks! Not familiar with that, will check man page :_)19:52
:) **19:52
powftw left19:53
SuperLag joined19:53
SuperLag left19:54
lpapp left19:56
tyson2 joined19:57
dcpc007 joined19:59
benonline left19:59
SuperLag joined19:59
smallville7123 joined20:00
SuperLag left20:00
SuperLag joined20:01
SuperLag left20:01
otisolsen70 left20:01
Sasazuka joined20:05
SuperLag joined20:06
SuperLag left20:06
SuperLag joined20:07
SuperLag left20:08
awmv left20:09
osse git for-each-ref --format can be used to output shell code20:10
it's my favorite code generation tool20:10
SuperLag joined20:11
osse git for-each-ref --format='git push --delete origin %(refname)' --merged master -- refs/heads20:11
something like that20:11
SuperLag left20:11
SuperLag joined20:11
SuperLag left20:12
awmv joined20:12
SuperLag joined20:13
SuperLag left20:15
SuperLag joined20:16
bookworm does that automatically remove master from the list20:17
feriman left20:17
bookworm because at least the porcelain layer considers git branch --merged on master to have merged master20:17
which is somewhat true, but you really don't want to delete that ;)20:17
answer is no... there goes master :D20:18
osse only if you actually run the code :p20:18
gunner joined20:25
bambanxx left20:26
bambanxx joined20:27
arescorpio joined20:29
tomhg left20:45
ghost43 left20:49
ghost43 joined20:50
osse git for-each-ref --format='%(if:equals=refs/heads/master)%(refname)%(then)git push --delete origin %(refname)%(end)' --merged master -- refs/heads20:52
dansan_dansan20:53
vysn left20:54
cdown_ joined20:54
skapata joined20:55
skapata left20:55
skapata joined20:55
gunner left20:55
cdown left20:56
cdown_cdown20:56
ghost43 left20:56
ghost43 joined20:57
bambanxx left20:58
remyabel2 joined20:59
SuperL4g joined21:01
SuperL4g left21:02
bookworm either the syntax is really wonky or you're missing a not there21:02
of is git speak for "else" then after an if block?21:03
arescorpio left21:05
SuperLag left21:05
causasui joined21:06
SuperLag joined21:06
bambanxx joined21:06
cdown_ joined21:06
awmv left21:07
gildasio1 left21:08
FinnElija left21:08
ghost43 left21:08
crabbedhaloablut left21:08
fling left21:08
gxt left21:08
awmv joined21:08
ghost43 joined21:08
crabbedhaloablut joined21:08
fling joined21:08
bambanxx left21:08
gxt joined21:08
osse bookworm: i'm missing the not, yes21:08
gildasio1 joined21:08
FinnElija joined21:08
cdown left21:10
cdown_cdown21:10
bookworm your off your ballgame today... what's happening?! You're one of my favorite shell golfers in git land!21:11
You can't just leave me hanging!21:11
Ajax1469 joined21:11
zer0bitz left21:11
bookworm you're, even21:12
Ajax146 left21:13
Ajax1469Ajax14621:13
bambanxx joined21:15
throstur joined21:26
jmcantrell I have a repo that contains subdirectories that I've been using subtrees to manage. I need to edit a specific commit in one subtree's history to include a missing file. How would I do that?21:26
osse i'm playing computer games at the same time! :O21:26
GNUmoon2 joined21:28
EvilDMP left21:29
awmv left21:33
Jong left21:33
rgrinberg joined21:35
Sasazuka left21:37
millido left21:39
Sasazuka joined21:40
t0mm13b_ left21:43
t0mm13b joined21:43
Jong joined21:44
crabbedhaloablut left21:47
crabbedhaloablut joined21:47
throstur left21:50
t0mm13b left21:51
t0mm13b joined21:53
acebrianjuan joined21:53
masber joined21:54
impermanence left22:02
gildasio1 left22:03
Welp left22:04
gildasio1 joined22:05
OnkelTem joined22:05
bambanxx left22:13
OnkelTem left22:14
coot left22:14
rgrinberg left22:14
bambanxx joined22:14
rgrinberg joined22:15
coot joined22:16
anom joined22:17
coot left22:18
coot joined22:18
dionysus69 left22:18
szkl left22:19
rgrinberg left22:19
theoceaniscool left22:20
zumba_addict joined22:21
srinidhi left22:28
zumba_addict left22:30
transhumanist left22:31
transhumanist joined22:32
coot left22:32
nyah left22:36
throstur joined22:37
zeenk left22:38
loulou left22:38
hello-smile6 joined22:40
ThorMojito joined22:41
baltazar left22:50
hello-smile6 left22:51
baltazar joined22:52
hello-smile6 joined22:53
smallville7123 left22:53
ThorMojito1 joined22:54
dnh left22:56
bambanxx left22:56
ThorMojito left22:56
junebug joined22:59
masber left23:01
anom94 joined23:01
anom71 joined23:03
anom left23:04
ThorMojito1 left23:04
bambanxx joined23:04
Leonarbro joined23:04
_apex_ joined23:05
mingdao left23:06
anom94 left23:06
mingdao joined23:09
junebug left23:10
anom71 left23:10
junebug joined23:10
srinidhi joined23:12
vdamewood joined23:14
luffy joined23:14
junebug left23:20
junebug joined23:21
dcpc007 left23:24
rhe left23:25
loki_val joined23:27
crabbedhaloablut left23:27
Xenguy joined23:27
anom joined23:28
ThorMojito joined23:28
bambanxx left23:33
arescorpio joined23:34
anom left23:34
bambanxx joined23:34
junebug left23:34
jmcantrell is there a way to get a list of all the patterns that git is ignoring?23:35
rhe joined23:36
anom joined23:36
Hi-Angel1 joined23:36
bambanxx left23:37
Murr left23:37
Murr joined23:37
GNUmoon2 left23:38
junebug joined23:38
GNUmoon2 joined23:38
Hi-Angel1 I have a weird problem I have no idea what to even think of. My "author name" is wrong. lol, easy, right, just change a `user.name` and it's done. Well, no: I tried setting user.name, both globally and not to the correct one; heck, I even tried to AMEND the commit by passing a parameter "--author="my actual name", but I still see in commits the incorrect name23:38
Wow23:38
acebrianjuan left23:40
Hi-Angel1 If it's a bug, it is a weird one, because you would expect it to be some random characters, but it is an actual string — another way of writing my name that I used long ago.23:40
So weird23:40
bambanxx joined23:41
anom Hi-Angel1 You might be referring to changing authors of old commits. Am I correct about this? Or does the error continue even on new commits?23:42
Hi-Angel1 anom, it continues on new commits, and I can't change it on old commits by passing `--author` as well23:42
The_Blode left23:43
junebug left23:45
kenanmarasli left23:45
ThorMojito left23:46
arescorpio left23:46
hello-smile618 joined23:47
hello-smile6Guest883023:47
hello-smile618hello-smile623:47
gildasio1gildasio23:48
junebug joined23:48
Hi-Angel1 I tried `strace`ing git and making strace print all text the app reads, and the output has no that weird name, only the correct one. So weird…23:49
It's like git takes it out of pure air, out of nowhere. How is that even possible23:50
thiago to change the author in an existing commit, you need --reset-author23:50
Guest8830 left23:50
thiago otherwise, commit --amend does not update it23:50
interesting, I can't find where it's finding my surname in the strace output either23:53
but since I know where it's coming from, I can actually find it23:54
Hi-Angel1 thiago, I'm pretty it worked for me before. Either way, `reset-author` is incompatible with `author`, and when I removed author and left just reset-author, name is still left unchanged23:54
thiago it comes in a file descriptor sent over from nscd, which is mmap()ed to memory, so there's no read() call23:54
Hi-Angel1 Hmmm23:54
thiago recvmsg(3<socket:[2537429]>, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="passwd\0", iov_len=7}, {iov_base="\310O\3\0\0\0\0\0", iov_len=8}], msg_iovlen=2, msg_control=[{cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, cmsg_data=[4</var/lib/nscd/passwd>]}], msg_controllen=20, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 1523:54
mmap(NULL, 217032, PROT_READ, MAP_SHARED, 4</var/lib/nscd/passwd>, 0) = 0x7f6cc922e00023:55
Hi-Angel1 thiago, did you set a strace option `-s 9999` to have more text printed? I do find in strace output `git` reading my actual name (the one it for some reason refuses to use)23:56
thiago yep23:56
but I know this is where it's coming from23:56
it's getting my surname from /etc/passwd and it clearly isn't opening the file23:56
so this file descriptor passed from nscd must be it23:56
grep: /var/lib/nscd/passwd: binary file matches23:57
do you see the correct name in the output of getent passwd?23:57
junebug left23:58
Hi-Angel1 thiago, well, the `getent passwd` has incorrect one because that's my login name. But why would git use it, the login name can be pretty much anything. Also, the login name isn't capitalized, but commit author though matches login name, but is capitalized23:59
thiago getent does open /etc/passwd here, as it should23:59
because it's the default23:59

Logs Search ←Prev date Next date→ Channels Documentation