IRCloggy #git 2012-10-02

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-02

wasanzy joined00:00
derpops left00:01
rohan32|afkrohan3200:01
jperry2_ joined00:01
Layke left00:02
yaymukund weird. maybe there's some override for git/info/exclude00:03
nwest joined00:04
hyperair left00:05
Bombe joined00:05
Croms left00:06
menardIX_ joined00:07
hyperair joined00:07
SegFaultAX|work left00:07
simesy_work left00:10
Sonderblade joined00:11
wasanzy left00:11
simesy_work joined00:11
awelch0100 left00:12
dreiss joined00:14
juvenal joined00:14
storrgie left00:14
SegFaultAX|work joined00:15
rchavik joined00:16
storrgie joined00:16
eletuchy joined00:16
flaguy48 joined00:16
macrover left00:16
gavin_huang joined00:17
brentratliff left00:20
wasanzy joined00:20
jperry2_ left00:20
Croms joined00:21
anabelle joined00:21
ehsan left00:22
brentratliff joined00:22
Guest98783 left00:24
storrgie left00:24
wasanzy left00:25
frogonwheels yaymukund: you want /script/local/ and /script/local/*00:26
yaymukund: in .git/info/exclude00:26
chrisgeorge joined00:27
fletch_ joined00:27
derpops joined00:27
frogonwheels ag4ve: um.. git objects, are.. well, git objects.00:27
tmcmahon joined00:28
simesy_work left00:28
yaymukund frogonwheels: thanks, but that didn't seem to work00:28
simesy_work joined00:28
frogonwheels ag4ve: http://git.rsbx.net/Documents/Git_Data_Formats.txt ??00:28
ag4ve frogonwheels: i mean, hg and darcs objects are compressed diffs...00:28
yaymukund frogonwheels: https://gist.github.com/c7e48101aceee76cbb4a00:29
jdunck joined00:29
codeFiend joined00:29
layke__ joined00:30
ag4ve frogonwheels: thanks i think. i'm going to have to spend some time on this :)00:30
frogonwheels yaymukund: ok, I put a leading / in.00:31
kerrick left00:31
Turicas left00:31
layke_ left00:31
zenx left00:32
yaymukund frogonwheels: hmm? so like /script/local/? that doesn't work either, and nor does script/local00:32
frogonwheels yaymukund: what is the root of this project?00:32
the_cybersphinx left00:32
yaymukund ~/src/jtv/web00:33
wbednarski left00:33
dvide joined00:33
alunduil joined00:33
wasanzy joined00:34
frogonwheels yaymukund: so git rev-parse --git-dir gives you that?00:35
yaymukund that says `.git`00:35
I have excludesfile = ~/.gitignore in my gitconfig. maybe that is overriding it? let me try removing00:35
(nope)00:36
frogonwheels yaymukund: that shouldn't have an affect00:36
yaymukund: well I tried it in a test repo and it works. :|00:36
yaymukund hmm, okay, I'll try it in another repo00:37
cakehero left00:37
cbreak|evil joined00:39
yaymukund frogonwheels: yeah00:39
wasanzy left00:39
asteve joined00:39
yaymukund frogonwheels: thanks, you're right. something's screwed up with the repo00:39
hm00:39
anabelle left00:39
yaymukund it works on another repo of mine00:39
sorry fo rthe trouble. I should've tried that earlier00:39
at least the world makes sense again00:39
cbreak left00:41
cbreak|evilcbreak00:41
hyperair left00:41
SirCmpwn_SirCmpwn00:42
fairuz_ left00:42
Targen left00:43
wasanzy joined00:44
guampa left00:47
vitor-br joined00:48
msmithng joined00:48
opus left00:49
chrisdev joined00:49
mabrand left00:50
guampa joined00:51
wuiqed joined00:52
simesy_work left00:53
simesy_work joined00:54
etcetera left00:54
wasanzy left00:57
layke__ left00:57
layke__ joined00:57
njbair joined00:59
simesy_work left00:59
simesy_work joined00:59
chrisgeorge left01:00
njbair My git repo has someone else's repo in a subdirectory, and `git status` shows it as untracked content. I want it to be updated with everything else.01:00
apok joined01:01
gtrak joined01:02
bddn left01:02
Error404NotFound left01:03
aristidesfl joined01:03
codeFiend left01:03
macmartine joined01:04
wasanzy joined01:04
fullerfuller_afk01:08
simesy_work left01:08
simesy_work joined01:08
etcetera joined01:10
cirenyc joined01:10
frogonwheels njbair: !subproject01:11
gitinfo njbair: [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely seperate. Otherwise your best options are "!submodule" "!gitslave" and "!subtree" Try typing those commands into this IRC channel.01:11
Mocramis left01:12
Mocramis joined01:13
skyf joined01:13
metcalfc left01:13
hyperair joined01:13
juvenal left01:14
codeFiend joined01:14
spaceonline left01:15
FernandoBasso left01:15
thiago joined01:16
hendry left01:17
aantix left01:18
intripoon joined01:18
hendry joined01:18
iori joined01:18
hyperair left01:19
ncr100_ joined01:19
Lgb left01:20
intripoon_ left01:20
hwrd|work left01:21
freeknot joined01:21
derpops left01:21
simesy_work left01:21
wuiqed left01:21
simesy_work joined01:21
Lgb joined01:21
wasanzy left01:21
ncr100 left01:22
freeknot hi, I accidentally deleted my "—-bare inited" remote repo but i have my local repos, how to get the remote repo back?01:22
SegFaultAX|work left01:22
BiggFREE left01:23
hyperair joined01:23
kerrick joined01:23
ncr100_ left01:24
bremner recreate and push01:24
thillux_ left01:25
CannedCorn joined01:25
etcetera left01:25
_huoxito joined01:26
freeknot thanks, so easy =)01:27
madsy left01:28
Vampire0 joined01:29
eletuchy_ joined01:29
eletuchy left01:29
Vampire0_ left01:31
opus joined01:31
simesy_work left01:32
simesy_work joined01:32
madewokherd left01:33
jdunck left01:34
ahferroin7 joined01:34
wasanzy joined01:35
Targen joined01:36
freeknot left01:36
ahferroin7 left01:36
fkurk joined01:36
fkurk left01:36
fkurk joined01:37
fkurk left01:37
gregm_ left01:37
chrisdev left01:38
akiress joined01:39
goshawk left01:40
SegFaultAX|work joined01:40
quazimodo left01:42
rohan32 left01:43
rohan32 joined01:43
jonshea left01:43
gregm_ joined01:44
troutconst01:44
shtr0m joined01:44
metcalfc joined01:44
jschall joined01:45
simesy_work left01:45
simesy_work joined01:45
harish joined01:46
devth left01:49
madewokherd joined01:49
zeen joined01:49
wbednarski joined01:50
Lulzon left01:50
Dreadnaught joined01:51
Dreadnaught left01:51
Dreadnaught joined01:51
Kulrak left01:52
dreiss left01:53
wasanzy left01:53
simesy_work left01:55
simesy_work joined01:55
dsantiago left01:55
etcetera joined01:56
etcetera left01:57
cilly joined01:59
foundationkid joined01:59
wasanzy joined02:01
mgorbach left02:01
mgorbach joined02:02
dsantiago joined02:04
fkurk joined02:06
fkurk left02:06
donri left02:08
daniel_- left02:09
superjoe why is git clone --recursive not the default?02:09
opus left02:10
codeFiend left02:11
shtr0m left02:12
kvanderw joined02:13
wasanzy left02:14
Eridius left02:14
hyperair ooh there's a clone --recursive?02:14
shtr0m joined02:14
kvanderw left02:14
dragon3_ joined02:14
menardIX_ left02:15
superjoe hyperair, yeah, it sets up the submodules for you02:15
hyperair yeah i just saw the manpage02:15
superjoe why would you ever *not* want the submodules set up?02:15
hyperair nice02:15
codeFiend joined02:15
imMute superjoe: if you didn't plan on using them?02:15
superjoe now I have to add a line to the readme for every project that uses git submodules telling them to remember to do --recursive02:16
bremner It's god's way of telling you not to use submodules so much.02:16
danielfilho left02:17
superjoe bremner, hmm, after reading that gitinfo post just above, maybe "just do it" is the solution for me.02:17
rohan32rohan32|busy02:17
macmartine left02:17
superjoe nah. then I have to put a line in the readme telling developers to cd into the folder and do git clone again02:18
that's not nice.02:18
jonshea joined02:19
cakehero joined02:19
fkurk joined02:20
SegFaultAX|work left02:20
devth joined02:20
sjohnson left02:20
BiggFREE joined02:21
devth left02:21
funnyfingers left02:22
Eridius joined02:25
gtrak left02:26
simesy_work left02:26
Mocramis left02:26
Mocramis joined02:27
simesy_work joined02:27
fkurk left02:27
Eridius_ joined02:30
OOPMan left02:31
cakehero left02:31
harish left02:31
OOPMan joined02:32
harish joined02:32
simesy_work left02:32
simesy_work joined02:32
jargon- left02:33
jargon- joined02:33
Vinnie_mac joined02:35
derpops joined02:35
Eridius_ left02:36
kukks left02:36
apok left02:37
etcetera joined02:37
wasanzy joined02:39
jargon- left02:39
codeFiend left02:40
artnez left02:41
johnny_rose left02:41
wbednarski left02:42
Eridius_ joined02:42
mmc1 left02:44
asteve left02:44
orafu left02:46
yoklov joined02:48
orafu joined02:49
EugeneKay This is why I need to work on git-library more02:50
wasanzy left02:50
yaymukund left02:52
chaiz left02:52
johnny_rose joined02:52
wasanzy joined02:53
chaiz joined02:54
gtrak joined02:55
cirenyc left02:57
rohan32|busyrohan3202:58
cirenyc joined02:58
macrover joined02:59
tmcmahon left03:01
Beoran__ joined03:01
rohan32rohan32|sleep03:02
blake0200 joined03:04
Beoran_ left03:05
blake0200 left03:05
derpops left03:05
eletuchy_ left03:06
rohan32|sleep left03:06
Vinnie_win is git-subtree part of the official Git distribution yet?03:08
ReekenX joined03:11
gerard0 left03:13
Anubisss_ joined03:13
metcalfc left03:14
blake0200 joined03:15
blake0200 left03:15
Eridius left03:15
johnny_rose1 joined03:16
gerard0 joined03:16
tgummerer left03:16
Anubisss left03:17
tgummerer joined03:17
johnny_rose left03:18
simesy_work left03:18
wasanzy left03:18
artnez joined03:18
simesy_work joined03:18
BiggFREE left03:20
tgummerer left03:21
tgummerer joined03:21
simesy_work left03:22
OOPMan left03:22
simesy_work joined03:22
vitor-br left03:22
bitkiller left03:23
vitor-br joined03:24
griotspeak left03:25
cirenyc left03:26
munichlinux joined03:26
gry left03:27
derpops joined03:27
friskd left03:28
gry joined03:28
vitor-br left03:28
wasanzy joined03:29
danielfilho joined03:29
Bert left03:30
nwest left03:31
irqq joined03:32
Anubisss__ joined03:33
tfnico_ left03:33
tfnico_ joined03:33
Vinnie_mac left03:33
Anubisss__ left03:34
Bert joined03:34
vitor-br joined03:34
Anubisss__ joined03:35
gerard0 left03:35
toobluesc joined03:35
Anubisss_ left03:35
wasanzy left03:36
simesy_work left03:39
etcetera left03:39
simesy_work joined03:39
shtr0m I just switched to git for the first time. I can do a "git init" but it gives me warnings saying that it can't read the config file which is located on another linux account03:39
Anubisss_ joined03:39
shtr0m When I log in as the other user the /path/to/config/ doesn't exist03:40
chaiz left03:40
cakehero joined03:41
simesy_work left03:42
simesy_work joined03:42
Anubisss__ left03:42
macmartine joined03:43
bubbles10101 joined03:43
yaymukund joined03:44
codeFiend joined03:45
wasanzy joined03:46
macmartine left03:46
jdunck joined03:47
EugeneKay Something is wrong with your environmen03:48
Probably the $HOME variable03:48
johnny_rose1 left03:48
Bruno_ left03:50
thiago left03:51
chaiz joined03:51
gerard0 joined03:52
offby1 's $HOME environment is emitting radon gas03:53
chaiz left03:53
irqq left03:53
maxandersen1 joined03:54
NfNitLoop left03:55
NfNitLoop joined03:55
JohnBat26 joined03:56
macmartine joined03:56
maxandersen left03:57
Eridius_Eridius03:58
e66 left03:58
thepaperclip joined04:01
thiago joined04:02
CannedCorn left04:02
thepaperclip left04:02
duckxx left04:03
munichlinux left04:05
cakehero left04:06
caseymcg joined04:07
Error404NotFound joined04:07
cakehero joined04:09
cilly left04:11
todd_dsm left04:12
cilly joined04:13
hwrd|work joined04:16
liquid-silence joined04:16
liquid-silence left04:16
liquid-silence joined04:16
foundationkid left04:17
fireh joined04:18
bubbles10101 left04:18
jonshea left04:19
etcetera joined04:21
Tuomas joined04:21
fisted_ joined04:21
adamben left04:22
fisted left04:24
todd_dsm joined04:26
d3vic3 left04:28
aristidesfl left04:28
gtrak left04:29
d3vic3 joined04:29
noyb joined04:30
Natureshadow left04:31
gavin_huang left04:31
Natureshadow joined04:33
longbeach joined04:33
bubbles10101 joined04:34
shruggar joined04:42
msmithng left04:42
derrekito joined04:43
fletch_ left04:45
svetlyak40wt joined04:45
rubious joined04:46
etcetera left04:47
brentratliff left04:48
etcetera joined04:48
metcalfc joined04:48
hoschi joined04:48
superjoe left04:48
gregm_ left04:49
etcetera left04:49
etcetera joined04:50
leeN joined04:50
macrover left04:51
jdunck left04:52
Steve_Ray joined04:58
Fretta left05:04
macmartine left05:07
beautifulmind joined05:07
jokajak left05:09
munichlinux joined05:09
olaf_ joined05:10
aantix joined05:14
todd_dsm left05:14
jdunck joined05:15
olaf_ left05:15
j416 joined05:16
steveoliver joined05:16
shruggar left05:16
yoklov left05:17
todd_dsm joined05:17
patrick85 joined05:18
derrekito left05:18
tomaw left05:20
aantix left05:21
Steve_Ray left05:22
khmarbaise_ left05:23
BiggFREE joined05:23
ehsan joined05:23
j416 left05:24
jokajak joined05:24
aspotashev joined05:27
quazimodo joined05:28
shruggar joined05:28
svetlyak40wt left05:29
guampa left05:31
yaymukund left05:31
Chillance left05:31
pantsman joined05:31
pantsman left05:31
pantsman joined05:31
thirdknife joined05:31
johnny_rose joined05:32
johnny_rose left05:32
ehsan left05:32
johnny_rose joined05:32
johnny_rose left05:36
dc5ala joined05:37
Moebius__ joined05:37
shruggar left05:38
Moebius__ left05:38
cakehero left05:38
skul joined05:39
ehsan joined05:39
AlbireoX left05:40
AlbireoX joined05:41
guampa joined05:42
akiress left05:45
AlbireoX left05:45
worstadmin left05:45
albel727 left05:47
drougge joined05:50
haberdasher left05:51
guampa left05:52
derpops left05:52
madewokherd left05:53
leokaito joined05:55
jcao219 left05:55
drougge left05:55
jaseemabid joined05:55
BadDesign joined05:56
BadDesign left05:56
BadDesign joined05:56
senny joined05:58
albel727 joined05:58
samuel02 joined06:00
skyf_ joined06:01
metcalfc left06:02
skyf left06:02
arturaz_ joined06:03
RaceCondition joined06:04
albel727GasaiYuno06:06
Steve_Ray joined06:06
Steve_Ray left06:06
derpops joined06:07
MaximLacrima joined06:07
iron_houzi left06:07
wasanzy left06:08
bloony left06:08
ThomasLocke joined06:10
ehsan left06:10
ehsan_ joined06:11
DarkClown left06:12
darkclown joined06:12
simesy_work left06:13
simesy_work joined06:14
friskd joined06:14
dhruvasagar joined06:15
marthinal joined06:15
thirdknife_ joined06:17
jceb joined06:17
samphippen joined06:18
thirdknife left06:19
koltroll joined06:21
xxc_michael joined06:22
GasaiYunoalbel72706:23
dragon3_ left06:23
papegaaij joined06:24
e66 joined06:25
dwmw2_go` joined06:28
arturaz_ left06:28
lnostdal left06:29
Zyrkon left06:29
dwmw2_gone left06:29
unreal left06:29
BiggFREE left06:30
unreal joined06:31
Goplat left06:31
etcetera left06:31
Chib left06:32
noyb left06:32
quazimodo left06:34
harish left06:34
sebrock joined06:35
codeFiend left06:35
Zyrkon joined06:36
Ecesis1 joined06:36
Ecesis left06:38
MrMeh left06:38
apok joined06:39
mmc1 joined06:40
thorie left06:41
aspotashev left06:41
samphippen left06:41
ReekenX left06:43
munichpython joined06:44
cbreak-work joined06:44
dhruvasagar left06:45
munichlinux left06:45
munichpythonmunichlinux06:45
skorgon joined06:47
skorgon left06:47
skorgon joined06:47
mmc1 left06:47
thorie joined06:48
AdrienBrault joined06:48
mgue-mobile joined06:50
jaseemabid left06:51
maleknet joined06:52
friskd left06:54
AdrienBrault left06:55
devsharpen joined06:56
com4 left06:57
thorie left06:57
papegaaij_ joined06:57
papegaaij left06:57
thorie joined06:58
com4 joined06:58
thirdknife_ left07:00
thirdknife__ joined07:01
afuentes joined07:02
psoo joined07:02
dzan left07:03
simesy_work left07:03
simesy_work joined07:04
osxorgate joined07:04
suy joined07:06
stodan joined07:07
dermatthias joined07:07
drougge joined07:08
lb joined07:09
lb left07:09
lb joined07:09
steveoliver left07:11
aisbaa joined07:12
irqq joined07:12
LeMike joined07:14
arex\ joined07:14
xxc_michael a quick question , i just committed to my local repo , i noticed that there are files that i didn't want to add to it.07:14
giallu joined07:15
flijten joined07:15
xxc_michael should i use git-reset HEAD^1 pathtofile07:15
in order to remove them from the commit07:15
gitinfo set mode: +v07:15
arex\ If I'm in the release-candidate branch and want to merge in the feature/awesome branch as one single commit, how can I do that?07:15
resistivecorpse2 joined07:16
_ikke_ merge --squash07:17
arex\: man git merge07:18
gitinfo arex\: the git-merge manpage is available at http://git-scm.com/docs/git-merge.html07:18
resistivecorpse left07:18
resistivecorpse2resistivecorpse07:18
lindenle joined07:19
Lgb left07:20
arex\ _ikke_: thanks!07:20
quazimodo joined07:21
Lgb joined07:21
dsirijus joined07:23
shruggar joined07:24
lnostdal joined07:24
OOPMan joined07:24
AdrienBrault joined07:26
angelsl joined07:26
samphippen joined07:26
dzan joined07:27
derpops left07:27
gusnan joined07:28
arex\ When I'm integrating incomplete feature branches on the integration branch, CI triggers for each commit which means it usually triggers twice for each merge (because the merge produces two commits)07:28
What's the proper way of solving this?07:28
I was considering git merge --squash, but I'm not sure07:29
jargon- joined07:29
_ikke_ arex\: can't your CI be setup to ignore merge commits?07:31
arex\ _ikke_: didn't cross my mind, i'll look into that right away07:32
samphippen left07:32
arex\ _ikke_: doesn't look that way (teamcity)07:32
witul left07:34
arex\ _ikke_: the closest is ignoring commits where the commit message matches a certain regexp07:34
simesy_work left07:35
fornext joined07:36
simesy_work joined07:36
derpops joined07:36
witul joined07:36
simenbrekken joined07:36
simenbrekken I keep running into this scenario where I'm working in a feature branch, switch to my master, pull changes and merge the new changes into my feature branch. However this litters my history with merge commits, any way to avoid this? I'm already using [branch] autosetuprebase = always07:37
samphippen joined07:38
blami_ joined07:38
AdrienBrault left07:39
EugeneKay Stop being scared of merge commits. They won't bite. !unlearn your dependence upon linear history.07:39
gitinfo Users of centralized VCSes will need to unlearn a number of habits in order to learn git. Many commands, such as "checkout" and "revert" bear little in common to those holding the same name in other systems.07:39
AdrienBrault joined07:39
EugeneKay Yes, sometimes the line in log --graph uses a \ or a /. This happens. :-p07:40
Pipin joined07:41
arex\ EugeneKay: It messes up my CI :P07:41
Pipin left07:41
EugeneKay Tell your CI to be less lame.07:41
You could try cherry-pick07:42
See also !perfect07:42
gitinfo [!postproduction] So, you want to make your commit history look pretty before pushing? http://sethrobertson.github.com/GitPostProduction talks you through how to use 'rebase -i' to do this.07:42
jkremser joined07:42
wasanzy joined07:43
TheHaven joined07:44
beautifulmind left07:44
derpops left07:44
arex\ thanks EugeneKay07:44
Error404NotFound left07:45
OOPMan left07:46
pantsman left07:47
lindenle_ joined07:48
samphippen left07:48
diegoviola left07:49
lindenle_ /msg gitinfo .voice07:50
esc has anyone written an automatic tool to mirror ones own github repositories en-mass?07:50
lindenle_ /msg gitinfo .voice07:50
gitinfo set mode: +v07:50
lindenle_ Hi all, we have a repo made up of submodules. When we make a commit it is basically just a change in a reference to a specific submodule. I have a post recieve email hook (based on the example in the git book) that emails us this change. However I would like to dig into the submodule and actually send out the real change. Does anyone have an example of this? How can i get the diff from the submodule using the super project. Thanks.07:50
gitinfo set mode: +v07:51
skyf_ left07:51
FrenkyNet left07:51
gitinfo set mode: +v07:51
timj1 joined07:52
mstsirkin left07:52
alexander__b joined07:52
munichlinux left07:52
niax left07:52
alexander__b hi. drupal uses tags for its releases. if I git clone and set up everything, let's say I'm on the tag for v7.3.7-r3. how do I revert to the version that's tagged v7.3.7-r2, if I only know the tag - not the commit?07:53
ReekenX joined07:53
timj left07:54
gerryvdm_mbp joined07:56
gerryvdm_mbp left07:56
gerryvdm_mbp joined07:56
Sajbar git checkout -b tag-name, would checkout the tag and create a new branch for it.07:56
BadDesign left07:58
LeMike left07:58
Error404NotFound joined07:58
milligan left07:58
OOPMan joined07:58
Error404NotFound left07:59
LeMike joined07:59
mgorbach left08:00
mgorbach joined08:00
xiangfu joined08:00
Akufen joined08:01
Akufen left08:01
Akufen joined08:01
Lord_DeathMatch joined08:01
cilly left08:01
indel joined08:03
LimeBlast joined08:03
cilly joined08:03
gerard0 left08:04
mikecmpbll joined08:04
LeMike left08:04
gerard0 joined08:06
samphippen joined08:06
eijk joined08:07
niax joined08:07
samuel02 left08:08
arex\ When I do git merge --squash, it says "not updating HEAD"08:11
munichlinux joined08:12
AdrienBrault left08:12
Tommy[D] left08:12
hpa left08:13
Tommy[D] joined08:13
rob_w_ joined08:14
dermoth|home left08:15
dangerousdave joined08:15
hpa joined08:16
gavin_huang joined08:17
cilly left08:18
rubious left08:18
dermoth|home joined08:19
cilly joined08:19
Desproges joined08:21
MaximLacrima left08:22
artnez left08:22
mabrand joined08:23
dsirijus left08:23
hwrd|work left08:25
rob_w_ left08:26
tomaw_ joined08:26
SiDz left08:26
SiDz joined08:27
SiDz left08:27
SiDz joined08:27
Element9 joined08:27
hwrd|work joined08:28
i42n joined08:29
i42n left08:29
the_cybersphinx joined08:29
apok left08:32
bddn joined08:32
hwrd|work left08:32
thillux joined08:32
nillian joined08:33
Vile left08:33
cmn Sajbar: no08:35
alex179ohm joined08:37
Desproges left08:38
lindenle left08:39
cmn alexander__b: what do you mean by revert here?08:40
Desproges joined08:40
cmn do you want to get the files so you can put it somewhere, do development...?08:40
alexander__b cmn: I meant checking out to the files in that tag.08:40
angelsl left08:40
alex179ohm left08:40
cmn git checkout that-tag08:41
that will detach HEAD and put you at that commit08:41
thierryp joined08:42
achadwick joined08:42
Slush- left08:43
spyro left08:45
soee joined08:45
hakunin left08:45
shruggar left08:45
notVert left08:46
hakunin joined08:46
wasanzy left08:47
FrenkyNet joined08:47
marhaban joined08:47
maleknet left08:48
marhaban left08:50
hakunin left08:51
BiggFREE joined08:51
BiggFREE left08:51
caseymcg left08:53
j0ran left08:53
j0ran joined08:54
Deck` left08:56
spyro joined08:56
Desproges left08:57
Desproges joined08:58
Vile joined08:59
daniel_- joined09:00
Bert left09:01
babilen left09:01
rchavik left09:02
thiago left09:02
rchavik joined09:03
cilly left09:03
cilly joined09:05
adamm left09:07
Bert joined09:07
adamm joined09:07
tomaw_tomaw09:08
jdunck left09:08
marhaban joined09:08
berserkr joined09:08
j0ran left09:08
j0ran joined09:09
arex\ For a single branch in the repository: git config branch.master.mergeoptions "--no-ff"09:10
For all branches in the repository (since Git 1.7.6): git config --add merge.ff false09:10
For all branches in all repositories (since Git 1.7.6): git config --global --add merge.ff false09:10
Seem right?09:10
AccessGranted joined09:11
AccessGranted git status -> # modified: projects/External/Zend (new commits)09:11
adam_ joined09:11
_ikke_ AccessGranted: That's a submodule09:12
AccessGranted What should I do to get those commits - git submodule sync?09:12
Slush- joined09:12
_ikke_ AccessGranted: No, that does something different09:12
AccessGranted Then how09:12
_ikke_ git add projects/External/Zend; git commit\09:13
aspiers left09:13
btree_ joined09:14
dr_lepper left09:14
rath-work joined09:15
dr_lepper joined09:16
dr_lepper left09:16
dr_lepper joined09:16
btree__ left09:18
maleknet joined09:18
tinti left09:19
drupin joined09:20
drupin how can i clone a specific folder from git repo09:20
_ikke_ drupin: That's not something git supports09:21
notVert joined09:21
drupin ohhh09:21
the issue is the repo is big09:21
and i just want one part of it09:21
cilly left09:21
maleknet left09:23
drupin ok thankee _ikke_ u saved my time09:23
_ikke_ oh, lol09:23
cilly joined09:23
soc42 joined09:25
AccessGranted Drupin, divide your source tree into submodules and clone whatever you want.09:26
marhaban left09:26
arietis joined09:26
Lord_DeathMatch left09:26
Lord_DeathMatch joined09:27
soee left09:27
sluther left09:30
cilly left09:30
antihero left09:31
wasanzy joined09:31
Lord_DeathMatch left09:31
antihero joined09:32
cilly joined09:32
nelse_ joined09:32
Anders_J joined09:33
Lord_DeathMatch joined09:33
babilen joined09:37
wasanzy left09:37
soee joined09:40
cilly left09:41
cmn arex\: merge.ff isn't a multivar, don't use --add09:42
cilly joined09:43
madsy joined09:44
madsy left09:44
madsy joined09:44
Slush-_ joined09:46
letharion left09:46
Slush-_ left09:47
hendry i want to do a `git fetch` without download the data in other branches. What should I be using to realise that?09:48
_ikke_ hendry: git fetch <remote> <refspec>09:48
where refspec can be the branch that you want09:48
hendry: but: !fetchfour09:48
gitinfo hendry: 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 !fetch4why09:48
shruggar joined09:49
_ikke_ hendry: It does something different then you expect09:49
Kriz1 joined09:49
samphippen left09:49
blami_ left09:50
SeoZSeoZ-work[AWAY]09:50
hendry !fetch4why09:51
gitinfo Firstly, the four-word version of git-fetch does not update the remote-tracking branches or tags. The default git fetch origin master fetches into FETCH_HEAD - ie the equivalent of git fetch origin master:FETCH_HEAD. If you use pull in this case, it will then do the equivalent of git merge FETCH_HEAD. Even updating the remote tracking branch with git fetch origin master:remotes/origin/master it still doesn't update tags09:51
arex\ cmn: ok, thanks09:51
_ikke_ hendry: I figure something like git fetch origin master:+remotes/origin/master for the master branch09:51
awelch0100 joined09:51
KrizOne left09:52
hendry _ikke_: that works :-)09:53
_ikke_ hendry: cool09:53
frogonwheels left09:54
frogonwheels joined09:55
dhruvasagar joined09:55
awelch0100 left09:55
maleknet joined09:57
letharion joined10:01
osxorgate left10:02
adam_ left10:02
aspiers joined10:03
osxorgate joined10:03
beautifulmind joined10:03
svetlyak40wt joined10:04
aspiers why do I keep getting auto-banned from this channel? some anti-join-flood bot with sensitivity thresholds set too low?10:04
mikecmpbll left10:04
FauxFaux Under what nick? I don't see any bans.10:04
angelsl joined10:04
cilly left10:04
Wowik joined10:04
aspiers FauxFaux: the ban expired10:05
jast aspiers: we don't have any automatic bans10:05
aspiers * aspiers #git :Cannot change nickname while banned on channel10:05
jast that's not due to bans10:05
mikecmpbll joined10:05
jast we have a +q on people who are not logged in, to prevent certain kinds of horrible spam10:05
aspiers oh right10:05
hendry _ikke_: another question. i noticed `git fetch` seems to download the entire history when there isn't a common ancestor. if there a way to force it to "fast forward". I.e. not bother with merge10:05
jast you can work around it by being logged in or following the instructions in the topic10:06
Wowik left10:06
gitinfo set mode: +v10:06
aspiers yeah, I already logged in10:06
cilly joined10:07
aspiers but for some reason xchat doesn't automatically re-login on reconnect after timeout10:09
maleknet left10:09
Eridius left10:11
sam____ joined10:12
alexander__b if I cherry pick from remote/branch, and only want some older commits, what do I then do the next time I pull and want the newer commits?10:13
does git have some neat way of making me aware which ones I have pulled, and which ones I haven't?10:13
jast cherry-picks are not merges, so no10:13
samphippen joined10:13
alexander__b so I should use merge in some way?10:13
jast merge might magically do the right thing in some cases, though10:13
alexander__b jast: instead of using git terms, let me just explain what I actually want to do10:13
gitinfo set mode: +v10:14
sam____ if I get the message 'Your branch is ahead of 'green/master' by 4 commits.' that means that git thinks I have 4 commits to push to 'green/master', correct?10:14
hyperair left10:14
jast sam____: yep10:15
alexander__b I want to pull from a branch on a remote, and I might only want the changes in, let's say three older commits, but not the five newest. then at a later stage, I want those five changes - however there have been fifteen newer commits since then. is there a neat way to identify which changes I have in my repository, and which ones I haven't?10:15
_ikke_ hendry: fastforward has to do with merging. git fetch doesn't merge anything10:15
maleknet joined10:15
esc so, mercurial on the server,git on the client, where can i find it?10:15
_ikke_ find what?10:16
adamben joined10:16
sam____ how can I see what those commits are?10:16
_ikke_ git log green/master..10:16
(the .. are important)10:16
sam____ thanks10:16
alexander__b what they used to do in svn was just create one branch per issue they were working on, and then merge those branches. which sounds a bit un-git.10:17
_ikke_ alexander__b: Using topic branches is very typical in git10:17
jast alexander__b: if it's that cleanly cut, just do a 'git merge <ID of oldest commit you want to merge>'. that way it'll take everything up to that point, and future merges will work just fnie10:17
alexander__b jast: it's not very linear, and that will hardly ever be the case10:18
jast in general you can probably benefit from separating your work into branches more10:18
sounds like those 15 newer commits might belong on a separate branch10:18
gavin_huang left10:18
marthinal left10:18
esc the program to perform the above task :)10:19
alexander__b _ikke_: is that a sane solution for this issue: they want devs to work on different issues and not make one issue's solution rely on commits in the other issue-fix. they then want the maintainer to be able to use whatever commits he damn well pleases in his deployment repository.10:19
gavin_huang joined10:19
sam____ hmm.. when I do a git log green/master.. I see commits which I actually see on the master branch when I look at the repo in GitHub10:19
why might that be?10:20
m1sc alexander__b: if your question is "can I fetch a certain object an its history instead of a branch with more commits than I need?" the answer is no. once you fetched the branch you can pick whatever you need10:20
alexander__b m1sc: the problem is: devs work on different issues. the different issue solutions can't rely on each other and must be possible to implement separately (crashes here might of course occurr, but that's up to the maintainer to fix). the maintainer needs to pull different issue-fixes in a non-linear and irregular fashion.10:22
http://git-scm.com/book/ch3-4.html seems like a possible solution.10:22
esc yeah, basically, i need the hg equivalent of git svn10:23
marthinal joined10:24
m1sc alexander__b: well, that's pretty much the basic workflow. you have a stable base (for example the branch master) and every feature or bug fix needs to cleanly apply on top of it10:24
cilly left10:25
alexander__b m1sc: it's a bit difficult to think clearly due to the sheer ammount of repositories and submodules at work here, so I'm here, reaping some feedback, hehe.10:25
rgr joined10:25
marthinal left10:25
marthinal joined10:26
cilly joined10:27
m1sc alexander__b: the maintainer would wait for pull requests from the dev ("he maintainer, shiny new feature is ready, please pull"), the maintainer would fetch it, review and then reject or merge / cherry-pick..10:27
thirdknife__ left10:27
Kriz1 left10:27
KrizOne joined10:27
alexander__b m1sc: it's more like, the maintainer is preparing for a new version. it gets a list of issues that are fixed by a project manager, and some of these needs to go to this release, some to that release. completely non-linear.10:28
m1sc: he does have to review and merge etc though.10:28
tvw joined10:30
blami_ joined10:30
m1sc alexanber__b: also, see http://nvie.com/posts/a-successful-git-branching-model10:30
daniel_- left10:30
gavin_huang left10:30
gavin_huang joined10:35
drougge left10:35
tinti_ left10:35
madsy left10:35
tinti joined10:36
maleknet left10:38
Lord_DeathMatch left10:38
thirdknife__ joined10:40
munichlinux left10:40
rgr left10:40
Lord_DeathMatch joined10:42
d3vic3 left10:42
cilly left10:43
tvw left10:44
tvw joined10:44
cilly joined10:45
hyperair joined10:46
rob_w joined10:47
daniel_- joined10:47
project2501a joined10:49
j0ran1 joined10:51
Lord_DeathMatch left10:51
j0ran left10:52
jbub joined10:54
maleknet joined10:54
ph^ joined10:55
elbeardmorez left10:56
marhaban joined10:57
irqq left10:57
cilly left10:59
cilly joined11:00
rwestphal joined11:01
papegaaij_ left11:02
babilen left11:03
thiago joined11:03
babilen joined11:04
jargon- left11:08
rgr joined11:09
spaceonline joined11:11
whitman joined11:12
dkeuyof joined11:12
ph^ left11:13
samphippen left11:15
dpk joined11:16
cobra-the-joker joined11:16
elbeardmorez joined11:17
cbreak-work left11:18
dpk left11:22
marhaban left11:24
Gx4 joined11:26
prudnikov joined11:27
xxc_michael left11:28
adhawkins-awayadhawkins11:31
cilly left11:32
OOPMan left11:34
sgambino joined11:37
cilly joined11:39
LekeFly left11:39
arietis left11:40
akiress joined11:41
LekeFly joined11:41
akiress left11:41
akiress joined11:43
cilly left11:44
drougge joined11:44
munichlinux joined11:44
mikecmpbll left11:45
cilly joined11:45
ipalaus joined11:45
d3vic3 joined11:47
samphippen joined11:48
TheHaven left11:49
papegaaij joined11:50
cilly left11:51
cilly joined11:52
soee left11:52
zenx joined11:53
cobra-the-joker left11:53
Anubisss_ left11:55
dpk joined11:55
mikecmpbll joined11:55
juvenal joined11:56
itatitat joined11:57
OOPMan joined11:59
txomon|nqas left12:00
mikemol left12:01
pandeiro joined12:03
soee joined12:04
cirenyc joined12:05
OOPMan left12:05
_aeris_ left12:06
_aeris_ joined12:07
cannonball joined12:08
OOPMan joined12:10
erichynds joined12:11
gusnan left12:12
mgue-mobile left12:13
alunduil left12:14
ajw0100 joined12:15
geekbri joined12:16
prudnikov left12:17
williamherry joined12:17
prudnikov joined12:17
talha left12:17
cilly left12:18
blami_ left12:19
OPK left12:20
OPK joined12:20
cilly joined12:20
dhruvasa1ar joined12:20
dkeuyof left12:20
crabmanX joined12:22
mstsirkin joined12:22
dhruvasagar left12:22
dhruvasagar joined12:23
cilly left12:23
cbreak-work joined12:26
skyf joined12:26
dhruvasagar left12:27
dhruvasagar joined12:27
dhruvasagar left12:30
dhruvasagar joined12:30
Anubisss joined12:31
glennpratt joined12:31
tmclaugh[work] joined12:31
SkAzZ joined12:32
tmclaugh[work] Hi, I've had a request to use Git to distribute and version control our internal apt package repository.12:32
FauxFaux Sounds like it's full of !big binaries.12:33
gitinfo [!large_files] Git isn't yet great at large files(larger than RAM). Look at !annex for solutions. You can find them (after gc) with: git verify-pack -v .git/objects/pack/pack-*.idx | grep blob | sort -k3nr | head | while read s x b x; do git rev-list --all --objects | grep $s | awk '{print "'"$b"'",$0;}'; done12:33
tmclaugh[work] This isn't a request to version control build files but the binary packages themselves and I'm hessitent to do this as it seems like we're abusing Git for a use case it wasn't intended for.12:33
adac joined12:34
tmclaugh[work] These files will be smaller than the RAM size of the server.12:34
chaiz joined12:34
_ikke_ But they change often, don't they?12:34
adac Hi. can someone link me to a HOWTO where it is explaiend how to setup email on a git push?12:34
Dno joined12:35
_ikke_ adac: setup email for what?12:35
adac _ikke_, to send an email notification if someone has pushed something12:35
tmclaugh[work] _ikke_: I don't see them changing all that much since each new package should have a different filename due to the version string.12:36
We'll just be adding packages.12:36
itatitat left12:36
_ikke_ tmclaugh[work]: Well, obviously, it's not where git was intended for12:37
tmclaugh[work]: But that doesn't mean that git can't be used at all12:38
m1sc adac: you need to setup a post receive hook. google should give you tons of resources to build your own12:38
tmclaugh[work] _ikke_: I'm just hesitant to abuse a tool that neither of us have sufficient background in.12:38
null0 joined12:38
_ikke_ tmclaugh[work]: It's a choice you have to make yourself12:39
tmclaugh[work] _ikke_: I told the person my choice but that wasn't enough. Now I'm looking to make sure there aren't technical limitations.12:40
Problem is I'll build it and have to support it so if there become problems it'll become my job to fix them.12:41
Anders_J left12:41
guampa joined12:41
rwestphal left12:42
mikecmpbll left12:42
cmn the apt/dpkg system already allows you to version packages12:43
mikecmpbll joined12:44
cmn and in any case, a distributed system is not what you want12:44
tmclaugh[work] cmn: he want's the binary blobs versioned.12:44
chrisdev joined12:44
cmn right12:44
use what apt already gives you12:45
chrisdev left12:45
cmn if you absolutely need to put them under version control, a centralised system will fit much better12:46
glennpratt left12:46
cirenyc left12:46
cmn but it'd still be versioning on top of versioning12:46
glennpratt joined12:46
tmclaugh[work] What tools do .deb files give me?12:46
If we have foo-1.0 he wants to know if foo-1.0 changed in any way and who did it.12:47
cmn for that you version-control the sources12:48
if you generate a new package, you increase the version12:48
tmclaugh[work] I agree 100% with you.12:48
cmn I forget the actual name12:48
muep you could also cryptographically sign the packages12:48
gtrak joined12:48
muep to avoid someone faking the version-release metadata12:48
tmclaugh[work] That's not what I'm being asked to build though. :)12:49
cmn there's a reason apt debs have that -1, -2 at the end12:49
munichlinux left12:49
cmn it tells you version package12:49
package version, even12:49
tmclaugh[work] and that's why I'm trying to find technical reasons why his idea is not that good of an idea.12:49
cmn it's implemented at another layer12:49
and using it with git is stupid, as you're not going to fork and merge the binary packages12:50
particularly not in a distributed fashion12:50
tmclaugh[work] And I will get back, "but what if someone recompiles foo-1.0 and doesn't increase the version number?"12:50
_ikke_ !schwartzian12:51
gitinfo The Schwartzian Criterion of Git Usage: if you don't envision using branching and merging, then git probably isn't the right answer.12:51
_ikke_ tmclaugh[work]: How is git going to help with that?12:52
tmclaugh[work] I will get back arguments ad nauseum if I don't come back with a technical limitation.12:52
cmn people not doing their job is not a technical problem12:52
tmclaugh[work] _ikke_: His answer will be, "But I'll see that such and such checked in an update to an existing package."12:53
for the record, I agree with you guys. I'm arguing my coworker's point. :-/12:53
cmn does the also only track the resulting binaries for this other projects?12:53
tmclaugh[work] he tracks source and compiles most things himself.12:55
tewecske left12:55
cmn it's the same thing12:55
tmclaugh[work] He won't let me enable EPEL for our RHEL based hosts because "it's insecure".12:55
cmn you track the source, not the results12:56
tmclaugh[work] that's my feeling too.12:56
i'm googling schwartian criterion and all I get back is a link to a chatlog from this channel.12:56
cmn and if he's worried about people being careless, make the deb contain a timestamp or commit hash12:56
_ivar_ joined12:56
cmn which is what you do for debs that package development snapshots12:57
gtrak left12:57
txomon|nqas joined12:58
txomon|nqas left12:58
txomon|nqas joined12:58
tmclaugh[work] ahh, Schwarz Criterion is an economics term12:58
screw this. I'll make my last argument and give up.12:58
cmn well, this one is about Randall Scwharz12:58
tmclaugh[work] thanks for at leats making me feel good that I'm right :)12:58
oh, because I read the economic term and it sort of fit.12:59
torbjorn joined12:59
torbjorn i keep running into branch/tracking information confusion12:59
i am now able to pull from repo, but when i try to push, it asks me to specify which branch to merge with12:59
tmclaugh[work] well, fit as well as I possibly understand economics terms12:59
cmn push won't ask you a branch to merge13:00
torbjorn isnt it a fair assumption that when I have pulled remote master to my own master, that i would like to push bach my mater to the rmeote master?13:00
but i just pulled from it, isnt that merged enough?13:00
cmn that's one situation, and git has no way of knowing whether that fits unless you tell it13:00
_ikke_ torbjorn: git push -u13:00
Gaga left13:00
_ikke_ git push -u origin master13:01
for example13:01
torbjorn even if i do git pull origin master , it still doesnt remember that till next time13:01
thanks _ikke_13:01
freeed joined13:01
torbjorn it would be nice to discuss the logic though, i assume i am wrong as people who make stuff that goes on itnernets generally know better13:01
sonic_baker joined13:02
cmn what would git remember?13:02
you've told it to do a one-off13:02
!fetch413:02
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:02
torbjorn that i pulled remote master to my own master13:02
rgr left13:02
chaiz_ joined13:02
cmn you merged a remote branch into your own, that precisely means that you won't have anything more to do with it13:02
_ikke_ torbjorn: git pull origin master == git fetch origin master:FETCH_HEAD; git merge FETCH_HEAD13:02
sonic_baker Hi there, trying to clone a repository over https gives me the following error: error: SSL certificate problem, verify that the CA cert is OK. Details:......13:03
I've read that the SSL check can be disabled with "env GIT_SSL_NO_VERIFY=true'13:03
daniel_- left13:03
cmn isn't it CURL_?13:03
sonic_baker but I'm not sure how this effects security, can anyone enlighten me?13:03
daniel_- joined13:04
cmn it affects it in as much as you're not checking whether the other end of the connection is who they claim they are13:04
_ikke_ sonic_baker: mitm are very is when you disable that check13:04
chaiz left13:05
sonic_baker mitm?13:05
_ikke_ man in the middle13:05
sonic_baker ok13:05
cmn this is all at the HTTP layer, though, nothing to do with git13:05
keltvek left13:06
sonic_baker so, I've read that you have to install root certs13:06
chaz joined13:06
sonic_baker Is this a bit job?13:06
*big13:07
vekexasia1 joined13:07
keltvek joined13:07
cmn the root certs should come with your OS, if it's old, it can be that newer root CA certs aren't there13:07
m1sc sonic_baker: what's wrong with the certificate?13:07
sonic_baker error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/msanders/snipmate.vim.git/info/refs13:07
chaiz_ left13:08
j0ran joined13:08
j0ran1 left13:08
hellopat joined13:09
macabre joined13:09
m1sc sonic_baker: what happens when you do "curl https://github.com"? do you get a certificate warning when accessing https://github.com in your browser?13:11
jperry2_ joined13:12
rchavik left13:12
j0ran left13:12
sonic_baker browser is ok but curl gives:13:12
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:13:12
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed13:13
More details here: http://curl.haxx.se/docs/sslcerts.html13:13
etc...13:13
jast so I suppose the DigiCert root CA is missing in your cert collection13:13
_ikke_ sonic_baker: Does curl know where it has to look for the CA certificates?13:13
m1sc sonic_baker: seems liks curl doesn't see / use your system root certs. that's what you need to fix13:13
cmn is the browser on the same machine? this usually happens on older RHEL/CenOS machines13:13
sonic_baker yes, all on my mac13:13
snearch joined13:14
sonic_baker _ikke_: I'm not sure if curl knows where to look13:14
cmn ah, mac; chances are curl doesn't know where OSX keeps the certs13:14
sonic_baker ok, any idea how I can tell it?13:14
AaronMT joined13:14
kcj left13:15
jast depends on whether curl is linked against openssl or gnutls13:15
sonic_baker em..... not sure there either. Is there a command I can run to check?13:16
tmcmahon joined13:16
brentratliff joined13:17
sonic_baker If I just clone with the git:// protocol am I still open to mitm?13:17
jast curl -V13:17
yeah... someone could manipulate the data you receive13:18
wereHamster sonic_baker: git:// is completely unprotected.13:18
jast of course there's no authentication that can be stolen, so the attack is on the data instead of on your credentials13:18
alunduil joined13:18
sonic_baker so curl -V mentions OpenSSL13:18
muep a mitm could cause you to clone some other repo than what you intended to clone13:19
sonic_baker aha, I get it13:19
jast openssl tends to demand its own storage form for ssl certs13:19
sonic_baker Sounds unlikely though, no? Would it be common?13:19
Lgb left13:20
sonic_baker jast: so is it a big job to fix this?13:20
jast no idea. I have zero experience with OSX.13:20
sonic_baker ok, thanks for the help so far anyway13:21
_ikke_ sonic_baker: google might have an answer there13:21
samphippen left13:21
alunduil left13:21
Lgb joined13:21
flaguy48 left13:22
alunduil joined13:22
sonic_baker _ikke_: Yeah I have a few pages open but not sure if I'd be doing the right thing. Think I'll leave it for now, it's not something I need and don't have time at the moment to go messing with a load of stuff13:22
john3 left13:23
_ikke_ sonic_baker: Usually it's just one setting13:23
bartek joined13:23
john3 joined13:24
maleknet left13:25
jez joined13:25
gitinfo set mode: +v13:25
TeckniX joined13:25
jez Hi. Is there a way to clone a git repo, but not have git setup "origin" to point to the source repo?13:25
_ikke_ jez: What is the problem with that?13:26
dAnjou joined13:26
jez _ikke_: I don't want to associate the 2 repos13:26
wereHamster jez: clone the repo, then delete the origin remote.13:26
jez ok, that's the only way?13:26
_ikke_ jez: yes13:26
jez there isnt one command i can use?13:26
_ikke_ nope13:27
no one has needed that option before aparently :)13:27
wereHamster or use git init + git fetch url master + git checkout -b master FETCH_HEAD13:27
samphippen joined13:27
dAnjou hey, i installed this "extension" https://github.com/wmanley/git-meld but when i run "git meld", i get: fatal: cannot exec 'git-meld': permission denied although the path has proper permissions13:27
_ikke_ But that's not exactly the same, is it?13:27
dAnjou: How have you verified the permissions?13:28
jez left13:28
dAnjou _ikke_: ls13:28
drwxr-xr-x 3 max max 4096 Okt 2 15:14 git-meld13:28
alias line is: meld = !/home/max/bin/git-meld/git-meld.pl13:29
comps hi, what's with the "git merge <msg> HEAD <commit>..." syntax -- is it there "for historical reasons", or does it have a specific plumbing-like use case? .. thanks13:29
dAnjou without that thingy, that got pasted by mistake13:29
trungqtran joined13:29
trungqtran left13:29
trungqtran joined13:29
aspiers left13:29
_ikke_ dAnjou: And you are user max?13:30
OOPMan left13:30
dAnjou _ikke_: yes13:30
flaguy48 joined13:30
cmn do other extensions work?13:30
dAnjou cmn: how can i check that?13:30
cmn by running another one13:30
dAnjou i think i don't have any other13:31
cmn it could be that some dir in your $PATH doesn't have x permissions13:31
and git doesn't know how to continue13:31
tinti_ joined13:31
cmn there have been a few patches to try to figure out this vs other permission issues, but it's never clear13:31
svetlyak40wt left13:32
tinti left13:32
dAnjou cmn: i checked them all now, 755 for all13:32
tmcmahon left13:32
cmn strace the process then, see what's throwing that permissions error13:33
dAnjou i did that already, a second13:33
ehsan_ left13:33
dAnjou [pid 7411] execve("/home/max/bin/git-meld", ["git-meld"], [/* 114 vars */]) = -1 EACCES (Permission denied)13:33
fatal: cannot exec 'git-meld': Keine Berechtigung13:33
last thing is german for "permission denied"13:34
cmn isn't that path a dir?13:34
dAnjou yes it is13:34
cmn that's it then13:34
dAnjou but my alias says meld = !/home/max/bin/git-meld/git-meld.pl13:34
cmn it looks like aliases are the last to be tried13:35
dAnjou hmm13:35
cmn sounds like a genuine bug, it shouldn't try to exec dirs13:35
lacrymology joined13:35
tplaner_ joined13:36
simenbrekken left13:36
dAnjou why always me .. :(13:36
i try linking it one dir level up13:36
fornext left13:37
cmn looks like it's in master as well13:37
dAnjou same error, renameing dir13:38
cmn well, you can't have a dir and a file with the same name13:39
dAnjou i know13:39
beautifulmind left13:40
dAnjou i have git-meld/ and a symlink git-meld.pl -> git-meld/git-meld.pl13:40
still didn't work13:40
now i have meld-git/ and git-meld.pl -> meld-git/git-meld.pl13:40
works13:40
cmn right, git is looking for exactly git-meld13:40
svetlyak40wt joined13:40
dAnjou but look at that:13:41
[pid 7783] execve("/home/max/bin/git-meld", ["git-meld"], [/* 114 vars */]) = -1 EACCES (Permission denied)13:41
[pid 7783] execve("/usr/games/git-meld", ["git-meld"], [/* 114 vars */]) = -1 ENOENT (No such file or directory)13:41
[pid 7783] execve("/home/max/bin/git-meld", ["git-meld"], [/* 114 vars */]) = -1 EACCES (Permission denied)13:41
gtrak joined13:41
maleknet joined13:41
dAnjou it checks the dir: error; checks a totally other dir: not found; checks same dir again: error; end of strace13:42
Jay_Levitt joined13:42
cmn odd, do you have $HOME/bin twice in your PATH?13:42
dAnjou hmm13:42
txomon|nqas can anyone help me deleting a file from HEAD~~ ? I can't wait till git filter-branch does a --tree-filter...13:42
dAnjou cmn: yes .. damn13:42
cmn: will take care of that, thanks13:43
cmn txomon|nqas: use rebase -i13:43
txomon|nqas 65000 commits to rewrite...13:43
cmn ok!13:43
les_sylvains joined13:45
derpops joined13:46
txomon|nqas cmn, I always forget that -i magic option :S13:47
daniel_- left13:47
gtrak left13:48
episage joined13:48
gtrak joined13:48
adhawkins I've just realised I've done a couple of commits with a silly email address.13:49
And published them.13:49
crlane joined13:49
adhawkins Given !rewrite, is it a bad idea to amend the email addresses?13:49
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_rebase13:49
cmn it doesn't matter what for, rewriting is generally bad13:49
adhawkins That's what I thought.13:50
Bugger.13:50
cmn you can add a mailmap13:50
sonic_baker left13:50
ayaka joined13:51
adhawkins Mailmap?13:51
Zefi joined13:52
juvenal left13:52
cmn man git whatchanged has an explanation IIRC, it's a maping table for e-mail addresses13:52
gitinfo the git-whatchanged manpage is available at http://git-scm.com/docs/git-whatchanged.html13:52
cmn add it to the root of the repo and log should transform it on the fly13:53
thirdknife__ left13:53
adhawkins Probably the wrong place, but will github use it too?13:53
frem joined13:53
cmn absolutely no idea13:54
JPT left13:54
adhawkins Is this a relatively new feature?13:54
cmn nope13:55
kermit left13:55
cmn I believe it dates back to CVS, and git had it pretty early on13:55
svetlyak40wt left13:55
adhawkins Do I have to add it for it to be handled?13:55
JPT joined13:55
samphippen left13:55
LeMike joined13:55
cmn you need to put the .mailmap file in the repo13:56
'cos you presumably want other people to have it as well13:56
adhawkins But will it be handled locally if it's not in the repo?13:57
scarlisle joined13:58
torbjorn _ikke_ and cmn: sorry got interrupted at work. i guess im doing something else wrong.. I typically don't set up a remote git repo until I feel projcets grow large enough or important enough, so later on I typically git init --bare somewhere, and push my local project git folder to this repo13:58
and i run into the confusion of master branches13:58
adhawkins cmn: http://pastebin.com/0wDzqW2G13:58
torbjorn git push -u will take care of my frustration though, thanks13:58
kermit joined13:59
ayaka if I want to set a git server , I need to use Gitosis or I can use git directly13:59
vekexasia1 left13:59
kerrick left13:59
_ikke_ ayaka: !gitosis13:59
gitinfo ayaka: 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!13:59
cakehero joined13:59
MacGyver ayaka: gitosis is considered deprecated... yeah that.13:59
nwest joined13:59
maleknet left14:00
_ikke_ ayaka: You don' *need* any aditional software, but it is highly recomeneded14:00
recomended14:00
ayaka oh, I see14:00
MacGyver You *can* use git directly, but gitolite is very easy to set up and manage.14:00
svetlyak40wt joined14:00
MacGyver Probably easier than using git directly, even, but I have never gone that route so cannot really comment.14:00
cmn adhawkins: hm, that should work... can you check if git shortlog works?14:01
txomon|nqas I have tried, and Sure gitolite rocks14:01
_ikke_ For a single user it's doable, but otherwise you have to deal with file permisions and other things14:01
soee left14:01
txomon|nqas _ikke_, neither14:01
adhawkins cmn: Works as in what?14:01
cmn as in it correctly replaces the e-email14:01
revagomes joined14:01
_ikke_ txomon|nqas: what neither?14:01
adhawkins It doesn't show any emails.14:01
Ah, -e14:02
Yes, it shows the correct email address14:02
ayaka _ikke_, thank you14:02
ayaka left14:02
txomon|nqas _ikke_, for one user, it isn't either doable14:02
cmn hm, then log probably doesn't take it14:03
txomon|nqas unless in the same computer...14:03
adhawkins man git log implies that it will process mailmap14:03
gitinfo the git-log manpage is available at http://git-scm.com/docs/git-log.html14:03
soc42 left14:03
adhawkins In the format string:14:03
"%aN: author name (respecting .mailmap, see git-shortlog(1) or git-blame(1))"14:03
_ikke_ txomon|nqas: one user via ssh shouldn't give any problems14:03
cmn right, but the format string isn't necessarily what a vanilla 'git log' produces14:03
adhawkins Right14:03
Ah, there %an and %aN14:03
cmn that's why I thought git-log would change it as well14:04
mgorbach left14:04
JohnBat26 left14:04
mgorbach joined14:05
bitkiller joined14:05
thirdknife__ joined14:05
adhawkins Oh well, guess I'm stuck with those couple of commits then. :(14:05
adhawkins must be more careful14:05
adhawkins I spotted them, and did a commit --amend --reset-author, but it looks like it only changed the name14:06
Not the email14:06
txomon|nqas _ikke_, in that case, you should have the repo in your home or a large path in your remote, anyway, gitolite does that in 2 steps...14:06
cmn does 'git var GIT_AUTHOR_IDENT' give you the right one?14:07
ankesh_ joined14:07
Mikien1 joined14:07
gtrak left14:08
Mikien1 left14:08
Destos joined14:09
adhawkins cmn: Yes14:09
marhaban joined14:10
adhawkins Thinking about it, these commits might be fairly old.14:10
I set up a VM to do some specific changes (cross compilation) and forgot to correctly setup git for name and email address.14:10
These commits could be from then.14:10
I suppose it's no big deal. There's only two of them.14:10
snearch left14:11
gitinfo set mode: +v14:11
LeMike hi there. I want to ignore a folder "app" but not ignore it's child "app/code/local". I use .gitignore with this: /app/* \n !/app/code/local/*14:11
but it doesn't work. the rules seem valid to me.14:11
spaceonline left14:12
Zefi left14:12
adhawkins You might have to !/app/code/local/ ?14:12
duckxx joined14:12
sctt joined14:12
kevwil joined14:13
LeMike same one. `git status` doesn't show that the folder has changes or needs to be added14:13
dAnjou left14:14
adhawkins I seem to remember having some similar issues with .gitignore14:14
Pretty sure a google brought up some useful info14:14
_ikke_ LeMike: Try reversing the order14:14
svetlyak40wt left14:14
cmn you can't unignore something that's not in the ignore list, app/* doesn't put app/code/local in the list, so you can't remove it14:14
_ikke_ LeMike: Ignore my comment14:15
Zefi joined14:15
cmn it's stupid, I know, but those are the rules14:15
_ikke_ * doesn't match / in .gitignore14:15
adhawkins cmn: Then git status should show the app/code/local stuff then shouldn't it?14:15
cmn not if it's ignored14:15
LeMike "git add app/code/local/" :: The following paths are ignored by one of your .gitignore files: app14:15
adhawkins But you said it wasn't ignored...14:15
e66 left14:15
adhawkins is confused14:15
LeMike even if I turn the rules14:15
cmn he's trying not to ignore it, but the rules are making it hard14:16
you need to have that dir in the rules before you can unignore it14:16
gerard0 left14:16
cmn putting something like /app/*/*\n!/app/code/local might work14:16
LeMike i get it... so i need to ignore app/code/* and unignore app/code/local ?14:16
yee14:16
i try14:16
adhawkins My head hurts :)14:17
aristidesfl joined14:17
lacrymology left14:18
Zefi left14:18
Ecesis1 left14:18
marhaban left14:18
gerard0 joined14:20
sveajobb left14:20
aantix joined14:21
LeMike cmn: thx!! that's it almost. the files within /app/ are not ignored. and adding /app/* doen't work. neither before the rules nor after.14:21
cmn add '*' in app/.gitignore14:21
top-level ignores that refer to sub-levels are bad for you14:22
stodan left14:22
jast nah, just pretty confusing :)14:22
cmn they hurt performance in larger repos14:22
LeMike k. the trivial ones never come to my mind :P :D14:22
cmn we were looking at webkit, and peff reorganised the ignore rules into several smaller ones, and the performance increase wasn't trivial14:23
something like "top-level gitignores considered bad" in the ML should find the post14:23
LeMike no. i mean the solution by putting another .gitignore in the subfolder14:24
lindenle_ left14:24
cmn right, but you should be doing that anyway14:25
http://thread.gmane.org/gmane.comp.version-control.git/194294/focus=19434114:25
ankesh_ left14:25
chrisgeorge joined14:26
TheJH joined14:26
dhruvasa1ar left14:26
williamherry left14:27
Meliorate hi all, i'm looking for a git irc bot that will work dynamically with git repositories (EG: not like supybot, where configuration is required per repos). can anyone a decent one please?14:28
*recommend a decent one14:28
LeMike oh ok. i always liked git for only having some top-level elements and leaving the rest alone. but that is an impact for large repos. thx cmn14:29
AlbireoX joined14:29
lb left14:30
cmn there's a point where a faster git-status is more convenient than a top-level gitignore, just something to keep in mind14:30
lb joined14:30
lb left14:30
lb joined14:30
_ikke_ it's a trade-off ;)14:30
mmc1 joined14:32
RaceCondition left14:33
dhruvasagar left14:33
thiago left14:33
samuel02 joined14:34
alexisabril joined14:34
thirdknife__ left14:35
thirdknife joined14:35
sctt left14:37
whaley left14:37
BSaboia joined14:39
BSaboia left14:39
Zefi joined14:40
papegaaij left14:42
Zefi left14:42
torjus_ joined14:43
aisbaa left14:44
mikecmpbll left14:44
psoo left14:45
Sky[x] joined14:45
ehsan joined14:46
ISF left14:46
const is there a way to say "delete all branches that are a strict subset of master"14:47
or "delete all branches that don't have commits not in master" ?14:47
RaceCondition joined14:48
und3f joined14:48
_ikke_ const: Well, to get those, you have git branch --merged and git branch --no-merged14:48
const _ikke_: I never merged14:48
gtrak joined14:48
const I use git svn: so my workflow has been to switch to master, cherry-pick, and then git svn dcommit14:49
tjholowaychuk joined14:49
_ikke_ const: Well, git considers a branch merged if it contains all the commits found in other branches14:49
Dno left14:50
sctt joined14:50
const _ikke_: oh, nice14:50
_numbers joined14:51
const _ikke_: so something like: git branch --merged |grep -v master|xargs -n 1 git branch -d ?14:51
cagedwisdom left14:53
msmithng joined14:54
skul left14:54
marcusbrandt joined14:55
_ikke_ const: Something like that yeah14:55
samphippen joined14:55
cmn not quite14:55
skorgon left14:55
cmn oh, nevermind, the -v is right14:55
const http://paste.pound-python.org/show/26341/ -> worked - thanks!14:55
episage left14:56
_ikke_ afaik, git branch --merged doesn14:57
lb if i want to move/transfer a subfolder of a git repo into a new git repo with it's history, will filter-branch be the right tool or am i wrong?14:57
_ikke_ afaik, git branch --merged doesn't return the branch itself14:57
cmn it does14:57
_ikke_ oh ok14:57
cmn it also annoying does so with the star14:57
_ikke_ oh, right14:58
dkl joined14:58
adamben left14:58
cmn git branch --merged | grep -v '^*' would be a more generic version of the above14:59
_ikke_ right14:59
svetlyak40wt joined14:59
chaiz joined15:00
txomon|nqas /join #gitolite15:02
_ikke_ That doesn't work ;)15:02
martinjlowm joined15:02
txomon|nqas failed xD15:02
jbub left15:02
sgambino left15:02
jceb left15:02
SirCmpwnSirCmpwn_15:03
sctt left15:03
intransit joined15:03
thirdknife left15:04
_numbers left15:04
suy left15:05
NcA^ joined15:05
aruiz left15:06
mikepack joined15:07
suy joined15:08
reuf joined15:10
ReekenX left15:12
crabmanX left15:14
Anubisss_ joined15:14
sebrock left15:14
kukks joined15:15
kukks left15:15
kukks joined15:15
cbreak-work left15:15
irqq joined15:15
torbjorn left15:16
Anubisss left15:17
prudnikov left15:17
Anubisss_ left15:18
jbub joined15:18
Anubisss_ joined15:18
und3f left15:19
adhawkinsadhawkins-away15:19
aruiz joined15:21
swiety joined15:21
aristidesfl left15:21
kpreid left15:23
bitkiller left15:23
marhaban joined15:23
ShadeTornado joined15:23
kpreid joined15:23
aristidesfl joined15:24
ShadeTornado left15:24
lb left15:24
ShadeTornado joined15:25
aristidesfl left15:25
layke__ left15:26
SirCmpwn joined15:26
ReekenX joined15:26
episage joined15:26
aristidesfl joined15:26
fuller_afkfuller15:27
aristidesfl left15:27
aristidesfl joined15:27
mikecmpbll joined15:27
AccessGranted left15:27
cybersphinx joined15:27
daniel_- joined15:29
marhaban left15:29
Nickeeh How would I create a alias for commit that always appends --verbose to git commit? I tried "git config --global alias.commit "commit --verbose"" but that didn't work. :(15:29
( I really like that diff )15:29
madsy joined15:30
madsy left15:30
madsy joined15:30
kenperkins joined15:31
the_cybersphinx left15:31
talexb joined15:32
bartek left15:32
wereHamster Nickeeh: AFAIK you can't alias builtin commands15:33
create a 'ci' alias or somethig15:33
FauxFaux Nickeeh: You can't override inbuilt commands at all. Some people make a wrapper for git in their shell that looks at the arguments and modifies them, or pick a different alias.15:33
Milossh left15:33
wereHamster I WIN!15:33
Nickeeh Hmm. Can I specify "default arguments" for builtins?15:33
jperry2_ left15:33
FauxFaux Only where they support it.15:33
Nickeeh Hmkay.15:33
Thanks guys.15:34
FauxFaux wereHamster: I saw your answer and decided my note about shell wrappers was worth continuing typing. :p15:34
Milossh joined15:34
dhruvasagar joined15:35
fletch_ joined15:35
fullerfuller_afk15:36
svetlyak40wt_ joined15:36
OOPMan joined15:38
_numbers joined15:38
svetlyak40wt left15:38
mikepack left15:38
dvide left15:39
jdunck joined15:39
torbjorn joined15:39
dermatthias left15:40
_numbers my repo has grown too large in file size. i would like to split it into volumes. i'm thinking if i could backup existing repo, then truncate to only the latest HEAD commit ref, then i could add the old repo as a remote and merge across if i wanted but otherwise my new repo would only contain one commit and be smaller in file size15:40
is there an easy way to do something like this15:40
metze left15:40
metze joined15:41
FauxFaux Any merge would /immediately/ make your repo huge again. The solution is to not commit big files. The man gitgrafts wiki page has some examples of grafting old history into place for interested parties.15:41
samphippen left15:42
daniel_- left15:42
ShadeTornado left15:43
ShadeTornado joined15:43
beneggett joined15:43
tvw left15:45
rath-work left15:45
fuller_afkfuller15:45
samphippen joined15:45
flijten left15:46
pandeiro left15:46
Fretta joined15:46
rudi_s joined15:47
_numbers ah i see. good point. i guess i would have to make patches instead if i wanted to do any merging15:47
thiago joined15:48
Targen left15:48
funnyfingers joined15:49
kevwil left15:49
gusnan joined15:50
devth joined15:50
osxorgate left15:51
adac left15:52
elbeardmorez left15:52
steveoliver joined15:52
devth left15:52
Synthead joined15:53
talha joined15:53
hyperair left15:53
tewecske joined15:54
bartek joined15:55
Milossh left15:56
evelyette joined15:56
evelyette hi, I would like to know if creating some branched automatically in an empty git is possible with git hooks ?15:57
juvenal joined15:57
sgambino joined15:57
ldlework If you have say 50 internal source repositories in gitolite that your company maintains internally, for packages that you want to share to the FOSS community do you: A) Maintain those packages internally, and push and pull to github when relevant or B) move these packages from the internal collection of repos and host them authoratatively at github, removing the internal repos entirely15:57
xiangfu left15:57
fornext joined15:58
devth joined15:59
gavin_huang left16:00
bartek_ joined16:00
madewokherd joined16:00
BlindOracle left16:01
dnstbr joined16:01
crlane left16:01
drougge left16:03
chuckharmston joined16:03
kevwil joined16:03
bartek left16:03
skyf left16:04
notVert left16:04
hodgy joined16:04
Desproges left16:05
dc5ala left16:06
EugeneKay ldlework - I use a mirroring script that I wrote to push them to github when I push into gitolite16:06
ajw0100 left16:06
tmclaugh[work] left16:06
senny left16:07
SegFaultAX|work joined16:07
ldlework EugeneKay: i don't think that will fly as policy16:07
EugeneKay It only pushes repos which have bene configured to mirror16:07
If your policy is to open-source the repo it sounds exactly like what you want :-p16:07
Tuna-Fish left16:07
samphippen left16:08
rcu joined16:09
ldlework EugeneKay: except that pushing implicitly to the external repo means you can't do clean up or otherwise manage what is published16:09
EugeneKay You could set up a "Publish" branch that is the only thing which will get mirrored.....16:09
dr_lepper left16:09
Tuna-Fish joined16:09
dkl left16:09
gerryvdm_mbp left16:10
EugeneKay Here's my hook if you like https://gist.github.com/373148516:10
That's a post-receive btw. Here's the script I use to enable multihooks for my gitolite repos https://gist.github.com/373149016:10
irqq left16:12
Mode-M joined16:12
FrenkyNet left16:12
rubious joined16:12
ReekenX left16:13
samphippen joined16:13
Tuna-Fish left16:13
les_sylvains left16:14
hodgy left16:15
d3vic3 left16:15
fletch_ left16:15
witul left16:16
spaceonline joined16:16
xiangfu joined16:16
BlindOracle joined16:17
bartek_ left16:19
xiangfu left16:19
boombatower joined16:19
mikecmpbll left16:20
samphippen left16:20
flijten joined16:21
flijten left16:21
ajw0100 joined16:21
hakunin joined16:21
angelsl left16:22
Tuna-Fish joined16:22
hwrd|work joined16:22
skyf joined16:22
jceb joined16:22
bartek joined16:23
SegFaultAX|work left16:23
mmc1 left16:24
samphippen joined16:24
samphippen left16:25
Altreus joined16:26
Altreus left16:27
Altreus joined16:27
Altreus lo. How do I get git blame to show me the file in the index rather than the file with the changes in the working tree?16:27
As in, how do I find out who authored the line I just changed without changing it back?16:27
afuentes left16:28
cmn tell it to start looking at HEAD, git blame HEAD -- file16:28
Altreus thanks16:29
:) o/16:29
Altreus left16:29
mikecmpbll joined16:29
LimeBlast left16:29
Mode-M left16:30
mikecmpbll left16:31
Hasbro joined16:31
paolino73 joined16:31
Tuna-Fish left16:32
paolino73 left16:32
dr_lepper joined16:32
dr_lepper left16:32
dr_lepper joined16:32
gregm_ joined16:32
Tuna-Fish joined16:32
nillian left16:33
tjholowaychuk left16:33
whaley joined16:34
skorgon joined16:34
hwrd|work left16:35
leokaito left16:35
john_anderson joined16:37
juvenal left16:37
SegFaultAX|work joined16:38
ReekenX joined16:38
etcetera joined16:38
Sigma joined16:39
Hasbro left16:40
Hasbro joined16:40
juvenal joined16:40
dv310p3r joined16:41
Chillance joined16:41
fletch_ joined16:41
donri joined16:42
Anubisss__ joined16:42
GameGamer43_ joined16:44
mstsirkin left16:44
thierryp_ joined16:44
the_cybersphinx joined16:45
eijk_ joined16:45
SkAzZ1 joined16:45
chrisgeorge_ joined16:45
intripoon_ joined16:45
suy_ joined16:46
Shusshu joined16:46
Shusshu left16:46
AlbireoX`Laptop joined16:46
frem_ joined16:46
jaylevitt joined16:46
Tuna-Fish2 joined16:46
ldlework EugeneKay: got a blog? wanna write up a quick configuration guide?16:47
steveoliver_ joined16:47
tavisto_ joined16:47
hellopat_ joined16:47
danielfi_ joined16:47
nelse__ joined16:47
EugeneKay ldlework - company blog, but that's for more involved stuff.16:47
squawk joined16:47
steveoliver_ left16:47
SegFault1X joined16:48
ldlework hokay.16:48
EugeneKay I'll write up better inline docs when I get around to making it what I consider "user ready". The comments you see there are for my own sanity16:48
fornext_ joined16:48
aristidesfl_ joined16:48
EugeneKay I drop this sort of thing into this repo https://github.com/EugeneKay/scripts16:48
aboudreault In my dev branch, how can I merge all commits in only 1?16:48
Anubisss_ left16:48
Tuna-Fish left16:48
intripoon left16:48
mgorbach left16:48
chrisgeorge left16:48
skoop left16:48
boombatower left16:48
suy left16:48
nelse_ left16:48
eijk left16:48
SegFaultAX left16:48
dv310p3r left16:48
steveoliver left16:48
revagomes left16:48
SkAzZ left16:48
fireh left16:48
danielfilho left16:48
frem left16:48
GameGamer43 left16:48
thierryp left16:48
tavisto left16:48
boombatower joined16:48
fornext left16:48
ThomasLocke left16:48
cybersphinx left16:48
aristidesfl left16:48
chaiz left16:48
Jay_Levitt left16:48
tavisto_tavisto16:48
aristidesfl_aristidesfl16:48
boombatower left16:48
boombatower joined16:48
dv310p3r joined16:48
AlbireoX left16:48
revagomes joined16:48
hellopat left16:48
ThomasLocke joined16:48
boombatower left16:48
boombatower joined16:48
boombatower left16:48
boombatower joined16:48
ThomasLocke left16:48
ThomasLocke joined16:48
todd_dsm left16:48
EugeneKay aboudreault - !sausage16:48
chaiz joined16:48
Pupeno_W_ joined16:48
skoopty joined16:49
gitinfo aboudreault: [!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 !perfect16:49
aboudreault EugeneKay, thanks16:49
EugeneKay bot is slow this morning.16:49
squawk hey guys, what would be the easiest way to restrict developers to pushing to just one branch (-dev), and managers to pull that branch to -stable16:49
fireh joined16:49
fireh left16:49
fireh joined16:49
EugeneKay squawk - !gitolite has branch-based ACLs16:50
gitinfo squawk: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html16:50
GameGamer43_ left16:50
Pupeno_W left16:50
GameGamer43 joined16:50
_numbers left16:50
babilen left16:50
les_sylvains joined16:51
mgorbach joined16:52
fisted joined16:52
dnstbr left16:52
hyperair joined16:52
jperry2_ joined16:53
Pupeno_W joined16:53
bartek left16:53
bartek joined16:53
Pupeno_W_ left16:53
Uriziel left16:53
giallu left16:54
zenx left16:54
Pupeno_W left16:55
fisted_ left16:55
svetlyak40wt_ left16:55
dv310p3r left16:56
jubei joined16:56
jubei guys I did git pull, I made some changes, commited and then I tried to push them back to the origin but got rejected16:57
http://codepad.org/Pc2FujCc16:57
pull tells me I'm on HEAD of this branch so what's wrong?16:58
apok joined16:58
FauxFaux jubei: That is not what 'pull' says.16:58
Tuna-Fish2 left16:59
jubei FauxFaux: Already up-to-date16:59
FauxFaux That means that you're already up to date with whatever branch you're pulling from..16:59
squawk that's pretty cool, so say it's another user on another box, assuming ssh keys added for git to pull from other box, my main goal is to separate the ability to push from developers to dev, and the ability to push from dev to prod, preferably git pull from another box16:59
jubei FauxFaux: ah ic!16:59
codeFiend joined16:59
Tuna-Fish joined16:59
marhaban joined16:59
Natureshadow left17:00
squawk but i don't have two boxen to work with17:00
just one17:00
jubei FauxFaux: anyway I've pulled the correct branch and I'm still up-to-date. So why can't I pusH?17:00
Milossh joined17:00
squawk so i have to create different branches, does anyone have examples on the branch restrictions by ssh key name?17:00
other than the update-paranoid hook?17:00
jubei FauxFaux: i just noticed I'm on the wrong branch.17:01
FauxFaux: nvm sorry^_^17:01
hwrd|work joined17:01
apok left17:02
apok joined17:02
notVert joined17:02
shruggar left17:02
opus joined17:02
FrenkyNet joined17:02
opus left17:02
skyf_ joined17:03
_iron joined17:03
whaley left17:03
jubei FauxFaux: here's what happened. I did "git pull origin mybranch" and thought I was on that branch so I started working on it. So when I commited and tried to push I realized I was making changes on the master branch on the branch I'd pulled. Is there anyway to apply this commit to the branch instead of the master? somehow? :)17:03
II realized I was making changes on the master branch, not the branch I'd pulled*17:04
devth left17:04
skyf left17:05
devth joined17:05
berserkr left17:06
mmc1 joined17:06
timj1 left17:06
hwrd|work left17:06
hwrd|work joined17:07
timj joined17:08
fluxdude joined17:08
Fretta left17:08
Goplat joined17:11
jubei left17:11
ncr100 joined17:14
marhaban left17:14
tomaw_ joined17:15
vdedik joined17:16
Akufen left17:16
SamB_MacG5 left17:16
cakehero left17:19
msmithng left17:19
Vile left17:19
Akufen joined17:19
Akufen left17:19
Akufen joined17:19
suy_ left17:20
apok left17:21
apok joined17:22
vdedik left17:22
flavius joined17:23
pandeiro joined17:23
derrekito joined17:25
bartek left17:25
achadwick left17:27
virako joined17:27
daniel_- joined17:27
daniel_- left17:27
jesseFromYVR joined17:27
bartek joined17:28
OOPMan left17:28
sonic_baker joined17:28
sonic_baker Hi there. Anyone using OSX10.5?17:29
I'm having one of those days when absolutely nothing is working. Now I'm trying to do a 'git clone' over https but get errors. Tried downloading new root certs, still no go. Tried combining certs with 'sudo cat curl-ca-bundle.crt DigiCertHighAssuranceEVRootCA.crt > new-ca-bundle.crt' and I get: '-bash: new-ca-bundle.crt: Permission denied'17:29
Can anyone tell me why permission would be denied with sudo?17:29
FauxFaux That's not how sudo works. Run sudo -s, then run the command.17:30
notVert left17:30
vdedik joined17:30
vdedik left17:31
psoo joined17:31
funnyfingers_ joined17:31
eletuchy joined17:32
e66 joined17:32
sebastorama joined17:32
funnyfingers left17:32
les_sylvains left17:32
danillonunes joined17:33
dansan left17:33
notVert joined17:34
_huoxito left17:34
bartman`` left17:34
bartek left17:35
sonic_baker FauxFaux: If you were here right now I'd buy you a pint of Guinness!!!!!!17:35
thirdknife joined17:35
sonic_baker Problem (from all day) solved17:35
thanks v much17:36
bartman`` joined17:36
FauxFaux You should think about why what you wrote doesn't work. :)17:37
bartek joined17:37
_aeris_ left17:39
maxandersen1 left17:39
fireh left17:39
maxandersen joined17:39
maxandersen left17:39
maxandersen joined17:39
look2thelight joined17:39
cakehero joined17:40
sonic_baker I've never used the -s flag before. I'm used to Ubuntu so I usually just use sudo17:40
Also on osx17:40
fairuz_ joined17:42
dpk left17:43
breck joined17:43
FauxFaux That command wouldn't work on ubuntu either.17:44
dpk joined17:44
amcsi joined17:44
OOPMan joined17:44
Odjuret left17:45
bremner uses "sudo tee" for that17:45
bremner sometimes, anyway.17:45
opus joined17:45
_aeris_ joined17:46
_aeris_ left17:46
thirdknife left17:46
amcsi left17:47
_aeris_ joined17:47
EugeneKay Shell redirection is a hell of a thing17:47
notVert left17:48
thirdknife joined17:48
thirdknife left17:49
ncd|leeN joined17:49
thirdknife joined17:50
jesseFromYVR left17:51
thirdknife left17:51
SirCmpwn__ joined17:51
giallu joined17:52
thirdknife joined17:52
dv310p3r joined17:52
notVert joined17:52
samphippen joined17:53
leeN left17:53
fornext_ left17:53
samphippen left17:53
dwmw2_go`dwmw2_gone17:54
les_sylvains joined17:54
SirCmpwn_ left17:54
dv310p3r left17:54
dv310p3r joined17:55
bigfg joined17:56
bigfg left17:56
marhaban joined17:56
maestrojed joined17:57
maestrojed I need to add a site to my git repo. Its a lot of files and subdirectories. Some of those subdirectories are blocked by .gitignore as they should be. But this means if I "git add site/*" It errors out "The following paths are ignored by one of your .gitignore files:"17:57
phantomtiger joined17:57
maestrojed Its says I can add a "-f" and it will work but it will also add all those ignored files. I just want it to add all the files that are not ignored.17:58
dpk left17:58
FauxFaux maestrojed: ...it did.17:59
EugeneKay maestrojed - an error does not mean a failure. Look at `git status` and see if it's what you expected.17:59
maestrojed EugeneKay I checked. Files were not added. Well, a lot of files were not added that should have been.18:00
FauxFaux They're probably ignored.18:01
maestrojed It was just recommended that I force add everything and them removed the unwanted subdirectories18:01
FauxFaux they are not18:01
pantsman joined18:01
pantsman left18:01
pantsman joined18:01
maestrojed FauxFaux according to my .gitignore18:01
pandeiro_ joined18:02
rath joined18:02
FauxFaux maestrojed: So, find one you think hasn't been added, check it's not in git status, then try git add'ing it?18:03
maestrojed FauxFaux and I tested, added just one file that wasn't added with the catch all command. It worked fine. So this error was a failure or at least a "bail"18:03
FauxFaux :)18:03
FauxFaux Well, diagnose the bug and submit a patch to the mailing list?18:03
srayner joined18:03
SamB_MacG5 joined18:04
Hasbro left18:04
pandeiro left18:05
maestrojed FauxFaux Ok, I didn't know this was a bug. I figured git was operating correctly and I didn't know the proper way to do this18:05
cespare left18:06
squiddy left18:06
savid joined18:07
jesseFromYVR joined18:08
savid I was setting up a local repo, and staged my initial files, but didn't commit. I then set up the remote on github, which added a README.md and .gitignore file on the remote. After adding the remote, I accidentally did "git pull" instead of "git push", and my staged files have disappeared. Can I get them back?18:09
dv310p3r left18:09
cespare joined18:10
Geralt joined18:11
Geralt left18:11
Geralt joined18:11
giallu left18:11
felipec joined18:12
tvw joined18:12
dpk joined18:12
marhaban left18:15
guampa left18:15
johnlcox joined18:16
_aeris_ left18:16
wolog left18:17
rcu left18:17
guampa joined18:17
thirdknife left18:18
thirdknife joined18:18
thirdknife left18:18
opus left18:20
dsirijus joined18:21
wolog joined18:21
_aeris_ joined18:22
aspotashev joined18:23
Targen joined18:23
opus joined18:24
marhaban joined18:24
dv310p3r joined18:25
eugen_ joined18:25
rednaks joined18:25
rednaks left18:25
rednaks joined18:25
eugen_Guest7834318:25
flijten joined18:26
shruggar joined18:26
flijten left18:26
Guest78343 left18:26
EugenA joined18:27
notVert left18:27
EugenA if i push to remote repository, i set also the file permission for some files in .git directory. So, other people cannot push anything any more18:27
how can i set different permissions on upload?18:27
uploading from windows with git for windows18:28
danlentz joined18:28
chuckharmston left18:29
intransit left18:29
_aeris_ left18:30
babilen joined18:30
chrisgeorge_ left18:30
_ikke_ EugenA: There are better ways18:31
erichynds left18:31
_aeris_ joined18:31
EugenA _ikke_: i'm listening :-)18:31
_ikke_ EugenA: Using hooks18:32
pre-receive hooks to be more specific18:32
shruggar left18:33
EugenA wow.. i'm not such advanced user yet :-)18:33
dnstbr joined18:33
_ikke_ EugenA: Can you write simple scripts?18:33
EugenA: Do you want to prevent all pushes?18:34
chuckharmston joined18:34
gtrak left18:34
gtrak joined18:35
gtrak left18:35
metcalfc joined18:36
pandeiro_ left18:37
gtrak joined18:37
EugenA _ikke_: i don't want to prevent the pushes, i want to prevent changing file rights18:37
metcalfc left18:37
armenianeagle joined18:37
chuckharmston left18:37
Targen left18:37
_ikke_ EugenA: Oh, I get it18:37
gtrak left18:37
chuckharmston joined18:37
gtrak joined18:38
psoo left18:39
lb joined18:40
marcusbrandt left18:41
Sargun left18:41
metcalfc joined18:41
ezrafree joined18:41
chuckharmston left18:42
psoo joined18:42
patrickgamer1 joined18:43
danlentz left18:43
dreiss joined18:43
dpk left18:43
Eridius joined18:44
dpk joined18:45
pnkbst joined18:46
dv310p3r left18:47
pnkbst I'm trying to cherry-pick from one branch to another. this has always worked before, but now I'm getting the error "fatal: bad object e9867b62e97ee4e55bc0f399076c89f0d14e2c6a"18:48
is there a fix for this or is this a git bug?18:48
rohan32 joined18:49
cmn your repo is busted18:49
pnkbst awesome18:49
nwest left18:49
Sargun joined18:49
indel left18:49
lb \o/18:49
psoo left18:50
cmn your filesystem did something weird, you can use git fsck --no-dangling to see the extent of the damage18:51
nelse__ left18:51
pnkbst it appears to be the server filesystem because I just cloned a new copy of the source and I'm still getting the error O_o18:52
shruggar joined18:52
lindenle_ joined18:53
cmn you can't clone a broken repo18:53
pnkbst joy. looks like it's time to slip schedule :P18:55
psoo joined18:55
jdmax joined18:55
_aeris_ left18:56
jdmax ping git [newbie-question] is it possible to 'git cherry-pick' several commits into one?18:57
ncr100 left18:57
skorgon left18:57
aeris_ joined18:57
patrickgamer1 left18:58
FauxFaux jdmax: cherry-pick with -n. Or learn to use rebase --interactive.18:58
jdmax FauxFaux: thanks18:58
LeMike left19:00
_aeris_- joined19:00
_aeris_- left19:00
Dno joined19:00
LeMike joined19:01
Targen joined19:01
_aeris_- joined19:01
aldodelgado joined19:01
aeris_ left19:02
nitrate__ joined19:02
kevwil left19:02
Bass10 joined19:02
dp joined19:03
Bass10 left19:03
kevwil joined19:03
dhruvasagar left19:04
Bass10 joined19:04
ipalaus left19:04
dp I want to have git store my website, but want to use something like bitbucket or github. Is there a way, from my server, to pull the content directly from the remote, without having to set up a git repo on my server?19:04
reuf left19:04
ipalaus joined19:04
FauxFaux dp: !deploy19:04
gitinfo dp: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html19:04
rath left19:04
ShadeTornado left19:04
ShadeTornado joined19:05
dp thanks19:05
dp left19:05
nitrate_ left19:06
nickpresta joined19:06
NcA^ left19:07
NcA_ joined19:07
jschall_ joined19:07
kvanderw joined19:07
psoo left19:07
takus_ joined19:08
marthinal left19:09
patrickgamer1 joined19:09
chaiz left19:09
rubious left19:09
jschall left19:10
EugenA left19:11
SegFaultAX|work left19:11
takus_ left19:11
The-Compiler joined19:12
chaiz joined19:12
The-Compiler heya. I'd like to delete a branch in a remote repository, how can I do that?19:13
takus joined19:13
_ikke_ The-Compiler: git push --delete <remote> <branch>19:13
ReekenX left19:13
_aeris_- left19:13
The-Compiler _ikke_: perfect, thanks19:14
noscript joined19:14
msmithng joined19:15
C8H10N4O2 how to reset to last commit19:15
i deleted images I didnt want to19:15
bremner C8H10N4O2: !fixup19:15
gitinfo C8H10N4O2: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!19:15
C8H10N4O2 thanks19:15
tvw left19:17
tvw joined19:18
marthinal joined19:18
aeris_ joined19:19
duckx joined19:19
maxandersen i got a remote branch called origin/master and origin/trunk - i've managed to delete it remotely (git push origin :origin/master and git push :origin/trunk) ….but how do I get the local representation deleted so when I do a git push it wont push them too ?19:19
etcetera left19:19
Lgb left19:20
_ikke_ maxandersen: git remote prune origin19:20
maxandersen what does that do ? :)19:21
ah it has a dry run…good ;)19:21
Lgb joined19:21
duckxx left19:21
pandeiro joined19:22
maxandersen _ikke_: doesnt seem to do anything ;(19:22
_ikke_ maxandersen: Because you didn't delete the actual branches19:22
maxandersen _ikke_: they aren't listed remotely anymore.19:23
_ikke_ Hmm, that syntax is off19:23
jesseFromYVR left19:23
maxandersen _ikke_: git branch -d origin/trunk doesn't work19:23
revagomes left19:23
_ikke_ git branch -rd origin/trunk19:23
cmn origin/trunk isn't a branch, it's a remote-tracking branch19:23
les_sylvains left19:24
pnkbst it is possible for only one branch in a git repo to be borked, right?19:24
erichynds joined19:24
revagomes joined19:24
etcetera joined19:24
_ikke_ pnkbst: A branch is only a pointer19:24
cmn it's possible for only some of the objects to be broken19:24
and if those objects are only referenced by one branch, you could say that, maybe19:24
maxandersen yeah so how do i delete this remote tracking branch so it does not keep being pushed :)19:25
hoschi left19:25
dreiss left19:25
cmn that doesn't happen19:25
remote-tracking branches don't get pushed19:26
what is the situation? do you have a branch in a remote that you don't want anymore?19:27
EugenA joined19:27
imMute left19:27
pheaver joined19:27
dnstbr left19:28
skoopty left19:28
skoop joined19:28
aeris_ left19:28
sluther joined19:29
EugenA so, if i clone repository from the server over ssh and then push my changes back to it, the file permissions getting wrong19:29
svetlyak40wt joined19:30
EugenA i had write access for group, after pushing group doesn't have write access any more. So noone can push19:30
FauxFaux Friends don't let friends use --shared; use !gitolite.19:30
gitinfo Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html19:30
aeris_ joined19:30
aeris_ left19:30
_ikke_ FauxFaux: kik19:32
lol19:32
aeris_ joined19:32
dnstbr joined19:32
waynr joined19:33
maxandersen cmn: yes I have a branch in remote that was accidentally pushed.19:33
cmn and is that branch named origin/trunk on the remote or is that just the remote-tracking name?19:33
_ikke_ maxandersen: git branch -rd origin/trunk19:33
maxandersen cmn: i got a git svn fetched repo that is setup to get rebased every 15minutes and then do a git push19:33
EugenA so i cannot manage this only with git?19:34
Mogget left19:34
waynr hi, i am trying to figure out a command that, given two commits, only lists the files that changed between those two commits so i can narrow down a problem introduced by a merge of to really large trees19:34
_ikke_ EugenA: You can, but it is a mess19:34
EugenA ko19:34
ok19:34
Mogget joined19:34
maxandersen _ikke_: i have *no idea* why that worked now….19:35
cmn waynr: git diff --name-only A B19:35
ph^ joined19:35
svetlyak40wt left19:35
_ikke_ maxandersen: Because of the -r19:35
maxandersen _ikke_: but…but…(fail) :)19:36
rubious joined19:36
chrisgeorge joined19:36
svetlyak40wt joined19:36
waynr very nifty, thanks cmn19:36
maxandersen thanks _ikke_19:36
sonic_baker left19:37
jesseFromYVR joined19:37
svetlyak40wt left19:37
svetlyak40wt joined19:37
SegFaultAX|work joined19:37
Dno left19:38
svetlyak40wt left19:39
svetlyak40wt joined19:39
pdtpatrick joined19:39
arietis joined19:39
nitrate__ left19:40
NcA_ left19:41
aselder joined19:41
macabre left19:42
hwrd|work left19:43
svetlyak40wt left19:44
svetlyak40wt_ joined19:44
erichynds left19:44
e66 left19:44
null0 left19:45
nelse_ joined19:45
Sigma left19:45
svetlyak40wt_ left19:45
svetlyak40wt joined19:46
beneggett left19:46
[1]srayner joined19:48
aselder left19:49
srayner left19:49
beneggett joined19:51
macabre joined19:52
john2496 joined19:53
jceb left19:55
EugenA left19:56
sorin joined19:57
hwrd|work joined19:57
MyTallest joined19:58
patrickgamer1 left19:58
savid left19:58
rob_w left20:00
ChanServ set mode: -v20:00
savid joined20:00
thillux_ joined20:01
rubious left20:01
bloony joined20:01
hwrd|work left20:02
marthinal left20:03
jesseFromYVR_ joined20:04
frsk left20:04
thillux left20:04
frsk joined20:06
aldodelgado left20:06
nelse_ left20:06
ThomasLocke left20:07
jesseFromYVR left20:07
jesseFromYVR_jesseFromYVR20:07
skyf_ left20:08
opus left20:08
enigma32 left20:09
dc5ala joined20:10
svetlyak40wt left20:10
dpk left20:10
opus joined20:10
cybersphinx joined20:13
jdunck left20:14
hwrd|work joined20:15
koltroll left20:15
sq-one joined20:16
the_cybersphinx left20:17
jackyyll so i have a branch that i made changes to code with, that eventually got merged into master. my changes were then overwritten by another person and i'm trying to re-merge my branch to redo my changes but it just says "Already up-to-date.". How can i re-merge that branch?20:17
milki jackyyll: what do you mean by "overwritten"20:18
zeen left20:18
maestrojed left20:18
Geralt left20:19
yhager left20:20
cehteh left20:21
jackyyll sorry milki20:22
well20:22
im not really sure what happened20:22
milki git log should tell you20:22
o.O20:22
jackyyll im assuming the person had a conflict, and deleted my changes20:22
cehteh joined20:22
milki ok, so they were undone in subsequent commits20:22
jackyyll yes sorry that's what i mean20:23
milki so you cant merge commits that have been merged before20:23
because those commits are already in the history20:23
jackyyll i see.20:23
Vile joined20:23
milki you can rebase your branch which effectively makes all your commits different commits20:23
macrover joined20:23
milki and then merge the newly rebased branch20:23
AdrienBrault joined20:24
jackyyll so i'd goto my branch for that feature/change... and then type git rebase .. what do i put here?20:24
m1sc probably you should fix the social / git issues first20:24
geekbri left20:24
rubious joined20:25
todd_dsm joined20:25
kcj joined20:27
aantix left20:27
danillonunes left20:27
SegFaultAX|work left20:27
chaiz left20:28
waynr left20:29
deanclkclk joined20:32
svetlyak40wt joined20:32
dv310p3r joined20:32
irqq joined20:32
svetlyak40wt left20:33
noscript left20:33
zastern joined20:33
savid left20:33
rubious left20:34
spaceonline left20:34
ajacom joined20:34
daniel_- joined20:34
chaiz joined20:35
kevwil left20:35
Natureshadow joined20:35
ajacom left20:36
cheriv joined20:37
kevwil joined20:38
fireh joined20:39
fireh left20:39
fireh joined20:39
Element9 left20:39
florin joined20:39
rubious joined20:40
florinGuest7521220:40
vdedik joined20:40
vdedik left20:41
rubious left20:41
samuel02 left20:41
sjohnson joined20:41
sjohnson hi. I noticed git status says, (use "git reset HEAD <file>..." to unstage). what happens if i want to unstage a lot of files? just suck it up and copy and paste the names?20:42
thiago or type a directory name20:42
that unstages all that match20:42
. to unstage absolutely everything20:42
sjohnson what happens to files in the "not staged for commit" section? nothing?20:42
ncr100 joined20:43
kvothe left20:43
[1]srayner left20:43
LittleFool left20:43
thiago sjohnson: same procedure, but it's git checkout20:43
sjohnson i gotta be careful then20:43
thiago git checkout <file>20:43
or git checkout HEAD <file>20:43
sjohnson i don't want them checked out20:44
thiago reset modifies the index, checkout modifies the checkout20:44
sjohnson i want them to do the "nothing" part in the above scenario20:44
torjus_ left20:44
sjohnson sounds like you're saying "nothing will happen"20:44
drupin left20:44
ph^ left20:45
ph^ joined20:45
ajacom joined20:46
danillonunes joined20:46
jbub left20:46
crabmanX joined20:48
AaronMT left20:48
aspotashev left20:49
witul joined20:49
dpk joined20:51
aeris_ left20:51
deanclkclk left20:51
deanclkclk joined20:52
macrover left20:52
cheriv left20:53
_Vi joined20:53
Targen left20:53
aeris_ joined20:53
aeris_ left20:53
cheriv joined20:53
deanclkclk473 joined20:54
aeris_ joined20:54
gitinfo set mode: +v20:56
deanclkclk hello20:56
gitinfo deanclkclk: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.20:56
NfNitLoop I've always been curious -- why is 'git annotate <file>' nearly instant, but 'git gui blame <file>' takes forever to gradually fill in blame annotations?20:56
deanclkclk I am having a problem20:57
marhaban left20:57
deanclkclk http://tinypic.com/r/2iiur6/620:57
why my tree looks like this?20:57
deanclkclk473 left20:57
NfNitLoop deanclkclk: You may find http://eagain.net/articles/git-for-computer-scientists/ useful.20:58
It looks like you've made some local commits that haven't been merged into origin/master yet.20:59
fairly normal.20:59
sjohnson thiago: just to make sure i don't screw this up.. if i do git reset HEAD ., it won't modify / checkout / do anything to the actual contents of the files under the "not staged for commit" section?20:59
freeed left20:59
wonder95 joined20:59
nutron|w joined20:59
john2496 left21:00
deanclkclk NfNitLoop: but, I am trying to resolve conflicts21:00
and I try to merge..I am getting an error21:00
not sure what it is21:00
armenianeagle left21:01
cannonball left21:01
jcao219 joined21:01
jimmyeatworld joined21:01
dimka I have commits `A → B → C → D → E → F` in `br` branch. I wanna merge `br` branch in `master` branch, but with merge history like `A → X → E → F`, where X is B,C,D commits collapsed in one. How can I do that?21:02
bartek left21:02
Zenopus left21:02
sjohnson thiago: you're probably afk. i'll do an md5sum check and zip backup just to make sure21:03
samphippen joined21:04
deanclkclk Some conflicting changes cannot be merged automatically. These changes will have to be merged manually. Some conflicting changes cannot be merged automatically. These changes will have to be merged manually.21:04
robustus joined21:04
dc5ala left21:05
jdmax left21:05
sjohnson thiago: md5sum test shows it worked as expected. thanks again!!21:06
rohan32 left21:06
LucasTizma joined21:06
whitman left21:06
antigremlin joined21:07
NfNitLoop deanclkclk: see "Basic Merge Conflicts" in: http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging21:07
rohan32 joined21:08
tplaner_ left21:08
Guest75212 left21:09
robustus left21:10
wongon left21:10
dzonder left21:11
worstadmin joined21:12
jdmax joined21:12
jdmax left21:12
jdmax joined21:12
SegFaultAX|work joined21:13
aeris_ left21:13
_aeris_ joined21:13
pandeiro left21:14
OOPMan left21:14
linguini joined21:14
mabrand left21:15
_Vi left21:15
irqq left21:15
mabrand joined21:15
_Vi joined21:15
lindenle_ left21:15
jpmelos joined21:15
deanclkclk # On branch master # Your branch and 'origin/master' have diverged, # and have 2 and 9 different commits each, respectively. # # Changes to be committed:21:16
Geralt joined21:16
Geralt left21:16
Geralt joined21:16
deanclkclk ok git status gives me this ^21:16
linguini I have a temporary branch I want to incorporate into another branch, and then throw away the original. I think I can do this through 'git merge', 'git rebase', or 'git cherry-pick'. Is one of these "best"?21:16
deanclkclk # On branch master # Your branch and 'origin/master' have diverged, # and have 2 and 9 different commits each, respectively. # # Changes to be committed:21:16
linguini git branch # master, tmp, topic21:17
thierryp_ left21:17
deanclkclk linguini: I believe what u are looking for is rebase21:17
adam_g left21:17
linguini deanclkclk: Thanks; in that case, I'll continue trying to understand 'man git-rebase.'21:18
gitinfo deanclkclk: the git-rebase manpage is available at http://git-scm.com/docs/git-rebase.html21:18
jcao219 left21:18
jcao219 joined21:18
Ecesis joined21:19
antigremlin left21:19
opus left21:20
reuf joined21:20
jdmax left21:21
lb left21:22
swiety left21:22
devsharpen left21:23
Geralt left21:23
C8H10N4O2 left21:23
SegFaultAX|work left21:23
hellopat_ left21:24
cagedwisdom joined21:24
virako left21:25
aircan joined21:25
Aprogas joined21:27
C8H10N4O2 joined21:29
alexisabril left21:31
_iron left21:31
bubbles10101 left21:31
irqq joined21:31
oddityoverseer joined21:31
bubbles10101 joined21:31
jpmelos left21:33
oddityoverseer left21:33
oddover joined21:33
bubbles1_ joined21:33
dogarrhea2 joined21:34
bubbles10101 left21:34
kevwil left21:34
ajacom left21:34
oddityoverseer joined21:34
bapa left21:35
nelse_ joined21:35
LeMike left21:35
oddover left21:36
gitinfo set mode: +v21:36
oddover joined21:36
gitinfo set mode: +v21:36
oddover left21:36
tvw left21:37
oddityoverseer Hey all. Is there a git command to get all the revision hashes for a remote repo (like ls-remote gives tags)21:37
codeFiend left21:37
milki oddityoverseer: what do you mean by all?21:37
oddityoverseer: every single commit ever made?21:38
oddityoverseer doesn't have to be21:38
could be last 100 or something21:38
or 2021:38
milki you cant do that21:38
deanclkclk left21:38
milki you can only get refs21:38
jkremser left21:38
funnyfingers_ left21:38
milki from those refs, you can get the ref history though after you've fetched them21:38
oddityoverseer ok21:39
funnyfingers joined21:39
rednaks left21:39
hwrd|work left21:40
oddityoverseer left21:40
LeMike1 joined21:40
aristidesfl left21:40
irqq left21:40
sebastorama left21:40
cakehero left21:41
MyTallest left21:41
bapa joined21:41
felipec left21:43
jbrechtel joined21:43
cakehero joined21:45
tinti_ left21:45
jesseFromYVR left21:45
tinti joined21:45
arietis left21:45
jdunck joined21:45
sq-one left21:46
kevwil joined21:47
opus joined21:47
maxandersen besides doing that !big tells you that finds the largest blobs …. is there a way to find out "space stealing" files ? i.e. which directories that are the biggest (i.e. things that over all gets big because of many small/medium files changing often?)21:48
gitinfo [!large_files] Git isn't yet great at large files(larger than RAM). Look at !annex for solutions. You can find them (after gc) with: git verify-pack -v .git/objects/pack/pack-*.idx | grep blob | sort -k3nr | head | while read s x b x; do git rev-list --all --objects | grep $s | awk '{print "'"$b"'",$0;}'; done21:48
theshadow joined21:48
gitinfo set mode: +v21:48
rohan32rohan32|afk21:51
_huoxito joined21:52
ajw0100 left21:52
hwrd|work joined21:53
talha left21:53
daniel_- left21:55
dv310p3r left21:56
talexb left21:56
bapa left21:57
hays_ joined21:58
felipec_ joined21:58
felipec_felipec21:59
PatF joined22:00
dv310p3r joined22:01
jperry2_ left22:01
alunduil left22:02
tinti left22:02
psoo joined22:02
bunni joined22:02
maxandersen anyway to git grep on filenames in the history ? i.e. git grep for any *.class files accidentally committed?22:03
Destos left22:03
tinti joined22:03
kermit left22:04
wereHamster maxandersen: git log -- '*.class'22:04
PatF left22:04
maxandersen oh...22:04
hmm … donest seem to work.22:05
kermit joined22:05
daniel_- joined22:05
RaceCondition left22:05
maxandersen wereHamster: i.e. git log — '*.jar' doesnt work and i know for sure it exists in this repo22:05
jbrechtel left22:05
mvensky joined22:06
felipec maxandersen: double dash: - -22:06
maxandersen yeah, its there --22:07
no result22:07
felipec if you want to search in all the branches, then: git log --all -- '*.jar'22:07
maxandersen nada22:07
ShadeTornado left22:07
maxandersen '*.html' hits nothing either22:08
and i for sure know they are there ;)22:08
cmn rae you using an old git vresion?22:08
wereHamster maxandersen: how about git log --name-status | grep 'jar$' ? Does it produce any output?22:08
bunni left22:08
maxandersen yup plenty ;)22:08
felipec maxandersen: I wouldn't be so sure22:09
psoo left22:09
maxandersen git version 1.7.4.422:09
scarlisle left22:09
cmn that'll be why22:09
maxandersen is that old ? :)22:09
hwrd|work left22:09
cmn magic pathspecs came in later22:09
wereHamster maxandersen: Date: Wed Apr 6 10:50:06 2011 -070022:09
AaronMT joined22:09
maxandersen damn apple ;)22:10
or is it macports…i forget ;)22:10
cmn don't use that if they provide such old versions22:11
homebrew has newer IIRC, and there are prebuilt packages22:11
bapa joined22:12
tinti left22:12
tinti_ joined22:12
tvw joined22:12
derpops left22:13
jperry2_ joined22:13
Aprogas I get repeatable "early EOF" and "unpack-objects abnormal exit" when doing git push from Windows (1.7.11.msysgit.0) to FreeBSD (1.7.11.1) over ssh. http://pastebin.com/5r13iujw22:14
But when I am on my home network it seems to not occur.22:14
arietis joined22:15
_Vi left22:15
cmn have you tried doing an scp of a file of comparable size between those two machines?22:15
martinjlowm left22:16
TeckniX left22:16
cyphase left22:16
_Vi joined22:16
TeckniX joined22:17
sgambino left22:17
sh4rm4 left22:17
pantsman left22:18
Milossh left22:18
revagomes left22:18
sh4rm4 joined22:19
jperry2_ left22:19
runvnc joined22:19
runvnc Can 'git remote rm origin' delete files? I spent like 2 hours working on this, it was perfect, then I started messing with git22:20
Aprogas Using pscp.exe I get "Server sent command exit status 128", I will investigate this.22:20
runvnc now all the files are gone except the folder that was in .gitignore22:20
opus left22:20
runvnc cant figure out how to just get my files back22:20
jesseFromYVR joined22:20
dangerousdave left22:21
cmn git remote doesn't touch your worktree22:21
if you haven't committed yet, git checkout -f will put the files back where they belong22:21
arietis left22:21
runvnc cmn thanks22:22
f u [22:23
I mean darn double darn. what the heck did I do22:23
https://gist.github.com/382370622:23
maybe I should rm the new origin22:24
ncd|leeN left22:24
AdrienBrault left22:25
Dreamer3 left22:25
macrover joined22:26
gusnan left22:26
runvnc maybe I can get my files out of .git/objects22:28
Aprogas Using my own user for the pscp.exe test does transfer the file, using git as user does not.22:28
tvw left22:28
tvw joined22:29
bapa left22:29
cmn runvnc: !fixup22:29
gitinfo runvnc: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!22:29
AdrienBrault joined22:29
dnstbr left22:29
runvnc thanks22:29
crabmanX left22:30
armenianeagle joined22:30
shruggar left22:31
macrover left22:32
duckx left22:33
Dreamer3 joined22:34
bubbles1_ left22:35
runvnc I have dangling blobs22:35
bubbles10101 joined22:35
aselder joined22:36
runvnc I see my files! yay. I am crying a little22:36
rubious joined22:36
jesseFromYVR_ joined22:37
milki o noes!22:37
o22:37
you want the dangling blobs22:37
runvnc no they are tears of joy/relief22:37
milki yay22:38
runvnc I think I am going to recover the files with this fsck thing and start over with a new working dir and type the right things into git22:38
jesseFromYVR left22:38
jesseFromYVR_jesseFromYVR22:38
hwrd|work joined22:39
Aprogas cmn: My user git has git-core/git-shell as shell. Do I need to put /usr/bin/scp in ~/git-shell-commands to use scp?22:40
hwrd|work left22:40
ncr100 left22:40
runvnc thanks you cmn22:41
or thank you even22:41
opus joined22:42
hwrd|work joined22:44
aselder left22:45
jimmyeatworld left22:45
chrisgeorge left22:46
macabre left22:46
cyphase joined22:46
patrick85 left22:46
mabrand left22:49
tvw left22:50
TheJH left22:51
Hasbro joined22:52
zastern left22:56
Davey joined22:57
simesy_work left22:57
simesy_work joined22:58
AdrienBrault left22:59
SirCmpwn left22:59
kukks left23:00
kukks joined23:00
kukks left23:00
kukks joined23:00
FrenkyNet left23:00
kevwil left23:01
kukks left23:01
Sky[x] left23:01
trungqtran left23:01
frem_ left23:02
nutron|w left23:04
simesy_work left23:05
quazimodo left23:06
simesy_work joined23:06
BSaboia joined23:06
SirCmpwn__SirCmpwn23:09
AaronMT left23:10
simesy_work left23:10
Destos joined23:10
simesy_work joined23:11
tonyj left23:12
tinti_ left23:12
sorin left23:12
aristidesfl joined23:13
bartek joined23:15
Destos left23:16
KrizOne left23:16
nickpresta left23:16
eijk_ left23:17
Davey left23:17
TeckniXTeckniX_AFK23:20
dougsland left23:21
dougsland joined23:22
davidban_ joined23:22
tonyj joined23:22
retro|cz joined23:22
notfunk joined23:24
alunduil joined23:25
itatitat joined23:26
john_anderson left23:27
_Vi left23:27
_Vi joined23:28
davidban_ left23:29
hwrd|work left23:29
roland_ left23:30
Chillance left23:31
marhaban joined23:31
gavin_huang joined23:32
boombatower left23:32
the_cybersphinx joined23:33
samphippen left23:34
diegoviola joined23:35
episage left23:35
cybersphinx left23:36
marhaban left23:37
ajw0100 joined23:37
gavin_huang left23:37
hwrd|work joined23:37
rchavik joined23:37
rchavik left23:37
rchavik joined23:37
roland joined23:38
etcetera left23:40
thiago left23:40
Mannequin joined23:41
dv310p3r left23:42
danillonunes left23:44
jokajak` joined23:46
cyphase left23:47
jokajak left23:47
ikolev joined23:48
gavin_huang joined23:48
tchan left23:49
Aprogas I was able to resolve my git push error by using the ssh.exe provided by git, instead of plink.exe from putty23:49
jokajak` left23:50
jokajak joined23:51
retro|cz Hello. Is there any chance to format diff in git diff style?23:51
simesy_work left23:51
milki im seen a --git flag in diff before23:52
ive*23:52
etcetera joined23:52
simesy_work joined23:52
Davey joined23:52
cyphase joined23:53
simesy_work left23:53
simesy_work joined23:53
les_sylvains joined23:55
opus left23:55
flavius left23:57
bigkm joined23:59

Logs Search ←Prev date Next date→ Channels Documentation