IRCloggy #git 2018-02-18

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.

2018-02-18

kozy left00:00
weez17 left00:00
kozy joined00:00
weez17 joined00:00
dermoth joined00:00
xcm left00:02
sammyg left00:02
xcm joined00:02
kus joined00:02
finalbeta left00:04
nowhere_man joined00:04
matsaman joined00:04
matsaman left00:04
ron____ joined00:05
cdown left00:05
nowhereman_ left00:07
rafasc joined00:07
i336_ left00:09
gitinfo set mode: +v00:09
ron____ I was trying this gitignore for fun : https://gist.github.com/anonymous/f91a69f8e98bbee7bf6f41e86134ecc700:09
And found this result : .gitignore:7:!/app/a app/a00:10
This is the ouput of git check-ignore app/a -v00:10
Any idea why?00:10
ron____ left00:10
i336 joined00:11
marianina8 left00:11
ronbd joined00:11
gitinfo set mode: +v00:12
BlessJah left00:13
bkxd joined00:16
topdownjimmy joined00:17
GitUserOnlyJust maybe something is eating the hard tab?00:18
King_Hual left00:19
xfbs left00:20
cust left00:21
leeN left00:22
GitUserOnlyJust reading the docs, I would expect the output might be: And found this result : .gitignore:7:!/app/a<tabGoesHere>app/a00:22
provided that the file app/a exists, which is why git check-ignore --verbose is reporting it.00:22
BlessJah joined00:25
ronbd git-check-ignore only prints thing which will be ignored00:27
MACscr left00:28
ronbd So the actualy existence of the file should not create any distraction for the command as per the documentation00:28
GitUserOnlyJust " If the pattern contained a ! prefix or / suffix, it will be preserved in the output. " I think this means that it will be output no matter what.00:32
add the --non-matching flag and how the output changes. ( I have no idea )00:33
ronbd not sure what this option does00:34
Btw, interstingly git check-ignore app/a/b -v or git check-ignore app/b -v works perfeclty00:35
It prints nothing as per expectation00:36
GitUserOnlyJust it says it outputs things which do not match any rule listed in .gitignore00:36
if those files do not exists, then there should be no output.00:36
--verbose shows you which files match which rules. It can't tell you it matches a ! rule, if it doesn't put it in the output.00:37
It seems to me it is doing exactly what you are asking it to do00:37
ronbd Let me explain again00:38
GitUserOnlyJust I do not think this statement is accurate: "git-check-ignore only prints thing which will be ignored" especially when you add the --verbose flag.00:38
ronbd In my .gitignore file : https://gist.github.com/anonymous/f91a69f8e98bbee7bf6f41e86134ecc700:38
Please notice the very first line00:39
I have instructed to ignore everything in the directory00:39
manuelschneid3r left00:39
GitUserOnlyJust yeah, and then you say "don't ignore this file"00:40
ronbd Then in line #3 & #4 explicitly mention to include app directory and app/*00:40
Then in line #3 & #4 explicitly mention to include app directory and app/a00:40
GitUserOnlyJust no00:40
no /app means a file00:40
ronbd So by the definition app/a should be tracked right?00:40
cbreak not tracked. Just not ignored.00:41
if you want to track it, git add -f it00:41
GitUserOnlyJust yes, app/a is tracked, it is not ignored. that is what it is telling you. that file matches the "don't ignore me" rule00:41
shinnya left00:41
ronbd Nope app/a is ignored00:42
I have tried creating a file and it says nothing on the git status00:43
GitUserOnlyJust the !/app rule ignores a file named app00:43
a rule like !/app/ would ignore a directory named app00:43
ahh...00:43
ronbd but anything except a like app/b, app/c, app/d works file00:43
fine*00:43
GitUserOnlyJust because you didn't un-ignore /app/00:44
xcmGuest2155800:44
Guest21558 left00:44
xcm joined00:44
ronbd Please visit the very last example here00:45
https://git-scm.com/docs/gitignore00:45
MACscr joined00:45
ronbd I did not find anywhere that /app will only match with file00:46
Rather than it is mentioned that adding a trailing slash will only match with a directory00:46
cust joined00:46
GitUserOnlyJust I don't know what it says in the docs, I only know what I learned from painful experience.00:46
ronbd My experience seems to be different here mate then00:47
cust left00:47
ronbd I have tried twice in the meantime00:47
It worked perfectly fine00:47
app matches both file and directory where app/ only matches with directory00:48
GoBear left00:48
GitUserOnlyJust but your original question was about git check-ignore --verbose00:51
ronbd git check-ignore --verbose just tells you what it will be doing with the gitignore files00:53
And I found this behaviour either inconsistent with the documentation or failed to understand it00:53
GitUserOnlyJust and I don't know what's in your folder. but if files app/b and app/c also exist, I would expect check-ignore --verbose to report that they aren't ignored.00:53
bkxd left00:53
ronbd yes I have app/b & app/c: they are not ignored00:54
bkxd joined00:54
ronbd But surprisingly app/a does not match the "dont ignore me rule" and it is ignored00:55
GitUserOnlyJust you are right about /app .vs /app/ but I don't see why check-ignore --verbose reports /app/a but not /app/b or /app/c because they should match the !/app "don't ignore me" rule.00:56
ronbd If I change !app/**, then git starts to ignore app/a, app/b, app/c, everything inside app.00:56
gitinfo [!cant_happen] The scenario you describe does not add up, and/or we feel it is unlikely that there is such a fundamental bug that it could have happened like this. Please provide more detail: what commands (literally!) did you run, what did they say, and what did you expect instead?00:56
tmsmith_ joined00:56
tmsmith left00:57
babyflakes left00:57
ashar joined00:58
ashar4 joined00:58
GitUserOnlyJust something doesn't add up00:58
ronbd No doubt mate00:58
ashar4 left00:58
ronbd Playing with it for more than 4 hours00:58
Something surely does not add up00:59
ashar left00:59
ashar joined00:59
ashar left01:00
cdown joined01:00
ashar joined01:00
xaxxon joined01:00
RougeR left01:03
fla77ire left01:03
menip left01:04
xcm left01:04
xcm joined01:05
cdown left01:05
HollywoodJack left01:06
cdown joined01:06
fla77ire joined01:08
andrewSC joined01:08
Murr left01:08
learning joined01:08
Murr joined01:08
andrewSC hi all, I've been at this for a while now and wanted to make sure I'm not nuts. I'm compiling from source and I see #L2-L3 and #L7 in the output.. https://gist.github.com/andrewSC/96a8a244a9c717bf54c47e3a65fa9eaf01:09
thiago waiting for the Git part of the question01:10
andrewSC haha right the actual question01:10
Should I be concerned that a site_perl folder isn't being generated in the mw-to-git folder? or that those targets don't have rules?01:12
does that make sense?01:12
thiago I have no clue01:12
andrewSC because iirc there used to be a site_perl folder that was generated01:12
thiago but one suggestion: when seeing a make error, run wgain with -j101:12
andrewSC thiago: yeah i thought it was something race related too01:12
still get the same error :/01:12
thiago but do you get two errors like in the output you pasted?01:13
andrewSC great question01:13
bkxd left01:13
andrewSC lemme run it with j1 and try again/actually save the output this time01:13
thiago anyway, I don't know aything about git-mw and I haven't built Git from sources in 10 years or so01:13
andrewSC thiago: no worries, I figure I'd atleast ask here since I haven't been able to find an answer with the searching i've done so far01:15
Amanas left01:20
bkxd joined01:20
ronbd left01:24
marianina8 joined01:25
bkxd_ joined01:26
bkxd left01:26
tmsmith_ left01:27
bkxd_ left01:27
bkxd joined01:29
pirocks left01:30
fla77ire left01:33
learning left01:34
learning joined01:34
bkxd_ joined01:36
bkxd left01:37
konsolebox left01:37
Lyqyd left01:38
konsolebox joined01:39
bkxd joined01:39
bkxd_ left01:41
dviola left01:43
dave0x6d left01:43
bkxd left01:49
liefer left01:50
rafasc i keep fogetting that you can do $git checkout - to checkout the previous checked out branch01:50
liefer joined01:51
cbreak left01:52
cbreak joined01:53
kbaegis left01:57
jokajak left02:00
jokajak joined02:02
konsolebox left02:07
dermoth left02:09
dermoth joined02:09
konsolebox joined02:10
hacman left02:14
dermoth left02:15
jstein left02:16
dviola joined02:17
FoxRocks joined02:21
finalbeta joined02:22
justan0theruser left02:23
aielima left02:23
jready left02:25
konsolebox left02:27
m0viefreak left02:28
konsolebox joined02:28
VoradorPT left02:33
jready joined02:35
justanotheruser joined02:35
andrewSC yeah looks like it prints twice with j1 as well02:36
tried adding perllibdir to the make for giggles but that didn't change anything02:37
seems 2.16.2 can build fine locally.. it's just the diff between 2.16.2 and master that's giving me trouble.. Going through the commits there was a bunch of perl related changes but i'm not entirely sure what's the root cause yet02:38
kbaegis joined02:38
jready left02:40
justanotheruser left02:41
justanotheruser joined02:41
kbaegis left02:43
ilbot3 left02:46
kbaegis joined02:50
kbaegis left02:50
kbaegis joined02:51
Raed|Laptop joined02:52
mniip joined02:52
mooasaurus left02:55
mooasaurus joined02:55
ilbot3 joined02:57
marianina8 left02:57
xaxxon left03:00
xcm left03:00
xcm joined03:01
shinnya joined03:03
andrewSC left03:03
konsolebox left03:05
xcm left03:06
xcm joined03:06
konsolebox joined03:06
cfoch_ left03:07
xaxxon joined03:07
mlopezviedma left03:10
bmgxc9 joined03:11
bmgxc9 left03:11
bmgxc9 joined03:12
cdg joined03:13
Raed|Laptop left03:14
mlopezviedma joined03:15
konsolebox left03:16
konsolebox joined03:17
cdg left03:17
Portugol9 joined03:18
xaxxon left03:18
xaxxon joined03:24
bouncy left03:24
lagothri1 joined03:26
kbaegis left03:27
lagothrix left03:29
chachasmooth_ joined03:30
chachasmooth left03:30
canvon_ joined03:30
canvon left03:30
mlopezviedma left03:30
FoxRocks left03:32
mlopezviedma joined03:33
djapo joined03:35
bouncy joined03:38
orbyt_ left03:39
Raed|Laptop joined03:40
kbaegis joined03:44
kbaegis left03:44
stoopkid left03:46
piggah_ left03:52
sat-aton joined03:55
sat-aton left03:55
sat-aton joined03:55
satifant left03:58
govg joined03:58
mel__ joined03:59
mel00010 left04:01
aw1 joined04:01
aw1 left04:02
MaekSo_ joined04:02
bkxd joined04:02
xcm left04:02
xcm joined04:02
MaekSo left04:02
MaekSo_MaekSo04:02
bkxd left04:03
Tobbi left04:05
safe joined04:05
sentriz left04:06
bkxd joined04:06
sentriz joined04:07
bkxd left04:07
bkxd joined04:09
bkxd left04:09
cagomez joined04:12
aw1 joined04:13
Lyqyd joined04:13
ZyX-I left04:13
aw1 left04:13
aw1 joined04:14
utumno left04:15
rafasc left04:18
orbyt_ joined04:18
texinwien_ joined04:19
IanLiu left04:19
bkxd joined04:21
marianina8 joined04:21
IndianArya joined04:22
marianina8 left04:23
marianina8 joined04:23
aw1 left04:23
xcm left04:24
xcm joined04:25
dre_ joined04:25
kryp70n joined04:25
texinwien_ left04:25
cagomez left04:26
kryp70n left04:29
konsolebox left04:29
konsolebox joined04:30
andrewSC joined04:31
andrewSC it's this right here that's causing those make error messages: https://github.com/git/git/blob/master/contrib/mw-to-git/Makefile#L2404:31
nested make04:31
aw1 joined04:36
aw1 left04:39
aw1 joined04:40
IndianArya left04:42
aw1 left04:45
xcm left04:46
Realzy joined04:47
theweek3nd joined04:47
theweek3nd hi there04:47
gitinfo theweek3nd: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.04:47
theweek3nd anyone knows how to backup my linux config file (dotfiles) to github using git?04:47
xcm joined04:47
bkxd left04:51
bkxd joined04:51
bkxd left04:52
bkxd joined04:53
bkxd left04:54
bkxd joined04:56
aw1 joined04:57
bkxd left04:58
Cabanossi left05:00
bkxd joined05:00
bkxd left05:00
bkxd joined05:01
bkxd left05:01
xaxxon left05:01
xaxxon_ joined05:01
Cabanossi joined05:02
pks left05:03
pks joined05:04
bkxd joined05:05
ferdna left05:07
TinkerTyper left05:08
TinkerTyper joined05:08
Murr left05:08
Murr joined05:08
timvisher left05:12
timvisher joined05:13
babyflakes joined05:14
heftig left05:15
inovas left05:15
xaxxon_xaxxon05:17
orbyt_ left05:17
imack joined05:17
heftig joined05:19
kus left05:25
matsaman joined05:25
MrJoshua left05:30
aw1 left05:32
xcm left05:34
publio left05:34
xcm joined05:34
bkxd left05:36
bkxd joined05:37
bkxd left05:37
bkxd joined05:38
msonntag left05:42
widp joined05:44
bmgxc9 left05:45
bkxd left05:47
msonntag joined05:47
bkxd joined05:50
jakogut_ joined05:53
Codaraxis_ joined05:55
noobineer joined05:55
Codaraxis left05:55
bkxd left05:55
bkxd joined05:56
aw1 joined05:56
dsop left05:58
bkxd left05:58
dsop joined05:58
bkxd joined05:59
theweek3nd left05:59
bkxd left06:00
matsaman left06:01
dave0x6d joined06:08
sasheto left06:08
bkxd joined06:10
jimi_ joined06:11
IndianArya joined06:12
imack left06:15
jimi_ left06:16
learning left06:20
dviola left06:21
sasheto joined06:22
bkxd left06:22
bkxd joined06:24
IndianArya left06:25
IndianArya joined06:27
Ede_123 left06:27
learning joined06:29
dermoth joined06:30
chamaeleon- joined06:31
chamaeleon left06:32
dermoth left06:35
dermoth joined06:35
noobineer left06:36
chamaeleon- left06:37
chamaeleon joined06:37
aw1 left06:39
jimi_ joined06:43
HourGate left06:47
xaxxon left06:50
aw1 joined06:53
HourGate joined06:53
bkxd left06:57
stoopkid joined06:58
fekir joined06:58
Lyqyd left07:01
amosbird left07:01
IndianArya left07:01
amosbird joined07:02
Nizumzen joined07:03
marianina8 left07:05
evil_god left07:09
sleepingforest joined07:10
sleepingforest left07:10
piggah joined07:10
marianina8 joined07:10
figurehe4d left07:11
sleepingdeforest left07:11
sleepingforest joined07:12
pfleck joined07:13
cdg joined07:13
hendry left07:14
learning left07:14
sleepingforest left07:17
cdg left07:19
Raed|Laptop left07:20
kadoban left07:21
rvgate__ left07:22
rvgate__ joined07:22
aw1 left07:25
dermoth left07:26
dermoth joined07:27
xaxxon joined07:28
netj left07:29
netj joined07:29
MoziM joined07:35
tkore joined07:35
piggah_ joined07:36
piggah_ left07:37
piggah_ joined07:37
staafl joined07:37
piggah left07:38
StuartMI joined07:42
piggah_ left07:45
skirk left07:45
papna_ left07:45
papna_ joined07:45
bmgxc9 joined07:45
bmgxc9 left07:45
bmgxc9 joined07:46
perrier-jouet left07:49
bmgxc9 left07:54
imack joined07:56
zefferno joined08:02
HollywoodJack joined08:05
rokups joined08:06
piggah joined08:09
zefferno left08:10
konsolebox left08:14
konsolebox joined08:15
pfleck left08:20
KeyJoo joined08:21
KeyJoo left08:22
KeyJoo joined08:22
zefferno joined08:23
learning joined08:27
dave0x6d left08:28
thiago left08:28
jstimm left08:29
jstimm joined08:32
theoceaniscool joined08:42
pfleck joined08:42
theoceaniscool left08:42
theoceaniscool joined08:43
alyptik left08:44
alyptik joined08:46
King_Hual joined08:46
King_Hual left08:46
King_Hual joined08:46
Gurkenglas left08:46
jzeus joined08:47
skirk joined08:49
konsolebox left08:49
texinwien_ joined08:49
konsolebox joined08:50
pfleck left08:51
StuartMI left08:52
HollywoodJack left08:53
finalbeta left08:56
finalbeta joined08:57
dreiss left08:58
theoceaniscool left08:59
Nizumzen left09:00
bluepixel left09:01
konsolebox left09:01
wxg joined09:01
weez17 left09:01
weez17 joined09:02
minionofgozer joined09:02
konsolebox joined09:03
jimi_ left09:03
minionofgozer_ left09:03
learning left09:03
kurkale6ka joined09:05
imack left09:05
konsolebox left09:08
konsolebox joined09:10
piggah left09:12
konsolebox left09:14
konsolebox joined09:15
nimomo joined09:15
pfleck joined09:16
wxg left09:17
bluepixel joined09:18
konsolebox left09:20
wandering_vagran joined09:22
kdeal left09:23
wandering_vagran left09:23
ManDay joined09:23
pfleck1 joined09:23
wandering_vagran joined09:24
i7c left09:24
nioncode left09:24
kdeal joined09:25
ManDay When I issue `git clone https://git.ffmpeg.org/ffmpeg.git +HEAD:refs/git-r3/HEAD --depth=1` I get an error about "bad pack header". Is that because the --depth came last?09:26
konsolebox joined09:26
nioncode joined09:27
pionen left09:27
schleppel joined09:28
MoziM left09:32
dpyro left09:32
LiftLeft left09:32
ManDay left09:32
MoziM joined09:34
Arcaelyx_ left09:37
eroux joined09:41
ianfleeton joined09:43
timvisher left09:44
timvisher joined09:45
Nizumzen joined09:45
jnavila joined09:45
StuartMI joined09:45
konsolebox left09:45
justanotheruser left09:46
skirk left09:47
konsolebox joined09:48
ianfleeton left09:48
ok91 joined09:48
justanotheruser joined09:48
pfleck left09:50
pfleck1pfleck09:50
dre_ left09:52
konsolebox left09:53
pfleck1 joined09:53
konsolebox joined09:53
m1dnight_ left09:54
konsolebox left10:01
phluks joined10:01
konsolebox joined10:02
staafl left10:03
dhollinger left10:05
kurkale6ka left10:06
konsolebox left10:06
pfleck1 left10:07
konsolebox joined10:08
foul_owl left10:11
konsolebox left10:12
konsolebox joined10:14
threenuc joined10:16
catsup left10:19
konsolebox left10:19
catsup joined10:19
konsolebox joined10:20
catsup left10:20
catsup joined10:20
xaxxon left10:23
foul_owl joined10:25
matkatmusic Smh, xcode 9 won't let me modify the username field when trying to clone a repo from Bit Bucket10:25
gotta use SourceTree to clone, I guess10:25
konsolebox left10:25
konsolebox joined10:26
borkr joined10:27
konsolebox left10:31
dhollinger joined10:32
pirocks joined10:32
konsolebox joined10:33
energizer left10:35
ashar4 joined10:35
ok91 left10:37
weilbith joined10:37
konsolebox left10:38
weilbith left10:39
ashar left10:39
konsolebox joined10:39
RougeR joined10:40
Realzy left10:42
imack joined10:43
texinwien_ left10:46
konsolebox left10:46
konsolebox joined10:48
mel__ left10:49
xcm left10:49
xcm joined10:49
manuelschneid3r joined10:50
cbreak matkatmusic: you probably need to add an other account10:50
it seems to be extremely limited... just github10:51
matkatmusic you can't add non-github accounts10:51
cbreak I know...10:51
safe left10:55
chris_wot left10:57
konsolebox left10:58
konsolebox joined11:00
jimmyrcom left11:02
timvisher left11:02
timvisher joined11:03
kdeal left11:03
tunekey left11:04
mel__ joined11:04
kdeal joined11:05
konsolebox left11:05
konsolebox joined11:06
opalepatrick joined11:06
texinwien_ joined11:08
DaGoaty joined11:08
DaGoaty left11:09
zulutango left11:11
konsolebox left11:14
konsolebox joined11:15
texinwien_ left11:21
texinwien joined11:22
kaustubhw left11:23
kaustubhw joined11:24
Gurkenglas joined11:26
mel__ left11:27
i7c joined11:28
plitter I'm reading on git workflows on https://git-scm.com/docs/gitworkflows. is it frowned upon to merge from the "master" branch into feature regularly?11:28
cbreak plitter: no. In some workflows that's ok11:29
but I'd avoid it11:29
it just clutters history with nonsense11:29
leeN joined11:29
cbreak feature branches probably only live for a few days, you probably don't need to merge master11:29
sz0 joined11:30
plitter so if you need to get a feature from master you should try to find that feature branch and merge it into your feature branch?11:30
cbreak sure, if you want that.11:31
alternative: rebase the feature branch onto the new master11:31
(that's what I'd do)11:31
plitter just the rebase wouldn't get you the feature branch into your branch right?11:32
mosab joined11:32
plitter isn't rebase just pointing to the new master without doing anything to the code?11:33
leah2 left11:33
i7c Rebase takes a bunch of commits and *bases* them on a different history. So effectively the tip of your branch has lots of different "code" afterwards.11:35
If at first your commit is based on one that just adds the file "a.txt" and you rebase on a history that adds a thousand files, after the rebase you have those thousand files in the tree of your commit as well.11:36
konsolebox left11:37
plitter i7c: but not in your working tree11:38
konsolebox joined11:38
nowhere_man left11:38
i7c Also in your working tree.11:38
You can only rebease on a clean working directory, so after the rebase your working tree would match the commit exactly.11:39
(ignoring stuff like --autostash)11:39
plitter what happens on conflicts then?11:40
nowhere_man joined11:40
i7c Git tries to resolve them automatically and if not rebase stops and asks you to resolve manually.11:40
*if it does not succeed11:40
cbreak it's like during a merge11:41
but the semantics are a bit different in the details11:41
ProfMac left11:43
plitter so it sort of does a merge without the commit message11:44
as in doing the patches that were on your branch on the new master11:46
konsolebox left11:47
chamaeleon left11:48
leah2 joined11:48
konsolebox joined11:49
IndianArya joined11:51
netj left11:54
chamaeleon joined11:54
netj joined11:54
konsolebox left11:56
HollywoodJack joined11:56
konsolebox joined11:58
shinnya left11:59
Gurkenglas left11:59
konsolebox left12:03
chamaeleon left12:03
nowhereman_ joined12:03
konsolebox joined12:04
ZyX-I joined12:07
nowhere_man left12:07
netj left12:08
DaGoaty joined12:08
konsolebox left12:08
netj joined12:09
konsolebox joined12:09
raynold left12:09
DaGoaty left12:10
jmd joined12:11
chamaeleon joined12:11
chaosruler joined12:12
konsolebox left12:14
konsolebox joined12:15
plexigras left12:18
timvisher left12:20
konsolebox left12:20
trobotham left12:20
timvisher joined12:21
konsolebox joined12:21
aw1 joined12:21
plexigras joined12:22
pirocks left12:23
Tobbi joined12:23
leah2 left12:23
rorro joined12:25
howdoi left12:26
trobotham joined12:27
cdown left12:28
belmoussaoui joined12:30
leah2 joined12:31
RougeR left12:32
konsolebox left12:34
konsolebox joined12:35
KeyJoo left12:35
YuGiOhJCJ joined12:35
IndianArya left12:39
konsolebox left12:40
SteffanW joined12:40
konsolebox joined12:41
DocRedfish joined12:42
Gurkenglas joined12:44
konsolebox left12:46
konsolebox joined12:46
abs joined12:48
gitinfo set mode: +v12:49
abs hi everyone I'm using freenode for the first time12:49
staafl joined12:51
jmd abs: I hope you have a thick skin!12:52
rorro left12:52
netj left12:53
abs the community here seems to be way more advanced than gitter (what I currently use)12:53
imack left12:53
netj joined12:54
IndianArya joined12:54
draget joined12:55
jmd abs: ok. Welcome to freenode. I hope you find it useful. Just be warned that unfortunately not everyone on the network is always polite, so don't get discouraged if you meet some of the other sort of people.12:55
jnavila left12:55
draget I have a local settings file that is per-developer. Thus only an settings.example file is in the repository and each developer is told to copy it to settings and adjust it. The settings file itself is ignored.12:56
IndianArya left12:56
xfbs joined12:56
draget Now we needed to update the template. The developers have to change their local settings / write a new one. I wonder: Can I add a 'remove' to the commit that removes the local untracked file? I assume that would be very much against the principles of GIT, tho thought I' dask12:56
abs Thanks for wisdom12:57
draget I know my eMail on our develpoment mailing list will be ignored about the need to rewrite the local settings.12:58
mosab left12:58
jmd draget: I've no idea what you mean by "local settings".12:58
RougeR joined12:58
RougeR left12:58
RougeR joined12:58
jmd draget: Maybe you're talking about the ~/.gitconfig file?13:00
sonOfRa draget: making changes to untracked files doesn't really work nicely. What I would recommend is storing *and tracking* "settings.skeleton", and then telling devs to copy settings.skeleton to settings.real, and then adjust it there, maybe even offer an interactive shell script that takes care of this13:02
Now people still have to run the script again (or edit again) on change to the skeleton file13:02
But that's the closest you get to doing this automatically13:02
YuGiOhJCJ left13:02
draget jmd: No, these are settings related to our project. Nothing git-specific.13:02
It is just a file called 'settings' that is in .gitignore13:03
belmoussaoui left13:03
draget I could make our buildscripts depend on a file called 'settings2', then they will fail and people will notice. Or add some logic that detects the old settings file - which is buttulgy x.x13:05
sonOfRa maybe include the skeleton file as a step in your build system; if "settings.real" has a newer mtime than "settings.skeleton", run the interactive mode13:05
Err, other way around13:05
osse !config13:05
gitinfo [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas13:05
oDn joined13:06
sonOfRa That way, every time you update the build file, the setup script is ran, and forces the developer to enter new/current values, but *only* if the skeleton file was changed since the last time that the *real* file was written13:06
mosab joined13:06
pirocks joined13:09
imack joined13:12
dermoth left13:15
dermoth joined13:15
jmd My personal opinion is that .gitignore files are a gross misfeature. I would recommend avoiding their use.13:16
tachoknight_ joined13:16
mosab left13:17
djb-irc left13:17
timvisher left13:17
tachoknight_ left13:18
draget Yes, I update the buildscript. Hacked a little test that checks the local settings file and yells at the user if it was not updated.13:19
timvisher joined13:19
osse It's easier to use gitignore than to rewrite a build system to support out of source builds :P13:19
draget jmd: How would you come to this conclusion? o.o13:19
jmd draget: Because they hide important information.13:20
osse If they do then you're no using them right13:20
draget What about files that should not be added to the repository? Depend on the devs being so smart not to add them?13:20
Portugol9 left13:20
mosab joined13:21
jmd draget: If they should not be added to the repository then that is even more reason why I should know about their existance.13:21
jnavila joined13:22
jmd If some fool has put its name in a git ignore file, then I won't know that it has somehow been generated.13:22
rorro joined13:22
draget Well, open your file explorer and look at them. These are your local files. *local* information is something different to project-wide information.13:22
xfbs left13:23
jmd well like I say it's just my opinion, but I recommend not using .gitignore.13:23
draget Even WITH ignore files we have managed at least… 5-6 times in our project (~9 devs team within last two years) to have stupid local configuration stuff in the repository that first breaks when others pull the infos, then breaks again when they 'fix' it locally and push their crap, and than once more when someone who has a basic understanding of VCS comes along and removes it, causing the next pull to remove the files locally which are not cleanly13:23
autogenerated without some minor manual work.13:23
mosab left13:24
mosab joined13:25
Portugol9 joined13:25
draget I have hit the 'brick wall' of cold, mercyless reality too often… I set up guidelines, I use commithooks to limit permissions and I explain it about every other month to them. *sighs*13:25
jmd draget: Right. With .gitignore those files do not show when you type "git status". If the .gitignores were removed, then the devs would have been instantly aware of these rougue files. So the probability of such mistakes would be greatly reduced.13:25
mosab left13:25
draget git status shows me what I can put into my next commit.13:26
mosab joined13:27
cdown joined13:27
draget I do agree… showing ignored files, listing files that are tracked but ignored or on another topic submodules… the git commands to display those infos are aweful… it is a painful learning curve. But this is a UX/design issue… the concepts of git are doing well.13:28
osse The advantage of making it harder to add files that shouldn't be added are greater than the disadvantage of accidentally not adding files that should be, imo.13:28
IndianArya joined13:28
mosab left13:29
osse Also, with in source builds git status would be pretty useless without13:29
IndianArya left13:29
mosab joined13:29
draget Whoever came up with the idea of in-source builds needs a slap anyways.13:30
osse Surely that's not an idea someone came up with, but the natural thing to do before someone thought of out of source builds :p13:31
bs left13:32
kbaegis joined13:32
kbaegis left13:32
kbaegis joined13:33
bs joined13:33
pirocks left13:33
EnchanterTimstoned13:33
IndianArya joined13:34
theoceaniscool joined13:36
imack left13:37
cdown left13:37
mosab left13:38
kdeal left13:39
cdown joined13:39
metts left13:43
pionen joined13:44
metts joined13:44
pionen left13:45
pionen joined13:45
cdown left13:48
IndianArya left13:48
rorro left13:49
abs left13:51
ok91 joined13:52
ok91 left13:52
pfleck left13:53
jnavila left13:53
aw1 left13:55
draget left13:57
chris_wot joined13:59
wandering_vagran left14:00
pfleck joined14:04
phluks left14:04
kdeal joined14:06
imack joined14:08
timvisher left14:12
timvisher joined14:13
banisterfiend left14:16
kurkale6ka joined14:19
sammyg joined14:23
NightMonkey left14:23
jnavila joined14:24
NightMonkey joined14:28
czart_ joined14:30
reynierpm joined14:31
alan5 joined14:33
czart left14:34
doener joined14:38
pbandark joined14:39
bluepixe1 joined14:42
marianina8 left14:44
jnavila left14:45
dermoth left14:45
dermoth joined14:45
bluepixel left14:45
wxg joined14:47
chris_wot left14:49
kurkale6ka left14:50
oDn left14:55
cdown joined14:56
oDn joined14:56
Amanas joined14:59
fran__ left15:01
fran__ joined15:01
SteffanW left15:02
VoradorPT joined15:03
kbaegis1 joined15:04
kbaegis left15:05
NightMonkey left15:06
Xiti` left15:08
Xiti joined15:08
barduck joined15:09
pfleck left15:10
perrier-jouet joined15:12
oDn left15:13
NightMonkey joined15:14
fran__ left15:15
kevr_kevr15:15
timvisher left15:22
timvisher joined15:24
noobineer joined15:24
noobineer left15:24
olbat joined15:27
olbat left15:27
olbat joined15:27
RougeR left15:29
pfleck joined15:30
MACscr left15:32
NightMonkey left15:34
sleepingforest joined15:38
sleepingforest left15:38
sgen joined15:38
sleepingforest joined15:38
sgen left15:39
imack left15:42
nimomo left15:43
sgen joined15:43
jnavila joined15:44
sgen left15:44
dermoth left15:44
dermoth joined15:45
pbandark left15:46
nimomo joined15:46
liefer left15:48
liefer joined15:49
nimomo left15:50
govg left15:51
tkore left15:59
gxt_ left16:01
kadoban joined16:02
gxt_ joined16:04
sammyg left16:05
texinwien left16:10
borkr left16:11
wxg left16:12
orbyt_ joined16:13
Darcidride joined16:17
imack joined16:23
durham joined16:24
coumbole joined16:25
coumbole left16:26
jimi_ joined16:27
theoceaniscool left16:28
Mike11 joined16:28
timvisher left16:29
timvisher joined16:30
durham left16:31
durham joined16:32
durham_ joined16:33
durham left16:33
zefferno left16:35
coumbole joined16:38
mosab joined16:38
mosabmos3abof16:39
Portugol9 left16:40
mos3abof left16:40
nimomo joined16:40
Portugol9 joined16:40
mos3abof joined16:40
RougeR joined16:43
RougeR left16:43
RougeR joined16:43
dreiss joined16:44
nimomo left16:45
shymega left16:45
bluepixe1bluepixel16:45
coumbole left16:47
cdown left16:47
denete_ joined16:49
nimomo joined16:51
Khisanth left16:52
phluks joined16:52
kevr left16:52
jimi_ left16:55
pionen left16:56
synthmeat left16:59
Amanas left16:59
Dragon092 left17:01
Gurkenglas left17:02
synthmeat joined17:02
jimi_ joined17:02
sammyg joined17:03
coumbole joined17:04
Khisanth joined17:06
Dragon092 joined17:06
Murr left17:08
Murr joined17:08
Gurkenglas joined17:10
surfist joined17:11
widp left17:12
jimi_ left17:12
KeyJoo joined17:12
mos3abof left17:16
thiago joined17:18
denete_ left17:19
denete_ joined17:19
Amanas joined17:19
mos3abof joined17:20
v4ult left17:20
durham_ left17:20
mos3abof left17:20
mos3abof joined17:21
glebihan left17:21
nimomo_ joined17:23
jakogut_ left17:24
snowkidind joined17:25
nimomo left17:26
publio joined17:26
qpdb joined17:28
fstd_ joined17:28
zzz joined17:29
marianina8 joined17:29
sr___ joined17:29
menip joined17:31
banisterfiend joined17:31
fstd left17:31
fstd_fstd17:31
Tee_Pee joined17:35
trobotham left17:35
guideline left17:36
DocRedfish left17:37
Arcaelyx joined17:38
timvisher left17:38
timvisher joined17:39
sz0 left17:43
sphalerite_ I sometimes find myself having rather large tests to run for a bisect. Is there some sort of "n-sect" operation that might allow me to execute these in parallel (probably across multiple machines)?17:45
lxpup_24904 joined17:45
sphalerite_ i.e. to split the range between last-known-good and first-known-bad into 3 or 4 rather than two17:45
lxpup_24904 left17:46
nielsk joined17:48
LiftLeft joined17:48
SteffanW joined17:49
guideline joined17:50
nimomo_ left17:51
nimomo joined17:51
lxpup_24904 joined17:53
ashar4 left17:54
_ikke_ sphalerite_: nothing built into git17:54
ashar4 joined17:54
_ikke_ I'm not sure if a bisection algorithm is parralelizable17:55
nimomo left17:55
denete_ left17:55
theoceaniscool joined17:56
Phylock joined17:56
nd_ joined17:57
Peng_ Not efficiently, but you could still do it. You'd just wind up testing some unnecessary commits.17:58
plexigras left17:59
Amanas left17:59
nd left17:59
pfleck left17:59
pfleck joined18:00
Peng_ Cloud quantum bogo bisect: Use cloud computing to test every commit at once. :P18:00
plexigras joined18:00
rorro joined18:00
lxpup_24904 left18:00
rwb joined18:02
pR0Ps left18:02
ashar4 left18:03
ashar4 joined18:03
staafl left18:04
cfoch_ joined18:05
Amanas joined18:07
Mike11 left18:08
sphalerite_ Peng_: I like it! :p18:12
pR0Ps joined18:12
kdeal left18:12
sphalerite_ _ikke_: yeah, it's not hugely parallelisable but I imagine you could still cut down on the time it takes (at the cost of testing more commits and interrupting some of the tests when it turns out they were unnecessary) significantly18:12
Peng_ Sounds nice, but I have no idea if anyone's implemented something like that. :X18:14
guardian hello, I'm looping over a list of sha1s. For each of these, how can I get the number of lines added and removed? As 2 separate fields18:15
gugah joined18:15
kdeal joined18:15
ProfMac joined18:17
_ikke_ guardian: git show --numstat <hash>18:18
qpdbGuest9924818:21
Guest99248 left18:21
qpdb joined18:21
hacman joined18:23
jimi_ joined18:24
jimi_ left18:24
jimi_ joined18:24
ashar4 left18:25
ashar4 joined18:26
guardian thanks18:31
gonna look at this18:31
Lyqyd joined18:32
SteffanW left18:32
timvisher left18:36
timvisher joined18:37
BSaboia joined18:38
SteffanW joined18:38
BSab left18:41
pfleck left18:41
jimi_ left18:41
nimomo joined18:42
rh10 joined18:45
jimi_ joined18:46
nuc joined18:46
nimomo left18:46
lxpup_24904 joined18:47
Whiskey if i have a folder18:47
where i do git init18:47
and then add orgin to the git18:47
how can i imor the current project to the folder and start where i left off? Current i can only import it and get the "Root" folder name in that folder but i want just the files from the project in the current folder i am in18:48
jungsubk joined18:48
Amanas left18:48
ferdna joined18:49
ashar4 left18:49
Mattiaslndstrm joined18:50
pfleck joined18:52
Sonderblade joined18:53
menip left18:54
imack left18:54
dviola joined18:55
energizer joined18:55
m0viefreak joined18:57
energizer left18:57
lxpup_24904 left18:58
Sircle_ joined18:58
disruptivefour joined18:59
Sircle_ left18:59
Sircle_ joined18:59
SteffanW left18:59
Sircle_ left18:59
Sircle joined18:59
Sircle HI18:59
disruptivefour left18:59
tobiasvl Whiskey: it's not really clear what you're asking19:00
Lyqyd left19:00
MaekSo left19:00
Sircle I made directory permission changes and now I have git status and diff says all files modified. It is not letting me take pull from origin master. What should I do? old mode 10064419:01
new mode 10075519:01
mos3abof left19:02
mos3abof joined19:03
tobiasvl Sircle: do you want to commit the change or discard it?19:03
the only permission git cares about is +x19:03
mos3abof left19:04
Sircle tobiasvl, I want not to commit it as its a directory /file permission. I do not want to discard it either as its needed (I guess if I discard it, the old permissions will get back ?19:04
mos3abof joined19:04
tobiasvl if it's needed, why don't you want to commit it?19:05
glebihan joined19:06
Sircle tobiasvl, because if I just pull it by another user, its 755 by default. Its a filesystem thing. Why commit so many files in so many websites I have for this?19:06
jungsubk left19:06
tobiasvl Sircle: I don't understand. why is it needed? if it's needed, why is it not needed in the repo?19:06
Sircle its needed for file system. Its not needed in the repo.19:07
Goplat joined19:07
tobiasvl I have no idea what you mean by that19:07
if the files need to be +x then surely they need to be it in the repo19:08
jimi_ left19:08
Sircle the permission is not about +x19:08
mosab joined19:08
Murr left19:08
mos3abof left19:08
tobiasvl yes it is. git does not track other !permissions19:08
gitinfo Git does not store full UNIX permissions, even if it makes it look like it does. In fact, the only mode-related info Git stores is whether a given file is executable. Anything else is taken care of by your umask and the core.sharedRepository setting. See also !configfiles19:08
Murr joined19:08
RougeR left19:09
mosab left19:10
mosab joined19:11
mosab left19:11
ghost43 left19:12
ghost43 joined19:12
nephyrin` joined19:13
MaekSo joined19:13
nephyrin left19:15
Raed|Laptop joined19:16
menip joined19:16
rorro left19:16
pfleck left19:16
banisterfiend left19:17
IanLiu joined19:18
applecrumble joined19:18
Sircle_ joined19:18
jimi_ joined19:20
SpeakerToMeat left19:21
Sircle left19:22
pfleck joined19:22
imack joined19:22
Sircle__ joined19:25
PtxDK left19:25
PtxDK joined19:25
phluks left19:25
Sircle_ left19:28
pfleck1 joined19:28
meadmoon joined19:30
raynold joined19:30
imack left19:31
tvw joined19:31
kbaegis1 left19:33
kbaegis joined19:34
kbaegis left19:34
kbaegis joined19:34
kbaegis left19:34
kbaegis joined19:35
Random832 the tree format is weird... ascii octal "mode", but binary hash19:36
timvisher left19:39
pombreda left19:39
timvisher joined19:40
texinwien joined19:42
regedit joined19:44
regedit left19:44
regedit joined19:44
regedit left19:44
regedit joined19:44
regedit left19:44
regedit joined19:45
regedit left19:45
regedit joined19:45
regedit left19:45
regedit_ joined19:46
regedit_ left19:46
gugah left19:48
LiftLeft left19:49
SpeakerToMeat joined19:49
dpyro joined19:49
sammyg2 joined19:51
finalbeta left19:52
finalbeta joined19:52
sammyg left19:53
energizer joined19:55
TinkerTyper left19:56
tunekey joined19:56
TinkerTyper joined19:58
tvw left19:58
meadmoon left20:00
texinwien left20:00
LiftLeft joined20:02
phluks joined20:02
gugah joined20:03
netlar left20:03
zzz left20:06
ZiZiBe joined20:07
MACscr joined20:08
jimi_ left20:09
dege joined20:11
pfleck1 left20:11
jimi_ joined20:12
Nizumzen left20:14
Sircle_ joined20:14
piggah joined20:15
KeyJoo left20:18
Sircle__ left20:18
Sircle__ joined20:19
Sircle_ left20:19
mattcen left20:21
Achylles joined20:24
mattcen joined20:24
Sircle_ joined20:24
sammyg2 left20:25
sammyg2 joined20:26
Sircle__ left20:27
Sircle__ joined20:28
Sircle_ left20:29
thomasross left20:31
Sircle_ joined20:31
foul_owl left20:32
sQVe joined20:32
kdeal left20:32
alyptik left20:32
JoeGaff joined20:32
xcm left20:33
alyptik joined20:33
xcm joined20:33
czart_ left20:34
rorro joined20:34
Sircle__ left20:35
timvisher left20:35
fekir left20:36
timvisher joined20:36
rokups left20:42
redhedded1 joined20:45
foul_owl joined20:48
minionofgozer left20:48
pirocks joined20:48
xcm left20:48
ZyX-I left20:49
xcm joined20:49
applecrumble left20:50
minionofgozer joined20:50
applecrumble joined20:52
Raed|Laptop left20:53
czart_ joined20:54
MACscr left20:54
disruptivefour joined20:55
xaxxon joined20:55
disruptivefour left20:57
czart_ left20:58
Sircle__ joined20:59
kdeal joined20:59
rorro left21:00
Amanas joined21:03
Sircle_ left21:03
Nizumzen joined21:03
griffindy joined21:03
Raed|Laptop joined21:03
MACscr joined21:04
redhedded1 left21:07
energizer left21:07
energizer joined21:07
energizer left21:07
energizer joined21:08
phluks left21:08
Lyqyd joined21:09
griffindy left21:11
robattila256 I love you Robby!!!!!!!!!!!!!!21:12
applecrumble left21:13
Sircle_ joined21:15
RougeR joined21:15
RougeR left21:15
RougeR joined21:15
moei joined21:15
alyptik left21:16
alyptik joined21:17
ZiZiBe left21:17
Sircle__ left21:19
PioneerAxon left21:19
PioneerAxon joined21:19
pfleck left21:21
nevodka left21:22
ZyX-I joined21:24
m0viefreak left21:26
nevodka joined21:29
Sircle__ joined21:30
Sircle_ left21:33
timvisher left21:35
timvisher joined21:36
pfleck joined21:37
bmgxc9 joined21:38
bmgxc9 left21:38
evil-god joined21:39
sQVe left21:39
Amanas left21:40
GoBear joined21:42
Mattiaslndstrm left21:44
Sircle_ joined21:44
theoceaniscool left21:45
snowkidind left21:46
King_Hual left21:46
Sircle__ left21:47
leeN left21:48
Sircle__ joined21:52
durham joined21:53
hvxgr left21:54
durham left21:55
Sircle_ left21:55
Sircle_ joined21:56
Mattiaslndstrm joined21:56
Sircle__ left21:57
Sircle__ joined21:59
jimi_ left22:02
Sircle_ left22:03
Sircle_ joined22:03
finalbeta left22:04
jab416171 left22:04
Sircle__ left22:05
rmbeer joined22:05
rmbeer hello22:05
i want remove the last two commits, what command must use with 'git rebase'?22:05
jab416171 joined22:06
doener left22:06
jimmyrcom joined22:07
thiago git reset22:07
Mattiaslndstrm left22:07
rmbeer thiago, thanks by the joke...22:08
threenuc left22:08
thiago I'm not joking22:09
you use the git reset command to remove the top two commits22:09
not git rebase22:09
MrJones rebase is for rewriting commits with another base, not remove them. you can use it for squashing maybe, but then they aren't gone, just mushed into others22:11
MrJones +1's thiago22:12
kus joined22:13
rmbeer ok, understand... thanks...22:13
MrJones rmbeer: reset changes your HEAD if you use it on a commit (similar to checkout), except that it'll also move the current branch pointer and hence get rid of the followup commits which is what you want22:13
read the man page for details, I believe it has examples and all22:14
planet_ joined22:14
Amanas joined22:15
bmgxc9 joined22:16
bmgxc9 left22:16
rmbeer git reset HEAD~2 ?22:16
thiago yes22:17
or --hard22:17
I mean, with --hard22:17
git reset will move the commit, but not the checkout22:17
--hard checks it out too22:17
planet_ left22:19
ChrisADR you could also use git rebase -i rmbeer22:19
and then decide wheter to keep or not your commits, if that was what you were asking22:20
rmbeer thiago, without --hard also move the checkout, i fix the list of commits, thanks :)22:21
have the HEAD and master in the correct position...22:21
Amanas left22:22
thiago without --hard, HEAD and index move, but not the worktree22:23
Gurkenglas left22:24
rmbeer no understand...22:25
_ikke_ !demyst22:25
gitinfo [!reset] reset does two things! (1) without file/path argument: 'git reset [flags] [<commit>]' = make the current branch point to <commit> (default: HEAD). --soft = don't do anything else. --mixed (default) = overwrite the index to match. --hard = overwrite the working files to match. (2) 'git reset [<commit>] -- <path>' = overwrite the index entries for <path> with the content from <commit> (default: HEAD)22:25
_ikke_ https://git-scm.com/book/en/v2/Git-Tools-Reset-Demystified22:25
rmbeer ah, i see... no mather why the last commit is about of remove and add the same files...22:26
s/mather/matter/22:26
s/last/last two/22:27
it was just hard to convert 1 full repository into 40 separate repositories...22:28
Sircle__ joined22:29
pirocks left22:29
konsolebox left22:30
orbyt_ left22:31
cagmz joined22:32
Sircle_ left22:32
Darcidride left22:33
ZiZiBe joined22:34
pirocks joined22:34
Sircle_ joined22:35
learning joined22:36
konsolebox joined22:36
Sircle__ left22:38
hvxgr joined22:39
rafasc joined22:41
figurehe4d joined22:43
xcm left22:46
xcm joined22:46
Myk267 joined22:46
orbyt_ joined22:48
menip left22:51
nimomo joined22:51
Mattiaslndstrm joined22:53
nimomo left22:56
Sonderblade left22:56
kus left22:57
MoziM left22:57
sammyg2 left22:58
pfleck left22:59
Sonderblade joined23:01
timvisher left23:01
jnavila left23:02
timvisher joined23:02
Sircle joined23:02
learning left23:04
sammyg2 joined23:04
Sircle_ left23:05
Bengi left23:06
Amanas joined23:06
schleppel left23:06
war_pigs joined23:07
Mattiaslndstrm left23:07
pfleck joined23:07
john3voltas joined23:08
ZiZiBe left23:08
Sircle_ joined23:09
Bobdude joined23:10
escproxy joined23:11
Sircle left23:12
Mattiaslndstrm joined23:12
Sircle__ joined23:12
Bengi joined23:14
astrofog joined23:14
Sircle_ left23:16
Kaisyu7 joined23:17
rh10 left23:17
Sircle__ left23:17
ome joined23:18
dave0x6d joined23:20
Mattiaslndstrm left23:21
hacman left23:21
HollywoodJack left23:22
applecrumble joined23:24
xaa joined23:24
dege left23:24
de-vri-es left23:24
de-vri-es joined23:25
MattMaker joined23:26
dreiss left23:28
unreal_unreal23:30
sammyg2 left23:31
rh10 joined23:32
sammyg2 joined23:33
coumbole left23:33
Phylock left23:34
finalbeta joined23:35
Kaisyu7 left23:35
shinnya joined23:35
barduck left23:35
war_pigs left23:36
sammyg2 left23:37
Nizumzen left23:42
learning joined23:43
john3voltas left23:50
john3voltas joined23:50
mooasaurus left23:51
mooasaurus joined23:51
tn left23:54
war_pigs joined23:57
pirocks left23:58

Logs Search ←Prev date Next date→ Channels Documentation