IRCloggy #git 2012-10-27

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.

2012-10-27

juril left00:02
ryuzak82 left00:02
worstadmin_ joined00:03
gitinfo left00:04
timj left00:04
jast left00:04
dgbaley27 left00:04
pdtpatr1ck joined00:07
moonkey_ left00:08
barq left00:08
jdunck left00:10
yoklov left00:10
boombatower left00:10
Vert left00:11
yoklov joined00:12
dijonyummy left00:12
marhaban joined00:13
hwrd|work joined00:14
VarmVaffel left00:16
etcetera left00:17
VarmVaffel joined00:17
klj613 left00:18
gain left00:18
etcetera joined00:19
offby1 'd of guv dgbaley27 that link if he'd had it, too00:19
ergZay left00:21
acidjazz left00:21
VarmVaffel left00:21
VarmVaffel joined00:22
[vaelen] left00:24
BSaboia__ left00:24
VarmVaffel left00:24
VarmVaffel joined00:24
mneorr_ left00:26
nowhere_man joined00:27
VarmVaffel left00:27
VarmVaffel joined00:27
Araxia left00:29
pandeiro left00:29
VarmVaffel left00:30
VarmVaffel joined00:30
VarmVaffel left00:32
VarmVaffel joined00:33
Fandekasp left00:33
TaokiTaoki|away00:33
Fandekasp joined00:33
hwrd|work left00:33
mneorr joined00:33
private joined00:34
privateGuest6339000:34
NetJunky left00:35
VarmVaffel left00:35
mneorr left00:36
VarmVaffel joined00:36
mneorr joined00:36
samir hi guys00:39
VarmVaffel left00:39
samir I'm trying to write a post-receive fetch. Basically when A user does a git fetch, I'd like to run a git submodule update00:39
VarmVaffel joined00:39
samir *hook I mean00:39
cmn that has nothing to do with post-receive00:40
AdrienBrault joined00:40
samir what hook should I be modifying?00:40
tinti left00:41
pfFredd left00:41
cmn there is none that runs after a fetch00:41
VarmVaffel left00:43
VarmVaffel joined00:44
daniel_- left00:44
moonkey_ joined00:44
kpreid left00:45
variousnefarious left00:45
kpreid joined00:45
BiggFREE joined00:46
cannonball left00:48
i42n left00:48
xaka left00:49
VarmVaffel left00:49
VarmVaffel joined00:49
hwrd|work joined00:49
dnstbr joined00:52
eijk_ left00:52
apok_ joined00:55
apok_ left00:56
VarmVaffel left00:57
EugeneKay Damnit jast, fix your shit.00:57
Lord_DeathMatch joined00:57
VarmVaffel joined00:57
xrq left00:57
hwrd|work left00:58
apok left00:59
BiggFREE left01:00
Bmac joined01:01
witul left01:01
ergZay joined01:01
witul joined01:01
witul left01:02
VarmVaffel left01:02
VarmVaffel joined01:02
angelsl joined01:03
g0bl1n left01:06
AdrienBrault left01:06
tinti joined01:06
Tuna-Fish left01:11
frogonwheels EugeneKay: maybe somebody needs offer a fail-over server ;)01:11
aspotashev left01:12
EugeneKay Sure01:12
lresende left01:12
EugeneKay I'm too lazy to set it up though01:12
frogonwheels :) Exactly.01:12
EugeneKay: he did say that he was trying to get the bot to come back online after a reboot.01:13
EugeneKay Apparently not very well :-p01:13
Kichael joined01:14
frogonwheels apparently01:14
tinti left01:14
samphippen left01:14
VarmVaffel left01:15
VarmVaffel joined01:15
Akufen_ left01:15
Yuuhi` joined01:17
Yuuhi left01:19
Akufen joined01:19
Mocramis left01:19
Mocramis joined01:20
Chillance left01:20
rchavik joined01:21
rchavik left01:21
rchavik joined01:21
arvind_khadri left01:21
dvide left01:22
camonz left01:25
VarmVaffel left01:25
VarmVaffel joined01:25
jpmelos left01:25
Mocramis left01:26
rchavik left01:26
jpmelos joined01:26
Mocramis joined01:26
worstadmin left01:26
worstadmin_ left01:26
VarmVaffel left01:32
VarmVaffel joined01:32
nogagplz joined01:33
marhaban left01:33
Gitzilla left01:34
Gitzilla joined01:34
hotovson left01:34
Tuna-Fish joined01:34
Lord_DeathMatch left01:36
thiago left01:37
tvw left01:38
hwrd|work joined01:39
VarmVaffel left01:39
VarmVaffel joined01:39
hwrd|work left01:39
hwrd|work joined01:40
infynyxx joined01:40
xaka joined01:41
Tuna-Fish left01:42
VarmVaffel left01:42
VarmVaffel joined01:42
Araxia joined01:44
Tuna-Fish joined01:44
Goplat joined01:45
VarmVaffel left01:45
VarmVaffel joined01:45
intripoon_ joined01:46
dreiss left01:49
intripoon left01:49
hwrd|work left01:49
VarmVaffel left01:50
VarmVaffel joined01:50
pdelvo left01:51
txomon left01:51
pdelvo joined01:52
pdtpatr1ck left01:53
chaiz joined01:54
etcetera left01:54
VarmVaffel left01:55
VarmVaffel joined01:55
nitrix_ joined01:56
goshawk left02:00
VarmVaffel left02:00
VarmVaffel joined02:00
VarmVaffel left02:03
VarmVaffel joined02:03
infynyxx left02:05
infynyxx joined02:06
api left02:07
api joined02:08
etcetera joined02:10
cakehero joined02:10
sente left02:10
sente` left02:10
etcetera left02:11
VarmVaffel left02:13
VarmVaffel joined02:13
sente` joined02:14
cybersphinx left02:15
pegnuin joined02:16
tizzotizzo-afk02:17
sgambino left02:17
hilbert_ left02:17
sente joined02:17
VarmVaffel left02:17
VarmVaffel joined02:17
cakehero left02:19
orafu left02:21
orafu joined02:21
kenperkins joined02:21
chaiz left02:21
chaiz joined02:22
tizzo-afktizzo02:22
VarmVaffel left02:22
VarmVaffel joined02:22
pilgrum left02:23
etcetera joined02:24
angelsl left02:24
VarmVaffel left02:27
VarmVaffel joined02:28
Bmac left02:31
dreiss joined02:32
intripoon joined02:33
intripoon_ left02:36
constantfunction02:37
tizzotizzo-afk02:37
VarmVaffel left02:38
VarmVaffel joined02:38
Linc left02:40
w09x joined02:40
w09x left02:41
Karmaona02:41
aGuest4455402:41
Guest44554e02:42
eKarmaon02:42
sluther left02:43
barneybook joined02:46
thiago joined02:48
VarmVaffel left02:49
VarmVaffel joined02:49
cakehero joined02:50
rehat joined02:51
jdunck joined02:51
arietis left02:52
bapa left02:54
bapa joined02:54
T4shi left02:55
cakehero left02:55
etcetera left02:55
macabre joined02:55
Chappo joined02:55
VarmVaffel left02:56
VarmVaffel joined02:56
aristidesfl left02:57
jdunck left03:01
kcj_ joined03:03
mgue left03:03
kcj left03:04
TheJH left03:05
mgue joined03:05
kcj_ left03:06
vitor-br joined03:06
kcj joined03:06
VarmVaffel left03:07
VarmVaffel joined03:07
sgambino joined03:10
felipec left03:14
solofight joined03:15
jpmelos left03:16
VarmVaffel left03:16
VarmVaffel joined03:16
solofight when i add a remote usign git remote add... under the config file remote section gets created and url is tracked - ofcourse...but why this line ? fetch = +refs/heads/*:refs/remotes/mainrepo/*03:17
orafu left03:19
OuLouFu joined03:19
OuLouFuorafu03:19
VarmVaffel left03:21
VarmVaffel joined03:21
cmn what problem do you have with that line?03:22
macrover joined03:23
Chappo left03:23
whodevil joined03:23
Chappo joined03:23
solofight cmn: will read about refspec and return03:23
dreiss left03:24
ergZay does git reset --soft myfile.c actually do anything?03:26
as it cant actually move the head position on a single file03:26
fisted_ joined03:27
cmn there is no such concept, no03:28
solofight cmn: no problem with that line :) getting to know that its a refspec notation to avoid mentioning in commands like fetch, pull and push got me going to understand the terms and purpose03:28
thanks03:28
macmartine joined03:28
fisted left03:28
sgambino left03:30
Wulf4 joined03:32
macmartine left03:32
VarmVaffel left03:32
VarmVaffel joined03:32
function is there a way to to determine "what percent of this file was modified per committer" ?03:33
I could do it with shortlog, but would like to do it with git buliting03:34
s/shortlog/blame03:34
Wulf left03:34
cmn that's what blame is for03:34
SkAzZ left03:35
cmn which data is relevant to your situation is something that only you an figure out03:35
function git blame book.xml | awk '{print $3 }' |sed 's/(//' | sort | uniq -c03:36
seems to work03:36
VarmVaffel left03:41
VarmVaffel joined03:42
rehat left03:44
lahwran left03:45
moondoggy Freaking out during upgrade. Can someone take a look at my screenshot?03:46
I'm getting some kind of dialog box, but the characters are all blank, so I don't know what it's asking.03:47
VarmVaffel left03:47
Davey left03:47
VarmVaffel joined03:47
lahwran joined03:49
etcetera joined03:50
cmn what's showing you a dialog?03:51
VarmVaffel left03:54
dnstbr left03:54
VarmVaffel joined03:54
resistivecorpse left03:55
resistivecorpse joined03:56
AlexWaters left04:01
AlexWaters joined04:02
ehsan left04:03
kukks left04:05
sluther joined04:06
milli left04:07
mneorr left04:07
mneorr joined04:08
rakl joined04:08
gerard0 left04:08
Goplat left04:10
VarmVaffel left04:11
guampa left04:11
VarmVaffel joined04:11
macmartine joined04:12
milli joined04:12
donri left04:13
gall joined04:13
Parhs joined04:14
Parhs left04:14
Parhs joined04:14
gerard0 joined04:14
sertaconay joined04:15
OOPMan left04:16
VarmVaffel left04:17
macrover left04:17
VarmVaffel joined04:17
Goplat joined04:17
Parhs left04:18
milli left04:18
Bmac joined04:19
VarmVaffel left04:21
etcetera left04:22
VarmVaffel joined04:22
irqq joined04:22
OOPMan joined04:22
milli joined04:23
gerard0 left04:23
adamben left04:23
VarmVaffel left04:26
VarmVaffel joined04:26
irqq left04:27
Chappo left04:28
sluther left04:29
whodevil left04:31
AlexWaters left04:31
Sky[x] joined04:31
VarmVaffel left04:32
VarmVaffel joined04:33
macmartine left04:33
AlexWaters joined04:34
ecksit joined04:35
subhojit777 joined04:37
VarmVaffel left04:40
glennpratt left04:40
macmartine joined04:40
VarmVaffel joined04:40
gerard0 joined04:43
mneorr left04:44
Bmac left04:44
AlexWaters left04:46
AlexWaters joined04:48
macmartine left04:48
VarmVaffel left04:53
BadProphet joined04:53
VarmVaffel joined04:53
a-l-e joined04:54
mklappstuhl joined04:56
irqq joined04:56
VarmVaffel left04:57
VarmVaffel joined04:58
chriskon149 joined04:58
PovAddict joined04:58
PovAddict hi04:58
ecksit hey PovAddict04:58
dreiss joined05:00
PovAddict fooapp needs libfoo, both in separate git repositories; in the master branch, people may often break the API of libfoo, updating fooapp to match05:01
mattp_ left05:02
PovAddict for stable releases there's proper version numbering, but for the breaks in the master branch there isn't, so if you compile new fooapp with old libfoo or viceversa (across an API break), you just get compile errors05:02
VarmVaffel left05:02
PovAddict now my question is05:02
VarmVaffel joined05:03
PovAddict how do you use git bisect under that environment and not lose your sanity in the process?05:03
pdtpatr1ck joined05:04
Goplat left05:07
gall left05:07
yakko joined05:08
BadProphet left05:10
moonkey_ left05:19
diegoviola left05:21
mneorr joined05:22
solofight left05:23
solofight_ joined05:23
VarmVaffel left05:23
VarmVaffel joined05:23
mneorr left05:24
siamect joined05:24
mneorr joined05:25
subhojit777 left05:25
madewokherd left05:27
siamect left05:29
siamect joined05:30
Davey joined05:31
d2dchat left05:33
PovAddict left05:34
siamect left05:34
longbeach joined05:34
VarmVaffel left05:35
yakko left05:35
VarmVaffel joined05:35
moonkey_ joined05:36
yakko joined05:36
yakko_ joined05:39
Wafflyn joined05:40
teamcoltra_ joined05:40
teamcoltra_ How can I use git commit / git push from a different directory than my repo is in? like if I am in ~/ and my repo is in ~/my-project I am assuming I can still commit and push without cd'ing into my-project05:41
yakko left05:42
subhojit777 joined05:42
SamB_MacG5 teamcoltra_: why bother ? you could just (cd my-project && git this && git that)05:42
teamcoltra_ I guess05:43
mneorr left05:44
mneorr joined05:44
yakko_ left05:44
teamcoltra_ left05:45
yakko joined05:45
sluther joined05:45
VarmVaffel left05:47
VarmVaffel joined05:48
mneorr left05:50
subhojit777 left05:52
subhojit777 joined05:54
gall joined06:01
dreiss left06:04
ehsan joined06:07
mont453 joined06:09
jokar joined06:09
SBoudrias left06:09
VarmVaffel left06:12
VarmVaffel joined06:12
ehsan left06:12
ehsan joined06:13
yakko left06:16
yakko joined06:16
resistivecorpse left06:18
alem0lars joined06:18
resistivecorpse joined06:18
chriskon149 left06:18
maleknet joined06:19
mont453 left06:20
VarmVaffel left06:20
VarmVaffel joined06:20
yakko_ joined06:21
yakko left06:23
solofight_ left06:25
VarmVaffel left06:26
VarmVaffel joined06:26
_huoxito left06:28
unreal left06:29
yakko joined06:30
unreal joined06:30
yakko left06:31
yakko_ left06:32
yakko joined06:32
chaiz left06:33
jcao219 left06:35
barq joined06:35
Paul92 joined06:40
thiago left06:43
resistivecorpse left06:43
resistivecorpse joined06:44
resistivecorpse left06:44
resistivecorpse joined06:44
T4shi joined06:44
T4shi left06:44
T4shi joined06:44
gall left06:44
Parhs joined06:45
Parhs left06:45
Parhs joined06:45
Winston_Smith joined06:46
barq left06:47
Parhs http://farm6.static.flickr.com/5192/5884654725_10cccde808.jpg06:47
osmosis left06:49
WinstonSmith left06:49
Winston_SmithWinstonSmith06:49
thyseus left06:50
Tegi joined06:50
ianmcorvidae left06:51
thyseus joined06:51
ianmcorvidae joined06:52
Plouj left06:53
Davey left06:56
ecksit left06:56
whitman joined06:57
Plouj joined06:58
chovy joined06:58
chovy howdy06:58
we're using svn at work, and i wanted to know if two developers with git can push code back and forth to each other w/o a central repo.06:58
rue_XIV left06:59
gerard0 left07:00
tewecske joined07:02
mattp_ joined07:03
gerard0 joined07:04
PCChris joined07:04
Parhs maybe chove , there isnt really central repo as far as i know07:04
mishok13 joined07:08
VarmVaffel left07:08
VarmVaffel joined07:09
Rix joined07:09
mishok13 left07:12
comps chovy: yes, with git-svn07:15
PCChris left07:15
comps err, with each other - using common git techniques07:15
VarmVaffel left07:15
VarmVaffel joined07:15
gerard0 left07:17
yakko_ joined07:17
pdtpatr1ck left07:19
yakko left07:20
chovy comps: so how do i push code to another dev? do i need ssh access to their machine?07:20
yakko joined07:20
yakko_ left07:23
hoschi left07:23
SirCmpwn left07:24
pdtpatr1ck joined07:24
yoklov left07:31
chovy .07:32
SirCmpwn joined07:32
psoo joined07:33
subhojit777 left07:33
EugeneKay chovy - typically, you push/pul to/from a shared bare repo someplace. You can do it ad-hoc with a pile of non-bare repos, but when doing this you will want to fetch instead of pushing07:33
Araxia left07:35
yakko_ joined07:37
mishok13 joined07:38
yakko left07:39
hoschi joined07:39
gerard0 joined07:42
xiukun joined07:44
robustus joined07:46
anderse joined07:47
mishok13 left07:47
rwq joined07:48
rob_w joined07:49
anderse left07:50
Paul92 left07:50
yakko_ left07:51
chovy EugeneKay: is there any tutorial on how to do this?07:51
BiggFREE joined07:51
OOPMan left07:51
chovy i'm thinking the workflow is developers working on the same project use git to push code to each other, and then when it is ready to be committed to trunk, one developer does svn commit.07:51
yakko joined07:52
wereHamster chovy: usually you still have a central repository somewhere, which you use to exchange your code.07:53
pushing directly to each others computers requires a lot more setup, you need to give each other access, and then the ip address changes then everybody has to update their configuration etc07:54
blathijs left07:55
chovy ok07:56
i just want to be able to have 2-3 devs work on a project w/o the code hitting svn until its ready.07:56
wereHamster chovy: install gitolite on a server.07:57
blathijs joined08:00
pfFredd joined08:00
Back2Basics joined08:01
Back2Basics if you put a filename in .gitignore does it apply both ways? (not uploaded nor downloaded?)08:02
Rukan joined08:03
anj joined08:05
VarmVaffel left08:05
VarmVaffel joined08:05
anj left08:05
rob_w left08:06
yakko left08:06
koltroll joined08:07
yakko joined08:08
phix left08:08
hendry joined08:09
phix joined08:09
infynyxx left08:09
hendry i'm trying just to get one commit out and email details of it, to discuss it. But git format-patch seems to generate zillions of patches. How do I get just the one?08:09
Parhs chemtrails today08:11
hendry needed "-1" in my command, arghh08:12
devsharpen joined08:12
VarmVaffel left08:13
VarmVaffel joined08:13
maleknet left08:15
Back2Basics left08:15
gavin_huang joined08:15
jdav_gon` joined08:16
daniel_- joined08:16
subhojit777 joined08:17
VarmVaffel left08:17
VarmVaffel joined08:17
xaka left08:17
pdtpatr1ck left08:18
jdav_gone left08:19
cakehero joined08:19
pdtpatr1ck joined08:22
BadDesign joined08:23
hotovson joined08:24
maleknet joined08:27
VarmVaffel left08:28
VarmVaffel joined08:28
skorgon joined08:31
subhojit777 left08:32
therod joined08:33
Taoki|away left08:34
N256 joined08:37
dc5ala joined08:37
maleknet left08:39
VarmVaffel left08:41
VarmVaffel joined08:42
Lord_DeathMatch joined08:43
suy joined08:46
subhojit777 joined08:50
avtobiff left08:51
VarmVaffel left08:51
VarmVaffel joined08:51
rakl left08:51
ncd|leeN joined08:52
Wafflyn left08:53
ReekenX joined08:53
ReekenX left08:54
ReekenX joined08:55
ReekenX left08:55
the_cybersphinx joined08:56
ReekenX joined08:57
VarmVaffel left08:57
ReekenXReekenX|AFK08:57
VarmVaffel joined08:57
und3f joined08:57
ReekenX|AFKReekenX08:58
maleknet joined08:59
ReekenXReekenX|AFK08:59
hendry when linux does a merge, for e.g. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=e657e078d3dfa9f96976db7a2b5fd7d7c9f1f1a6 does he manually do the ordered list ?!09:01
VarmVaffel left09:01
VarmVaffel joined09:02
wereHamster hendry: I'd guess it's compiled by davem09:03
hendry: http://permalink.gmane.org/gmane.linux.kernel/138350009:04
callMeBaby joined09:05
daniel_- left09:07
j416 joined09:08
fsvehla left09:08
hendry wereHamster: ok, then dave manually does it. surely is more sensible to offer some sort of pretty stat09:08
callMeBaby left09:10
VarmVaffel left09:10
VarmVaffel joined09:11
demonfire joined09:14
demonfire left09:14
maleknet left09:15
arturaz joined09:15
Guest63390 left09:16
VarmVaffel left09:17
VarmVaffel joined09:17
Strogg left09:18
Strogg joined09:19
yakko_ joined09:19
yakko left09:22
subhojit777 left09:24
VarmVaffel left09:24
VarmVaffel joined09:25
maleknet joined09:28
VarmVaffel left09:28
VarmVaffel joined09:29
Mocramis left09:30
VarmVaffel left09:33
VarmVaffel joined09:33
AdrienBrault joined09:33
Lord_DeathMatc joined09:37
VarmVaffel left09:37
traby joined09:37
T4shi left09:37
VarmVaffel joined09:37
Lord_DeathMatch left09:38
marhaban joined09:38
Element9 joined09:38
ziro` joined09:40
VarmVaffel left09:40
Lord_DeathMatcLord_DeathMatch09:40
VarmVaffel joined09:40
BadDesign left09:41
subhojit777 joined09:41
arturaz left09:41
pqr joined09:42
VarmVaffel left09:44
VarmVaffel joined09:44
chaiz joined09:46
chaiz left09:47
flavius joined09:47
VarmVaffel left09:47
chaiz joined09:48
VarmVaffel joined09:48
sbodo joined09:49
AdrienBrault left09:49
AdrienBrault joined09:50
irqq left09:50
devsharpen left09:53
kumbayo joined09:55
FernandoBasso joined09:56
ipalaus joined09:56
arturaz joined09:57
rdqfdx joined09:57
VarmVaffel left09:58
VarmVaffel joined09:58
jaseemabid joined09:58
angelsl joined10:00
VarmVaffel left10:00
VarmVaffel joined10:00
Element9 what's happening with http://git-scm.com/docs10:01
lots of commend aren't accessible10:01
s/commend/commands10:01
gusnan joined10:03
VarmVaffel left10:05
VarmVaffel joined10:05
SeySayux left10:05
devsharpen joined10:06
Villadelfia left10:06
SeySayux joined10:07
Villadelfia joined10:07
antihero left10:08
mr007x joined10:10
VarmVaffel left10:10
VarmVaffel joined10:11
ipalaus left10:11
maleknet left10:11
mr007x left10:12
mr007x joined10:12
ipalaus joined10:16
VarmVaffel left10:16
dangerousdave joined10:16
VarmVaffel joined10:16
milian left10:16
traby left10:16
rob_w joined10:17
NetJunky joined10:19
VarmVaffel left10:19
VarmVaffel joined10:20
NetJunky Guys, read about rebasing and still don't get it. Why is history after rebasing held as cleaner one rather than just simple merge. With you merge the graph is more detailed imho or I'm missing some larger picture here?10:21
kcj left10:21
gavin_huang left10:22
private joined10:22
gavin_huang joined10:23
VarmVaffel left10:23
sluther left10:23
privateGuest7692310:23
VarmVaffel joined10:23
gitinfo joined10:23
ChanServ set mode: +o10:23
Nevik Element9: https://github.com/github/gitscm-next/issues/19110:24
problems started occurring when they pushed the git1.8 docs. someone is apparently looking into it though10:24
as indicated in that issue thread, you can access the docs by explicitly appending a version number10:24
Element9 Nevik: cool. thanks10:24
pdtpatr1ck left10:25
Nevik no worries; i had the same question a few days ago ;)10:25
VarmVaffel left10:26
VarmVaffel joined10:26
milian joined10:27
pandeiro joined10:27
ehsan left10:27
gavin_huang left10:29
VarmVaffel left10:31
VarmVaffel joined10:32
pqr left10:32
fsvehla joined10:32
pandeiro left10:33
john3 left10:33
asakura left10:33
john3 joined10:35
asakura joined10:35
jezjez999910:37
VarmVaffel left10:37
ChanServ set mode: -v10:37
VarmVaffel joined10:37
VarmVaffel left10:42
VarmVaffel joined10:43
skorgon left10:44
VarmVaffel left10:48
VarmVaffel joined10:48
Element9 there might be a small mistake in git-reset docs. none of the three listed forms accept "git reset"10:48
which is the equivalent of "git reset --mixed", right?10:49
daniel_- joined10:50
yakko_ left10:50
xiukun left10:51
Chappo joined10:51
yakko joined10:51
VarmVaffel left10:54
VarmVaffel joined10:54
marhaban left10:54
fsvehla left10:57
wereHamster Element9: eh?10:57
fsvehla joined10:57
VarmVaffel left10:58
VarmVaffel joined10:58
dr_lepper joined11:00
Nevik Element9: more like an imprecision imo11:01
the third form states that --mixed is the default action11:01
VarmVaffel left11:01
Nevik or rather, the explanation for --mixed does11:01
mafix joined11:01
VarmVaffel joined11:01
txomon joined11:02
dsirijus joined11:02
rchavik joined11:03
fsvehla left11:03
legnaleurc joined11:04
cakehero left11:06
VarmVaffel left11:07
VarmVaffel joined11:07
psoo left11:09
Element9 Nevik: so there should square brackets around (--soft | --mixed | --hard | --merge | --keep). not a biggy11:11
jokar left11:11
VarmVaffel left11:13
VarmVaffel joined11:13
Nevik yeah11:14
jwmann joined11:14
Nevik you could post that as an issue or fork+pull request; i just dont know which repo hosts the man pages/doc contents11:14
cbreak NetJunky: after a rebase, history is usually cleaner because you CAN CLEAN IT UP. With merging, you can't clean history. All you do is glue two different streams of history together.11:14
rebasing is often used to hide the actual development and instead represent logical steps of development11:15
yakko left11:15
cbreak for example, squashing several commits into one single for a feature that you had to commit multiple times11:15
or by reordering things11:15
by removing bug fixes from a feature branch history11:16
and so on11:16
Element9 Nevik: tried, but the mailing list does not accept email from gmail, so I sort of gave up there :)11:16
cbreak Element9: ?!11:16
why the hell is that?11:16
yakko joined11:16
actel left11:17
actel_ joined11:17
Element9 cbreak: now I read the error message thoroughly, it's not becase of gmail, but because the message had html in it. I guess I have html turned on in my gmail. lets turn that off11:19
cbreak html is an abomination in email :)11:19
NetJunky cbreak: I see. Thank you.11:20
cbreak <html><body><h1>Almost as bad as it would be on IRC</h1></body></html>11:20
VarmVaffel left11:20
cbreak NetJunky: there's a trigger for that... !sausage or something11:20
gitinfo NetJunky: [!sausage_making] Some developers like to "hide the sausage making", transforming their commits before presenting them to the outside world. See http://sethrobertson.github.com/GitBestPractices/#sausage and !perfect11:20
VarmVaffel joined11:21
michel_v left11:21
kerrick left11:21
NetJunky cbreak: How do you know, what commands does @gitinfo accept?11:22
marhaban joined11:22
cbreak by experience.11:22
I've been here for years :)11:22
(I think)11:22
NetJunky I see. Okey.11:22
cbreak most of them are answers to FAQ11:23
jokar joined11:24
VarmVaffel left11:27
Chillance joined11:27
Haikarainen joined11:28
VarmVaffel joined11:28
pandeiro joined11:29
Xethron joined11:29
xiukun joined11:29
yakko left11:32
yakko joined11:34
xiukun left11:34
gitinfo left11:34
marthinal joined11:37
Guest76923 left11:39
pfFredd left11:41
WaterRatj left11:41
dfanjul joined11:41
VarmVaffel left11:43
VarmVaffel joined11:44
gusnan left11:45
jokar left11:45
jceb joined11:47
yakko_ joined11:47
VarmVaffel left11:48
marthinal left11:49
yakko left11:50
NetJunky cbreak: so let me see if I got it right. When I rebase one branch on to another and they bouth have some amount of commits after diverging, then my current branch commits are added after the commits in branch on which I rebase them. After I switch to that branch I just move my pointer to last rebased commit and go from there. Would, that be the correct description of rebase?11:51
cbreak the second part is optional11:51
you do not have to merge after a rebase11:51
(the merge would be ff though)11:51
ipalaus left11:52
jaseemabid left11:52
gusnan joined11:52
chaiz_ joined11:55
dfanjul left11:55
__main__ left11:55
jceb left11:56
_main_ joined11:56
jokar joined11:57
chaiz left11:58
_main___main__11:59
raatiniemi joined12:00
The_Ball left12:01
timj joined12:01
raatiniemi left12:04
hotovson left12:05
samphippen joined12:06
aristidesfl joined12:09
flaguy48 left12:12
nitrix_ left12:12
chisler joined12:13
yakko_ left12:13
yakko joined12:15
nowhere_man left12:15
subhojit777 left12:17
nowhere_man joined12:17
alem0lars left12:18
daniel_- left12:19
Onkeltem left12:19
jhuntley left12:21
Chappo left12:22
solofight joined12:22
mafix left12:22
NetJunky cbreak: friendly fire? :)12:22
solofight am trying to understand whether its possible to have a default remote for each branch in local repo12:22
ipalaus joined12:23
solofight i tried creating two repos A, B with some contet and commits but both have only one branch - master. cloned C from A now i have master branch of C containing content of A12:24
NetJunky solofight: I'm new to git, but I don't see why not. As I was told remotes are just bookmarks of your local branches12:24
solofight if i make any changes to the content of C and do a git push and pull it directly talks to A12:24
NetJunky Ou. Sorry. Misread you Q.12:24
Don't know about default for each branch.12:25
solofight now if i add B as remote and fetch12:25
devsharpen left12:25
solofight i have a local branch master and remote branch master in C which are from A and B12:25
so if i do a push, pull from remote branch master of C it should directly talk to B right ?12:25
subhojit777 joined12:26
solofight when i switch to it - i hear detached head, so create a new branch from it with -b option and when do a git pull say no remote specified ! ! !12:29
this behavior is confusing - can somebody throw ome light12:29
rednaks joined12:30
solofight wy would it say no remote when i create this branch from the remote tracking branch itself !12:31
bibinou joined12:31
solofight i understand that you need to specify --track for a new branch to talk to remote. But this branch is created from remote branch right ! ? why the same behavior ?12:33
pandeiro left12:34
flaguy48 joined12:34
pandeiro joined12:35
txomon left12:35
hilbert joined12:35
subhojit777 left12:36
moonkey_ left12:38
devsharpen joined12:38
ipalaus left12:39
maleknet joined12:39
skorgon joined12:39
daniel_- joined12:41
ipalaus joined12:42
yakko left12:43
jackh joined12:44
yakko joined12:44
bibinou left12:45
mastro left12:45
erichynds joined12:46
agile joined12:48
soc42 joined12:48
Alan left12:49
subhojit777 joined12:50
coffer joined12:52
fluffiey joined12:53
arielpts left12:55
tizzo-afktizzo12:56
arietis joined12:58
arielpts joined12:58
ipalaus left12:59
dermoth|work left13:00
acl_ joined13:00
solofight left13:03
daniel_- left13:03
tizzotizzo-afk13:04
mastro joined13:05
functiontrout13:05
reisi left13:08
subhojit777 left13:08
JohnBat26 joined13:11
sbodo left13:12
battye joined13:14
erichynds left13:15
battye Hi, there was a fantastic resource I saw in this channel recently that gave an overview of all the git functions13:15
Someone brought the link up through a shortcut... does anyone know which one I am talking about?13:16
babilen joined13:18
Paul92 joined13:18
pandeiro left13:18
battye jk.gs/git appears to be down so I can't search through the resources there.13:19
Dutt_Away joined13:19
holodoc joined13:19
NetJunky cbreak: I found a bit odd thing I did rebase. I see that it applied my commits to the master branch, but it didn't add files, that I commited. How come?13:21
holodoc left13:21
ergZay left13:25
asakura left13:25
i42n joined13:25
xiangfu left13:25
ergZay joined13:25
Nevik battye: could you mean http://git-scm.com/docs ?13:28
battye No that is not it13:28
Nevik battye: have you tried looking through your browser history :P13:28
battye Basically what I'm trying to find out is how I know which github repository I'm pushing to13:29
Dutt_Away left13:29
canton7 battye, git remote -v will tell you that13:29
battye okay cheers. how does git know?13:29
canton7 I'm trying to think what page you might have seen on jk.gs ... I didn't think much was hosted there any more13:29
angelsl left13:29
canton7 maybe man git ?13:29
all that info's stored in .git/config13:29
battye oh, depending on the directory?13:30
Ah I see13:31
canton7 there's only one .git folder per repository13:31
battye One other thing, if I type commit --amend... etc13:31
I see "Author" and "Committer"13:31
Author is correct13:31
but Committer has the name of my PC in it?13:31
How do I change the Committer?13:31
so it is the same as Author13:32
canton7 The commit is drawn from the config keys user.name and user.email13:32
fluffiey Hello #git. A project member accidentally made a "git disaster 2: http://randyfay.com/content/avoiding-git-disasters-gory-story" with the merge workflow in master branch (instead of git pull --rebase). In the local merge that occurred he deselected changes made by other members and pushed therefore deleting commits. Can I rebase the master branch moving those commits to the front and push? I tried "git rebase -i HEAD~4" but git threw an err13:32
canton7 *committer13:32
git tries to guess those if you don't explicitely set them13:32
battye But isn't user.email used in Author as well?13:32
the email is correct in Author13:32
canton7 yes, it should be.... I'm guessing the commit was made on another machine?13:32
battye no13:32
Anyway, if I change user.email in the config... how do I ensure that the Committer is correctly updated before I push?13:33
tmcmahon joined13:33
battye Actually - how do I verify user.email?13:33
canton7 (when you amend/rebase commits, the author stays but the committer changes)13:33
'git config user.email'13:33
battye git config user.email didn't do anything13:34
is it supposed to return the current value?13:34
canton7 yes. returning blank means there's no value set13:34
battye ah, weird that author is okay then13:34
canton7 git config --global user.email 'my.email@address'13:34
also check user.name13:34
battye that is correct13:35
canton7 I suspect you did something to nuke the user.email value between creating that commit and amending it13:36
battye okay, so git config --global user.email "email here" to change it?13:36
canton7 just check 'git config user.email' again, after setting it13:36
yup, that's right13:36
(--global config is stored in ~/.gitconfig, while local config is stored in .git/config, and there's a possibility that the email's set correctly in ~/.gitconfig but is being overridden to a blank value in .git/config)13:37
cbreak NetJunky: rebase doesn't apply commits. It takes your commits, makes patches from them, and applies those on top of the new base13:38
if you have a commit with new files, then the new files will be taken over too of course13:38
battye ok, it looks okay now13:39
talmuth joined13:39
battye so just git add * to add everything, git commit -m "Message"?13:39
then git push, should do it right?13:39
dsirijus left13:39
canton7 fluffiey, that's a really really stupid bit of tortoisegit behaviour. imo it's a pretty shit tool anyway... he wont' have deleted commits anyway. not a chance. he'll just have create a commit which removes files again13:40
battye, what are you trying to do? that'll create a new commit which contains all as-yet-uncommitted changes13:40
battye I created a new repo at github, I just want to get my files on there13:41
marhaban left13:41
NetJunky cbreak: but you see, they were not.13:41
cbreak no, I don't see.13:41
canton7 using * as an argument to git commands can do unexpected stuff, as it's expanded by the shell and not git. using a period is often better13:42
battye I have a bunch of files and subdirectories, do you mean git add . will prepare everything for checkin?13:42
canton7 battye, but yeah, git add . && git commit will create a new commit containing all uncommitted files13:42
battye as long as it adds everything contained in that directory and subdirectories, that's fine by me then13:43
NetJunky cbreak: I will make a gist for you.13:43
jirka_on_d left13:43
xiangfu joined13:43
xiangfu left13:44
gitinfo joined13:44
ChanServ set mode: +o13:44
canton7 battye, (as a matter of interest, using 'add *' will be expanded by the shell into also listing any ignored files you have. git will then print a warning saying 'are you sure?')13:44
battye I used git add ., then git status13:44
it seems to have picked everything up13:44
canton7 that's what you wanted, no?13:45
battye yes13:45
so it's all good13:45
I've commited too13:45
so just git push before it is on github yes?13:45
dv310p3r joined13:45
wsfulton joined13:46
canton7 yup13:46
well, depending on some stuff13:46
but probably, yup13:46
battye On some websites I see "git pull origin master"13:46
sorry13:46
wrong copy/paste13:46
canton7 don't do that :P13:47
battye "git push origin master"13:47
canton7 that's fine13:47
battye is that just defining the branch?13:47
canton7 add -u to set up tracking information13:47
!fetch413:47
gitinfo [!fetchfour] Never use the four-word version of git-fetch or git-pull (e.g. git fetch remote refspec). It always ends in tears. Yes, if you understand the implications of FETCH_HEAD it can technically be done, but really it is easier to just fetch the whole remote (or perhaps edit the fetchspec if you never want other bits). If you must, see !fetch4why13:47
canton7 (also, welcome back bot)13:47
battye ok, but on push it's ok?13:47
and that will send the changes to github?13:47
Fatalis joined13:48
battye and only to the repo defined in git remote -v?13:48
canton7 push it's fine, and often required13:48
battye ok, and it'll only go to the push repo I see in the remove -v command?13:48
canton7 if you say 'git push origin master', it'll push the master branch to the remote that's define as 'origin' in your config13:48
battye okay, I just want to be 100% it'll only go the push origin I see in remote -v though - because I am connected to other repos as well, obviously I don't want it going to anything but the one I'm expecting it to go to!13:50
so if I'm seeing what I expect in remote -v, I am safe to push?13:50
tinybluepixel joined13:51
Nevik NetJunky: btw, regarding your earlier question, the gitinfo bot has a list of its faq entries. now that the website is back, you can see it at http://jk.gs/git/bot/faq.php13:51
txomon joined13:51
Fatalis left13:51
canton7 battye, define 'connected to other repos'13:51
battye well, in other directories I have cloned some other repos13:52
and I have push permission as well13:52
canton7 that are utterly irrelevant to the current repo13:52
battye yes13:52
so I don't want anything going to that repo13:52
just the one I'm seeing in remote -v13:52
milian how do I get the reverse diff for something like "git diff otherbranch", including local uncommited changes? HEAD does not include those...13:53
canton7 if there's only one remote configured for the current repo, that the only place stuff can be pushed to13:53
repos don't know about each others' config13:53
battye www/Repo1 and www/Repo2 is basically how it is now13:53
milian i.e. git checkout b; # change something without committing it; git diff a (but reverse the diff here)13:53
battye and if I do a git remote -v on Repo2 - I see the repository that I want to send to13:53
okay13:53
It sounds like I am good to go then13:53
angelsl joined13:53
NetJunky Nevik: awesome. Thank you. I did try to access it ealier, but it loaded and loaded and didn't give a response. Seems to work now.13:53
wsfulton Hi, I'd appreciate some advice on what to do after attempting a git svn rebase and my network connection dropped out halfway through the svn commits resulting in numerous "needs update" messages on the files for my last but one commit being pushed to svn.13:54
fluffiey left13:54
battye canton7: it worked13:54
thanks very much for your help, I appreciate it13:55
tmcmahon left13:55
NetJunky Nevik: by the way it doesn't have "sausage" command in the list.13:55
Nevik NetJunky: my bad, there's another list of working triggers: http://jk.gs/git/bot/trigger.php13:56
NetJunky Nevik: sorry. This is trigger. I see now.13:56
Nevik (i dont maintain the bot, i just knew there were lists)13:56
;)13:56
Innocentus joined13:59
madewokherd joined13:59
maleknet left13:59
svetlyak40wt joined14:00
dr_lepper left14:01
wsfulton If I re-commit this, then afterwards I can redo the svn rebase, but how do I retrieve the commit that originally came after this one?14:03
AdrienBrault left14:06
cbreak wsfulton: well, git reflog14:07
reset --hard to the commit you were on before the rebase14:07
sbodo joined14:07
irqq joined14:08
NetJunky cbreak: https://gist.github.com/396475814:08
AdrienBrault joined14:08
NetJunky So as you see files wheren't transfered to branch where I rebased commits from my secondary branch14:09
weren't*14:09
FernandoBasso left14:09
therod left14:09
wsfulton cbreak, thanks... looking at reflog (it is a new command to me)14:10
cbreak netj: which file?14:10
und3f left14:11
cbreak NetJunky: what do you think should have happened but did not?14:11
NetJunky Well I created .htaccess file in branch experiment and during rebase I thought, that it will be transfered as a change to master branch14:12
Paul92 left14:12
cbreak when?14:12
you created a .htaccess on master14:12
_huoxito joined14:13
tinybluepixel left14:13
NetJunky no14:13
cbreak yes...14:13
NetJunky I created and commited it on experiment.14:13
cbreak and that commit is not preserved?14:13
NetJunky And there is no .htaccess in final listing on master branch14:14
cbreak yeah, and?14:14
why should there be any?14:14
if you said you did it on experiment14:14
then why should it be on master?14:14
dvide joined14:14
cbreak NetJunky: !lol14:14
gitinfo NetJunky: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all14:14
cbreak use that14:14
NetJunky cbreak: because of rebase.14:14
cbreak NetJunky: then you didn't get git at all14:14
git commands change the current branch14:15
git rebase while you are on experiment changes experiment14:15
it does NOT change master in any way14:15
NetJunky emmm. Then I didn't get it. What does this rebase do then?14:16
cbreak as I said above: !lol14:16
gitinfo A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all14:16
cagedwisdom left14:16
cbreak NetJunky: it rebases ... the ---> *current* <--- Branch14:16
glen joined14:17
cbreak ------------------------------^14:17
NetJunky where? as an alpha to the end of master branch?14:17
rwq left14:17
glen hey, i commited bunch of commits under wrong name, can i amend them to right one before i push?14:17
cbreak alpha?14:17
NetJunky: it rebases the current branch onto what ever you tell it to14:17
canton7 glen, wrong author/committer name? you can amend them14:18
cbreak NetJunky: just think a bit: If you put a table cloth and a plate and a pizza onto a table14:18
canton7 rebase -i is your friend (assuming it's a linear history), with appropriate flags, depending on what exactly you want to do14:18
cbreak did you change the table?14:18
canton7 glen, search for 'author' or 'committer' in man git-rebase14:18
gitinfo glen: the git-rebase manpage is available at http://jk.gs/git-rebase.html14:18
JohnBat26 left14:20
mont453 joined14:20
canton7 glen, actually I forgot there's an extra step. if you want to reset the author, you have to 'edit' every commit using rebase -i, then run 'git commit --amend --reset-author && git rebase --continue' every time it stops14:20
SkAzZ joined14:20
soc42 left14:21
ipalaus joined14:21
NetJunky cbreak: so the rebase should add something somewhere (if it wasn't there)14:22
?14:22
wereHamster NetJunky: are you asking what rebase does?14:22
NetJunky well, yes.14:23
wereHamster NetJunky: man git-rebase14:23
gitinfo NetJunky: the git-rebase manpage is available at http://jk.gs/git-rebase.html14:23
cbreak NetJunky: what do you think it should add?14:23
wereHamster NetJunky: read the description. It explains *exactly* what the command does.14:23
cbreak and why do you think it should add anything?14:23
it's rebase, not rebaseandadd14:23
wereHamster step by step..14:23
glen canton7: i want to change Your Name [email@hidden.address] with something appropriate14:24
NetJunky Since my table is master branch and commited .htaccess file would be a pizza, then appling it to the table would mean transfering changes regarding this file to master branch.14:24
canton7 glen, is that the author or committe value?14:24
*committer14:24
cbreak glen: man git-filter-branch for an alternative way of large-scale authorship changing14:24
gitinfo glen: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html14:24
NetJunky okey14:25
cbreak NetJunky: nope.14:25
wereHamster wtf has food and furniture to do with git?14:25
canton7 glen, yeah, filter-branch is going to be quicker for anything above 20 or so commits14:25
glen canton7: author definately, maybe committer too14:25
i have 7 commits14:25
cbreak NetJunky: as I said: only the current branch is changed14:25
NetJunky: !lol14:25
gitinfo NetJunky: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all14:25
cbreak again14:25
read it14:25
canton7 glen, ok. git rebase -i <commit before first one to edit>; change all 'pick' lines to 'edit'; save and close; every time rebase stops, run 'git commit --amend --reset-author && git rebase --continue'14:26
that is, assuming user.name and user.email are correctly set now14:26
chisler left14:26
dr_lepper joined14:27
dr_lepper left14:27
dr_lepper joined14:27
glen damn, it's still wrong in git log, even i did exactly as you said and git config --global shows user.name and email are correct14:27
oh. of course. there's wrong values in git local config!14:28
weiyang joined14:28
glen using vim to fix that :)14:28
canton7 g14:28
git config user.name 'blah' will fix local config14:28
glen was easier with vim this time14:28
as it was needed to be removed14:29
canton7 cool. there is an option to 'git config' for that, but vim's quicker than looking it up :P14:29
oh, you can also throw --no-edit at that commit --amend command to stop the editor firing up14:29
glen ok. one commit i've already pushed out with bad author :(14:30
defts joined14:30
canton7 you can !rewrite the history if it isn't public14:30
gitinfo [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to jump through hoops (and you have to tell them to), so it's infinitely better to just move on without rewriting. That said, you can use `git push -f` to force your new history through (may get rejected, though). See http://git-scm.com/docs/git-rebase.html#_recovering_from_upstream_rebase14:30
JohnBat26 joined14:30
glen i have pushed out one commit to public, but, i could probably create similar branch once again, where the one commit is rewritten14:31
canton7 does it matter? :P14:31
rchavik_ joined14:31
glen yeah, it looks ugly like somebody needs profanity filter shouting YO MAMA14:32
ok, i'll ask other guys using that repo what they think. thanks so far :)14:33
jaseemabid joined14:34
rchavik left14:35
LeMike joined14:35
[sr] joined14:35
[sr] howdy14:35
Xethron What hook runs first? post-merge or post-recieve?14:35
[sr] i'm having a problem running git gc14:35
where i get a: error: failed to run repack14663/17496)14:35
vals_ joined14:35
[sr] what could i eventually do about this to solve it?14:36
tango_ left14:36
vals_tango_14:36
dvaske joined14:38
coffer left14:38
rvl joined14:38
glen left14:39
skorgon left14:39
Xethron ignore my previous question 0.o14:39
dr_lepper left14:39
mont453 left14:40
heytrav left14:40
FabTG left14:41
FabTG joined14:43
rafter joined14:44
rob_w left14:44
erichynds joined14:48
Caelum left14:48
moonkey_ joined14:49
Caelum joined14:50
felipec joined14:52
sbodo left14:54
[sr] some google told me what was low memory, just incresead... and worked, tks!14:54
EugeneKay Xethron - yeah, there is no reason those two hooks would ever run in the same operation.14:55
CaptainKnots joined14:56
sbodo joined14:57
TheJH joined14:58
trout is there a way to get a "historical blame" on a line14:59
i.e for a specific line in a file14:59
I want to see who last modified it15:00
where it came from, etc15:00
hyperair left15:00
edrx joined15:01
hyperair joined15:01
weiyang left15:03
EugeneKay It's not really possible because each change can(does) change the line numbers15:03
About the best you can do is to use !dashes to see the git-log for a specific file15:03
gitinfo Use a double-dash(--) to separate refs or arguments from file paths. This is especially useful when dealing with ambiguous names. Ex: `git checkout origin -- master` will check out the file "master" from branch "origin"15:03
hellopat left15:03
maleknet joined15:05
wagle joined15:06
jaseemabid left15:06
edrx is there a way to clone just the current version of a15:06
repository, without the history? this,<http://angg.twu.net/tmp/o.txt> is the output of du -c on the result of "git clone git://git.code.sf.net/p/untwisted/code untwisted-code"... 16MB of history for something whose current version is just 472KB...15:06
EugeneKay YOu can sort of do this with a shallow clone, but the "proper" way is to get a git-archive tarball from the source epo. github provides these via the Download button, dunno about sf.net15:08
Xethron I need some help...15:08
edrx EugeneKay: trying... thanks!15:09
Xethron I have a post-recieve hook containing "GIT_WORK_TREE=/var/www/dir/ git checkout -f"15:10
Lord_DeathMatch left15:10
EugeneKay Xethron - !deploy15:10
gitinfo Xethron: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html15:10
Xethron EugeneKay: I know15:10
ghartmann joined15:11
dvide left15:11
Xethron I was just wondering if you could give me advice for building one around it...15:11
EugeneKay See the link15:11
Vampire0 joined15:11
Sky[x] left15:11
svetlyak40wt left15:11
Xethron I want to excecute a command after the checkout15:11
ok15:11
jackh left15:12
Xethron thanks15:12
rchavik_ left15:12
cybersphinx joined15:12
Lord_DeathMatch joined15:13
maleknet left15:15
dvide joined15:16
the_cybersphinx left15:16
LotR left15:19
xjimmyshcn joined15:20
resistivecorpse left15:21
resistivecorpse joined15:21
hays so i understand mostly how git is a distributed system with no central server... but.. how does it work that i clone from someone else? there has to be some sort of daemon or something running that listens on some port or another15:22
bremner yes, or you need ssh access15:22
mishok13 joined15:22
edrx EugeneKay: all working perfectly. Thanks! =)15:23
edrx left15:23
hays ssh.. i see. ah i found it, in the docs15:23
bremner or local file system access, for the pedants in the crowd15:23
Vile joined15:23
dropdrive left15:24
EugeneKay hays - man git-clone; see the section "GIT URLS"15:24
gitinfo hays: the git-clone manpage is available at http://jk.gs/git-clone.html15:24
maleknet joined15:25
dropdrive joined15:25
adamben joined15:27
LotR joined15:29
maleknet left15:30
fisted joined15:32
angelsl left15:33
fisted_ left15:33
adamben left15:35
NetJunky cbreak: read it. read it even my native language and still I can't seem to grasp the work of rebase command. So there is a C2 on main master branch. From there it diverged into separate branch called experiment. Some development was done there. Next it was checked out back to master branch and some work was done there. Then one thought to apply changes from experiement branch to master, but with `git rebase <branch>` command. So15:37
as I would seem to understand this. My current branch is experiment. I would like to rebase my changes to master branch. So then this command should find a common ancestor of two of them and apply changes from current branch to the rebasing branch.15:37
hays is git add * recursive?15:37
EugeneKay hays - !tryit15:38
gitinfo hays: [!tias] Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://sitaramc.github.com/1-basic-usage/tias.html may help with git-specific TIAS.15:38
hays EugeneKay: im looking up the command to list git files right now actually15:38
aspotashev joined15:39
hays status15:39
got it :)15:39
mikepack_ joined15:42
macUzer joined15:42
macUzer left15:44
chaiz__ joined15:46
thiago joined15:46
battye Hi - using the command line to git pull the latest code from github, how will file conflicts be handled?15:46
Will I see a list of conflicts in the terminal window?15:47
Or does git auto merge?15:47
canton7 a conflict is, by definition, something that can't be auto-merged15:47
git pull will tell you there are conflicts, and (in newer gits at least) tell you what to do15:47
Xethron left15:47
battye okay, so if there is a conflict - does it say I can merge it manually?15:48
or does it give me prompt to select which conflicts to choose (ie. local file lines or server file lines)15:48
chaiz_ left15:48
canton7 all conflicted files will be marked as such (use 'git status' to list them), and if you open one in an editor you'll see the conflict markers in it15:48
ayaka joined15:49
canton7 (>>> === <<< etc)15:49
chaiz__ left15:49
ayaka left15:49
canton7 so either edit the file by hand (remembering to remove the conflict markers), and 'git add' it; or fire up 'git mergetool'15:49
battye ah okay15:49
chaiz joined15:49
battye so it will be like conflictedfile.php.server and conflictedfile.php.local?15:49
something like that?15:49
with markers in it?15:49
canton7 nope, there's one file with markers in it15:50
battye why would I need to git add it then?15:50
canton7 if you use 'git mergetool', then git will generate temporary files for local/remote/etc and pass them to the mergetool15:50
git will refuse to finish the merge if there are still files marked as conflicted. 'git add'ing a file marks it as resolved15:50
(use 'git commit' to finish the merge, once you've resolved all conflicts)15:51
mishok13 left15:51
battye ah ok15:51
great, that sounds fine15:52
canton7 (this isn't svn :P)15:52
hays EugeneKay: hola15:52
EugeneKay belches loudly15:52
alkino joined15:55
maleknet joined15:56
NetJunky left15:59
anderse joined16:00
rob_w joined16:00
diverdude joined16:00
kpreid left16:01
Araxia joined16:01
hilbert left16:01
kpreid joined16:01
xjimmyshcn left16:02
diverdude Hello. I am starting to have a lot of setup files and configuration scripts spread around on my machine and other machines.....The problem is that each configuration file takes a lot of time to create and its a lot of work if they are lost....So I was thinking if it was possible to somehow version control them using git? How do people normally keep track of all their conf files?16:02
bremner diverdude: I use !vcsh16:03
gitinfo diverdude: https://github.com/RichiH/vcsh -- version control shell - manage dotfiles using git's fake bare repos to put more than one working directory into $HOME16:03
bremner there are less fancy solutions involving symlinks16:03
cakehero joined16:04
battye canton7, thanks for all your help this evening16:05
Xethron joined16:05
canton7 no problem16:05
irqq left16:09
RaceCondition joined16:10
mishok13 joined16:11
erichynds left16:12
Croms joined16:13
sq-one joined16:13
dreiss joined16:19
anderse left16:21
mikepack_ left16:23
cnythnk joined16:28
solofight joined16:28
cnythnk Hello anyone know how to hide a specific repo (gitosis-admin)16:28
solofight http://pastebin.com/F4yRh5uN am trying to understand whether its possible to have a default remote for each branch in local repo16:28
ojacobson joined16:28
jcao219 joined16:30
jimmyeatworld joined16:31
hellopat joined16:31
milki cnythnk: "hide" how? and !gitosis16:32
gitinfo cnythnk: gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite -- if you're already stuck with gitosis we'll try to help, but no promises!16:32
yoklov joined16:32
JohnBat26 left16:32
cnythnk thanks, yes the repository gitosis-admin, appears within my gitweb ui, which i do not want to16:33
so i would like the web ui not to display it16:33
milki solofight: sounds like a gitweb configuration problem16:33
solofight left16:33
milki i dont know gitweb16:34
sitaram cnythnk: look in the gitweb documentation for some variable whose name contains the word "strict", and then remove the admin repo from the projects.list file (wherever that is)16:34
cnythnk thanks i'll take a look16:35
hellopat left16:35
battye left16:36
owzim joined16:36
diverdude bremner: so vsch can only manage config files residing in $HOME?16:36
mklappstuhl left16:36
bremner diverdude: incorrect.16:36
diverdude bremner: "vcsh - manage config files in $HOME via fake bare git repositories"16:38
EugeneKay You're confusing "can" and "designed to"16:39
bremner diverdude: please either believe me or go read some docs16:39
more than one line of docs ;)16:39
or ask a more specific question.16:39
diverdude bremner: hehehe :D ok16:41
owzim left16:41
daniel_- joined16:44
mikepack_ joined16:44
troyt left16:45
cnythnk sitaram: I did find the "stric" in the documentation file and found the project.list, however, the project.list file is empty :-s16:47
tinybluepixel joined16:47
gain joined16:48
troyt joined16:48
jn_ joined16:49
chisler joined16:49
sgambino joined16:50
JohnBat26 joined16:55
maletor joined16:55
OOPMan joined16:56
OOPMan left16:58
JohnBat26 left16:58
OOPMan joined16:59
pegnuin left17:00
Seoz joined17:01
JohnBat26 joined17:01
SeoZ-work[AWAY] left17:02
skorgon joined17:02
Seoz left17:09
OOPMan left17:11
alee joined17:11
dr_lepper joined17:11
tinybluepixel left17:11
NimeshNeema left17:12
GameGamer43 left17:12
digitalfiz left17:12
pl0sh_ left17:12
actel_ left17:12
jmcantrell left17:12
jceb joined17:15
mishok13 left17:15
barneybook left17:15
infynyxx joined17:16
Goplat joined17:17
Rukan how to exit from git diff?17:17
milki Rukan: depends on your PAGER17:18
andrew__ joined17:18
milki try q17:18
Rukan yeah it worked17:18
thanks17:18
worstadmin joined17:18
andrew__andrewhl17:19
Lord_DeathMatch left17:20
defts left17:21
svetlyak40wt joined17:24
Tegi left17:24
RaceCondition left17:25
OOPMan joined17:26
delight joined17:26
RaceCondition joined17:26
tomas__ joined17:26
defts joined17:26
delight left17:28
maletor left17:28
mysmysery joined17:29
osse Can I merge two branches (I know it will be a ff) while having another branch checked out?17:29
_ikke_ osse: Nope17:30
Well17:30
You can move branches17:30
basically doing a ff-merge yourself17:30
git branch -f <branch_to_move> <branch_to_move_to>17:31
Imaginativeone joined17:32
boombatower joined17:32
osse my hypothetical situation would be where I was working on a dev branch and wanted to pull origin/master into master.17:32
_ikke_ osse: Are you use master doesn't have any commits origin/master doesn't have?17:34
EugeneKay osse - man git-stash17:34
gitinfo osse: the git-stash manpage is available at http://jk.gs/git-stash.html17:34
osse _ikke_: yes, I'm sure.17:34
EugeneKay: Yep, I suppose that is the best solution17:34
wald0 joined17:35
klj613 joined17:35
Paul92 joined17:35
wald0 git diff is useful for view what changed before to commit them, but i found a lot more userfriendly to view them using "meld", how i can use it for that ?17:36
osse wald0: git difftool -t meld17:36
jceb left17:37
florin joined17:37
g_bleezy joined17:37
florinGuest1874417:37
wald0 nice!17:37
rrs left17:38
mikepack_ left17:38
osse wald0: run 'git config --global diff.tool meld', that way you don't have to type '-t meld' all the time17:38
arvind_khadri joined17:38
SBoudrias joined17:39
wald0 osse: for use it on that way i need to run "git difftool" instead of "git diff", right ?17:41
Imaginativeone left17:41
osse wald0: yes. you can make an alias, though. So that you can e.g. type 'git dt' or something17:41
moondoggy Hi there. If I am in one uncommitted branch "A", and I want to jump to another branch "B" to make a change, then come back to "A," do I need to commit?17:44
actel_ joined17:45
osse moondoggy: you can run 'git stash', do what you need, and when you come back run 'git stash pop'17:45
sq-one left17:46
moondoggy osse, thanks. It's just a stack? LIFO?17:46
chisler left17:46
acl_ left17:46
Sky[x] joined17:46
osse moondoggy: supposedly. But you can pop any of the elements in the stash at any time17:46
maletor joined17:47
moondoggy Hmmm... It should pop the one from the branch I'm in? Or can I accidentally pop the wrong branch and really pooch it up?17:47
arvind_khadri left17:48
Winslow joined17:48
osse moondoggy: you can stash anywhere and pop it anywhere, so be careful17:48
moondoggy: if you use 'apply' instead of 'pop' it's not automatically removed from the list of stashes17:48
reshtnk7 left17:49
osse moondoggy: and 'git stash list' will show you exactly where you made each stash17:49
moondoggy Oh, really LIFO. It doesn't automatically put the correct stack item into the branch?17:49
Oh, list.... ok.17:49
Maybe gitk will show it too. I like git, but I feel a bit blind while I'm learning.17:49
_ikke_ moondoggy: have you read !gcs?17:50
gitinfo moondoggy: [!concepts] "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://sitaramc.github.com/gcs/17:50
moondoggy Thanks, osse, _ikke_, gitinfo .17:50
gitinfo moondoggy: you're welcome, but please note that I'm a bot. I'm not programmed to care.17:50
jceb joined17:51
moondoggy How did the bot know what I needed?17:51
osse moondoggy: _ikke_ triggered it by typing '!' and a keyword17:52
_ikke_ !bot17:52
gitinfo [!gitinfo] I am an IRC bot which responds to certain keywords to provide helpful(?) information to humans. Please see http://jk.gs/git/bot for more information about how to use me.17:52
moondoggy Oh!17:52
jirka_on_d joined17:52
_ikke_ It is our knowledge system ;)17:52
moondoggy Creepy.17:52
_ikke_ And jast is the hero that built it17:52
moondoggy Very cool.17:53
_ikke_ see !trigger17:53
gitinfo [!triggers] Please don't spam me! I'm just a poor bot! Here's everything I know: http://jk.gs/git/bot/trigger.php17:53
Guest18744 left17:53
_ikke_ for a list of all things it knows17:53
moondoggy Can I write a bot in python for a python irc channel I'm in?17:53
_ikke_ moondoggy: Of course17:53
moondoggy: But their are plenty ones existing17:53
SkAzZ left17:54
moondoggy Hey, neat project for our python group, then!17:54
#rocpy. We meet physically in Rochester, NY.17:54
jmcantrell joined17:54
moondoggy (roc python)17:54
_ikke_ ah ok17:54
moondoggy Anywho... Thanks a lot.17:55
ehsan joined17:55
dvaske left17:55
digitalfiz joined17:57
osse Can I ask a question?17:57
tomas__ left17:57
_ikke_ !ask17:57
gitinfo Yes, it's okay to ask questions here.... in fact, you just asked one! ;-) Pretty much any question is fine. We're not terribly picky, but we might be asleep. Please be patient and you should get an answer soon.17:57
microcode left17:58
osse I was wondering whether the bot did that by itself :P17:58
_ikke_ haha, nope17:58
The only thing it does by itself is respond to when new people say hi17:58
JaredMiller joined17:58
osse Ahh, I see18:00
neersighted left18:00
daniel_- left18:02
mikepack_ joined18:03
gtrak joined18:03
chaiz left18:04
arvind_khadri joined18:04
cnythnk so im trying to hide a repository, but without any success, this is an extract of my current configurations: http://pastebin.com/TUYE2iRe18:04
neersighted joined18:04
mritz left18:05
jceb left18:05
_ikke_ cnythnk: Why do you need to hide a repo?18:05
cakehero left18:05
_ikke_ Oh, and !gitosis18:05
gitinfo gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite -- if you're already stuck with gitosis we'll try to help, but no promises!18:05
cnythnk because i dont want the gitosis-admin repo to show, as it contains files which shouldnt be accessable for others18:05
Learath2 yay bot alive again18:06
mritz joined18:06
gitinfo set mode: +v18:06
babilen left18:06
dv310p3r left18:07
resistivecorpse left18:07
resistivecorpse2 joined18:07
storrgie joined18:08
milki cnythnk: you didnt paste the projects.list18:09
tinybluepixel joined18:09
defts left18:09
cnythnk the projects.list is empty as default (atleast for me)18:09
milki why didnt you fill it up then?18:10
o, you mean its still showing all repos rather than none?18:10
cnythnk yes its showing all repos18:10
because now i have the following line: $projects_list = $projectroot;18:11
milki well, those gitweb = yes should probably populate the projects.list automatically18:11
storrgie left18:11
milki i dont know how $projectroot will work for the list18:11
ghartmann left18:12
dreiss left18:12
cnythnk thanks it works now!18:12
was just my bad, it did as you said populate automatically18:12
milki yay18:12
cnythnk :-)18:13
didnt know that i actually had to add the gitweb = yes to make it populate the project.list18:13
milki but the comments you pasted said so18:13
cnythnk yes that was the "issue" i had, beacuse i didnt use the "gitweb = yes" in prior my configuration, so i was of the impression that the projects.list didnt get populated, so thought i made something wrong somewher else18:15
jn_ left18:15
JaredMiller left18:16
mikepack_ left18:19
nitrix_ joined18:19
svetlyak40wt left18:19
miphe joined18:20
NimeshNeema joined18:20
pl0sh_ joined18:20
cnythnk milki, so well as i said now it did populate projects.list, and i changed the projects_list, to the path where the actual projects.list is found, now however, no repository show up: http://pastebin.com/DzKiBLVB18:22
:-p18:22
Poapfel left18:23
mishok13 joined18:23
mneorr joined18:23
Poapfel joined18:24
infynyxx left18:24
corburn joined18:25
moondoggy _ikke_, gcs is nice, but I haven't found one simple (?) thing...18:26
_ikke_ moondoggy: Most people tend to think otherwise18:27
moondoggy If I make a branch "Z" with some change that I want applied to all branches "master," "A," "B,"... immediately, can I do that in one step?18:27
_ikke_ moondoggy: No :)18:27
they wouldn't be branches18:27
moondoggy Ok, then... If I just want the same line changed in all branches, because my code won't work without that change...18:28
mishok13 left18:28
thinkdevcode joined18:28
_ikke_ moondoggy: git cherry pick copies a commit to another branch18:28
moondoggy Or, do I have to check each branch out?18:29
_ikke_ moondoggy: Yes18:29
moondoggy: Because each branch has different code18:29
moondoggy Or cherrypick to each branch separately?18:29
one at a time?18:29
_ikke_ yup18:29
I'm not sure how different each branch is?18:30
moondoggy Ok. Hmmm.... I'm not used to thinking this way.18:30
_ikke_ moondoggy: In git, a branch means a different line of work18:30
moondoggy They each have changes I want to remain separate for now.18:30
(each branch)18:31
malesca left18:31
moondoggy So, at the top of the main program in all branches, I want to change #!/usr/bin/env python2.6 to #!/usr/bin/env python...18:31
_ikke_ moondoggy: you could apply the change to a parent branch and rebase the branch18:31
branches*18:31
moondoggy Pfffffff.... ok, maybe I'll just learn that later and type the new line in each branch.18:32
You must do a lot of programming _ikke_ .18:33
mneorr left18:33
SirCmpwn left18:33
jaseemabid joined18:33
_ikke_ moondoggy: Why do you think so?18:34
scarlisle joined18:34
moondoggy Well, until yesterday, I have just copied my one-file code to many version names. Now it's getting confusing to work on several improvements at once.18:34
ipalaus left18:35
rehat joined18:35
gitinfo set mode: +v18:35
miphe Is there a way to ignore already tracked files? I have a head ache seeing hundreds of thumbnails being updated in my project that I should never commit, I want to ignore them but they are (and should be) tracked.18:35
_ikke_ miphe: They either should be tracked, or they shouldn't18:35
moondoggy Anyway, I'll keep it simple for now, _ikke_18:35
tinybluepixel left18:35
miphe _ikke_, they should be - but I dont want them in my list for modified files.18:36
GameGamer43 joined18:36
hilbert joined18:36
_ikke_ miphe: Why should they be tracked?18:36
It seems like they are automatically generated, aren't they?18:37
FernandoBasso joined18:37
ZyX-I joined18:37
miphe They are manually added, but automatically updated. When my changes are deployed they will be updated automatically and my modifications shouldn't be committed18:37
ZyX-I Hello. How can I know list of commands that run “git gc” automatically?18:38
sluther joined18:38
_ikke_ ZyX-I: Why do you need to know?18:39
SirCmpwn joined18:39
cmn assume all do18:39
ZyX-I _ikke_: Just arguing about git behavior of keeping old commits after rebase can (not) be used to do a rollback.18:40
EugeneKay !gc18:41
gitinfo [!concepts] "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://sitaramc.github.com/gcs/18:41
EugeneKay No you stupid bot18:41
dr_lepper left18:41
EugeneKay !lost18:41
gitinfo As long as you have `git commit`ed your changes (or even `git add`ed them), your changes will not be lost for over two weeks unless you work really hard at it. There are two places where "lost" changes can be hiding. They might be in the reflog (`git log -g`) or they might be in lost&found (`git fsck --unreachable`). Type "!dangling" and "!reflog" into IRC for more info.18:41
jalama joined18:42
miphe !reflog18:42
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`18:42
EugeneKay The man page for gc only says that commands which create "lots of dangling objects" will run gc.18:42
Likely candidates are rebase, filter-branch, and anything which deletes a ref18:43
But these objects are only deleted if they are dereferenced for 2 weeks18:43
wereHamster I'd say any command which creates a commit does it. Including pull, commit, merge etc.18:44
cmn ZyX-I: gc doesn't delete the objects you just rebased18:44
wereHamster but it's bad to rely on gc being called by some particular command, That may change at will in the future.18:44
_ikke_ gc is an implementation detail18:45
EugeneKay The important thing to take away is that nothing is GCed until 2 weeks18:45
wereHamster EugeneKay: 90 days + 2 weeks18:46
reflog expires after 90 days.18:46
EugeneKay "after dereferencing"18:46
wereHamster hm. reflogExpireUnreachable is 30 days.18:47
rafter left18:47
wereHamster in any case, plenty of time. And you can increase it if you want.18:47
ZyX-I Thanks. It appears that opponent is right.18:49
SJS left18:49
ehsan left18:51
kukks joined18:53
kukks left18:53
kukks joined18:53
SJS joined18:56
sitaram left18:56
jmaya joined18:57
xaka joined18:58
aldodelgado joined18:59
Goplat left19:00
JaredMiller joined19:01
d2dchat joined19:02
hays left19:02
sitaram joined19:03
sitaram left19:03
sitaram joined19:03
dv310p3r joined19:04
etcetera joined19:04
Xizor joined19:05
SeoZ joined19:06
charley_ joined19:07
nitrix_ left19:07
rakl joined19:07
hays joined19:07
SeoZ left19:07
X1z0r joined19:08
jmaya left19:09
Xizor left19:10
aldodelgado left19:10
maleknet left19:12
JaredMiller left19:12
hwrd|work joined19:13
phaedrix left19:14
cagedwisdom joined19:15
Bmac joined19:16
svetlyak40wt joined19:17
dc5ala left19:23
kcj joined19:23
jalama left19:24
dvaske joined19:24
AdrienBrault left19:25
infynyxx joined19:29
alkino left19:30
cnythnk left19:31
infynyxx left19:32
maleknet joined19:33
kcj left19:36
resmo_ left19:38
jalama joined19:38
AdrienBrault joined19:39
mikepack_ joined19:39
jalama left19:40
hwrd|work left19:41
klj613 left19:41
jalama joined19:42
devsharpen left19:42
cakehero joined19:42
hwrd|work joined19:43
jalama left19:43
nicoulaj joined19:45
dvaske left19:47
ampz joined19:48
ampz left19:48
Dreamer3 left19:49
Dreamer3 joined19:49
resmo_ joined19:51
sh4rm4 when i try to pull from upstream, i get error about non-checked-in files that would be overwritten19:51
is there a way to force them to get overwritten ?19:51
pull -f doesnt work19:52
_ikke_ sh4rm4: What does it say?19:52
Paul92 left19:52
sh4rm4 Updating 82a5a89..701094c19:52
error: The following untracked working tree files would be overwritten by merge:19:52
package/libs/libnl-tiny/src/include/netlink/genl/ctrl.h19:52
...19:52
_ikke_ git merge -f @{u}19:53
felipec left19:53
sh4rm4 this are remnants of a failed pull from a different mirror when the official one was offline19:53
git-mirror/openwrt-trunk[master]$ git merge -f @{u}19:53
error: unknown switch `f'19:53
_ikke_ just guessed the -f option19:54
well19:54
just do git reset --hard then19:54
at least, if it's the only file19:54
sh4rm4 no, there are thousands19:55
at first i pasted them into a delete list and run a script to delete them19:55
but i stopped after the 5th page or so19:55
maletor left19:55
sh4rm4 the reset didnt seem to help19:55
devsharpen joined19:55
_ikke_ sh4rm4: All those files need to be gone?19:56
sh4rm4 yeah they can all be erased19:56
honschu_ joined19:56
honschu_ left19:56
honschu_ joined19:56
maleknet left19:56
_ikke_ git reset --hard should do19:56
sh4rm4 everything that's not checked can be deleted19:56
_ikke_ not checked?19:56
sh4rm4 *checked in19:56
_ikke_ You mean, has unstaged changes?19:56
maleknet joined19:57
kcj joined19:57
_ikke_ Uncomitted*19:57
sh4rm4 no19:57
files that are not committed19:57
_ikke_ Oh19:57
sh4rm4 i.e. untracked19:57
_ikke_ git clean19:57
man git clean19:57
gitinfo the git-clean manpage is available at http://jk.gs/git-clean.html19:57
sh4rm4 grr19:58
jalama joined19:58
sh4rm4 doesnt help either19:58
it removed some things, but not all19:59
hmm maybe i should simply clone into a different dir19:59
_ikke_ what did you execute?19:59
sh4rm4 git clean -f19:59
and19:59
git clean -f -x19:59
honschu left20:00
kerrick joined20:00
offby1 doesn't always use git-clean, but when he does, he uses "git clean -dxf"20:00
osse stay thirsty, my friends20:00
EugeneKay dfx is better20:01
sh4rm4 haha20:01
works after doing a local clone20:01
then changing the git url and then pull20:01
d2dchat left20:01
nlpplz left20:02
etcetera left20:04
daniel_- joined20:05
optixx left20:07
griotspeak joined20:08
Xizor joined20:08
dr_lepper joined20:08
solofight joined20:08
maleknet left20:08
solofight people - how does a merge operation takes place ?20:08
Please validate my understanding20:09
Based on the params specified, Git will identify both merge candidates from heads directory20:09
and then find their common ancestor to perform a comparison20:10
Samual joined20:10
offby1 sounds right20:10
solofight Now comes the black area (How exactly does the file by file coparison and merge happens ) ?20:10
offby1 beats me!20:10
the source is there for you to read :)20:10
X1z0r left20:11
solofight offby1: i had looked at the source hosted in github, and didnt even know where to start20:11
Seveas git will find a common base, diff base against head 1 and apply that diff against head 220:11
(roughly)20:11
donri joined20:11
solofight afraid of all the directory structures there - can you point me in the right direction ?20:11
Seveas solofight, you'll want merge-*.c20:12
solofight Seveas: oh, diff sha1 of common base with sha1 of head120:13
?20:13
Innocentus left20:13
felipec joined20:15
Parhs8 joined20:15
solofight Seveas: https://github.com/git/git/blob/master/merge-file.c20:16
correct ?20:16
Parhs left20:16
Seveas yeah, that's part of it20:17
solofight or this https://github.com/git/git/blob/master/merge-recursive.c20:17
oh20:17
Dreamer3 left20:18
Davey joined20:18
Seveas both :)20:18
offby1 diffing shas doesn't sound useful20:18
bloony left20:18
jalama left20:18
corburn left20:19
bloony joined20:19
goshawk joined20:21
sirdancealot7 left20:21
corburn joined20:24
masak those virtual commits created during merge-recursive... are they ever represented in .git/objects ?20:25
solofight masak: why do you call them virtual commits ?20:26
wereHamster masak: every object is represented in .git/objects20:27
if it's not an object, it's not stored there20:28
kumbayo left20:28
resmo joined20:29
Innocentus joined20:29
_ikke_ wereHamster: Not even in memory?20:30
mklappstuhl joined20:31
masak right, the alternative would be that virtual commits were only stored in memory.20:33
solofight: I call them virtual commits because merge-recursive.c does.20:33
mishok13 joined20:33
wereHamster masak: there are no 'virtula commits'20:33
solofight masak: still, objects - right ?20:34
masak: if its just store in memory how do you build history on top of that !20:34
andrewhl left20:34
andrewhl joined20:35
mikepack_ left20:35
masak because the virtual commits are not used to build history. only to sort out the merge.20:35
PCChris joined20:35
masak wereHamster: what would you prefer me to call the intermediate commits created during a recursive merge. I'm happy to use your terminology.20:35
shirajermilio joined20:37
sirdancealot7 joined20:38
shirajermilio left20:39
PCChris left20:40
Goplat joined20:40
shirajermilio joined20:41
shirajermilio left20:41
the_cybersphinx joined20:41
solofight masak: aren't they part of the history ?20:41
Bmac left20:42
dangerousdave left20:42
masak solofight: in what sense? the parents of the merge commits are the two branch tips, no?20:43
mikepack_ joined20:43
hellopat joined20:43
_ikke_ The name recursive merge already says that there are multiple merges involged20:44
But the result is only one merge20:44
masak I'm with you thus far.20:44
_ikke_ I guess those merges are the one you are talking about20:45
masak my question was whether the results of the other merges are also stored as objects under .git/objects20:45
yes, those merges are what I'm talking about.20:45
cybersphinx left20:45
_ikke_ I don't have a clue20:45
But I don't think so20:45
joshsmith joined20:46
sentinal8473 joined20:46
masak I don't think so either. I think they are in-memory only.20:47
solofight masak: how do you unwind a merge which does not have a commit ? say you understood that all changes you made to the bug fix was wrong and want to remove the already merged code to prodn20:47
?20:47
masak solofight: I don't see the issue. I'd just reset to a previous commit.20:47
solofight: I'm not saying merges don't have commits. that's not what I've been saying.20:48
solofight: maybe read what _ikke_ just said. he summarizes it better than me.20:48
PCChris joined20:49
xaka left20:50
dwmw2_gone left20:50
rehat left20:54
irqq joined20:54
devsharpen left20:55
hellopat left20:55
lb joined20:56
longbeach left20:56
lonewulf` left20:57
dermoth_ left20:58
lonewulf` joined20:58
lausi joined20:58
lausi left20:59
cakehero left20:59
boombatower left21:00
boombatower_ joined21:00
maletor joined21:00
corburn left21:02
tenmilestereo joined21:03
tvw joined21:04
boombatower joined21:05
svetlyak40wt left21:05
dimka left21:05
cakehero joined21:06
dimka joined21:06
devsharpen joined21:07
SeoZ joined21:07
dimka left21:07
GHAI joined21:07
GHAI aye21:07
dimka joined21:07
GHAI i have a piece of opensource software with a git repo at sf.net21:08
etcetera joined21:08
X1z0r joined21:08
GHAI i would like to always hava a mirror of that repo at bitbucket21:08
as in tracks changes automatically21:08
is there any convenient tool for that purpose?21:09
boombatower_ left21:09
_ikke_ GHAI: The only way is to have something in between that synchronizes them21:09
GHAI: Not that I know21:09
GHAI what would one need to sync them21:09
i could place a shellscript on $server21:09
peff joined21:09
mishok13 left21:09
GHAI and i wonder if there is something that allows access to git-hosted repos with hg21:10
push, pull, etc21:10
without any msys or whatnot mess21:10
_ikke_ There is hg-git21:10
bapa left21:11
dermoth_ joined21:11
Xizor left21:11
GHAI all in all git still seems not very mature aside form linux21:11
bapa joined21:11
GHAI so i'll probably want to stay away from that if possible21:11
JohnBat26 left21:12
Davey left21:13
[CaEk]trikol joined21:13
PCChris left21:13
bremner !refund21:14
gitinfo If you are not satisfied with git, or the support provided by the volunteers in #git, you are entitled to a full refund of the purchase price, and are invited to use another VCS. Elsewhere.21:14
wereHamster GHAI: git fast-export/import. hg supports that to some extent21:14
hotovson joined21:14
wsfulton left21:14
resistivecorpse2 left21:14
resistivecorpse2 joined21:15
Davey joined21:15
bwidmer left21:16
optixx joined21:16
griotspeak left21:16
bapa left21:16
infynyxx joined21:16
GHAI bremner haha, your average opensource response21:16
rednaks_ joined21:16
corburn joined21:17
_ikke_ It's a bit of a tongue-in-the-cheek response21:17
GHAI actually its everything that characterizes opensource and why only tiny parts have made it to the enterprise21:18
;)21:18
rednaks left21:18
bapa joined21:19
bapa left21:19
infynyxx left21:20
_ikke_ I find that open source has come quite far for something that is developped for free by volunteers21:20
bapa joined21:20
GHAI and maybe one of the reasons why it'd get an impression of "immature"21:20
j416 left21:20
dwmw2_gone joined21:20
oneacross joined21:20
_ikke_ GHAI: immature: another word for "it doesn't do what I want"21:21
lb giggles21:21
peff left21:21
infynyxx joined21:21
bwidmer joined21:21
_ikke_ GHAI: open source works mainly with scratch your own itch21:21
dwmw2_gone left21:22
wereHamster _ikke_: .. and nobody's willing to change it to do what I want for free.21:22
dwmw2_gone joined21:22
Davey left21:22
_ikke_ wereHamster: Indeed21:22
git is absolutely not immature, not even on windows21:22
bapa left21:22
GHAI hm, /win 2121:22
lb dont feed the trolls :D21:22
dwmw2_gone left21:23
Tommy[D] left21:23
dwmw2_gone joined21:23
_ikke_ GHAI: irssi / weechat?21:23
allquixotic_allquixotic21:23
Tommy[D] joined21:23
bapa joined21:24
dwmw2_gone left21:24
dwmw2_gone joined21:24
Element9 left21:24
rdqfdx left21:25
rednaks_ left21:26
derpops joined21:27
rednaks joined21:27
ergZay left21:28
rob_w left21:28
sbodo left21:29
resmo left21:29
robustus left21:30
mikaelj left21:32
mikaelj joined21:32
lb1 joined21:33
oneacross left21:33
solofight left21:34
lb1 almost missed irssi look and feel21:34
arturaz left21:35
gain left21:37
cakehero left21:38
PCChris joined21:41
LeMike left21:46
boombatower left21:47
Ugallu joined21:48
gitinfo set mode: +v21:50
cybersphinx joined21:51
the_cybersphinx left21:53
skorgon left21:53
BadProphet joined21:53
Sky[x] left21:53
corburn left21:54
infynyxx left21:54
resmo joined21:55
irqq left21:55
colindh_ left21:56
etcetera left21:56
colindh joined21:57
infynyxx joined21:57
PCChris left22:01
Goplat left22:03
scotty joined22:03
glennpratt joined22:06
wsfulton joined22:06
glennpratt left22:07
Croms left22:07
Xizor joined22:08
corburn joined22:09
glennpratt joined22:09
FrostyX joined22:09
X1z0r left22:11
FrostyX hi. is it someway possible to copy only one directory from git repository ?22:12
glennpratt left22:13
FrostyX *copy/clone whatever .. i mean download ..22:13
anderse joined22:14
anderse left22:14
imarcusthis- left22:14
scotty left22:15
sluther left22:15
imarcusthis joined22:16
sentinal8473 left22:16
m1sc FrostyX: no22:17
jave joined22:17
FrostyX even some unofficial way?22:17
Dreamer3 joined22:18
oojacoboo FrostyX: http://blog.quilitz.de/2010/03/checkout-sub-directories-in-git-sparse-checkouts/22:20
mklappstuhl left22:21
Cassiel joined22:22
FrostyX btw i wonder .. why it is not possible ? Anyone think it will be good feature ?22:23
Fandekasp hi there. I'm trying to get the colors of git status for a script, but "git config --get-color color.status.added" etc don't return any color. Any idea why and how to grab those colors ?22:24
chovy how do i get the diff of preivous commit?22:26
cbreak source code? :)22:26
chovy: man git-show22:26
gitinfo chovy: the git-show manpage is available at http://jk.gs/git-show.html22:26
cbreak chovy: or man git-diff22:26
gitinfo chovy: the git-diff manpage is available at http://jk.gs/git-diff.html22:26
cbreak chovy: or man git-log -p22:26
gitinfo chovy: the git-log manpage is available at http://jk.gs/git-log.html22:26
cbreak there are a few other ways22:26
leen^| joined22:26
cbreak FrostyX: no way.22:26
FrostyX: and I doubt it's useful22:27
ncd|leeN left22:27
cbreak FrostyX: every single commit contains every single file in that commit. So even if you only download the most recent commit, you get everything22:27
(and you'd get a broken repository)22:27
AdrienBrault left22:28
donri left22:28
thiago left22:28
whitman left22:28
nzaccardi joined22:29
Jacob_ joined22:29
FrostyX I have for example repository where i want to have all my important system configs ... and when i want copy only irssi folder to some another computer ..22:29
lb1 damn it's late again22:29
chovy thanks22:29
nzaccardi Hey all. Is there an easy way to push all repos to a remote?22:30
Jacob_ left22:30
Guest20202 joined22:30
cbreak FrostyX: makes no sense.22:30
lb nzaccardi, foreach loop. shellscript22:30
cbreak FrostyX: a git repository contains one single project22:30
Guest20202 left22:31
nzaccardi Woops, not repo's... branches (not sure where my brain is at.22:31
I have tried git push remote --all22:31
sertaconay left22:31
lb nzaccardi, "git push" pushes all branches that tracks some remote branch22:31
JB3181 joined22:32
nzaccardi lb: Let's back up a step and maybe you can help22:32
I created a repo locally. Now I want to put it on github. I created the repo on github and am now trying to push the branches22:33
charley_ left22:33
nzaccardi git push name --all gives me errors22:33
sluther joined22:33
nicoulaj left22:33
sluther left22:34
cbreak lb1: not exactly22:34
nzaccardi: git push pushes all matching branches by default.22:34
nzaccardi lb: It talkes about being behind...22:34
cbreak git push --all pushes all branches22:34
lb cbreak, also if they doesn't exist on the remote (because it's a fresh github repo) ?22:35
cbreak lb: matching means that a branch with the same name exists on the remote22:35
pdelvo Is there a git lib that supports clone, push and pull in file system in .net?22:35
cbreak if none exists, none will be pushed22:35
CareBear\ pdelvo : no22:35
mikepack_ left22:35
cbreak (until they change push.defaults to upstream)22:35
pdelvo :(22:36
cbreak pdelvo: what's wrong with git? :)22:36
resmo left22:36
lb pdelvo, http://www.ohloh.net/p/git-sharp22:36
cbreak, in meant "git push --all"22:37
cbreak --all pushes all refs22:38
pdelvo thanks lb. i will have a look into it22:38
cbreak (all branches)22:38
Rukan left22:38
osse FrostyX: maybe you could 'git clone --no-checkout --depth 1' and then checkout only the irssi directory from that.22:38
lb cbreak, so it should work with nzaccardi ?22:38
cbreak yes...22:39
lb1 left22:39
cbreak and he hasn't pastebined anything indicating that it doesn't.22:39
nzaccardi cbreak, lb, It gives me an error saying that the changes are rejected..22:39
lb nzaccardi, then !repro22:39
gitinfo nzaccardi: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session. This will help immensely with troubleshooting.22:39
Goplat joined22:40
miphe left22:40
FrostyX ok i'll try22:40
koltroll left22:40
suy left22:41
erichynds joined22:41
Haikarainen left22:41
cbreak FrostyX: that won't help you, you'll still download a full commit worth of history22:41
worstadmin left22:43
worstadmin joined22:43
cbreak FrostyX: http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/, but as said above: it will still download everything.22:43
mklappstuhl joined22:44
worstadmin left22:44
aspotashev left22:44
nzaccardi gitinfo: will do.22:44
worstadmin joined22:44
nzaccardi lb: What do you mean by !repo?22:45
gitinfo lb: Repo is a tool produced by Google for the AOSP project(and others) which wraps git and provides its own set of commands. While it is possible to use git with repositories that are managed by repo, it is not always easy. http://source.android.com/source/version-control.html22:45
griotspeak joined22:45
worstadmin left22:45
neataroni joined22:45
worstadmin joined22:45
neataroni i just merged, tried to use mergetool, didnt seem to do anything, then commited and pushed, and now i have lot of >>>>> head >>>>> master stuff in my code22:46
dwmw2_gone left22:46
lb nzaccardi, !repro22:46
gitinfo nzaccardi: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session. This will help immensely with troubleshooting.22:46
lb read22:46
worstadmin left22:46
worstadmin joined22:47
cbreak nzaccardi: git push --all will push all branches.22:47
nzaccardi: use it. then pastebin why you think it is not the answer you are looking for.22:47
nzaccardi cbreak: I am doing that right now22:47
worstadmin left22:47
worstadmin joined22:48
dwmw2_gone joined22:48
neataroni how do i tell one branch to make itself look like another branch22:49
lb neataroni, then git revert HEAD (if that's still the dirty commit) and try again22:49
FernandoBasso left22:49
asakura joined22:50
nzaccardi [email@hidden.address]22:50
Whoops, here is the link: https://gist.github.com/9aff09a407c09c94db5d22:50
neataroni lb: it says "already up to date" but i look at the code and its different than other branch22:51
lb neataroni, you're mixing stuff up22:51
cbreak neataroni: git reset --hard otherbranch22:51
easy22:51
that will nuke away everything in the current branch's history22:52
lb nzaccardi, did you read the message you just pasted?22:52
neataroni cbreak: that makes the current branch identical to the other branch?22:52
cbreak and replace it with otherbranch22:52
neataroni ok cool22:52
cbreak not identical22:52
just identical history22:52
nzaccardi lb: Yep... what am I missing.22:52
cbreak nzaccardi: so, what's the problem?22:53
seems everything works fine22:53
lb "Updates were rejected because a pushed branch tip is behind its remote22:53
hint: counterpart. "22:53
cbreak (apart from you not even specifying --all as I told you...)22:53
nzaccardi lb: OKay22:53
lb i'll take a nap...22:53
nzaccardi same... thing happens22:54
cbreak no...22:55
with --all, you push all branches22:55
not just matching ones...22:55
lb left22:55
jave left22:55
nzaccardi cbreak: let's back up.22:56
start afresh22:57
pdelvo -.- gitsharp does not support local fetch and push22:57
talmuth[tlmt] joined22:57
talmuth left22:58
mritz left22:58
nzaccardi cbreak: https://gist.github.com/9aff09a407c09c94db5d22:59
mritz joined23:00
tvw left23:00
griotspeak left23:00
tenmilestereo left23:00
mikepack_ joined23:01
cbreak yeah, and?23:02
nzaccardi cbreak:23:02
cbreak nzaccardi: why do you not like that reply?23:02
nzaccardi cbreak: Because I don't know what to do now...23:02
cbreak why not?23:03
EugeneKay pdelvo - try a file:// URL?23:03
defts joined23:03
cbreak it tells you to git pull23:03
nzaccardi cbreak: Because when I try and do a git pull remote "branchname" I get "already up to date"23:03
cbreak not remote branchname!23:04
just git pull23:04
in master.23:04
you merge master into your current branch if you git pull origin master23:04
that's usually NOT what you want23:04
pdelvo Not implemented: https://github.com/henon/GitSharp/blob/master/GitSharp.Core/Transport/TransportLocal.cs#L7423:04
cbreak so don't do it...23:04
nzaccardi $ git pull tells me to specify the remote name...23:05
git pull remote tells me to give a branch23:05
cbreak nzaccardi: do it on master.23:06
you probably didn't set upstream23:06
fusillia joined23:06
nzaccardi whats that?23:06
cbreak so switch to master...23:06
and pull there23:06
Innocentus left23:06
cbreak nzaccardi: man gitglossary23:06
gitinfo nzaccardi: the gitglossary manpage is available at http://jk.gs/gitglossary.html23:06
donri joined23:07
dv310p3r left23:07
pdelvo A there are forks of this project avialable with local support :)23:07
mneorr joined23:07
defts left23:07
nzaccardi gitinfo, cbreak: thanks for the help all worked out.23:08
gitinfo nzaccardi: you're welcome, but please note that I'm a bot. I'm not programmed to care.23:08
daniel_- left23:08
wsfulton left23:08
X1z0r joined23:08
mneorr left23:09
mneorr joined23:09
mneorr left23:10
meLon joined23:10
jaseemabid left23:11
Xizor left23:11
hotovson left23:12
hellopat joined23:14
hellopat left23:18
jwillia3 joined23:19
EugeneKay FrostyX - man git-archive; if you have the repo cloned locally you can get a tarball of just a <path>23:19
gitinfo FrostyX: the git-archive manpage is available at http://jk.gs/git-archive.html23:19
Linc joined23:22
RaceCondition left23:25
EugeneKay What's the plumbing command I want to get the tree object associated with a commit?23:27
AdrienBrault joined23:27
Turicas joined23:28
talmuth[tlmt] left23:28
Sg joined23:28
SgGuest1566723:28
milki ^{tree}23:29
committish^{tree}23:29
frogonwheels EugeneKay: man git-rev-parse23:30
gitinfo EugeneKay: the git-rev-parse manpage is available at http://jk.gs/git-rev-parse.html23:30
EugeneKay Figures.23:30
rednaks left23:31
EugeneKay I would have thought git-show, but....23:31
mneorr joined23:31
cakehero joined23:32
rednaks joined23:32
jwillia3 left23:33
Guest15667 left23:33
Sg83help joined23:33
Chib joined23:33
gitinfo set mode: +v23:34
Sg83help hello. i'm hoping someone can help me...i'm trying to figure out if there is a way to alias a branch.23:34
tewecske left23:34
EugeneKay Sg83help - man git-symbolic-ref23:35
gitinfo Sg83help: the git-symbolic-ref manpage is available at http://jk.gs/git-symbolic-ref.html23:35
Sg83help i will have multiple release branches, but want an easy way for someone to do git checkout Latest, and then get the right branch,23:35
hellopat joined23:35
SBoudrias left23:35
EugeneKay Sg83help - the proper way to do that would be to just create another branch named Latest and update it according to what you want it to be, possibly using git reset23:36
Sg83help i tried symbolic-ref, but was getting 'detached head' messages23:36
EugeneKay Remember that a branch pointer only costs you a few bytes of disk space.....23:36
NfNitLoop left23:36
TheJH left23:37
Sg83help if i make a release branch, then branch Latest...somone checks out latest, then i reset latest to release v2, what do my users need to do to update?23:37
they meed to reset as well?23:38
EugeneKay They need to fetch Latest and update their local copy to match23:38
infynyxx left23:38
EugeneKay So long as they've not commited anything they can just use 'git merge', but this is becoming a !deploy problem ;-)23:38
gitinfo Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html23:38
Sg83help thats essentially what i'm looking to do. seems many people start down this path as well. thanks!23:39
Sg83help left23:41
andrewhl left23:42
thinkdevcode left23:43
thinkdevcode joined23:44
cakehero left23:44
mikepack_ left23:47
leen^| left23:48
Turicas left23:48
devsharpen left23:50
daniel_- joined23:52
daniel_- left23:53
hellopat left23:55
_huoxito left23:55
Linc left23:56
pjs joined23:56
pjs what could cause this error when using --git-dir? http://dpaste.com/819177/23:58
tenmilestereo joined23:59
w09x joined23:59

Logs Search ←Prev date Next date→ Channels Documentation