IRCloggy #git 2018-03-01

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-03-01

weez17 left00:00
XDS2010|AFK joined00:00
weez17 joined00:00
cssko left00:01
XDS2010|AFK left00:01
weijin joined00:01
hahuang65 left00:01
anjen left00:01
dendazen joined00:02
hahuang65 joined00:02
cssko joined00:03
dendazen left00:04
exotime left00:04
polyzen left00:04
finalbeta left00:04
exotime joined00:04
pandem left00:04
orbyt_ left00:05
XDS2010|AFK joined00:05
pandem joined00:05
weijin left00:05
ephemer0l left00:06
XDS2010|AFK left00:06
dmc joined00:06
Guest6236 left00:06
BlessJah left00:08
texinwien_ left00:08
__rob left00:08
texinwien_ joined00:08
dsdeiz_ joined00:09
orbyt_ joined00:12
DanielKarp joined00:12
XDS2010|AFK joined00:12
dsdeiz_ left00:13
thiago left00:13
XDS2010|AFK left00:13
DanielKarp left00:13
snappy if I do a `git diff master` from a branch i get a huge list of changes. I want to selectively import some changes (ala git add -p) from master into my branch, is there some kind of way to do this from the diff?00:14
wrouesnel_ left00:15
prsn left00:15
ewitz left00:16
w0ng joined00:16
wrouesnel joined00:16
sz0 left00:17
XDS2010|AFK joined00:17
ewitz joined00:17
XDS2010|AFK left00:18
\malex\ left00:20
leeN left00:20
Nudist69-M left00:21
xcm left00:21
nowhere_man left00:21
fassl joined00:21
ephemer0l_ joined00:22
xcm joined00:22
BlessJah joined00:23
zzach left00:23
chekbo_ left00:23
XDS2010|AFK joined00:24
nowhere_man joined00:25
XDS2010|AFK left00:25
fission6 joined00:25
zzach joined00:27
dege joined00:27
orbyt_ left00:28
XDS2010|AFK joined00:29
fission6 left00:29
bluepixel left00:29
dege_ joined00:30
XDS2010|AFK left00:30
xeno left00:30
weijin joined00:31
ljc joined00:32
dege left00:33
fassl left00:33
robattila256 left00:34
Bhootrk joined00:34
Bhootrk left00:34
Bhootrk joined00:34
Hello71 probably doesn't make sense00:35
try rebase -i00:35
BenderRodriguez joined00:35
hahuang65 left00:35
prsn joined00:35
weijin left00:36
xeno joined00:36
XDS2010|AFK joined00:36
mikecmpbll left00:36
NeXTSUN left00:36
ioc_ left00:36
NeXTSUN joined00:37
XDS2010|AFK left00:37
Guest60542 left00:39
hahuang65 joined00:40
prsn left00:40
sonarpulse left00:41
XDS2010|AFK joined00:41
cssko left00:41
XDS2010|AFK left00:42
Thominus left00:42
Thominus joined00:42
xfbs left00:43
chat joined00:45
chatGuest8473200:45
cdg joined00:46
jimmyrcom left00:48
peepsalot left00:48
dsdeiz left00:49
Nizumzen joined00:49
cdg_ left00:50
cdg left00:50
jimmyrcom joined00:51
Thominus left00:51
dege_dege00:51
bittyx left00:52
yobop left00:52
dsdeiz joined00:52
GotHyper left00:52
orbyt_ joined00:52
sanscoeur left00:54
bittyx joined00:56
rafasc left00:58
Nokurn_ joined01:00
bittyx left01:01
Nokurn_ left01:01
peepsalot joined01:01
mud joined01:03
gugah joined01:03
howdoi joined01:03
bittyx joined01:03
weijin joined01:03
veegee left01:05
prsn joined01:05
orbyt_ left01:06
mel00010 left01:06
veegee joined01:07
weijin left01:07
Nokurn joined01:08
aypea[3] joined01:08
dsdeiz_ joined01:08
Gurkenglas left01:09
prsn left01:10
m0viefreak left01:10
aypea[3] hi. I've a patchset that I need to maintain over an external codebase. the codebase gets its own updates and, so, I need to make sure my patchset does not suffer from bitrot. any suggestions how I manage this in git? the original codebase is already in their git repo.01:11
lupine rebase often and well01:12
but better is to get your patchset integrated upstream01:12
aypea[3] alas, they wont have it.01:12
dsdeiz_ left01:12
learning left01:12
orbyt_ joined01:13
learning joined01:14
ferdna joined01:14
aypea[3] looks up rebasing. fun times...01:14
sangy left01:15
weijin joined01:15
shinnya left01:15
frederfred left01:16
joshbright left01:16
Nizumzen left01:17
XDS2010|AFK joined01:18
sangy joined01:19
XDS2010|AFK left01:19
weijin left01:19
hahuang65 left01:20
hahuang65 joined01:21
hahuang65 left01:22
alezandro joined01:22
hahuang65 joined01:23
daynaskully left01:24
veegee left01:25
Kaisyu7 left01:25
Kaisyu7 joined01:25
Sasazuka__ joined01:26
quite left01:27
thiago joined01:27
learning left01:27
mel00010 joined01:27
learning joined01:28
dviola left01:28
veegee joined01:28
Sasazuka left01:28
yobop joined01:30
Xuefer joined01:30
xaxxon joined01:31
ferdna left01:32
learning left01:33
CheckDavid left01:34
MoziM left01:34
prsn joined01:36
sentriz left01:36
sentriz joined01:37
sleepingforest joined01:37
bwn left01:39
\malex\ joined01:39
weijin joined01:40
prsn left01:40
quite joined01:40
dviola joined01:41
Puffball left01:41
Puffball joined01:41
XDS2010|AFK joined01:43
XDS2010|AFK left01:44
weijin left01:44
SpeakerToMeat left01:46
cqi joined01:46
ljc left01:49
Arokh left01:50
tombusby left01:50
ghost43 left01:50
Arokh joined01:50
dvl joined01:51
Koyae left01:53
ghost43 joined01:53
slimetrap left01:53
tombusby joined01:53
sanscoeur joined01:55
fission6 joined01:56
yobop_ joined01:56
PioneerAxon joined01:57
Eryn_1983_FL left01:58
yobop left01:59
jready left01:59
sanscoeur left02:00
MoziM joined02:00
safe joined02:01
Eryn_1983_FL joined02:03
Programmer123 joined02:04
yobop_ left02:04
Programmer123 Hi yall02:04
Arokh left02:06
Jiffy left02:06
Arokh joined02:06
prsn joined02:06
Sasazuka__ left02:07
cqi left02:07
Jiffy_ joined02:07
lungaro left02:08
veremitz left02:09
veremitz joined02:09
MoziM left02:09
weijin joined02:09
cbreak left02:10
cbreak joined02:10
prsn left02:11
watabou left02:11
lungaro joined02:11
cdown left02:11
finalbeta joined02:12
goatish left02:12
exotime left02:12
veegee left02:12
hahuang65 left02:13
SpeakerToMeat joined02:13
hahuang65 joined02:14
cdown joined02:15
netj left02:16
hahuang65 left02:16
netj joined02:16
xcesariox joined02:17
hahuang65 joined02:18
exotime joined02:18
alezandro left02:19
acidjnk left02:19
learning_ joined02:20
XDS2010|AFK joined02:20
cdg joined02:20
drodger_ left02:21
XDS2010|AFK left02:21
xcesariox left02:22
drodger joined02:23
garo left02:24
Barrt left02:25
Salek left02:25
garo joined02:25
bwn joined02:26
cdown left02:26
Programmer123 Anyone there?02:26
veremitz left02:26
veremitz joined02:27
lessless joined02:27
Salek joined02:28
mud Programmer123: Yep, many people. how's it going.02:28
sleepingforest left02:30
ferdna joined02:31
Snuupy joined02:34
Guest21 left02:34
lhx Programmer123: sup02:34
dendazen joined02:34
Dragon092 left02:35
publio left02:36
prsn joined02:37
slimetrap joined02:39
watabou joined02:39
prsn left02:41
Dragon092 joined02:41
watabou left02:41
kaiser left02:42
dendazen left02:43
thiago left02:44
CodeSlingerPaul left02:45
XDS2010|AFK joined02:45
Raed|Mobile left02:45
Raed|Mobile joined02:45
ilbot3 left02:46
XDS2010|AFK left02:46
Celelibi left02:46
igemnace joined02:46
Programmer123 Sorry yall, I went afk after a bit of inactivity.02:46
Whats goin on!02:46
igemnace left02:47
Programmer123 I'm just over here chillin02:47
igemnace joined02:47
hahuang65 left02:47
Raed|Mobile left02:51
Raed|Mobile joined02:53
joshbright joined02:53
mooasaurus left02:56
mooasaurus joined02:56
cdown joined02:57
ilbot3 joined02:57
watabou joined02:58
garo left02:58
garo joined02:59
hahuang65 joined03:01
Nokurn left03:03
Nokurn joined03:03
cqi joined03:05
khisanth_ left03:05
slimetrap left03:06
twopt left03:07
heroux left03:07
prsn joined03:07
weijin left03:09
nanga left03:10
hahuang65 left03:10
nikheizen joined03:10
Celelibi joined03:11
weijin joined03:11
YuGiOhJCJ joined03:11
hahuang65 joined03:12
xcesariox joined03:13
twopt joined03:13
prsn left03:15
kn-928 joined03:16
lagothrix joined03:16
YuGiOhJCJ left03:16
xPucTu4 left03:17
dsdeiz_ joined03:18
learning_ left03:18
lagothri1 left03:19
khisanth_ joined03:19
n0body left03:20
xPucTu4 joined03:21
XDS2010|AFK joined03:22
XDS2010|AFK left03:23
Dragon092 left03:23
Dragon092 joined03:25
mekhami_ left03:26
ldiamond_ left03:27
dsdeiz_ left03:27
mekhami joined03:28
twopt left03:28
nanga joined03:28
nanga left03:28
nanga joined03:28
canvon joined03:30
Amanas joined03:30
canvon_ left03:30
n0body joined03:32
mborgard left03:34
antares9 joined03:35
rageshkrishna joined03:37
lessless left03:37
z8z joined03:37
prsn joined03:38
Dragon092 left03:38
z8z left03:40
govg joined03:41
z8z joined03:41
prsn left03:42
Dragon092 joined03:43
z8z left03:43
antares9_antares_03:43
z8z joined03:43
gugah left03:44
_antares_help03:44
kgrimes left03:44
helpGuest1525203:44
weijin left03:45
Guest15252_antares_03:45
hahuang65 left03:45
ferdna left03:45
hahuang65 joined03:46
al-damiri left03:47
XDS2010|AFK joined03:47
cdg left03:47
dreiss joined03:48
Raed|Mobile left03:48
XDS2010|AFK left03:48
lupine left03:49
fission6 left03:49
hesco left03:50
hahuang65 left03:51
aspiers left03:55
matsaman joined03:55
bluepixel joined03:55
lupine joined03:56
sanscoeur joined03:56
chachasmooth left03:56
chachasmooth joined03:57
aspiers joined03:58
matsaman left03:58
mollusk__ joined04:00
hahuang65 joined04:00
c0ded left04:00
xcesariox left04:01
sanscoeur left04:02
wgrant left04:06
Praxi left04:08
cdg joined04:12
dsdeiz left04:12
mrBen2k2k2k_ left04:13
mrBen2k2k2k left04:13
weijin joined04:15
Amanas left04:15
joshbright left04:16
dsdeiz joined04:16
cdg left04:16
luckman212 left04:17
weijin left04:18
weijin joined04:18
wgrant joined04:18
mrBen2k2k2k joined04:19
daynaskully joined04:19
Bobdude joined04:21
alezandro joined04:23
luckman212 joined04:24
hahuang65 left04:25
XDS2010|AFK joined04:25
XDS2010|AFK left04:25
barryw joined04:27
SirFunk left04:27
alezandro left04:27
barryw left04:30
SirFunk joined04:31
kn-928 left04:34
barryw joined04:38
barryw left04:39
philipp64 left04:40
philipp64 joined04:40
ertes-w left04:41
ertes-w joined04:42
moei left04:42
ertes-w left04:42
xaxxon left04:42
ertes-w joined04:43
PioneerAxon_ joined04:44
barryw joined04:45
PioneerAxon left04:46
pnepe6 left04:46
Raed|Mobile joined04:48
barryw left04:48
barryw joined04:48
XDS2010|AFK joined04:49
XDS2010|AFK left04:50
Cabanossi left04:50
barryw left04:51
Cabanossi joined04:52
Darcidride_ joined04:53
Darcidride__ joined04:54
barryw joined04:54
meadmoon joined04:54
mikemcowie joined04:54
Darcidride_ left04:54
Darcidride left04:56
mud left04:58
SirFunk left04:58
al-damiri joined05:00
mikemcowie left05:00
mikemcowie joined05:02
ferdna joined05:02
boombatower left05:02
zzz_ joined05:03
zzz left05:03
pks left05:03
barryw left05:04
pks joined05:04
mikemcowie left05:09
SirFunk joined05:09
mikemcowie joined05:10
mikemcowie left05:10
meadmoon left05:13
uptime left05:14
hashem joined05:19
mattkrea joined05:20
Bhootrk_ joined05:24
uptime joined05:24
joshbright joined05:24
weijin left05:25
mattkrea left05:26
Bhootrk left05:26
XDS2010|AFK joined05:27
ColdKeyboard joined05:27
XDS2010|AFK left05:27
ColdKeyboard left05:28
ColdKeyboard joined05:28
xaxxon joined05:28
Thominus joined05:30
manuelschneid3r left05:32
ephemer0l_GeneralDiscourse05:33
ZyX-I joined05:35
naoey left05:35
MoziM joined05:39
komonsterko joined05:41
ZyX-I left05:41
weijin joined05:45
naoey joined05:45
manuelschneid3r joined05:46
thiago joined05:46
Zialus left05:47
xcesariox joined05:49
zulutango joined05:51
SleePy left05:51
XDS2010|AFK joined05:51
d1b left05:51
SleePy joined05:52
XDS2010|AFK left05:52
d1b joined05:52
sanscoeur joined05:52
Nudist69-M joined05:53
chaosruler joined05:53
chaosruler left05:54
orbyt_ left05:55
sanscoeur left05:57
Nokurn left05:57
hashem left05:59
re1 joined06:02
skisela joined06:02
Nokurn joined06:03
kaos01 left06:03
kaos01 joined06:03
diogenese left06:07
Iroha left06:07
Iroha joined06:08
tt_ left06:08
tt joined06:08
prsn joined06:10
pfleck joined06:11
rajat joined06:14
cqi left06:14
prsn left06:14
cqi joined06:14
Nudist69-M left06:16
pfleck left06:16
Iroha left06:18
Iroha joined06:18
gsrhre left06:23
glebihan left06:23
ShapeShifter499 left06:24
DerpGusta joined06:26
pp5mgt left06:26
alezandro joined06:26
pp5mgt joined06:27
glebihan joined06:28
re1 left06:28
slimetrap joined06:29
PioneerAxon joined06:29
re1 joined06:29
mollusk__ left06:30
mollusk_ joined06:30
alezandro left06:31
PioneerAxon_ left06:31
ShapeShifter499 joined06:31
zefferno joined06:35
ShapeShifter499 left06:35
slimetrap left06:42
LocaMocha joined06:44
LocaMocha left06:44
wandering_vagran joined06:45
ZyX-I joined06:46
mollusk_ left06:47
diogenese joined06:48
cdg joined06:48
LocaMocha joined06:48
freimatz joined06:50
zzach left06:50
weijin_ joined06:51
NerdyPepper joined06:51
diogenese left06:52
cdg left06:52
sanscoeur joined06:53
weijin left06:53
sanscoeur left06:58
nikheizen left06:58
uptime left06:58
XDS2010|AFK joined06:59
XDS2010|AFK left06:59
dviola left07:00
cqi left07:01
mel00010 left07:02
mwsbchu07:03
cqi joined07:07
pnepe6 joined07:07
xcm left07:07
xcm joined07:08
doug16k left07:09
uptime joined07:09
joshbright left07:11
czart joined07:12
piggah joined07:14
doug16k joined07:15
kgrimes joined07:16
abba joined07:16
Tobbi joined07:17
pfleck joined07:18
serialoverflow left07:20
Guest45890 left07:23
bambams joined07:23
bambams left07:23
bambams joined07:23
chele joined07:25
ferdna left07:26
vrishab left07:26
al-damiri left07:27
serialoverflow joined07:27
LocaMochaSauvin07:29
tkore joined07:31
NerdyPepper left07:31
mniip left07:33
MoziM left07:33
ferdna joined07:35
MoziM joined07:35
energizer left07:36
energizer joined07:36
xcesariox left07:37
energizer left07:38
energizer joined07:39
vrishab joined07:40
markzen left07:43
safe left07:44
ferdna left07:48
glebihan left07:50
re1 left07:50
xaxxon left07:52
XDS2010|AFK joined07:53
XDS2010|AFK left07:54
KeyJoo joined07:57
xPucTu4 left08:00
systmkor joined08:00
rokups joined08:01
ZyX-I left08:01
tkore left08:02
Tobbi left08:03
_rgn left08:04
dmc left08:04
MacGyver left08:05
xPucTu4 joined08:05
mollusk__ joined08:07
staafl joined08:07
tsdh joined08:08
selckin left08:08
selckin joined08:08
tsdh Hi. I'm converting a HG repo to a git one. After "git push my-test-remote --mirror" which resulted in output like "* [new branch] origin/AF00080_ECO517 -> origin/AF00080_ECO517" and then cloning my-test-remote again, "git branch -a" shows nothing but master and remotes/origin/HEAD, remotes/origin/master. Where are all branches?08:10
afuentes joined08:11
fuzzmz left08:11
tsdh In contrast, "git tag --list" seems to show all tags we've ever set.08:12
mollusk__ left08:12
seschwar joined08:13
fuzzmz joined08:13
murph left08:13
diogenese joined08:13
djb-irc left08:14
wagle_wagle08:14
energizer left08:15
_rgn joined08:16
MacGyver joined08:16
_ikke_ tsdh: what does git ls-remote <remote_repo> return?08:16
SirFunk left08:17
must^ joined08:17
dmc joined08:17
TomyWork joined08:18
cqi left08:18
SirFunk joined08:19
tsdh _ikke_: It shows lines like "92895364272b7b52862610393a0fbca92094acb refs/remotes/origin/AF00080_ECO517" which is one of the "lost" branches.08:19
djb-irc joined08:19
jast tsdh: I'm guessing the problem here is that the repo you tried to push had most of the branches as remote-tracking branches (hence the "origin/" prefix in the messages). if you push those using --mirror, they are outside the namespace of branches that are normally cloned.08:19
_ikke_ right, the ls-remote confirms that08:20
jast where did your origin/AF00080_ECO517 come from? is that the result of a conversion process you ran locally? or elsewhere?08:21
energizer joined08:21
tsdh jast: Ah, right. What I did was convert from hg with fast-export. Then I took the chance to clean up the history with bfg where I had to do some commits. For making commits, I had to clone the bare conversion result repo.08:21
must^ left08:22
jast ah right, that would do it08:22
venmx joined08:22
guardian left08:22
jast unfortunately there's no super-easy way to clone from a bare repo and directly copy all branches into the normal namespace, but you can do it after the fact with a single operation08:23
tsdh go on, I'm all ears :-)08:23
jast in your local non-bare repo, try this bit of magic: git push . refs/remotes/origin/*:refs/heads/*08:23
z8z left08:23
jast or you can use my-test-remote instead of '.' to inflict the same thing directly on your new remote08:23
with '.' it's basically a copy operation within the current repo08:23
dsdeiz_ joined08:25
tsdh jast: Ah, cool. So now I have foo instead of origin/foo. So now I can "git push --mirror", right?08:27
jast yep08:27
tsdh Great08:27
jast should be fast, too, because the remote already has all of the objects08:27
widp joined08:27
tsdh Oh, I created a new remote repo. :-)08:28
guardian joined08:28
jast right, that will work, too08:28
note that you'll have both refs/heads/foo and refs/remotes/origin/foo in the new remote08:28
tsdh ...but not fast given the fact the repo is 2GB.08:28
jast you can clean it up later if you like08:28
fnm^ joined08:28
jast e.g. git push --delete my-test-remote refs/remotes/origin/*08:29
dsdeiz_ left08:29
mel00010 joined08:29
jast ah well, what's 2GB between friends08:29
dmone joined08:29
jast (and a 56k link)08:30
Bobguy joined08:30
tsdh Right now, I wonder if I could skip the "create clone just to perform one cleanup commit". This commit just deletes some binary files which should have never been committed. Then I delete those files from the history with bfg. bfg has the requirement that files to be deleted are not referenced from the current HEAD.08:31
jast you *could* use filter-branch with --index-filter instead of bfg, though it might be slower08:31
Bobdude left08:31
jast anyway, just goes to show that these kinds of assumptions should come with a toggle...08:32
tsdh jast: Yeah, that's the reason I did not use filter-branch.08:33
jast it might be faster patching bfg and then running it :)08:33
NerdyPepper joined08:34
akushner left08:34
sphalerite if I want to stop a bisect, but not change the commit I'm on, is doing rm .git/BISECT_* a bad idea?08:35
weijin_ left08:36
jast sphalerite: 'git bisect reset HEAD' might be easier08:36
sphalerite ah yes, that's nicer. Thanks!08:36
jast but your way should be fine too08:36
osse Somewhat related tip: Use lightweight tags as short lived "bookmarks"08:37
e.g. git tag gobackhere; git bisect reset; git checkout gobackhere08:37
tsdh jast: Oh, bfg has a --no-blob-protection flag. Maybe that's the thing I was looking for...08:37
nadley left08:37
osse The downside is that they aren't really shortlived unless you take their lives yourself.08:38
sim590 left08:38
jast side note, bisect can store extra state in refs/bisect refs, so when manually cleaning up you might miss those08:38
I took a brief look at bfg's source code but I don't really want to learn scala right now... :}08:39
fatalhalt left08:39
CheckDavid joined08:40
doug16k_ joined08:40
weijin joined08:40
sim590 joined08:40
f2k joined08:41
RBech left08:41
siva joined08:42
fatalhalt joined08:43
thiago left08:43
doug16k left08:44
siva left08:44
mrBen2k2k2k_ joined08:46
Floflobel joined08:48
abba left08:51
abba joined08:51
energizer left08:52
murph joined08:53
xPucTu4 left08:53
oxymoron93 joined08:53
murphGuest4385308:53
sanscoeur joined08:54
energizer joined08:54
dreiss left08:54
Metalindustrien joined08:55
heroux joined08:56
energizer left08:56
energizer joined08:56
xPucTu4 joined08:57
Metalindustrien left08:58
sQVe joined08:58
sanscoeur left08:59
XDS2010|AFK joined09:01
SirFunk left09:01
schleppel joined09:01
XDS2010|AFK left09:01
f2k- joined09:02
SirFunk joined09:02
eghdk joined09:04
eghdk When I submit feature-X as a pull request to github and I'm waiting for it to be reviewed, how do I handle having to work on feature Y that is based off of feature-X branch?09:04
jast make a new branch based on feature-X09:05
diogenese left09:05
f2k_ joined09:05
jast if it really depends on feature-X you're not going to be able to submit it before feature-X gets merged, anyway09:05
f2k left09:05
jast you can rebase the feature-Y branch against the main branch later to clean things up09:06
diogenese joined09:06
jast (after feature-X has been merged)09:06
floppydh joined09:07
eghdk jast: I can technically submit the PR for Y, but I would have to wait for X to go in first right. So when I make the PR for Y I just do Y into master, or Y into X?09:07
mikecmpbll joined09:08
jast well, chances are if they merge X they won't keep a separate copy of X around, so you'd probably do the second PR for master09:08
f2k- left09:09
cqi joined09:12
Bobguy left09:13
prsn joined09:13
borkr joined09:15
Programmer123 left09:15
fosonmeng joined09:15
Bhootrk_ left09:16
venmx left09:17
fosonmeng left09:17
markzen joined09:17
prsn left09:17
venmx joined09:17
moei joined09:17
ShekharReddy joined09:18
banisterfiend left09:20
cbreak left09:20
venmx left09:21
cbreak joined09:21
jnewt left09:21
kgrimes left09:22
Floflobel left09:26
Metalindustrien joined09:26
rageshkrishna left09:28
matkatmusic left09:29
cliluw left09:29
armyriad left09:29
nimomo joined09:30
rageshkrishna joined09:31
alezandro joined09:31
kurkale6ka joined09:32
thxffo left09:33
Willis left09:33
jorj left09:33
hunterlabs left09:34
nimomo left09:34
alezandro left09:35
rageshkrishna left09:35
_pi_ left09:36
paranoidaditya joined09:39
shoogz left09:39
paranoidaditya Hi, noob question: I have a branch A2Q6 on the rep09:40
do I clone rep09:40
git checkout A2Q609:40
shoogz joined09:40
shoogz left09:40
paranoidaditya to see the branch files?09:40
eghdk jast: Got it. Will probably have to resubmit feature-Y at that point because I should merge master back in and then submit it again. Wonder if github has any kind of way to label pre-reqs like this? (besides just using labels). I know gitlab has a WIP keyword09:40
cbreak sure09:40
weijin left09:40
shoogz joined09:41
shoogz left09:41
shoogz joined09:41
cliluw joined09:41
rvgate left09:41
fuchstronaut paranoidaditya: after checking out a branch, you should have the files in your working directory09:41
rvgate joined09:41
paranoidaditya fuchstronaut the files are not there09:41
tobiasvl paranoidaditya: !repro09:41
rosa joined09:41
gitinfo paranoidaditya: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see09:41
paranoidaditya all i see the files from master09:41
fuchstronaut paranoidaditya: go to the folder and type "git status" to see if you really checked that branch out09:42
cbreak paranoidaditya: check out the branch you want to be on09:42
fuchstronaut or use a tool like sourcetree, maybe that's easier to start with09:43
paranoidaditya I deleted the local folder, cloned again and switched branches09:43
worked this time09:43
nimomo joined09:44
hussam left09:45
venmx joined09:45
oDn joined09:46
Willis joined09:47
eroux joined09:49
afuentes left09:49
paranoidaditya how do I delete a branch on remote09:49
osse paranoidaditya: git push --delete remotename branchname09:50
paranoidaditya thank you osse09:52
komonsterko left09:52
Willis left09:53
Bhootrk joined09:53
paranoidaditya its a remote git rep for school homework and it is supposed to execute 'npm install and node app' for each branch but for some reason it wont build on my latest branch09:53
mooasaurus left09:53
paranoidaditya alas it has delete protection09:53
komonsterko joined09:53
armyriad joined09:54
diogenese left09:54
mooasaurus joined09:55
XDS2010|AFK joined09:55
fuchstronaut i really like that yo u are using git and npm in school09:55
XDS2010|AFK left09:56
acidjnk joined09:56
oDn left09:57
oxymoron93 left09:57
venmx left09:57
raynold left09:58
skisela left09:58
fnm^ left09:59
komonsterko left09:59
KeyJoo left09:59
venmx joined09:59
luckman212 left10:00
luckman212 joined10:00
Xuefer left10:01
nimomo left10:02
nimomo joined10:02
Trieste left10:02
IanLiu left10:03
laumann_ left10:04
leeN joined10:04
floppydh left10:05
floppydh_ joined10:05
tvale joined10:05
oxymoron93 joined10:05
Trieste joined10:06
lessless joined10:06
markzen are there CS schools where students don't touch git or mercurial10:11
weijin joined10:11
jast CS isn't about computers, duh10:11
cbreak computer science is as much about computer as astronomy is about telescopes10:13
prsn joined10:14
markzen glad I haven't been to your schools then10:14
achadwick joined10:16
cstratak joined10:16
cbreak yeah, it's not an easy school to succeed in :)10:17
thinkpad left10:17
cbreak definitely not for someone that just wants to learn how to be a good sysadmin or programmer10:18
prsn left10:18
jast I did learn a lot about problem-solving and trade-offs from it10:19
xcm left10:19
jast and it gives you different ways to think about problems, too10:19
Darcidride joined10:19
xcm joined10:19
weijin left10:19
Mi5ter left10:21
Gurkenglas joined10:23
markzen why can't you do both?10:23
theory and hands-on10:23
dpyro left10:23
markzen and what do you do when you get your diploma without hands-on experience?10:23
genuine question, I don't know how it works in other countries10:24
cdown left10:24
jimmyrcom left10:26
nowhereman_ joined10:26
nowhere_man left10:26
cbreak markzen: we had practical parts10:29
but those weren't things like learning git10:29
it was expected that we'd learn the basics like that ourselves10:29
piggah left10:34
kurkale61 joined10:37
re1 joined10:38
kurkale61 left10:39
kurkale61 joined10:39
kurkale6ka left10:40
lessless left10:40
nimomo left10:40
nimomo joined10:41
nimomo left10:41
markzen remidns me of a blog post I read a few years ago; guy was just diplomed from a good school, then passed interviews with puzzles and whatnot, then once he got hired his boss would ask him to write a full-fledged mobile app, handling him the doc about "how to write a mobile app"10:41
in boss mind it was supposed to be easy, once you get diploma and solved interview puzzles10:41
poor guy was fired three weeks later10:42
weijin joined10:42
jast did boss mind learn anything? ;)10:42
IanLiu joined10:42
markzen doubt it10:42
nimomo joined10:42
markzen probably just shook their head10:42
jast and anyway, as the name implies, CS focuses mostly on the science side of things10:42
bwn left10:43
tvw joined10:43
markzen yeah, perhaps that's a cultural thing10:43
jast with topics like discrete math, computability, complexity classes, formal languages, automata, etc.10:43
markzen probably is10:43
Mister joined10:44
markzen I guess you have CS schools on one hand, and "tech schools" (whatever you call it) on the other hand10:44
nimomo_ joined10:44
nimomo left10:44
markzen here (France), we tend to do both, afaik10:44
jast generally, teaching programming seems to be pretty terrible almost everywhere10:45
rominronin joined10:45
jast and that's actually the easy part10:45
problem-solving skills? pretty much nobody teaches those10:45
weijin left10:46
Mister left10:46
markzen where do you get hired, when you learned pure CS stuff and probably lack hands-on skills?10:47
weijin joined10:48
cdg joined10:48
xcm left10:49
nimomo_ left10:49
piggah joined10:49
nimomo joined10:49
jast probably consulting10:49
weijin left10:49
weijin joined10:49
jast ... where lack of practical experience can easily be disguised10:49
markzen possibly10:50
jast or anywhere where nobody monitors your progress10:50
cdg left10:54
nimomo left10:55
Duikb00t joined10:56
Duikb00t Hello10:56
amatas_ joined10:56
pandem hello Duikb00t10:56
nimomo joined10:57
dege left10:57
cstratak left10:58
xcm joined10:59
Willis joined11:00
XDS2010|AFK joined11:03
cstratak joined11:03
energizer left11:03
YuGiOhJCJ joined11:03
XDS2010|AFK left11:03
YuGiOhJCJ left11:04
YuGiOhJCJ joined11:05
albel727 left11:05
xfbs joined11:06
energizer joined11:07
energizer left11:09
energizer joined11:10
weijin left11:12
h12o joined11:12
cdown joined11:12
xcm left11:13
xcm joined11:14
hypera1r left11:14
hyperair joined11:15
Nizumzen joined11:17
nimomo left11:18
amatas_ left11:19
amatas_ joined11:21
nimomo joined11:21
energizer left11:21
floppydh_ left11:22
cbreak markzen: CS has many aspects11:22
at my university we had several majors11:23
I went into software engineering, so mainly focused on how to design and build programs, and many aspects of that11:23
others went into computer graphics, theoretical computer science, or more into data sciences11:23
so now I work as software engineer. Others from the same uni work as researchers in their domain11:24
nowhere_man joined11:27
piggah left11:28
byte512 left11:28
sergej[m] joined11:29
nowhereman_ left11:31
Mi5ter joined11:31
h12o left11:34
m0viefreak joined11:37
konsolebox left11:37
Cavallari joined11:38
paranoidaditya left11:38
_pi_ joined11:39
_pi_ left11:39
KeyJoo joined11:41
h12o joined11:41
zulutango left11:41
tvale left11:42
weijin joined11:42
konsolebox joined11:43
weijin left11:47
srbcheema1 joined11:47
thxffo joined11:50
cdown left11:50
weijin joined11:54
srbcheema1 someone please have a look at https://stackoverflow.com/questions/49049047/delete-top-second-commit-using-git-rebase-i11:54
hunterlabs joined11:55
srbcheema1 I am doing git rebase -i to delete top second commit .. it works fine for one branch while not for the other branch . dont know why is it happening11:55
alcohol srbcheema1: srbcheema1 are your branches identical?11:55
manuelschneid3r left11:56
srbcheema1 yepp logically identical almost just a comment difference11:56
alcohol so, in other words, no they are not identical11:56
srbcheema1 hmm they are not11:56
manuelschneid3r joined11:56
alcohol then why do you expect the behaviour to be identical?11:57
srbcheema1 I just logically thought if its working on one then it should work on second ..11:57
XDS2010|AFK joined11:57
srbcheema1 means all I need is a reason why they are not behaving same11:57
XDS2010|AFK left11:58
tvale joined11:58
srbcheema1 @alcohol please once have a look at the link .. i have provided both the branches11:58
https://stackoverflow.com/questions/49049047/delete-top-second-commit-using-git-rebase-i11:58
weijin left11:58
YuGiOhJCJ left12:02
YuGiOhJCJ joined12:02
m0viefreak srbcheema1: you already got a perfectly valid answer in the comments there12:02
meadmoon joined12:04
amatas_ left12:04
cstratak left12:04
floppydh_ joined12:05
cstratak joined12:05
srbcheema1 @m0viefreak i am still doubtful why it worked for branch "good" and why not for branch "bad"12:06
m0viefreak because you got lucky12:06
might as well not have12:07
ioc_ joined12:07
srbcheema1 I am in doubt why is it behaving differently. whats difference in both12:07
m0viefreak probably the hunk context used by the merge strategy to do a "simple" merge12:07
mario_ joined12:07
m0viefreak using a merge-tool you could probably resolve the remaining conflicts more or less automatically12:07
srbcheema1 have you checked the difference in two branches "good" and "bad"12:08
mario_ left12:08
hussam joined12:08
albel727 joined12:08
m0viefreak no12:08
not in detail12:08
srbcheema1 using merge tool is not issue . issue is the doubt on why git did so .. according to me it should have done same in both the branches. my point is I am not getting logical explanation on it12:09
YuGiOhJCJ left12:09
weijin joined12:09
m0viefreak ive looked at it briefly12:11
seems obvious12:11
srbcheema1 @m0viefreak I have displayed content of file after every change. there are only 5 commits , main is master commit , from there two branches emerge both the braches have 2 commits each. both the branchs are identical in content except the top commit is bit different12:11
m0viefreak in the bad case you introduced new context before the line yuu the modify in a follow-up commit12:11
removing that 1st commit then causes the context to be completely different12:11
as you can clearly see by the conflict markers12:12
Darcidride left12:12
YuGiOhJCJ joined12:12
prsn joined12:12
srbcheema1 ohkay so git does work be remembering the upper content .. i thought top commit should know is that it has to change the `int main(){` line to `int main(){//main func`12:13
m0viefreak what if that line was there more than once?12:14
pp5mgt left12:14
m0viefreak which one should it change?12:14
srbcheema1 I means with some position also and some more data12:14
m0viefreak there you have it12:14
srbcheema1 that could identify that12:14
m0viefreak *more data*12:14
srbcheema1 some more data that could uniquely identify that line uniquely in the file12:15
m0viefreak and *that* data is different when applying commit2 on commit1 than when applying comming2 on commit012:15
so you got a conflict12:15
kbaegis joined12:15
pp5mgt joined12:15
weijin left12:16
cbreak left12:16
cbreak joined12:16
prsn left12:17
goatish joined12:17
srbcheema1 how can i get to know what *that data* that git uses to uniquely identify that line uniquely in file12:17
nHeck joined12:17
m0viefreak dunno, probably related to the merge-strategy used12:18
srbcheema1 means is it the data lines just above it .. they too may be duplicate in file12:18
ohkay12:18
thanks for help12:18
nHeck Hi, I want to remove 3 commits from origin master, but I found that i cannot reset --hard then push --force on master, what's the solution?12:18
srbcheema1 really all the info you provided was clear and helpful12:18
oxymoron93 revert those commits nHeck12:19
nHeck okay, thanks :)12:19
oxymoron93 seems like force push is forbidden by the owner of remote repo12:19
srbcheema1 left12:19
nHeck will it remove the user that did those commit from git shortlog? The issue is that it's a school repo, and we're not allowed to have more than x users, but i pushed from a machine where my gitconfig did not have the right user name12:22
cbreak left12:22
cbreak joined12:22
Cabanossi left12:22
m0viefreak no, the original 3 commits will still be there12:23
srbcheema1 joined12:23
meadmoon left12:23
jast well, if you can't force push, you can't get rid of those commits12:23
weijin joined12:23
shinnya joined12:23
jast you could try deleting and re-creating the branch (git push --delete), but probably that will be blocked, too12:23
srbcheema1 @m0viefreak one more help if you can . like we can see commits in all branches using git log --oneline --decorate --graph --all can we also see those commits that are not in any branch12:24
basically I want to see a commit that i made in a branch and then i removed that branch12:25
jast look for it in 'git log -g'12:25
nHeck jast: but if i delete master there'll be nothing on it after right?12:26
srbcheema1 @jast i have used it --graph and it only show all the commits in all the branches12:26
alezandro joined12:26
jast nHeck: you can, in theory, delete the remote branch, fix your local branch and then push it... but typically deleting the remote branch will be denied in the first place12:26
dsdeiz_ joined12:26
jast srbcheema1: -g is not --graph12:26
srbcheema1 ohkay lemme give it a try12:27
jast it shows you the reflog (in this case the reflog of HEAD, since the reflog of your deleted branch is gone)12:27
cdg joined12:27
oxymoron93 it is useful to read man git log before trying12:27
gitinfo the git-log manpage is available at https://gitirc.eu/git-log.html12:27
jast !reflog12:27
gitinfo The git reflog (`git log -g`) records the SHAs of your HEADs for 2+ weeks. `git checkout -b myrestore OLDSHA` and `git reset --hard OLDSHA` will relink to that state via a new and current branch respectively, see http://sethrobertson.github.com/GitFixUm/ for full details. WARNING: reset --hard will trash any uncommitted changes! Visualize with: gitk --all --date-order `git log -g --pretty=%H`12:27
oxymoron93 wow didn't know12:28
southernirc joined12:29
srbcheema1 didn't know what ? -g ? actually I thought they might be same --graph and -g12:29
weijin left12:29
jast yeah, it's slightly confusing, but that's just the way it is12:29
dsdeiz_ left12:29
cqi left12:29
pfleck left12:29
pfleck joined12:30
jast I think --graph was added later than -g so it was too late to use that :)12:30
alezandro left12:30
oxymoron93 didn't know git log -g is another reflog12:31
jast I prefer it because it sorts newest first12:31
nHeck jast: worked with git rebase then edit instead of pick then ammend! ty12:31
chachasmooth left12:31
cdg left12:31
chachasmooth joined12:32
WakiMiko left12:33
srbcheema1 i am confused in converstion .. are we all oxymoron93 jast nHeck talking on same issue or I m just getting confused as you are discussing some other issue . actually sorry for this i am newbie12:33
WakiMiko joined12:33
osse git reflog = git log -g --abbrev-commit --pretty=oneline12:33
jast srbcheema1: nHeck is talking about a different topic, the rest of recent conversation was all about you :)12:35
osse: also it shows the first entry first, and the newest last12:35
YuGiOhJCJ left12:35
osse not here :O12:36
the outputs are identical12:36
oxymoron93 for me too12:36
tcorneli joined12:36
srbcheema1 ohh reflog is really the thing that i needed .. it keeps track of all the deleted comits12:37
jast it tracks every operation that changes a ref12:37
each branch (that still exists) has its own reflog, too12:37
yn left12:37
anjen joined12:38
southernirc left12:40
kurkale61 left12:40
srbcheema1 one thing more if a branch is deleted all the commits of that branch are gone. so if we know the top commit SHA of that branch can we restore it in future anytime ?12:41
xfbs left12:41
math-alpha joined12:41
osse srbcheema1: yes12:41
srbcheema1: for at minimum 14 days12:42
srbcheema1 after 14 days is the commit totally washed away if it is not in any branch12:42
jast not exactly12:42
osse it can be. depends on when git decides something needs to be deleted12:42
Anticom joined12:43
osse in practice it's often more than that12:43
jast git doesn't clear away old data on its own12:43
srbcheema1 ohkay to experiment it i will have to wait 14 days .. can i recover it or not using SHA or not12:43
kurkale61 joined12:43
jast when you run 'git gc', it cleans up, and there are grace periods for unreferenced objects and reflog entries12:43
and once objects are cleaned away, you can't reference them at all, they're completely gone12:44
nHeck no way to delete commits from a remote's history if --force isn't allowed?12:44
osse jast: won't gc --auto delete such objects?12:44
cfoch_ joined12:44
jast I believe, from a quick read of the code, that --auto only packs loose objects12:44
srbcheema1 so it means that we if we run gc then we cant recover that commit even if we have SHA and time is less than 14 days12:44
osse no12:45
jast oh, it does a repack12:45
osse only if you run gc and it's been MORE than 14 days12:45
metts left12:45
rajat left12:45
srbcheema1 ohkay thanks for all the information12:45
jast right, --auto prunes the reflog, too12:46
so ignore what I said, git does do automatic clean-ups12:47
shinnya left12:47
yn joined12:47
jast nHeck: if using --delete to remove and re-create the branch isn't allowed, either, then no12:47
(that's "git push --delete", not any other kind of delete)12:48
cdown joined12:48
flaviodesousa joined12:48
lessless joined12:50
h12o left12:50
m0viefreak left12:51
floppydh_ left12:51
LeMike_ left12:52
floppydh__ joined12:52
m0viefreak joined12:52
tvale left12:52
srbcheema1 left12:52
LeMike joined12:52
zzz_ left12:53
cbreak left12:54
cbreak joined12:54
metts joined12:55
sanscoeur joined12:56
sanscoeur left13:00
mattkrea joined13:00
birgersp joined13:01
Anticom left13:03
Raed|Mobile left13:04
rominron_ joined13:04
XDS2010|AFK joined13:05
floppydh__ left13:05
XDS2010|AFK left13:05
floppydh__ joined13:05
rominron_ left13:06
rominro__ joined13:06
cbreak left13:06
cbreak joined13:06
Sonderblade joined13:07
rominronin left13:07
weijin joined13:08
tvale joined13:10
mborgard joined13:10
Anticom joined13:11
Anticom left13:11
IchigoBlack joined13:11
lessless left13:11
weijin left13:12
denete joined13:12
denete left13:12
denete joined13:13
rosa left13:20
dmc left13:22
luckman212 left13:23
pfleck left13:23
banisterfiend joined13:23
dvl left13:23
goatish left13:24
dvl joined13:24
dmc joined13:25
re1 left13:27
re1 joined13:27
mikecmpbll left13:27
fahadash left13:27
lessless joined13:29
luckman212 joined13:29
weijin joined13:30
xcm left13:30
xcm joined13:31
Gurkenglas left13:31
phinxy left13:31
CodeSlingerPaul joined13:31
cdown left13:31
phluks joined13:32
rwb left13:33
thinkpad joined13:33
ams__ joined13:33
TooLmaN joined13:33
dvl left13:34
weijin left13:34
Link_Doyle joined13:35
cdown joined13:35
TooLmaN left13:36
floppydh___ joined13:37
texinwien_ left13:37
TooLmaN joined13:37
banisterfiend left13:38
texinwien_ joined13:38
southernirc joined13:38
floppydh__ left13:38
TooLmaN left13:39
tcorneli left13:41
math-alpha left13:42
rominro__ left13:42
banisterfiend joined13:42
banisterfiend left13:43
jorj joined13:46
weijin joined13:46
mattkrea left13:46
exotime left13:49
leah2 anyone familiar with the git codebase? are there parts that can generate color that are not controlled by color.c:want_color or the git config --get-color[bool] things?13:50
exotime joined13:50
weijin left13:50
_ikke_ Not that familiar13:50
leah2 at a first glimpse that seems to do it13:51
i'll ask the ml13:51
_ikke_ yeah, they'll able to provide details13:52
madewokherd left13:53
phinxy joined13:57
fission6 joined13:59
nimomo left13:59
XDS2010|AFK joined13:59
dege joined13:59
nimomo joined13:59
XDS2010|AFK left14:00
weijin joined14:02
Sonderblade left14:03
anjen left14:03
re1 left14:04
banisterfiend joined14:04
dermoth joined14:04
fassl joined14:05
weijin left14:06
synthroid joined14:07
cdg joined14:08
texinwien_ left14:08
stutter_ joined14:08
Xuefer joined14:09
texinwien_ joined14:09
cdg_ joined14:10
rwb joined14:10
Sonderblade joined14:11
bonemind joined14:12
Raed|Mobile joined14:12
cdg left14:13
fission6 left14:15
xcm left14:17
xcm joined14:17
King_Hual joined14:17
King_Hual left14:17
King_Hual joined14:17
Amanas joined14:18
MarioBranco joined14:20
Mi5ter left14:21
garo left14:25
garo joined14:26
dsdeiz_ joined14:27
ShekharReddy left14:27
tga greets14:28
pp5mgt left14:28
cstratak left14:29
tga if I have history like A1 B1 A2 B2 HEAD, is there an easy way of turning it into A B HEAD, by combining random commits into a single one?14:29
sQVe left14:29
zefferno left14:29
dsdeiz_ left14:30
mikecmpbll joined14:30
_ikke_ tga: git rebase -i can do that14:30
tga oh hmm I had the impression I needed something more complicated14:33
tga tries it out14:33
AndresInSpace joined14:33
Es0teric left14:33
durham joined14:34
_ikke_ You can combine commits by choosing squash or fixup for the bottom commits (they will be squashed in the commit above)14:34
jast and you can reorder them14:34
tga thanks, I'll give it a try14:35
Es0teric joined14:35
xcm left14:36
pnepe6 left14:36
xcm joined14:37
mattkrea joined14:37
mattkrea left14:38
Andros joined14:38
Bhootrk left14:38
weijin joined14:39
Bhootrk joined14:39
re1 joined14:39
birgersp left14:40
re1 left14:41
mizu_no__ joined14:41
re1 joined14:41
talin joined14:41
tombusby left14:42
talin hello. if i use git diff with a default difftool set, how can i force it to use regular diff?14:42
jast 'git diff' doesn't use difftool, only 'git difftool' does14:43
talin weird... i get meld when i type git diff14:43
jast are you talking about custom diff drivers?14:43
tombusby joined14:43
jast well, that's weird14:43
weijin left14:43
mizu_no__ left14:45
pfleck joined14:45
nimomo left14:50
cliluw left14:50
rafasc joined14:50
raynold joined14:50
cdown left14:50
morfin joined14:51
morfin it's possible to branch from old commit right?14:51
no idea how does this work when HEAD is detached14:52
canton7 yes 'git checkout -b branchname <old commit>'14:53
(or 'git branch branchname <old commit>')14:53
it doesn't matter whether HEAD is attached or not14:53
xcm left14:53
xcm joined14:53
cstratak joined14:54
weijin joined14:56
sanscoeur joined14:56
dviola joined14:57
ioc_ left14:57
dcpc007 left14:57
nevodka left14:58
Xuefer left14:58
cdg joined14:59
shpoont joined14:59
Xuefer joined15:00
Cavallari left15:01
cdg__ joined15:01
weijin left15:01
zzz joined15:01
cdown joined15:01
sanscoeur left15:01
cdg_ left15:02
flaviodesousa left15:03
nimomo joined15:03
pnepe6 joined15:03
cdg left15:03
h12o joined15:03
cdg__ left15:05
rigid left15:05
XDS2010|AFK joined15:06
xcm left15:07
nevodka joined15:07
xcm joined15:07
XDS2010|AFK left15:07
thiago joined15:07
h12o left15:08
weijin joined15:11
PioneerAxon_ joined15:14
bwn joined15:15
Bhootrk left15:15
weijin left15:16
greyline joined15:16
greyline hi all15:16
PMS joined15:16
greyline oh.. you don't know anything about tortoisegit, do you?15:16
PioneerAxon left15:16
abba left15:17
pandem we don't?15:17
kn-928 joined15:17
greyline I have a project, every change is commited into the repo, and so on.15:17
then I removed a project from my local files, because I want to download that again from the repo15:17
czart left15:17
greyline but pull doesn't download anything. Why?15:18
pandem maybe you should clone15:18
greyline pandem: to the same folder where there are the other files from the repo?15:18
pandem: because I want to download everything from the repo15:19
to the same folder, if possible15:19
pandem if you dont have a .git directory clone15:19
Duikb00t left15:19
greyline pandem: I have a .git directory15:19
pandem if you do, then reset15:19
greyline pandem: what will do the reset?15:19
fassl can't you just checkout the branch again?15:19
czart joined15:20
greyline fassl: what does the checkout?15:20
Link_Doyle left15:20
fassl it should checkout the files you deleted15:21
greyline fassl: the dictionary doesn't tell me much about checkout15:21
rigid joined15:21
rigid left15:21
rigid joined15:21
greyline so it downloads the deleted files?15:21
kn-928 left15:22
greggerz joined15:22
canton7 greyline, this isn't SVN - all history is already on your computer15:22
madewokherd joined15:23
pfleck left15:23
greyline canton7: I don't know what do you mean. What does it mean in practice?15:23
https://stackoverflow.com/questions/4235431/git-deleted-some-files-locally-how-do-i-get-them-from-a-remote-repository15:23
I have the same problem15:23
but I hate console commands, so how to do this in TortoiseGit?15:24
canton7 greyline, it means that there's no need to download the deleted files from anywhere15:24
so don't get distracted by the commands which download data, like fetch and pull15:24
instead focus on the commands which change files in your working copy - checkout and reset15:24
in tortoisegit I think it's a little green arrow going counter-clockwise15:25
it's been a while15:25
Guest21 joined15:25
Trieste hi, I have a repo whose 'origin' remote is just a local path to a bare repo; it works if I push to it over ssh from another machine, but on the same machine, it hangs after outputting "Total 8 (delta 6), reused 0 (delta 0)" - and stays like that, no error, no change in the repo - how would I go about troubleshooting this?15:25
greyline canton7: revert?15:26
dsdeiz_ joined15:26
canton7 maybe? 'revert' in normal git terminology means something else, but tortoisegit might be breaking the naming conventions15:27
Gurkenglas joined15:27
durham left15:28
greyline canton7: okay, let's stay with your solution... what does "checkout and reset" mean in practice? git checkout HEAD <path> ?15:28
dsdeiz_ left15:29
Guest21 left15:29
canton7 greyline, if you're using command-line git, first run 'git status'. Does it list your deleted files?15:29
czart_ joined15:29
durham joined15:30
tunekey left15:31
bongjovi joined15:31
greyline canton7: yeah15:31
canton7 greyline, then above, does it say the command to use to un-delete them? :)15:31
GotHyper joined15:32
greyline canton7: yeah, git checkout -- <file>15:32
canton7 yep15:32
so do that15:32
greyline canton7: since I have deleted millions of files from this, can I just refer to a folder?15:33
czart left15:33
canton7 yes15:33
fassl git checkout .15:33
manuelschneid3r left15:33
fassl should do it i think15:33
canton7 (that will undo everything, not just the stuff you're trying to un-delete)15:33
that might be fine, or it might not, so be careful15:33
fassl ah sorry didnt think about that15:34
Rhonda left15:34
Rhonda joined15:34
greyline canton7: just tell me how to download the deleted folder again15:34
canton7 greyline, you said it youself15:34
'git checkout -- folder'15:34
czart_ left15:34
canton7 and as I said before, you're NOT downloading it15:35
greyline canton7: then what it did?15:36
czart joined15:36
oxymoron93 it restored it to state at which HEAD points to15:36
garo left15:36
greyline oxymoron93: but how did it restored that? without downloading that15:37
zzz left15:37
fx250_ joined15:37
garo joined15:37
AaronMT joined15:37
zzz joined15:37
SleePy left15:37
jready joined15:38
prsn joined15:38
fx250__ left15:38
canton7 greyline, again, all history is already on your computer15:38
greyline canton7: but I thought the original files are not15:39
canton7: anyway, thanks15:39
canton7 all of history is15:39
shadow236 joined15:39
greyline canton7: okay, history meant for me a text history about what I did previously. So I thought it's a text file15:39
ShapeShifter499 joined15:40
canton7 no, all of your commit history15:40
SleePy joined15:40
greyline okay15:40
shadow236 left15:41
Arkaniad left15:41
Salek left15:42
Arkaniad joined15:42
cstratak left15:42
Salek joined15:42
pfleck joined15:43
cstratak joined15:43
exotime left15:44
PMS left15:44
exotime joined15:44
Guest83002 joined15:45
weijin joined15:50
ShekharReddy joined15:50
mattkrea joined15:50
oxymoron93 left15:51
mattkrea left15:51
publio joined15:51
banisterfiend left15:52
synthroid left15:53
seschwar left15:53
YuGiOhJCJ joined15:54
joshbright joined15:54
weijin left15:54
f2k_ left15:56
garo left15:58
YuGiOhJCJ left15:58
Gurkenglas left15:59
YuGiOhJCJ joined15:59
garo joined15:59
black_13 joined16:00
black_13 how do you show all remote branches16:01
XDS2010|AFK joined16:01
YuGiOhJCJ left16:01
XDS2010|AFK left16:02
_ikke_ git branch -r (everything since last fetch)16:02
nixjdm left16:02
cdown left16:02
_ikke_ git ls-remote <remote> refs/heads is what the remote currently has16:02
manuelschneid3r joined16:02
cdown joined16:03
threenuc joined16:03
kaustubhw left16:04
wandering_vagran left16:04
Es0teric left16:05
pfleck left16:05
nixjdm joined16:05
fission6 joined16:05
PMS joined16:06
Es0teric joined16:06
freimatz left16:09
kpease_ joined16:11
phinxy left16:11
fx250__ joined16:12
sanscoeur joined16:13
fx250_ left16:13
weijin joined16:14
nimomo left16:14
nimomo joined16:16
diogenese joined16:16
pfleck joined16:16
peacememories joined16:16
diogenese left16:16
sanscoeur left16:17
stutter_ left16:17
diogenese joined16:17
weijin left16:18
nimomo left16:20
chele left16:23
prg318 left16:23
prg318 joined16:24
phinxy joined16:25
diogenese left16:27
stutter_ joined16:30
rajat__ joined16:30
akushner joined16:31
cdown left16:31
cdown joined16:34
al-damiri joined16:35
kneeki joined16:36
diogenese joined16:38
durham left16:39
dendazen joined16:39
diogenese left16:40
Marie joined16:40
dmone left16:41
gitinfo set mode: +v16:41
Marie Hi I'm having an issue and I was wondering if someone had an explaination16:42
alcohol left16:42
Marie everytime I push a new commit, it grabs older commits with it and I have no idea why.... and no I do checkout master BEFORE I create a new branch16:42
kfoonamalik joined16:43
salek_ joined16:44
alcohol joined16:44
Salek left16:44
rosa joined16:45
ePirat left16:46
xcm left16:46
thiago left16:47
bonemind left16:47
xcm joined16:47
weijin joined16:47
Salek joined16:47
_ikke_ Marie: what do you mean wih 'grabs older commits with it'16:47
rosa left16:47
peacememories left16:48
Marie @_ikke_ well when I look in bitbucket before I do a pull request, it shows the commit and there should be only one (latest one) but instead there are 2 older ones which were created in a different branch and merged days ago16:48
salek_ left16:49
Cavallari joined16:49
ePirat joined16:49
_ikke_ Marie: is bitbucket master up-to-date with your local master?16:50
Marie yes it is16:50
_ikke_ what does git log --oneline master..<branchname> return16:51
synthroid joined16:51
weijin left16:51
Marie 4d0184b8a (HEAD -> temp-weather-msg, origin/temp-weather-msg) temporarily msg on basket about delivery delays due to weather16:52
rajat__ left16:52
_ikke_ so just one commit?16:53
Marie yes but in bitbucket there are 3 of them16:54
_ikke_ Marie: try git log --oneline origin/master..<branchname>16:54
Marie 4d0184b8a (HEAD -> temp-weather-msg, origin/temp-weather-msg) temporarily msg on basket about delivery delays due to weather 2d61399b4 (master) Merge branch 'master' of ssh://bitbucket.org/devs/pz e1d900ab5 (pcm-fix, TEST-new-component) pcm reflected by bunny pcm16:56
Kulrak left16:56
Marie 4d0184b8a (HEAD -> temp-weather-msg, origin/temp-weather-msg) temporarily msg on basket about delivery delays due to weather16:56
2d61399b4 (master) Merge branch 'master' of ssh://bitbucket.org/devs/pz16:56
e1d900ab5 (pcm-fix, TEST-new-component) pcm reflected by bunny pcm16:56
jamellebeatssharkboy16:56
upperdeck left16:57
_ikke_ so that *does* show the extra commits?16:57
lessless left16:57
Kulrak joined16:57
Kulrak left16:57
Kulrak joined16:57
Metalindustrien left16:57
dege left16:57
tvale left16:58
weijin joined16:59
Marie <_Ikke_> yes it does17:02
_ikke_ ok, can you run git fetch origin, and then the previous command again?17:03
weijin left17:03
Marie still same result17:04
_ikke_ Right, so that means bitbucket is in fact not up-to-date17:04
git push origin master17:05
Marie still in my current branch right ?17:05
anjen joined17:05
pirocks_ joined17:06
Es0teric left17:06
floppydh joined17:07
_ikke_ doesn't matter17:07
the branch being pushed is explicitly mentioned, so it does not matter in which branch you are17:08
XDS2010|AFK joined17:08
Marie lovely I only have 1 commit now in bitbucket and running git log --oneline origin/master..temp-weather-msg17:08
pout_ine joined17:09
XDS2010|AFK left17:09
phinxy left17:09
leah2 anyone else reading git@ via gmane? are there no new mails since a week?17:10
Es0teric joined17:11
tvale joined17:11
solaris joined17:11
suspicious_frog left17:12
sleepingforest joined17:12
_ikke_ leah2: you mean gmane news groups?17:13
leah2 yes17:13
Marie msg/ _Ikke_17:13
leah2 other groups update fine17:13
_ikke_ Then, no, I don't use the newsgroups17:13
leah2 :)17:13
ski7777 left17:15
Guest83002 left17:16
plitter joined17:17
mlopezviedma joined17:18
kpease_ left17:18
govg left17:19
mlopezviedma left17:19
cdg joined17:19
mlopezviedma joined17:19
mlopezviedma left17:21
mlopezviedma joined17:21
weijin joined17:22
grawity yeah, if you check gmane.discuss, there's been a lot of lists getting unsubscribed or otherwise broken17:22
the official git@ archive (public-inbox) provides its own NNTP service, so use that17:22
osse I thought the guys behind gmane took it down a couple of years ago17:23
kpease joined17:24
Es0teric left17:25
kpease left17:25
fahadash joined17:25
xcm left17:26
weijin left17:26
_ikke_ only the web part17:26
they continued the nntp part17:27
xcm joined17:27
denete left17:27
byte512 joined17:28
grawity the original person behind Gmane still runs NNTP17:29
the people who took over the web site kinda went AWOL17:30
on a related note, today's LWN has an article about public-inbox17:30
srg left17:31
akushner left17:31
denete joined17:34
kurkale61 left17:35
weijin joined17:35
DerpGusta left17:35
tvale left17:36
phinxy joined17:36
ferdna joined17:36
shpoont left17:37
sonarpulse joined17:37
minionofgozer left17:37
shpoont joined17:38
kpease joined17:38
Xuefer left17:39
weijin left17:39
parsnip0parsnip17:40
fx250_ joined17:41
fx250__ left17:42
denete left17:43
stutter_ left17:43
hahuang65 joined17:43
denete joined17:44
glebihan joined17:45
lipvig left17:45
Tobbi joined17:46
fission6 left17:47
lipvig joined17:47
hahuang65 left17:48
h12o joined17:48
stutter_ joined17:49
djb-irc left17:49
Cu5tosLim3n hi17:50
gitinfo Cu5tosLim3n: 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.17:50
hahuang65 joined17:50
Cu5tosLim3n how can I get the submodule commit # for specific repo commit #?17:51
tvale joined17:51
thiago joined17:53
King_Hual left17:53
h12o left17:53
cstratak left17:54
cdown left17:54
achadwick left17:55
fx250__ joined17:55
mniip joined17:56
pfleck left17:56
floppydh___ left17:56
cliluw joined17:57
fx250_ left17:57
Chipzz joined17:57
ShekharReddy left17:57
kfoonamalik left17:58
sanscoeur joined17:59
floppydh left18:00
PMS left18:00
PMS joined18:01
thiago left18:01
PMS left18:01
rafasc I am having issues with `git rerere`, if I have two branches (A and B) on the same commit, and lets say I rebase them on master. `git rebase master A` fix all conflicts and complete the rebase with --continue. Shouldn't `git rebase master B` work without conflicts?18:03
XDS2010|AFK joined18:03
XDS2010|AFK left18:03
staafl left18:04
cbreak left18:04
cbreak joined18:05
sz0 joined18:05
dpyro joined18:06
weijin joined18:06
thiago joined18:07
cdg left18:08
cdg_ joined18:08
rafasc another thing, shouldn't git rerere forget . delete everything on .git/rr-cache?18:09
tang^ oh crud... autoclrf, I thought this was set already18:10
stutter_ left18:10
venmx left18:10
hahuang65 left18:10
weijin left18:10
tang^ clrf? man, approach the end of warranty and suddenly the fingers wear out18:12
watabou left18:12
cdg_ left18:13
finalbeta1 joined18:15
hahuang65 joined18:16
stutter_ joined18:16
fission6 joined18:17
kaustubhw joined18:19
finalbeta left18:19
birkh0ff joined18:21
Es0teric joined18:22
birkh0ff I'm doing pip install from git but it is cloning not the most up to date version18:22
Praxi joined18:26
ski7777 joined18:27
prsn left18:27
juvenal_juvenal18:28
pirocks_ left18:28
h12o joined18:29
hahuang62 joined18:30
shpoont left18:30
diogenese joined18:30
nikheizen joined18:31
prsn joined18:32
phinxy left18:32
qwebirc54647 joined18:33
Es0teric left18:33
qwebirc54647 left18:33
AndresInSpace if I exclude files in git/info/exclude18:34
h12o left18:34
AndresInSpace I'll still get those if someone else committed it right18:34
Es0teric joined18:34
AndresInSpace if I clone repo or such, or pull latest changes18:35
rafasc AndresInSpace: yes18:35
AndresInSpace k thanks18:35
diogenese left18:35
rafasc the behaviour you mentioned can be achieved with sparse checkouts though18:35
kind of, git will still transfer the objects to your local repo, but it won't place the files in your working directory.18:36
weijin joined18:39
parsnip left18:39
Sonderblade left18:39
AfroThundr left18:39
phinxy joined18:40
bitBaron joined18:41
rafasc I definitely don't understand git rerere. with A->abc123 $git rebase master A; [fix conflicts]; git rebase --continue; $ git reset --hard abc123; $git rebase master A;18:41
sanscoeur left18:41
sanscoeur joined18:42
rafasc Resolved 'filename' using previous resolution. error: Failed to merge in the changes.18:42
hahuang62 left18:42
venmx joined18:43
sanscoeur left18:43
TomyWork left18:43
sanscoeur joined18:43
weijin left18:43
yobop joined18:44
widp left18:46
phinxy left18:46
jaybeers joined18:49
kfoonamalik joined18:50
jaybeers how would I go about changing the colors used by the invocation of diff that happens when I do "commit -v"?18:50
grawity you would edit the color scheme of your text editor18:50
jaybeers it's not the same color scheme I get with "git diff"18:51
oh geez18:51
I just did that didn't I?18:51
grawity how should I know?18:51
dansan joined18:51
jaybeers no, I mean, I just brought a question to the completely wrong channel18:51
Ownix Probably a dumb question but if I create a tag on a dev branch and later merge to master will that tag show clearly on master?18:51
dansan How can I get a jar open that's stuck. It's jelly18:51
yobop left18:52
dansan I just brought a question to the completely wrong channel18:52
=) Just kidding jaybeer18:52
grawity dansan: unzip foo.jar18:52
jaybeers brain fart!18:52
dansan lol!!18:52
Ownix I am trying to tag version releases without committing directly to master since all merges are in the form of Pull Requests which get squash merged by a manager18:52
dansan grawity \o/18:52
weijin joined18:52
Sonderblade joined18:52
grawity some text editors really have a color scheme for .git/COMMIT_EDITMSG18:52
dansan What is the easiest way to get the hash of your head? Wow, that sounds strange...18:53
git log --pretty=%H|tail -1, but is there a better way?18:53
jaybeers grawity: yeah that's definitely what it is, I just wasn't thinking18:53
dansan: how dare you. :D18:53
dansan loL!!18:53
synthroid left18:54
jaybeers Ownix: tags are tied to commits, not branches, so as long as that commit still exists the tag will as well18:54
cbreak left18:55
cbreak joined18:55
weijin left18:57
dansan oops, I meant git log --pretty=%H|head -118:57
buyfn joined18:57
stutter_ left18:58
wootehfoot joined18:58
Xiti left18:58
rafasc dansan: git rev-parse HEAD?18:58
Xiti joined18:58
dansan rafasc: ty!18:59
zzz left18:59
bongjovi left19:01
mattkrea joined19:01
watabou joined19:01
pirocks_ joined19:01
Guest21 joined19:02
mattkrea left19:03
tvale left19:03
Ownix jaybeers: this might be outside the scope of this but is it unwise to bump my projects version number and tag it with that version number inside of a feature/bugfix branch?19:04
It seems to me like it would be more desirable to tag and commit directly to master19:05
tag the merge commit anyway, IE "this is version 1.2 and everything in this commit is being released.19:05
ldiamond_ joined19:06
plitter left19:06
rokups left19:07
energizer joined19:07
tvw left19:08
yobop joined19:08
Ownix I suppose id benefit more with a more complicated branching system with dedicated branches for releases.19:08
MarioBranco left19:09
XDS2010|AFK joined19:10
h12o joined19:11
rafasc Ownix: if master is your release branch, you would get some jumps in versions19:11
XDS2010|AFK left19:11
akushner joined19:12
cdg joined19:13
hahuang65 left19:13
Guest21 left19:14
durham joined19:15
h12o left19:15
zzz joined19:16
tvale joined19:16
cdg left19:17
akushner left19:17
Sasazuka joined19:17
jaybeers Ownix: that's really down to personal preference but personally I wouldn't do that, no19:19
Phylock joined19:19
jaybeers now, what some people do is make a version branch, and then do feature branches off _that_, in which case I'd say it would make sense to commit the version bump to the version branch19:20
thiago left19:20
thiago joined19:20
jaybeers the trouble with doing version bumps in branches is that you never know what order they're going to be merged in19:21
now, in practical terms you can just update the version number right before you commit, and then in practical terms you don't have the problem19:22
imanc_ left19:23
jaybeers I prefer to solve it more conceptually though and just apply the version bump directly to master. Having said that, although I have spent time thinking about it I wouldn't say my depth of git experience makes me an authoritative source. :)19:23
tombusby left19:23
tombusby_ joined19:23
robattila256 joined19:25
piggah joined19:25
Sauvin left19:27
Ownix jaybeers: Thanks that is very helpful. A release brancgh (in your case a version branch) that will eventually be merged back to master sounds like a great idea. I am a one mean team right now so I have a lot of flexibility but I want to automate as much as possible and also I want to be able to connect a software release back to a specific commit which will really alleviate pain in hotfixing/patching issues in older major19:27
versions when upgrading is not possible19:27
on man team* also one mean team XD19:27
jaybeers connecting a release to a commit is what you want tags for19:28
fassl we ended up with just one release branch so we could monitor this one with buildbot and issue automatic release builds19:28
rafasc jaybeers: that's a good point. Not only the order, but you might lose some versions if you discard a feature.19:28
jaybeers huh, yeah that too I guess19:29
although the true pragmatist would say it doesn't matter if version numbers aren't sequential I suppose :)19:29
but we're not savages19:29
Ownix: have you looked into git-flow?19:29
rafasc cries in semver.org19:30
weijin joined19:30
Noldorin joined19:30
jaybeers it's definitely overkill for one-person projects _but_ once you get it set up it's still straightforward and personally I like the habits it trains19:30
mattkrea joined19:31
zzz left19:31
thiago left19:32
mattkrea left19:32
Enphuego joined19:33
jaybeers http://nvie.com/posts/a-successful-git-branching-model/19:33
Ownix Thanks jaybeers I have heard of it and used a variation of it when I worked on a fast paced team19:34
stutter_ joined19:34
weijin left19:34
Ownix I miss having a teamlead/project manager handle all the JIRA tasks and branching/merging/releasing19:34
now im the one re-inventing the wheel.19:34
yobop left19:34
jaybeers heh19:34
phinxy joined19:37
thiago joined19:37
fnm^ joined19:38
bket left19:38
fnm^ left19:38
phinxy left19:40
xcm left19:41
xcm joined19:41
bket joined19:42
Puffball left19:44
oxymoron93 joined19:46
buyfn left19:47
venmx left19:49
re1_ joined19:50
re1_ left19:50
tvale left19:50
h12o joined19:52
weijin joined19:53
re1 left19:53
h12o left19:56
Sonderblade left19:57
weijin left19:57
phinxy joined19:59
joshbright left19:59
yobop joined20:01
cbreak left20:01
cbreak joined20:01
re1 joined20:02
XDS2010|AFK joined20:05
Es0teric left20:05
XDS2010|AFK left20:05
ams__ left20:06
synthroid joined20:07
cdown joined20:07
Darcidride joined20:07
weijin joined20:07
ToBeFree joined20:08
gitinfo set mode: +v20:08
romanlevin joined20:11
qwebirc97753 joined20:12
weijin left20:12
livingstn joined20:12
re1 left20:15
sz0 left20:15
qwebirc97753 left20:19
oxymoron93 I guess there are no problem with git on Hawaii20:20
Es0teric joined20:21
yobop left20:23
southernirc left20:24
pfleck joined20:24
solaris left20:27
jimmyrcom joined20:27
djapo joined20:28
watabou left20:29
joshbright joined20:29
shpoont joined20:30
fassl left20:31
kgrimes joined20:32
ZyX-I joined20:32
aeontech joined20:33
h12o joined20:33
King_Hual joined20:34
King_Hual left20:34
King_Hual joined20:34
plitter joined20:36
kpease left20:37
Simonious_ joined20:38
h12o left20:38
akushner joined20:39
\void joined20:40
cbreak left20:41
jnavila joined20:42
weijin joined20:43
jimmyrcom left20:44
fission6 left20:44
nocbreak joined20:45
netj left20:48
netj joined20:48
weijin left20:48
buyfn joined20:49
fission6 joined20:49
borkr left20:51
kbaegis left20:52
mborgard left20:54
sleepingdeforest joined20:55
madewokherd left20:56
zzz joined20:57
thiago left20:59
Case_Of left20:59
IchigoBlack left20:59
sleepingforest left20:59
Case_Of joined21:00
solaris joined21:01
kgrimes left21:01
ShapeShifter499 left21:02
kgrimes joined21:02
solaris left21:02
cdg joined21:03
zino_ joined21:05
Praxi left21:05
Kulrak left21:06
Kulrak joined21:06
Kulrak left21:06
Kulrak joined21:06
weijin joined21:07
kyan joined21:08
cdg left21:08
cdg joined21:09
manuelschneid3r left21:09
Darcidride left21:12
weijin left21:12
fx250_ joined21:12
XDS2010|AFK joined21:12
XDS2010|AFK left21:13
jack_rabbit left21:14
fx250__ left21:14
romanlevin left21:14
synthroid left21:14
ToBeFree left21:17
kfoonamalik left21:17
Mike11 joined21:17
guardian hello, is it possible after a clone has been done, to modify it to "do as if --reference had been used"?21:18
weijin joined21:18
Cavallari left21:19
_ikke_ I don't think so21:20
guardian ok21:20
watabou joined21:21
denete left21:21
nocbreak left21:22
synthroid joined21:22
weijin left21:22
cbreak joined21:23
crose joined21:23
Gurkenglas joined21:26
pfleck left21:27
pfleck joined21:28
peacememories joined21:29
CheckDavid left21:29
Puffball joined21:31
phluks left21:32
Bobdude joined21:32
zino_ left21:32
dendazen left21:33
chaosruler joined21:34
fission6 left21:34
h12o joined21:35
cbreak left21:36
nocbreak joined21:36
Raed|Mobile left21:36
akushner left21:38
AaronMT left21:39
rwb left21:39
h12o left21:39
mlopezviedma left21:43
nocbreak left21:43
cbreak joined21:44
eroux left21:44
solaris joined21:44
yobop joined21:45
clime joined21:45
applecrumble joined21:45
clime is it possible to `git archive` a certain commit in the same repo on two different systems and get the same sha512 checksum?21:46
Jitta joined21:46
synthroid left21:47
clime ...by e.g. carefully chosing the git archive command-line parameters21:47
mborgard joined21:47
solaris left21:47
clime I tried: git archive --format=tar.gz HEAD: > output.tar.gz on two different machines on the same repo ... but that gave different checksums in each case.21:47
shpoont left21:52
leptone joined21:52
weijin joined21:52
leptone working on branch A I have a commit, then I branch off to branch B. I make a commit on branch B. A's last commit hash in the log is the same as B's second to last.21:53
sphalerite clime: tar isn't very suitable for deterministic archives AFAIK21:53
leptone I checkout branch A, make another commit, and then squash that commit.21:54
clime sphalerite: ok, I tried the same thing with zip but that didn't work either21:54
sphalerite: anyway, tar would be be mine main use-case so if it's not reliably possible, then it's just not possible.21:55
crose left21:55
leptone Now branch B still has only one more commit in its log but the it's second to last commit hash is now idfferent than the commit hash of the last commit in branch A's log21:55
clime but it's a pity :(21:55
sphalerite clime: yeah I'm not really sure what's a good format. I know nix archives are deterministic but that's very unlikely to be suitable for your use case21:55
leptone so when i point branch B to branch A and look at the diffs all the additions in the second to last commit show as diff, but they're not really21:56
cbreak left21:56
leptone how can I resolve this21:56
cbreak joined21:56
leptone obviously some kind of rebase21:56
sphalerite clime: not sure how far git archive will get you but there are some steps you can take to make tar behave more deterministically, like giving it a sorted file list and setting all the files' timestamps21:56
Raed|Mobile joined21:56
weijin left21:57
leptone my question is should I squash the last two commits on branch B into one and then rebase A21:57
or should I just rebase A directly?21:57
clime sphalerite: well, I guess I would need to ahave an option to tell to strip any non-determinism when packing21:57
sphalerite leptone: it's not very clear what you're trying to achieve21:57
dendazen joined21:58
sentriz left21:58
fassl joined21:59
Guest63502 left21:59
Natsume joined22:00
ertes-w left22:00
mattcen left22:00
ertes-w joined22:00
clime e.g. when I donwload tar.gz for a release from Github, I doubt it has always the same checksum for that same release. Or maybe it does?...probably no.22:01
peacememories left22:01
fission6 joined22:02
weijin joined22:03
shinnya joined22:03
mlopezviedma joined22:04
durham left22:04
filcab joined22:04
mlopezviedma left22:04
durham joined22:05
filcabGuest7316622:05
mlopezviedma joined22:05
Natsume left22:07
XDS2010|AFK joined22:07
mattcen joined22:07
weijin left22:07
Mike11 left22:07
XDS2010|AFK left22:07
njbair left22:08
jamiejackson joined22:09
durham left22:09
sphalerite clime: actually https://unix.stackexchange.com/questions/164104/how-to-create-a-deterministic-tar-gz-using-git-archive seems to be your exact question :)22:09
shpoont joined22:09
sphalerite clime: and yes, github's archives are nondeterministic22:09
njbair joined22:09
sphalerite I do a lot of stuff with the nix package manager, and it has some funky workaroudns for that22:10
sentriz joined22:10
sphalerite basically fetching them, unpacking them, and then hashing the (deterministic) nix archive of the result22:10
Thominus left22:10
clime sphalerite: thanks okay.22:11
sphalerite: I feel silly but what is nix archive?22:12
sphalerite it's a deterministic serialisation format for a directory tree, which discards stuff like timestamps. Devised primarily for the nix package manager.22:12
Nothing to feel silly about, it is somewhat obscure :)22:13
(but nix is awesome and you should totally check it out https://nixos.org/nix )22:13
clime sphalerite: okay, interesting.22:13
looking. Thx.22:13
sentriz left22:14
clime sphalerite: so repacking it into nix is totally valid option. Good to know there is a way to do it.22:15
sphalerite: that package (the archiver) is probably not available in Fedora, right?22:16
h12o joined22:16
sphalerite yeeeah but it's not exactly a ubiquitous format nor is a whole package manager a dependency you really want to pull in22:16
so the patch mentioned in the answer on the SO question is probably a better solution for your case22:17
sentriz joined22:17
clime sphalerite: okay22:17
Phylock left22:17
peacememories joined22:18
anjen left22:19
jnavila left22:20
neunon left22:21
h12o left22:21
jstein_ joined22:21
jstein_jstein22:21
sentriz left22:21
Guest73166 left22:22
wootehfoot left22:22
favrin85 joined22:22
favrin85 left22:23
kpease_ joined22:23
sentriz joined22:24
rwb joined22:24
d10n-work joined22:25
neunon joined22:26
filcab_ joined22:28
fx250__ joined22:28
sentriz left22:28
BookBill joined22:30
fx250_ left22:30
BookBill left22:31
cdown left22:31
ZyX-I left22:32
kyan left22:33
xcm left22:34
yobop left22:34
jimmyrcom joined22:34
cdown joined22:34
piggah left22:35
jimmyrcom left22:35
weijin joined22:35
stancil joined22:35
MattMaker left22:36
fission6 left22:36
jimmyrcom joined22:36
Praxi joined22:36
MattMaker joined22:36
nikheizen left22:38
Nizumzen left22:39
Nizumzen joined22:39
weijin left22:39
mattcen left22:41
AndresInSpace left22:42
bitBaron left22:42
sentriz joined22:44
dendazen left22:46
gugah joined22:48
mattcen joined22:50
exotime left22:51
King_Hual left22:52
jready left22:52
yobop joined22:52
SyntaxxxErr0r joined22:52
jready joined22:52
shpoont left22:53
dermoth left22:54
btree joined22:54
watabou left22:55
dermoth joined22:55
shpoont joined22:55
exotime joined22:56
weijin joined22:56
jready left22:57
buyfn left22:58
weijin left23:01
crose joined23:01
tunekey joined23:03
fx250_ joined23:03
peacememories left23:04
fx250__ left23:04
njbair left23:05
venmx joined23:05
njbair joined23:06
crose left23:06
btree left23:06
Jitta left23:10
fx250__ joined23:11
cdg_ joined23:12
fx250_ left23:12
weijin joined23:14
cdg_ left23:14
threenuc left23:14
XDS2010|AFK joined23:14
cdg left23:15
zzz left23:15
XDS2010|AFK left23:15
mns we have a Git repository at work, setup in some data center internally somewhere far away. I want to setup a local read-only mirror of it, so that people can at least pull easily from a local mirror. How would I do this ?23:15
jamiejackson left23:16
howdoi left23:16
zombieleet joined23:17
weijin left23:18
Andros left23:18
mborgard left23:19
goweol joined23:19
mikecmpbll left23:20
greggerz left23:20
black_13 how do you show branch history23:24
or show what files were changed over time in a given branch23:24
cbreak left23:24
cbreak joined23:25
leeN left23:26
hahuang65 joined23:27
kpease_ left23:27
nowhereman_ joined23:27
nowhere_man left23:31
\void left23:31
pfleck left23:34
thiago joined23:35
weijin joined23:36
zzz joined23:37
alip joined23:37
fstd_ joined23:37
cagomez joined23:39
stutter_ left23:39
tremblerz joined23:40
zombieleet left23:40
weijin left23:41
fstd left23:41
fstd_fstd23:41
jready joined23:42
dendazen joined23:42
nd joined23:44
tremblerz Hi! I made some change, made the `add` then `commit` and then did pull which showed conflicts with two files, I resolved the conflict and after merge some of the changes I had made and committed and weren't part of the conflict are lost23:44
zzz left23:44
tremblerz I have no idea how could this happen23:44
fahadash left23:45
kbaegis joined23:45
jready left23:46
livingstn left23:46
nd_ left23:47
z0_ joined23:47
venmx left23:48
tsia left23:49
mixaz joined23:50
z0_z023:50
NeXTSUN left23:51
NeXTSUN joined23:51
z0 left23:53
watabou joined23:54
kbaegis left23:54
z0 joined23:55
rafasc left23:56
sanscoeu_ joined23:58
SyntaxxxErr0r left23:58

Logs Search ←Prev date Next date→ Channels Documentation