IRCloggy #git 2014-03-17

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.

2014-03-17

l0cust joined00:00
bbloom left00:00
Sonderblade left00:00
eletuchy joined00:01
wrouesnel1 left00:01
hakunin joined00:01
ilmgb joined00:01
SocalNick joined00:02
hakunin given a specific merge conflict, is there a way to find a commit in "theirs" that introduced the conflict?00:02
RichiH hakunin: !blame00:03
!blame00:03
Geo ok, that got me connected00:03
RichiH scratches head00:03
Geo thanks milki00:03
neo1691 joined00:04
johnkevinmbasco joined00:04
offby1 rubs chin00:04
RichiH hakunin: man git blame00:04
gitinfo hakunin: the git-blame manpage is available at http://jk.gs/git-blame.html00:04
hakunin RichiH: i gotcha, i forgot that blame shows me the sha of both conflict sides00:04
RichiH hakunin: np00:04
offby1 I've never run 'git blame' on a conflicted file.00:04
never occurred to me.00:04
bwreilly left00:04
RichiH offby1: i never tried it myself00:04
but i am wondering if it works00:05
if not, hakunin can simply blame the remote branch00:05
tmcmahon joined00:05
RichiH hakunin: does it work?00:05
hakunin RichiH: checking00:05
kyb3r_ left00:05
eletuchy left00:05
kyb3r_ joined00:06
ilmgb left00:06
trewe left00:06
hakunin RichiH: yeah, looks legit, got the commit i was looking for00:06
RichiH good good00:06
hakunin RichiH: commit msg sucks though, but that's another story : )00:06
RichiH well, all the more reason to actually blame ;)00:07
hakunin indeed00:07
tmcmahon left00:07
codeFiend left00:07
kcj left00:08
Exancillatus joined00:08
kyb3r_ left00:08
laserbeam joined00:09
kyb3r_ joined00:09
sgen left00:10
noxd_ left00:10
sgen joined00:11
Exancillatus left00:13
johnkevinmbasco left00:13
laserbeam left00:13
MattStra_ joined00:13
mikepack left00:14
mikepack joined00:15
gordian joined00:15
amcsi left00:16
LeMike how do i get the current working dir when I am within an alias?00:17
milki within an alias?00:18
sohail joined00:18
eletuchy_ joined00:18
Zifre joined00:18
xnrando-o00:19
mikepack left00:19
zajn left00:19
Kayra joined00:21
lolmaus_ left00:23
godgodgodgo left00:24
rl_ left00:25
Kayra left00:26
Goplat joined00:26
o-o left00:27
xnrand joined00:27
MattMaker joined00:27
MattStra_ left00:29
Gavrisimo joined00:29
obert left00:30
gordian left00:31
zajn joined00:32
albioner left00:32
kotopies left00:33
Gavrisimo left00:34
rchavik joined00:34
pfg joined00:36
mellernoia left00:37
mellernoia joined00:38
blackmesa left00:39
WXZ joined00:40
SHyx0rmZ left00:40
glebihan left00:40
thalisson_ joined00:43
glebihan joined00:44
simesy left00:45
n-st left00:45
eletuchy_ left00:45
SocalNick left00:45
eletuchy joined00:45
glebihan left00:45
simesy joined00:46
Brando753 left00:46
glebihan joined00:46
codeFiend joined00:46
eletuchy_ joined00:47
eletuchy left00:47
eletuchy_ left00:47
glebihan left00:48
tomengland left00:48
Brando753 joined00:48
eletuchy joined00:48
AccessibleWeb left00:48
glebihan joined00:48
tomengland joined00:48
cads left00:49
lolmaus joined00:50
l0cust left00:50
boombatower left00:51
arif-ali left00:51
codeFiend left00:51
tomengland left00:53
glebihan left00:53
AccessibleWeb joined00:54
yhager_ left00:59
Sabbath joined01:01
hkj left01:01
ilmgb joined01:02
lasers joined01:02
codeFiend joined01:02
dort left01:06
ni__ joined01:06
ilmgb left01:07
AccessibleWeb left01:07
hkj joined01:07
neo1691 left01:07
ArcTanSusan joined01:08
jrahmy left01:08
harish left01:09
Exancillatus joined01:09
robustus left01:09
laserbeam joined01:09
weiyang joined01:09
Balliad left01:09
robustus joined01:11
ni__ left01:12
jrahmy joined01:13
anry left01:13
Exancillatus left01:13
hyperair joined01:13
sdouglas joined01:13
laserbeam left01:14
SocalNick joined01:15
Kayra joined01:19
Gooder joined01:19
lresende joined01:20
lresende left01:20
mellernoia left01:20
arif-ali joined01:20
ArcTanSusan left01:20
dog-food_ left01:20
mellernoia joined01:21
yhager joined01:21
gnugnu9 joined01:21
gnugnu9_ joined01:21
gnugnu9_ left01:21
kyb3r_ left01:23
kyb3r_ joined01:23
Kayra left01:24
veebers left01:24
veebers joined01:24
kyb3r_ left01:24
isbadawi left01:25
kyb3r_ joined01:25
dccc joined01:25
kyb3r_ left01:26
kyb3r_ joined01:27
koell joined01:27
sgen left01:30
Gavrisimo joined01:30
kyb3r_ left01:30
kyb3r_ joined01:30
kyb3r_ left01:31
ecualombian left01:31
kyb3r_ joined01:32
veebers left01:32
scarabx joined01:32
akim_ left01:33
veebers joined01:34
ezekielnoob joined01:34
Gavrisimo left01:34
yhager left01:35
devoldmx joined01:36
AccessibleWeb joined01:38
mikepack joined01:39
mikepack left01:39
mikepack joined01:40
_iron left01:42
Xiti left01:42
AccessibleWeb left01:42
herdingcat left01:43
Foxhoundz good god git is awesome01:44
mikepack left01:44
Geo left01:44
Spyro left01:44
bluesm left01:45
griotspeak joined01:45
francisfish joined01:45
Spyro joined01:46
Spyro left01:47
LeMike left01:47
Spyro joined01:49
tokik joined01:49
mizu_no_oto joined01:50
francisfish left01:50
naught101 joined01:50
kruxoman joined01:51
naught101 Is it possible to rebase, taking account of a parent directory rename in the branch you're rebasing onto?01:51
kruxoman I need some help related to git. I have some static images for my project but don't know where to place them. Any ideas?01:51
naught101 kruxoman: what's the problem? Just put them where ever it makes sense...01:52
static images aren't any different to text files, if it's just a question of storage01:52
sceox left01:53
kruxoman naught101: The problem is when someone else clones the project. There are a bunch of images missing. Should I include the in my repo?01:53
naught101 kruxoman: of course, if you want them to be cloned with the rest of the repo.01:54
daito joined01:54
scelis left01:56
kruxoman naught101: As I learnt I should try to only version control code. Is the rule to include everything that is needed for the project to "work" when cloned?01:57
shruggar left01:58
naught101 kruxoman: You shouldn't include any files (text or binary) that are *generated* by the project (because they're unneccesary, and make repo maintenance annoying). But there's no problem including images in general01:59
mikecmpbll left01:59
jday_ left02:00
lamont joined02:00
Xiti joined02:00
WaReZ left02:01
sohail left02:02
tho left02:02
ilmgb joined02:03
mountHouli joined02:04
dvide joined02:04
arif-ali left02:04
sceox joined02:05
Vampire0_ joined02:05
ilmgb left02:08
thalisson_ left02:08
Vampire0 left02:08
mountHouli left02:09
luc__ joined02:09
Exancillatus joined02:10
laserbeam joined02:10
woollyams joined02:11
gnugnu9 left02:12
ArcTanSusan joined02:12
flazz_goneflazz02:12
oojacoboo joined02:13
Exancillatus left02:14
laserbeam left02:15
purpleidea joined02:17
Kayra joined02:19
gitinfo set mode: +v02:20
purpleidea hi there, i'm trying to merge my rhs branch of https://github.com/purpleidea/puppet-gluster onto master... i'd like master to see each individual commit that's seen in the rhs branch. i'm getting stuck with what's correct. merge doesn't keep each commit separate, and rebasing the rhs branch isn't working. advice?02:20
MoogleCharm joined02:21
skorgon purpleidea: git checkout master && git merge rhs02:21
purpleidea skorgon: this glues it all together into one commit...02:22
skorgon purpleidea: even rebasing should keep all commits, unless a change is already present in master02:22
purpleidea: no it doesn't02:22
purpleidea skorgon: there is one change in master that the rhs branch doesn't have...02:22
skorgon unless you specify something like --squash with the merge02:22
TheMadMechanic joined02:23
diegoviola joined02:23
purpleidea skorgon: oh. wait02:24
Kayra left02:24
purpleidea skorgon: i think i misunderstood something... the git merge rhs worked... what i don't understand is why it needed a new commit message "Merge branch 'rhs'" ?02:24
(or what is attached to that commit message?)02:25
skorgon because that is where the two branches come together.02:25
purpleidea skorgon: so it's a commit, but there are zero code changes associated with it? (the previous commits are the changes made by the branch...)02:26
skorgon well it merges the chagnes from both branches02:26
which can even conflict02:26
so there are likely some changes02:27
purpleidea skorgon: what would the command have been if i wanted it to look as if i was just coding on master all along, even though it was in rhs branch?02:27
skorgon you could have rebased rhs on top of master02:27
and then merge rhs, but after rebase it should simply fast-forward02:27
purpleidea skorgon: ! right... i tried this, and i couldn't get it to work ...02:28
skorgon or you could have cherry-picked the branches from rhs to master02:28
purpleidea ^^ your comment is what i was trying to do, but i couldn't get the rebase to work...02:28
Sabbath left02:29
skorgon unless you merged something, it should simply have been git checkout rhs && git rebase master02:29
purpleidea skorgon: what happens if you: git clone https://github.com/purpleidea/puppet-gluster && cd puppet-gluster && git checkout rhs && git rebase -i master ?02:29
skorgon i guess it'l rebase - interactively - onto master02:30
Gavrisimo joined02:31
purpleidea skorgon: nope: http://paste.fedoraproject.org/85951/0234731302:31
^^^ and i'd like to know how to solve this please02:31
skorgon well, the merge is conflicting, you have to resolve the conflict and move on afterwards02:32
purpleidea skorgon: :P if i knew how to do that i wouldn't be asking here...02:32
Sabbath joined02:32
skorgon run git status to see what is conflicting, edit/resolve the conflicts, git add the changes and to git rebase --continue02:32
sdouglas_ joined02:32
skorgon s/to/do02:32
veebers left02:32
purpleidea skorgon: yes, normally i know how to do this, but its a conflict with the submodule :P02:33
veebers joined02:33
sdouglas left02:34
mmoretti joined02:35
Gavrisimo left02:36
skorgon well, i never had a submpodule conflicting, but i assume it shouldn't be much different than anything else02:36
do you want master's or rhs's or a completely different commit at the submodule?02:37
MoogleCharm left02:37
skorgon most likely git checkout --theirs/--ours resolves it, you just have to figure out who's right about the submodule02:37
hobodave joined02:37
purpleidea skorgon: it doesn't look like a conflict to me!02:38
hobodave left02:38
AccessibleWeb joined02:39
skorgon what is git diff saying?02:39
boombatower joined02:39
purpleidea skorgon: i posted the specific example so anyone could try and explain to me what's going on... if you have a sec to try it, that's great, i appreciate it, other nm thanks anyways02:39
Noldorin left02:40
zajn left02:41
okias left02:42
talios joined02:43
talios left02:43
talios joined02:43
AccessibleWeb left02:43
lindenle left02:44
yhager joined02:44
jenia joined02:45
griotspeak left02:46
Ziber left02:46
jenia hello02:46
mamarley left02:46
SamB left02:46
danmackay left02:46
jenia how do i completly discard one file02:46
lithiumjake left02:46
jenia its giving me problems in terms of conflicts02:46
purpleidea jenia: git rm <file> ?02:47
albioner joined02:47
jenia no. i want it to be replaced by the file in the db. so that the merge conflict be resolved02:47
purpleidea, @02:47
purpleidea jenia: git checkout <file> ?02:47
jenia thanks02:47
CussBot left02:48
purpleidea jenia: my pleasure02:48
CussBot joined02:48
krkinikini02:48
glebihan joined02:49
sohail joined02:49
mmoretti left02:50
CussBot left02:52
amikiri left02:53
phuh left02:54
phuh joined02:54
kukks left02:55
sdouglas_ left02:55
isbadawi joined02:56
skorgon purpleidea: interesting problem, and i don't know how this is supposed to work.02:57
i had expected that i could use git checkout --ours/theirs on the conflicting path, but that doesn't seem to do anything02:57
harish joined02:58
mamarley joined02:59
bbloom joined02:59
purpleidea skorgon: no worries. thanks anyways02:59
kukks joined02:59
purpleidea @fileabug02:59
skorgon purpleidea: ha, it works if you have the submodule initialized and updated03:00
kukks left03:00
hwrdprkns joined03:00
purpleidea nope03:00
isbadawi left03:00
skorgon it does here03:00
purpleidea i just updated the branches with a fix...03:01
BJfreeman left03:01
daito left03:02
tureba left03:03
isbadawi joined03:03
HelloComputer15 joined03:04
hwrdprkns left03:05
hwrdprkns joined03:05
devoldmx left03:05
daito joined03:06
jrahmy left03:06
hwrdprkns left03:06
jrahmy joined03:07
moondoggy joined03:08
Exancillatus joined03:10
yhager left03:10
laserbeam joined03:11
CheckDavid left03:12
thrakcat1ack left03:12
thrakcattack left03:13
MoogleCharm joined03:13
amskah joined03:13
scarabx left03:14
thrakcattack joined03:14
Exancillatus left03:15
thrakcat1ack joined03:15
laserbeam left03:16
JerryT left03:16
SamB joined03:16
danmackay joined03:18
Kayra joined03:19
shingshang joined03:19
Sabbath left03:20
Ziber joined03:20
njection joined03:21
oojacoboo left03:21
sdouglas joined03:22
jon-mac left03:22
Sabbath joined03:23
Kayra left03:24
mellernoia left03:25
nottombrown joined03:25
madewokherd left03:30
Gavrisimo joined03:31
Vinnie_win If I issue 'git reset HEAD^' how can I re-commit after adding to the index with the same commit message but without having to re-enter it?03:33
makubi_ left03:33
ilmgb joined03:33
boombatower left03:33
Cathy Vinnie_win, you can use git commit -C and specify the hash of the commit you stripped off03:35
but that's not the best way to do this03:35
instead, don't use git reset HEAD^, and just make further changes to the index03:35
then use git commit --amend --no-edit03:35
lithiumjake joined03:35
veebers left03:35
reecefowell left03:36
Vinnie_win So here's my use case, I have a commit I want to edit and the change I want to make is to remove a file from the change set , amend the commit, and then recommit that file in the subsequence commit (i.e. split the file out)03:36
Gavrisimo left03:36
Cathy so, use `git rm ...`, then `git commit --amend --no-edit`03:36
then commit the impugned file in the next commit03:36
Vinnie_win git rm only unstages it?03:36
Cathy there is a flag to it to only unstage it03:37
reecefowell joined03:37
Vinnie_win git rm is not something I use often ^_^03:37
Cathy `git rm --cached` apparently03:37
Vinnie_win yep, looking at it now03:37
makubi joined03:37
Vinnie_win what's the difference between --no-edit and -C HEAD03:38
Cathy there isn't one03:38
ilmgb left03:38
Vinnie_win noice...thanks, this is going to tidy up what was previously a painful workflow.03:38
AccessibleWeb joined03:40
m0ltar joined03:41
yhager joined03:41
TheMadMechanic left03:43
oojacoboo joined03:44
AccessibleWeb left03:44
[1]JPeterson left03:45
veebers joined03:45
francisfish joined03:46
BeardlessOne left03:47
snuffeluffegus left03:47
veebers left03:49
dik_dak joined03:49
Wulf left03:49
mizu_no_oto left03:50
francisfish left03:51
Bass10 left03:51
Wulf joined03:51
yhager left03:52
lithiumjake left03:55
oojacoboo left03:55
albioner left03:56
boombatower joined03:59
nottombrown left03:59
bitkiller left04:01
sohail left04:06
swollenmember joined04:07
arand__ left04:08
Exancillatus joined04:11
kcj joined04:11
laserbeam joined04:12
shoerain left04:12
oodavid joined04:12
KeridosKeridos_off04:13
CKyle left04:13
john2x joined04:14
Exancillatus left04:16
laserbeam left04:16
pheaver joined04:17
bitkiller joined04:17
dog-food joined04:17
daito left04:18
bartman`` left04:19
Lunatrius left04:20
koda left04:20
jcvfen_ left04:20
bitkiller left04:22
Sabbath left04:22
Sabbath joined04:23
twb joined04:23
tomengland joined04:23
twb In ~/.gitconfig I have [interactive] \n singlekey = true04:23
And it works on my old ubuntu 10.04 VM but it isn't working in my current VMs.04:24
Chryyz joined04:24
twb The manpage suggests it'll silently turn off that feature if it decides it can't do it -- is that what's happening to me?04:24
"Note that this setting is silently ignored if portable keystroke input is not available."04:25
Is that a perl module I don't have or something?04:25
dik_dak left04:26
luc___ joined04:28
luc__ left04:28
asakura0 left04:28
eletuchy_ joined04:30
pfg left04:31
Gavrisimo joined04:32
pfg joined04:33
cads joined04:33
talios left04:33
ilmgb joined04:34
eletuchy left04:34
veebers joined04:35
Gavrisimo left04:37
iamntz joined04:37
ilmgb left04:38
kytwb joined04:39
tomengland left04:39
hobodave joined04:39
watabou left04:40
AccessibleWeb joined04:40
hahuang65 joined04:41
flazzflazz_gone04:44
jab416171 joined04:44
AccessibleWeb left04:45
watabou joined04:45
zumba_ad_ joined04:46
paolooo joined04:49
zumba_addict left04:49
Sabbath left04:50
hahuang65 left04:50
gerard0 left04:50
gerard0 joined04:51
pikaren joined04:51
simesy left04:52
simesy joined04:52
saurabh joined04:53
saurabhGuest1365204:53
eletuchy joined04:56
eletuchy_ left04:58
m0ltar left04:59
yacks joined05:00
hobodave left05:02
zumba_ad_ left05:03
yhager joined05:03
Tommy[D]_ joined05:04
Sabbath joined05:04
Tommy[D] left05:07
dualmal joined05:08
zumba_addict joined05:09
pfg left05:09
hwrdprkns joined05:09
chris_th_ left05:10
swollenmember left05:10
nottombrown joined05:10
pheaver left05:11
cilly left05:12
Exancillatus joined05:12
laserbeam joined05:12
zoso joined05:13
hwrdprkns left05:13
veebers left05:13
naught101 left05:14
cilly joined05:14
nottombrown left05:14
t-mart joined05:15
Exancillatus left05:16
laserbeam left05:17
nfroidure left05:19
Kayra joined05:19
hwrdprkns joined05:23
Kayra left05:24
daito joined05:26
tomengland joined05:26
hwrdprkns left05:26
_lynX left05:30
dog-food left05:30
nicedice left05:32
ehmatthes joined05:33
isbadawi left05:33
Gavrisimo joined05:33
ghostlines left05:34
ilmgb joined05:34
isbadawi joined05:36
Xethron joined05:37
DrNick3 left05:37
Gavrisimo left05:38
zajn joined05:38
ilmgb left05:39
khmarbaise joined05:39
hkj left05:40
isbadawi left05:40
khmarbaise left05:40
AccessibleWeb joined05:41
hakunin left05:42
khmarbaise joined05:43
john2x left05:44
koell left05:44
john2x joined05:44
laserbeam joined05:45
dreiss joined05:45
AccessibleWeb left05:46
SorenHolm joined05:46
illogik joined05:47
francisfish joined05:47
njection_ joined05:48
khmarbaise left05:48
JerryT joined05:48
torste left05:48
JerryT left05:49
JerryT joined05:49
mage_ left05:49
SorenHolm left05:50
njection left05:50
MoogleCharm left05:50
deens joined05:51
DrNick3 joined05:51
illogik left05:51
francisfish left05:52
dualmal left05:52
kytwb left05:52
koell joined05:53
mage_ joined05:53
torste joined05:54
obert joined05:57
pikaren is there any handy tool to monitor the current git repostitory state in terminal05:58
hkj joined05:58
jusLookinAroun joined05:58
jusLookinAroun left05:59
dtrott joined06:01
ferreum joined06:03
ferreum left06:03
deens left06:03
isbadawi joined06:04
lavong left06:05
isbadawi1 joined06:05
elighcash left06:05
isbadawi left06:06
twb pikaren: put it in your shell prompt06:07
elighcash joined06:07
pikaren twb: mine shows the current branch06:08
twb So what is problem?06:08
pikaren but i want one that show the log and status in a split in a nice format06:08
im trying something like watch 'git status && git log'06:08
jstimm joined06:09
twb you could put it in postcommand06:09
Er, $PROMPT_COMMAND in bash06:09
isbadawi1 left06:10
deens joined06:10
marthinal joined06:11
el3ctron_ left06:11
glebihan left06:12
glebihan joined06:12
glebihan left06:12
wbill joined06:13
Exancillatus joined06:13
JPeterson joined06:13
glebihan joined06:13
sdouglas left06:13
sdouglas joined06:13
jalmeida left06:15
lifelike joined06:16
Zifre left06:16
Exancillatus left06:17
glebihan left06:17
sdouglas left06:18
glebihan joined06:18
lite_ joined06:18
yacks left06:18
Kayra joined06:19
deens_ joined06:20
deens left06:22
Kayra left06:24
glebm left06:24
freestyl3r joined06:24
tpollard left06:24
takamichi joined06:24
snql|bad_interne joined06:25
mattcen twb: sudo aptitude install libterm-readkey-perl06:25
glebm joined06:25
koell left06:25
twb mattcen: thanks!06:26
el3ctron joined06:26
twb adds to magical reminder notes06:26
thiago left06:26
jargon joined06:27
BBBThunda left06:27
thiago joined06:29
prophile joined06:29
glebm left06:29
Joost left06:29
glebm joined06:30
Joost joined06:32
Gavrisimo joined06:34
jceb joined06:34
nnyk_ joined06:34
dreiss left06:35
ilmgb joined06:35
ThomasLocke joined06:37
Gavrisimo left06:38
Raging_Hog joined06:38
makotosasaki joined06:39
elighcash left06:39
ilmgb left06:40
zequence joined06:40
AccessibleWeb joined06:42
yacks joined06:43
AccessibleWeb left06:43
AccessibleWeb joined06:44
oodavid left06:44
raj__ joined06:45
i0nutzb joined06:45
darnir joined06:46
iamntz left06:46
lindenle joined06:46
_tpavel joined06:47
grumbel_ left06:47
BiggFREE joined06:47
boombatower left06:47
jrahmy left06:48
Praise left06:48
AccessibleWeb left06:48
kbart joined06:49
Praise joined06:49
oodavid joined06:49
jrahmy joined06:50
darnir left06:50
darnir joined06:50
dzho left06:52
echolon left06:53
dzho joined06:53
pantsman joined06:58
Xethron left07:00
tomengland left07:00
tomengland joined07:02
Gavrisimo joined07:03
jceb left07:03
ayaz joined07:03
jceb joined07:03
mikecmpbll joined07:03
nilg joined07:04
bgerber left07:04
snql joined07:05
ilmgb joined07:06
isbadawi joined07:06
stodan joined07:08
snql|bad_interne left07:08
xlinkz0 joined07:09
arand__ joined07:10
starkhalo left07:10
isbadawi left07:11
asQuirreL joined07:11
lindenle left07:11
jefflyne left07:13
Exancillatus joined07:13
mikecmpbll left07:14
jefflyne joined07:14
hkj left07:15
tomengland left07:16
el3ctron left07:17
bgerber joined07:17
tomengland joined07:17
Exancillatus left07:18
deens_ left07:18
ghostlines joined07:18
ghostlines left07:19
ghostlines joined07:19
Kayra joined07:19
asQuirreL left07:19
godgodgodgo joined07:20
thiago left07:20
fr33 joined07:21
HelloShitty left07:22
tomengland left07:22
pantsman left07:22
Goplat left07:23
roelmonnens joined07:23
Kayra left07:24
xjiujiu joined07:24
freimatz joined07:26
jceb left07:30
WaReZ joined07:30
jceb joined07:30
SorenHolm joined07:32
ghostlines left07:33
mikecmpbll joined07:33
Gavrisimo left07:36
naught101 joined07:36
Gavrisimo joined07:37
rob_w joined07:40
Raging_Hog left07:40
Nizumzen joined07:40
Gizburdt joined07:41
Raging_Hog joined07:41
kerrick left07:42
nilg` joined07:43
mikecmpbll left07:43
mishok13 left07:43
oodavid left07:44
ArcTanSusan left07:44
AccessibleWeb joined07:45
sdouglas joined07:45
ehmatthes left07:46
shruggar joined07:47
jceb left07:48
francisfish joined07:48
fr33 left07:48
j0ran joined07:48
nnyk_ left07:48
jrahmy left07:49
HelperW joined07:49
AccessibleWeb left07:49
jceb joined07:49
sdouglas left07:49
Gamecubic left07:51
jrahmy joined07:51
ghostlines joined07:51
ghostlines left07:51
tomengland joined07:51
ghostlines joined07:51
rath joined07:51
francisfish left07:52
daito left07:52
daito joined07:53
andr3a joined07:53
HelperW are there people willing to help help out with this one? https://docs.google.com/forms/d/1VcD1Q8rD13BnlIQtN0FjVhrVEE9oOPH_9kCQurYUOl4/edit07:54
( Small poll with 6 questions about programming )07:54
Samual_ left07:55
_ikke_ built-in webserver...07:55
HelperW yes?07:56
raj__ left07:56
jceb left07:56
johnkevinmbasco joined07:56
infynyxx joined07:56
johnkevinmbasco left07:56
_ikke_ That's a bit unclear07:56
jceb joined07:56
daito left07:57
HelperW Like the built-in PHP webserver from your computer as in php -S localhost:8000 ( So not using a package like mamp/lamp/,... )07:57
_ikke_ No computers come with webservers built-in07:57
HelperW I mean using other apps for doing it than the CLI07:57
Gonzo89 joined07:58
deens joined07:58
tomengland left07:58
tomengland joined07:59
deens left07:59
blackmesa joined07:59
twb If you have PHP on your computer, you have bigger problems08:00
cff joined08:00
Xethron joined08:00
Misan joined08:01
cyphase left08:01
jceb left08:01
HelperW Why bigger problems?08:02
LeMike joined08:02
_ikke_ "PHP webserver of your computer" does not really make sense to me08:03
You should probably rephrase that to get more accurate answers08:03
tomengland left08:03
pduin joined08:04
Sabbath left08:05
HelperW How would I make up my question more clear?08:05
amskah left08:05
AccessibleWeb joined08:06
mikecmpbll joined08:06
jnavila joined08:06
mishok13 joined08:07
isbadawi joined08:07
deens joined08:07
daito joined08:07
_ikke_ What is it that you actually want to know? Why are you asking this question?08:07
Sabbath joined08:07
twb And it sounds pretty offtopic here08:08
raj__ joined08:08
iwantoski joined08:08
isbadawi left08:08
isbadawi joined08:09
godgodgodgo left08:10
AccessibleWeb left08:10
SilverBln joined08:11
z8z joined08:11
deens left08:12
tomengland joined08:12
isbadawi left08:13
rethus joined08:13
xificurC joined08:13
hkon_ joined08:14
HelperW Just curious. :)08:14
leakybuckit joined08:14
HelperW I would like to know if people are using a lot tools like mamp or wamp... the way they are developing locally08:14
glebm_ joined08:14
glebm left08:15
_ikke_ Mostly depends on the OS I guess08:16
Windows users would more use those packages, while OSX / Linux users would use packages provided by their os which installs apache / php directly08:17
woollyams left08:17
twb Because those distros actually have, you know, packages. Unlike Windows.08:18
blackmesa left08:18
t-mart_ joined08:19
twb left08:19
Leoneof left08:19
bgerber left08:19
Kayra joined08:19
LemonyB joined08:19
mage__ joined08:20
hkon__ joined08:20
roelmonn_ joined08:20
obert_ joined08:20
kermit left08:20
jefflyne_ joined08:20
cybersphinx joined08:20
zumba_ad_ joined08:20
njection joined08:21
TheFuzzb_ joined08:21
kermit joined08:21
cyphase joined08:21
woollyams joined08:22
marthinal left08:22
michagogo|cloud_ joined08:22
rue_XIV joined08:22
alorence joined08:22
bhldev_ joined08:22
kaictl left08:22
TheFuzzball left08:22
TheFuzzb_TheFuzzball08:22
jrahmy left08:23
lacrosse left08:23
shealyw2 left08:23
eletuchy_ joined08:23
jceb joined08:23
laserbea_ joined08:23
nilg`` joined08:23
roelmonnens left08:23
jefflyne left08:23
mage_ left08:23
zumba_addict left08:23
Chryyz left08:23
m0viefreak left08:23
ItSANg___ left08:23
michagogo|cloud left08:23
michagogo|cloud_michagogo|cloud08:23
jrahmy joined08:24
wcpan_ joined08:24
Kayra left08:24
hkon_ left08:24
nilg` left08:24
t-mart left08:24
musicmatze left08:24
Lemony left08:24
bedouin_ left08:24
arand__ left08:24
gdmfsob joined08:25
shruggar left08:25
_5kg_ joined08:25
ammus____ joined08:26
lb1a joined08:26
optixx joined08:27
Neon1024 joined08:28
obert left08:28
d33tah left08:28
relipse_ left08:28
bhldev__ left08:28
zackiv31 left08:28
the_cybersphinx left08:28
chriswk____ left08:28
bandroidx left08:28
rue left08:28
wcpan left08:28
laserbeam left08:28
mishok13 left08:28
eletuchy left08:28
dccc left08:28
_5kg left08:28
p4tux left08:28
glebihan left08:28
torste left08:28
njection_ left08:28
lopezt joined08:28
ammus___ left08:28
mikecmpbll left08:28
alindeman left08:28
einonm left08:28
thrakcat1ack left08:28
lopezt left08:28
alindeman joined08:28
p4tux joined08:28
shealyw2 joined08:28
bandroidx joined08:28
alindeman left08:28
alindeman joined08:28
shealyw2 left08:28
shealyw2 joined08:28
relipse__ joined08:29
zackiv31_ joined08:29
ItSANgo joined08:29
kaictl joined08:29
chriswk____ joined08:29
bandroidx left08:29
bandroidx joined08:29
aarapov joined08:29
emacer left08:29
bedouin_ joined08:29
arand__ joined08:29
d33tah joined08:30
emacer joined08:30
lacrosse joined08:30
snql left08:30
glebihan joined08:30
dccc joined08:30
gua_ould joined08:30
thrakcat1ack joined08:31
torste joined08:32
danicampa901 joined08:32
LeMike left08:33
PeterBooker joined08:33
einonm joined08:33
simesy left08:34
darnir left08:34
mikecmpbll joined08:34
woollyams left08:35
Dreadnaught joined08:35
Dreadnaught left08:36
Leoneof joined08:37
oodavid joined08:37
anry joined08:38
sword left08:38
laserbea_ left08:38
codeFiend left08:39
LimeBlast joined08:39
jrahmy left08:40
BiggFREE left08:41
aarapov left08:41
dort joined08:42
gua_ould left08:43
jas4711 joined08:44
raj__ left08:44
mikecmpbll left08:45
scalability-junk left08:45
Asenar joined08:47
GeertV joined08:47
Keridos_offKeridos08:48
KeridosKeridos_off08:48
harobed_ joined08:49
freestyler7 joined08:49
HelloComputer15 left08:50
kotopies joined08:50
ifdm_ joined08:51
ifdm_ left08:51
ifdm_ joined08:51
freestyl3r left08:51
Sonderblade joined08:51
Sonderblade left08:52
Sonderblade joined08:52
gua_ould joined08:53
j416 left08:53
Balliad joined08:54
j416 joined08:54
Nizumzen left08:54
W0rmDr1nk joined08:55
raj__ joined08:56
watabou left08:56
asQuirreL joined08:57
Sleepy63 joined08:57
laserbeam joined08:58
YoungFrog joined08:58
harobed_ left08:58
viscera joined08:59
marthinal joined08:59
cllamas joined08:59
leakybuckit left09:00
Sonderblade left09:01
naught101 left09:02
harobed joined09:02
harobed left09:02
harobed joined09:03
raj__ left09:03
Kayra joined09:03
jasonroyle joined09:04
eletuchy_ left09:04
Sonderblade joined09:05
Sonderblade left09:05
rchavik left09:05
mikecmpbll joined09:05
tvw joined09:06
bgerber joined09:07
lavong joined09:07
tomengland left09:08
Orbitrix joined09:08
Orbitrix left09:08
Orbitrix joined09:09
tomengland joined09:09
isbadawi joined09:09
jagob joined09:13
tomengland left09:13
isbadawi left09:14
m0ltar joined09:14
raj__ joined09:15
arif-ali joined09:16
jizanthapus-work joined09:16
nnyk_ joined09:18
welly joined09:20
mlechner joined09:20
sceox left09:22
jackneill joined09:22
jackneill left09:22
jackneill joined09:22
zeroknowledge joined09:23
_iron joined09:27
luc___ left09:28
makotosasaki left09:28
Mindfart|3 left09:29
Mindfart joined09:29
sander^work left09:29
AccessibleWeb joined09:30
infynyxx left09:31
yhager left09:32
zeroknowledge left09:32
amcsi_work joined09:32
binnisb left09:34
sceox joined09:34
jnewt joined09:37
koell joined09:37
jnewt how can i find the most recent version of a file, regardless of which branch it was on?09:38
yhager joined09:38
_ikke_ there is no easy built-in way for that09:39
pcrd git rev-list --all --max-count=1.09:39
_ikke_ pcrd: That doesn't give what he wants09:39
carbon joined09:39
jnewt i guess i need something even more complicated now that i think about it. i need the most recent version of a file across all branches, that I committed.09:40
pcrd Provided the file is present in all commits' tree objects, given a file is in all, the most recent version of it would be in the most recent commit.09:40
lolmaus_ joined09:41
lolmaus left09:41
pcrd jnewt: look at all your branches, and for each of them that has the file, find the most recent branch, which is the one with the most recent commit time.09:41
jnewt pcrd: i'm looking at the most recent commit time right now. I know this is an older version of this file. there's a newer one somewhere, i know, i fixed an issue in it, but can't figure out where it is so i can merge it09:42
Octalot joined09:43
jnewt we did a poor job of maintaining and merging changes.09:44
pcrd how can it be newer if it is older09:45
tobiasvl jnewt: what defines "newer" here?09:45
what pcrd said09:45
carbon left09:45
dfanjul joined09:46
sdouglas joined09:46
jnewt newer = most recent commit where that specific file was changed. not the most recent commit (where other files were changed)09:46
binnisb joined09:47
simesy joined09:47
jast but that doesn't matter if all you want is the newest version, does it? if it was last changed three commits ago, the same version is in the most recent commit, too09:47
pcrd jnewt: that's different from what you said earlier though09:47
jnewt pcrd: i think not09:47
jast: only on a per-branch basis09:47
pcrd 10:38 < jnewt:#git> how can i find the most recent version of a file09:47
EvilDMP joined09:47
jnewt pcrd: yeah, and?09:48
Chryyz joined09:48
pcrd Once a file is added, each commit contains the file until it's deleted.09:48
remember, git works in terms of snapshots.09:48
_ikke_ If you change a file on one branch, and then create a new commit on another branch, that other branch has the latest commit, but not the latest version of the file09:49
jast git log --oneline --all -- <file>09:49
this might help09:49
ilmgb left09:50
ilmgb_ joined09:50
freestyler7 left09:50
_ikke_ add a --date-order for good measure09:50
sdouglas left09:50
harish left09:51
AccessibleWeb left09:51
Xethron left09:52
freestyl3r joined09:52
simesy left09:52
watabou joined09:53
watabou left09:53
watabou joined09:53
weiyang left09:54
ilmgb joined09:55
DanielHollands joined09:55
jnavila_ joined09:55
naught101 joined09:56
jnavila left09:56
francisfish joined09:56
AccessibleWeb joined09:57
Ariadeno joined09:57
watabou left09:57
ilmgb_ left09:57
ilmgb left09:58
ilmgb_ joined09:58
LimeBlast left09:59
Sabbath left10:02
ilmgb_ left10:03
blackmesa joined10:03
DanielHollands left10:03
ilmgb joined10:04
kotopies left10:05
noxd joined10:05
kyb3r_ left10:05
ValicekB joined10:05
grumbel_ joined10:06
Exancillatus joined10:06
francisfish left10:07
Exancillatus left10:07
kcj left10:08
musicmatze joined10:08
m0ltar left10:09
isbadawi joined10:10
kotopies joined10:11
ELLIOTTCABLE__ left10:12
chuckharmston_ left10:12
ingu_cloud left10:12
elijah_ left10:12
jagob left10:13
emergion joined10:13
chuckharmston_ joined10:13
ingu_cloud joined10:13
ELLIOTTCABLE__ joined10:13
Sabbath joined10:14
elijah_ joined10:14
jagob joined10:14
Stygia joined10:14
isbadawi left10:15
dtrott left10:15
kapowaz left10:15
EvilDMP left10:15
LimeBlast joined10:16
freestyl3r left10:16
kapowaz joined10:16
pfg joined10:16
Exancillatus joined10:16
Exancillatus left10:16
kotopies left10:17
Exancillatus joined10:17
freestyl3r joined10:17
hkj joined10:18
hyperair left10:19
daito left10:19
daito joined10:20
francisfish joined10:20
vtunka joined10:20
ChrisAnn joined10:20
lite_ left10:20
prophile left10:21
lite_ joined10:21
Exancillatus left10:21
optixx left10:21
dort left10:22
kotopies joined10:22
Asenar left10:22
daito_ joined10:22
optixx joined10:22
daito left10:23
optixx left10:23
WhereIsMySpoon joined10:23
freestyl3r left10:24
conan joined10:25
Asenar joined10:25
WhereIsMySpoon Er...I just had a blue screen whilst switching branches and now git extensions wont start up but more importantly the branch that I'm working on doesn't seem to appear at all in egit in eclipse. When I do git status I get "error: bad signature fatal index file corrupt"10:25
what do i do? D:10:25
freestyl3r joined10:26
grumbel_ WhereIsMySpoon: Check your harddisk / filesystem for corruption; check SMART status of your harddisk; make a backup if your work is important; check reflog to get your branch back10:27
woollyams joined10:27
osse hmm, might be that 'rm .git/index; git reset' fixes it10:27
pfg left10:27
WhereIsMySpoon grumbel_: I dont have access to chkdsk10:27
cagedwisdom left10:28
luc_ joined10:29
WhereIsMySpoon grumbel_: I have no idea how to use reflog - it appears that git got past the stage of switching branches (I was mid branch switch when it bluescreened) as I can't see some stuff that would be there if it hadn't switched branches10:29
so I cant backup10:29
hkon__ left10:29
WhereIsMySpoon as it isnt there10:29
sitaram left10:29
Lunatrius joined10:29
osse WhereIsMySpoon: try my thing10:29
WhereIsMySpoon osse: deleting things at this stage seems a bit drastic..10:30
bluesm joined10:30
Guest32487 joined10:30
osse the index is deletable without problems10:30
I just did it myself10:30
and the situation is drastic to begin with :p10:31
WhereIsMySpoon osse: sure but I dont want to delete anything unless I really have to10:31
cagedwisdom joined10:31
grumbel_ WhereIsMySpoon: it's probably unlikely, but just _might_ be a HDD corruption; I was thinking of a backup of the whole repository, you can do that in any state10:32
Fang0716 joined10:32
merica joined10:32
WhereIsMySpoon grumbel_: you want me to literally copy the whole parent folder of my repo?10:33
grumbel_ well, I would if it contains important, otherwise unsafed work; but then again, I'm a bit paranoid wen bluescreen appear while doing file operations10:33
WhereIsMySpoon grumbel_: ok doing that now10:34
grumbel_ *unsaved; *when; *appears;10:34
SorenHolm left10:34
WhereIsMySpoon ill try and get access to run a chkdsk10:34
iwantoski left10:34
WhereIsMySpoon grumbel_: meanwhile is there a way to see my SMART status without installing stuff?10:34
SorenHolm joined10:35
prophile joined10:35
luc_ left10:36
Guest32487 left10:36
sitaram_ joined10:37
bvi joined10:39
kotopies left10:39
iwantoski joined10:39
Kayra left10:39
WhereIsMySpoon grumbel_?10:40
Lunatrius left10:40
grumbel_ WhereIsMySpoon: none I know of, sorry10:40
Kayra joined10:40
Lunatrius joined10:40
WhereIsMySpoon grumbel_: nothing bad returend by chkdsk10:41
jstimm left10:41
WhereIsMySpoon which is even more weird10:41
binnisb left10:43
gain joined10:43
Fang0716 left10:43
cannonball joined10:44
Fang0716 joined10:44
Kayra left10:44
WhereIsMySpoon grumbel_: http://pastie.org/8937510 does this help?10:45
dvide left10:45
tonythomas joined10:45
danicampa901 left10:45
WhereIsMySpoon SMART status is ok btw10:46
you can check it with wmic :)10:46
oal joined10:46
cbreak looks like your repo is corrupted10:46
woollyams left10:47
cbreak do you or did you ever reach a disk full state?10:47
Sabbath left10:47
WhereIsMySpoon cbreak: no10:47
cbreak: I had a bluescreen mid branch change10:47
oal I have a branch that's been pretty heavily modified, and want to get an overview of how it looks compared to master. Is there a good GUI for side by side comparisons of directory structure and file changes?10:47
akiva left10:47
WhereIsMySpoon oal: git extensions10:48
plitzenberger joined10:48
WhereIsMySpoon oal: egit for eclipse is nice for comparison too10:48
lithiumjake joined10:48
oal WhereIsMySpoon, I'll check ut git extensions. I'm using Linux if that matters10:48
binnisb joined10:48
WhereIsMySpoon ah i dunno if it is on linux10:49
havent checked that out10:49
iwantoski left10:49
cbreak oal: sourcetree10:49
hkon_ joined10:49
cbreak oal: or git gui, it's already there, since it's part of git10:49
oal cbreak, does sourcetree support Linux?10:49
cbreak hmm... I don't think so.10:50
WhereIsMySpoon looks like the best thing to do is re-clone and copy the uncorrupted object that is corrupted into the old repo's .git10:50
cbreak git gui does for sure10:50
oal: there's always !lol if you like the cli :)10:50
gitinfo oal: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all10:50
m0ltar joined10:50
cbreak WhereIsMySpoon: or... clone fresh and throw away the old one? :)10:50
WhereIsMySpoon cbreak: I had unpushed committed changes10:50
cbreak maybe you can salvage history with git format-patch10:51
jagob left10:51
WhereIsMySpoon cbreak: what does that do10:51
cbreak if it's just mild corrupton you might try to fix it, but I'd first make a backup, and then format-patch10:51
WhereIsMySpoon ive made a backup already :)10:51
cbreak it makes patch e-mail files from history10:51
you can later apply them with git am10:51
tokik left10:51
korbelz joined10:51
yhager left10:52
WhereIsMySpoon cbreak: "fatal: bad default revision 'HEAD'"10:52
O.o10:52
shruggar joined10:53
cbreak WhereIsMySpoon: open HEAD in a text editor10:53
what's inside?10:54
type git symbolic-ref HEAD master to set it to master10:54
hkj left10:54
iwantoski joined10:54
WhereIsMySpoon cbreak: "ref: refs/heads/my_branch" where my_branch is the branch that git was on before I did the branch switch during which it bluescreened10:54
davividal joined10:54
WhereIsMySpoon which is the branmch that is not pushed10:55
molten_tar joined10:55
cbreak weird. why is that branch invalid10:55
does git log thatbranch give errors too?10:55
jagob joined10:55
WhereIsMySpoon cbreak: yes10:56
Kayra joined10:56
WhereIsMySpoon cbreak: http://pastie.org/893752110:56
cbreak so that branch is broken...10:56
can you do git reflog my_branch?10:57
WhereIsMySpoon cbreak: what will that do10:57
emergion left10:57
m0ltar left10:57
cbreak it will show you the log or changes made to that ref... it's the ref log.10:57
WhereIsMySpoon cbreak: exact same errors10:57
grumbel_ WhereIsMySpoon: maybe do a git fsck just to be sure your object storage isn't messed up10:58
stylus_Jack joined10:58
WhereIsMySpoon grumbel_: i did that earlier10:58
grumbel_: http://pastie.org/893751010:59
stylus_Jack Hi, how do I merge a remote branch into my local working directory without committing anything to the remote repository?10:59
Fang0716 left10:59
WhereIsMySpoon grumbel_: one of my objects is corrupted10:59
tobiasvl stylus_Jack: just pull and merge. you won't do anything with the remote repo unless you push11:00
neo1691 joined11:00
WhereIsMySpoon is there any way I can get my unpushed commits back?11:00
cbreak maybe11:00
WhereIsMySpoon o:11:00
would like that if you could please :)11:00
stylus_Jack tobiasvl, I get the message "*** Please tell me who you are."11:00
simesy joined11:01
AndreasLutro I just had an idea to make some sort of global log, where all my commit messages to all repos are stored, to track what I've been doing - is there a tool for this out there? is it possible to do with git alone?11:01
Exancillatus joined11:01
laserbeam left11:01
Exancillatus left11:01
cbreak WhereIsMySpoon: type git reflog HEAD11:01
tobiasvl stylus_Jack: http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup under "Your Identity"11:01
WhereIsMySpoon cbreak: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working t ee.11:02
shinnya joined11:02
WhereIsMySpoon *tree11:02
cbreak did you do the symbolic ref command I gave you above?11:02
simesy left11:02
WhereIsMySpoon ah..no11:02
wrouesnel1 joined11:02
daito_ left11:02
WhereIsMySpoon ill do that11:02
grumbel_ WhereIsMySpoon: can you cat .git/refs/heads/my_branch and tail .git/logs/refs/heads/my_branch11:02
daito joined11:03
WhereIsMySpoon cbreak: "fatal: refusing to point HEAD outside of refs/11:03
stylus_Jack tobiasvl, so even if I'm not committing anything, I have to identify?11:03
WhereIsMySpoon "11:03
nnyk_ left11:03
cbreak WhereIsMySpoon: hmm. then tell it refs/heads/master instead of just master11:03
I hoped it'd automatically do that :)11:03
plitzenberger left11:03
WhereIsMySpoon cbreak: ok that worked11:03
tobiasvl stylus_Jack: well you are commiting. you're commiting a merge11:03
cbreak does reflog on HEAD work now? If not, do what grumbel_ said.11:03
that'll give you the unformated reflog11:04
Hounddog joined11:04
stylus_Jack tobiasvl, I thought I was just merging locally?11:04
pfg joined11:04
WhereIsMySpoon cbreak: reflog works..but i already did grumbel_'s commands11:04
they return stuff too11:04
:)11:04
tobiasvl stylus_Jack: yes, a local commit. if you don't want to commit at all, you can look into this: http://stackoverflow.com/questions/9599411/git-merge-no-commit-squash-difference11:05
cbreak ok, pastebin the output11:05
tobiasvl stylus_Jack: but please note that a commit doesn't do anything remotely (like in cvs or svn), as it seems you believe11:05
stylus_Jack Thanks tobiasvl11:05
cbreak it should show your branch changes, commits and so on11:05
Neon1024 left11:05
WhereIsMySpoon cbreak: i dont see my latest commit in there11:06
for my_branch11:06
if i do git reflog HEAD11:06
cbreak what do you see?11:06
WhereIsMySpoon cbreak: head{1} is "moving from my_branch to some_other_branch" and head{0} is "moving from some_other_branch to my_branch"11:07
daito left11:07
cbreak hmm... alright11:07
then you'll have to look at the my_branch reflog11:08
first, git log my_branch doesn't work?11:08
if not, then you'll have to try to use hashes directly11:08
WhereIsMySpoon cbreak: correct11:08
cbreak use those from git reflog my_branch, or the equivalent cat11:08
(if you look at the file directly, the newest changes are at the bottom, in reflog they are at the top11:09
WhereIsMySpoon git reflog my_branch doesnt work either11:09
ArSn joined11:09
tomengland joined11:09
WhereIsMySpoon same errors as git log my_branch11:09
Fang0716 joined11:09
CussBot joined11:10
sitaram_ left11:10
iwantoski left11:11
pfFredd joined11:11
sitaram_ joined11:11
sitaram_ left11:11
sitaram_ joined11:11
isbadawi joined11:11
WhereIsMySpoon cbreak?11:11
Neon1024 joined11:12
amikiri joined11:13
WhereIsMySpoon cbreak: if I open up .git/logs/refs/heads/my_branch it has commits up to a certain point then just 'NUL' characters if i look at it in notepad++11:13
and doesnt contain my latest commit11:13
molten_tar left11:13
grumbel_ WhereIsMySpoon: can you pastebin the commands I sent earlier?11:13
WhereIsMySpoon grumbel_: teh cat and tail?11:14
tomengland left11:14
grumbel_ yes11:14
amcsi_work how do I have git diff show me what line endings a file will have?11:14
WhereIsMySpoon grumbel_: the cat returns nothing and the tail has some info about commits I've done but doesnt contain the latest commit11:15
hkon_ left11:15
daito joined11:15
cmpera joined11:15
pfg left11:15
Gizburdt left11:15
isbadawi left11:15
jstimm joined11:16
WhereIsMySpoon grumbel_: if I open up .git/refs/heads/my_branch its just full of NUL chars11:16
masak left11:17
_ikke_ left11:17
tvw left11:17
tvw joined11:17
PerlJam left11:17
grumbel_ WhereIsMySpoon: the last valid line in the tail should have a unix timestamp in it; you can convert that using e.g. http://www.unixtime.de/ to see how old that is11:17
aarapov joined11:18
asQuirreL left11:18
W0rmDr1nk left11:18
W0rmDr1nk joined11:18
WhereIsMySpoon grumbel_: 03.07.2014 - 11:31:5411:19
grumbel_ WhereIsMySpoon: what is wired is that if your branch ref is gone, git fsck should show the branch's tip commit as dangling11:19
anyway, lunch time, back later11:19
WhereIsMySpoon ok11:19
weltall left11:20
WhereIsMySpoon git fsck still shows the same as before with the "loose object" stuff11:20
diegovio1 joined11:21
laserbeam joined11:21
weltall joined11:21
torste I just did git commit -m "text", can I do git commit --amend -m "new text"?11:21
grawity sure11:22
diegoviola left11:22
torste ok, thx11:22
j0ran left11:22
DoniRS joined11:22
masak joined11:22
masakGuest453411:23
_ikke_ joined11:23
PerlJam joined11:23
Anony987 joined11:23
nkr joined11:23
diegovio1 left11:24
W0rmDr1nk left11:25
koell left11:25
asQuirreL joined11:25
cbreak WhereIsMySpoon: if the reflog doesn't contain the commits you did, then you have a problem.11:25
ciampix joined11:26
viscera left11:26
cbreak WhereIsMySpoon: what does the branch itself contain? You can cat it too, it's in .git/refs/heads/branchname11:26
WormDrink left11:26
grawity sounds like the repo is simply missing data and there's not much to do11:26
viscera joined11:26
cbreak it does sound bad indeed11:27
a simple crash should not kill existing data unless the filesystem is garbage11:27
maybe something braindead like smb...11:27
francisfish left11:28
iwantoski joined11:29
asQuirreL left11:29
Gizburdt joined11:30
ilmgb left11:31
francisfish joined11:31
grawity smb doesn't deal with storing things on disk >_>11:32
cbreak indeed... :)11:33
it's a remote file system. Causes problems to no end.11:33
WhereIsMySpoon cbreak: this is just a local filesystem11:34
cbreak: the branch itself contains lots of NULs11:34
thats it11:35
cbreak that's kind of bad11:35
looks like lots of things are seriously fucked up.11:35
WhereIsMySpoon :p11:35
cbreak chances are your commits are gone (if you don't find them in the reflog)11:35
you can try git fsck --lost-found11:35
WhereIsMySpoon cbreak: fsck doesnt work11:35
SorenHolm left11:35
andr3a left11:35
cbreak you tried it?11:36
WhereIsMySpoon just outputs the corrupt loose object thing11:36
yea just now11:36
fannye joined11:36
Ariadeno left11:36
cbreak so it doesn't write lost & found info11:36
too bad11:36
I am out of ideas11:36
restore from backup :/11:36
WhereIsMySpoon i guess I will try to re clone and replace the corrupted objhect11:36
cbreak there's not just a corrupted object11:36
W0rmDr1nk joined11:37
j0ran joined11:37
viscera left11:37
cbreak you also have a corrupted reflog, corrupted branches11:37
and so on11:37
delboy1978uk1 joined11:37
cbreak without the correct information in the branch, you can't reach your commits11:37
WhereIsMySpoon :<11:37
cbreak since lost-found didn't write anything, chances are you don't have them anymore11:37
WormDrink joined11:38
WormDrink left11:38
WormDrink joined11:38
tobiasvl there are no clones of this repo?11:38
cbreak that won't help unpushed history11:38
viscera joined11:38
tobiasvl nope11:38
osse ooops.11:38
cbreak WhereIsMySpoon: if you find dangling commits, you can try to git show them11:38
osse I guess more than just the index was corrupt11:38
WhereIsMySpoon cbreak: how can I find dangling commits11:39
iwantoski left11:39
bl4ckdu5t joined11:39
cbreak git fsck lists them11:39
CheckDavid joined11:39
WhereIsMySpoon then i guess i need to try and replace the corrupted objects11:39
so that fsck works11:39
SorenHolm joined11:39
cbreak chances are that object is new11:39
WhereIsMySpoon hm11:39
i can try cutting it11:40
m0ltar joined11:40
bl4ckdu5t I did 'git branch --track mybranch origin/my-branch' and I got an error11:40
fatal:Not a valid object name: 'origin/ui-branch'11:40
gua_ould left11:40
bl4ckdu5t What's the reason for this?11:40
osse bl4ckdu5t: what does git show origin/ui-branch say ?11:41
WormDr1nk joined11:42
W0rmDr1nk left11:42
bl4ckdu5t fatal: ambiguous argument 'origin/ui-branch': unknown revision or path not11:43
bl4ckdu5t@DA-VINCI:/var/www/│ in the working tree.11:43
osse bl4ckdu5t: sounds to me like that remote branch doesn't exist11:43
arietis joined11:43
AccessibleWeb left11:44
bl4ckdu5t osse: fatal: ambiguous argument 'origin/ui-branch': unknow revision or path not in the working tree11:44
user '--' to separate paths from revisions11:44
cbreak bl4ckdu5t: git branch -a, pastebin11:44
griotspeak joined11:44
W0rmDr1nk joined11:46
kotopies joined11:46
osse bl4ckdu5t: that error reinforces my hypothesis11:46
it's nearly a theory by now11:46
henry_ joined11:46
AccessibleWeb joined11:47
WormDr1nk left11:47
WormDrink left11:47
bl4ckdu5t Her cbreak http://pastie.org/893762011:48
osse "Her"? Interesting...11:48
sweetyReaper joined11:48
dragosf joined11:48
_ikke_ bl4ckdu5t: case sensitive11:48
cbreak bl4ckdu5t: so, clearly you do not have a ui-branch11:48
_ikke_ remotes/origin/UI-Branch11:49
Pullphinger joined11:50
osse hmm, how does .git/refs work on case-insensitive filesystems?11:50
iwantoski joined11:50
grawity poorly.11:50
sceox left11:51
bl4ckdu5t It's been changed remotely to ui-branch11:51
gabedain_ left11:51
_ikke_ There is a topic on the mailing list about that11:51
Gizburdt left11:51
osse bl4ckdu5t: then you need 'git fetch'11:51
git fetch --prune would be ebst11:52
bl4ckdu5t *best?11:52
osse yerah11:52
*yeah?11:52
yeah11:52
bl4ckdu5t Are you eating ham burger?11:53
viscera left11:53
bl4ckdu5t I type like that only when I'm in that state :D11:53
henry_ left11:53
osse no, but I am drinking coffee11:53
gua_ould joined11:54
ilmgb joined11:54
mikecmpbll left11:54
WormDrink joined11:54
bl4ckdu5t so all I have to do is 'git fetch --prune ui-branch'?11:55
osse no11:55
git fetch --prune11:55
stylus_Jack left11:55
kcj joined11:55
john2x left11:56
mage__ left11:56
mikecmpbll joined11:56
Fang0716 left11:56
woozly joined11:56
woozly guys, help please to understand.11:56
john2x joined11:56
dog-food joined11:56
neo1691 left11:56
woozly I've cloned some repo (from another than master branch).11:57
griotspeak left11:57
paolooo left11:57
woozly like: git clone -b staging https://..../some.git11:57
tubaman left11:57
woozly but how I can do some changes and then pull this to repo?11:57
What I need to do?11:58
koell joined11:58
osse nothing in particular11:59
do you want to make changes to the master branch ?11:59
Gavrisimo left12:00
woozly osse: no.. I have cloned 'staging' branch. And do some changes. And then pull request it.12:00
And question: I have private BitBucket repo... anyone can clone it if know https url of my .git file? :/12:00
dragoonis joined12:00
amikiri left12:00
EvoAlan left12:01
tobiasvl woozly: that's a better question for #bitbucket really12:01
dragoonis left12:01
dragoonis joined12:01
dragoonis "git branch" - shows me about 100 branches that i've checked out once upon a time, how can I clean these out ?12:01
woozly tobiasvl: oh.. yeah.12:01
osse woozly: make your changes, push your midifing staging branch somewhere bitbucekt for example), then ask #bitbucket12:01
jstimm left12:01
Gizburdt joined12:01
osse dragoonis: git branch -d foo bar baz rofl jesus12:01
woozly osse: okay. thank you12:01
grawity woozly: create a new branch; make the changes and commit them; push them to BitBucket; open the branch on BitBucket and look for "pull request"12:01
dragoonis osse, can't I just wipe the lot instead of manually specifying them12:02
woozly grawity: thank you!12:02
pmurias joined12:02
thiago joined12:02
nnyk_ joined12:02
Exancillatus joined12:02
osse dragoonis: you want everyone but the current I guess?12:02
WormDrink left12:03
WormDrink joined12:03
pmurias how can I find by which .gitignore is a file ignored?12:03
dragoonis osse, yes.12:03
kpeta joined12:03
grumbel_ WhereIsMySpoon: you got it to work?12:03
dragoonis osse, i'll switch to 'master' and then wipe the list12:03
osse dragoonis: if your branch names are relatively sane (no spaces, asterisks, question marks etc.) then this can work: git branch -d $(git branch | grep -v '^\*')12:04
Gavrisim_ joined12:04
tubaman joined12:04
dog-food left12:05
sceox joined12:05
bl4ckdu5t Thanks osse and thanks to your coffee12:05
dragoonis osse, thanks very much12:06
Gavrisimo joined12:06
osse bl4ckdu5t: it deserves some thanks. it's meget god.12:06
dragoonis osse, is there any way to fetch the list of branches from my 'origin' remote ?12:07
Exancillatus left12:07
osse dragoonis: hacky way: git branch -a | grep origin12:08
kotk joined12:08
osse but don't do that in a script12:08
dragoonis osse, nice, thanks.12:08
Gavrisim_ left12:10
kpeta left12:10
osse dragoonis: if you only have one remote then git branch -r is enough12:10
ferreum joined12:11
dragoonis osse, cool12:11
HicksD left12:11
isbadawi joined12:12
isbadawi left12:12
ciampix left12:12
afuentes joined12:12
HicksD joined12:12
bitkiller joined12:12
isbadawi joined12:12
Gooder` joined12:12
kcj left12:13
m0ltar left12:14
Gooder left12:14
asQuirreL joined12:15
grumbel_ WhereIsMySpoon: After you did your backup, try to delete the broken references and the broken object; then try with git fsck again to find dangling commits12:16
oodavid left12:16
LeMike joined12:16
isbadawi left12:16
m0ltar joined12:18
conan left12:19
montyboy joined12:19
bremner left12:21
Anticom joined12:21
mellernoia joined12:21
rfoust left12:22
WhereIsMySpoon grumbel_: yea i was in the middle of that just had a meeting..there's quite a few broken objects12:23
AccessibleWeb left12:23
_ikke_ WhereIsMySpoon: dangling objects are harmless12:25
WhereIsMySpoon grumbel_: http://pastie.org/893768812:25
rath left12:25
merica left12:25
WhereIsMySpoon :<12:25
_ikke_ Ok12:25
jpentland joined12:26
grumbel_ WhereIsMySpoon: Delete refs/heads/my_branch; Delete index; retry12:26
rath joined12:26
WhereIsMySpoon grumbel_: and index.lock?12:26
oodavid joined12:26
aarapov left12:27
grumbel_ WhereIsMySpoon: never saw that, but yes12:27
gitinfo set mode: +v12:27
jpentland ok so I did a 'git stash pop' onto the wrong branch resulting in many merge conflictst, now I want to undo that so i can apply it to another branch, but it complaing about unmerged paths. Is there a git stash --abort or something?12:27
dglambert joined12:27
thiago left12:27
mizu_no_oto joined12:28
WhereIsMySpoon grumbel_: http://pastie.org/893769412:29
lots of dangling blobs and a dangling tree12:29
and the null sha1 warning again12:29
can i get back my commits from this?12:29
grumbel_ WhereIsMySpoon: If it wasn't among the corrupt objects, yes; check the dangling tree, if it's the one from your commit12:30
WhereIsMySpoon grumbel_: how do I check whether the dangling tree is the one from my commit12:30
cmpera left12:30
grumbel_ there is no dangling commit, so it seems like that was corrupted12:30
WhereIsMySpoon ah12:31
jekle left12:31
grumbel_ WhereIsMySpoon: git commit-tree <<treeid>>12:31
then git branch recovery_branch12:31
SocalNick left12:31
grumbel_ err git branch recovery_branch <<sha of the commit>12:32
WhereIsMySpoon i dont have the sha of the commit12:32
grumbel_ git commit-tree should give you one12:32
WhereIsMySpoon ah12:32
its taking a long time12:32
daedeloth joined12:32
andr3a joined12:33
WhereIsMySpoon grumbel_: how long should this commit-tree take12:33
roughly12:33
grumbel_ roughly no time12:33
ah wait12:33
WhereIsMySpoon =/12:33
grumbel_ it wants you to input a message12:33
vtunka left12:34
WhereIsMySpoon O>o12:34
it could ask12:34
bremner joined12:34
bremner left12:34
bremner joined12:34
grumbel_ and press Ctrl+D when done12:34
AccessibleWeb joined12:34
diegoviola joined12:34
griotspeak joined12:34
WhereIsMySpoon put in some text and pressed ctrl-d12:34
grumbel_: I got a ^D12:35
griotspeak left12:35
grumbel_ hmm, try to put a message into a file and use git commit-tree <tree-sha1> < message.txt12:35
WhereIsMySpoon i cant seem to ctrl-c it >_>12:35
grumbel_ the windows shell might be different12:35
WhereIsMySpoon closes mingw12:36
WhereIsMySpoon ah12:36
it came back12:36
blackmesa left12:36
asQuirreL left12:36
grumbel_ with a sha1 of the commit?12:36
WhereIsMySpoon no12:36
i quit it12:36
aha12:36
i got a sha12:36
Irish` joined12:37
IrishPrime joined12:37
IrishPrime left12:37
grumbel_ great! Now do git branch recovery_branch <sha of the commit>12:37
cmpera joined12:37
Irish`IrishPrime12:37
WhereIsMySpoon grumbel_: you sure this is the shah of the commit?12:37
it doesnt say what it is12:37
grumbel_: "fatal: not a valid object name: <the sha>"12:38
jdhawke joined12:38
grumbel_ try git show <sha>12:39
zumba_ad_ left12:39
grumbel_ without < and > of course12:39
WhereIsMySpoon grumbel_: ambiguous argument <the sha> unknown revision or path not shown in working tree12:39
dog-food joined12:40
dog-food left12:40
dog-food joined12:40
WhereIsMySpoon uh wait hang on12:40
grumbel_ try to commit again, piping the message.txt file into commit-tree12:40
WhereIsMySpoon no i just pasted it wrong12:40
hang on12:40
thevishy joined12:40
jdhawke okay, I have a wierd situation, I have a co-worker (senior to me) who refuses to believe that it's a bad thing to put the IDE configuration folder into git for the project we're working on. We have different environments, so every time I pull or rebase I'm fighting conflicts and end up having to reconfigure parts of my IDE. Is there I can set up a local extension to .gitignore that will prevent those files from getting pulled/merged/comi12:40
WhereIsMySpoon it is a bad thing12:41
:S12:41
grumbel_ jpentland: git stash pop does not remove the stash from the stack on conflicts; you can just use git reset --hard to reset your WD12:41
montyboy left12:41
osse jdhawke: you could tell git to ignore changes to those files with git update-index --assume-unchanged path/to/files12:41
WhereIsMySpoon grumbel_: git branch worked12:41
jdhawke osse12:41
osse jdhawke: consider also kicking your boss in the nuts12:41
bremner left12:41
grumbel_ nice, now git checkout recovery_branch12:41
tobiasvl jdhawke: well I would just change the config to suit my needs and commit them12:42
grumbel_ and check if this is the commit you wanted12:42
cbreak jdhawke: just commit your changes12:42
tobiasvl that'll show your boss why it's a bad idea12:42
cbreak jdhawke: yours are obviously correct.12:42
jdhawke osse: Oh I have, but I'm 500 miles from the office. Will that prevent them from coming down as well12:42
Kicer86 joined12:42
jdhawke or does that only prevent outgoing changes?12:42
osse MYTH::getMjolnirInstance().swing(jdhawke->getSenior().nuts))12:42
jdhawke: prevent outgoing.12:43
WhereIsMySpoon grumbel_: ok will do, sec12:43
jdhawke Also, another quick poll..... derivative items (such as CSS files compiled from SASS): do you version them or no?12:43
oal left12:43
m0ltar left12:43
jdhawke I say no, as the build process should be regenerating them, but again the boss says yess12:43
aarapov joined12:43
osse jdhawke: no.12:43
WhereIsMySpoon no..you deploy that stuff12:44
your boss is weird12:44
jdhawke this whole place is....12:44
Sicp joined12:44
osse jdhawke: if you have stuff that can be generated by stuff in your repo then you don't commit the generated stuff12:44
grumbel_ WhereIsMySpoon: got to go soon; if it is not, your last chance is to go through the dangling blobs that git fsck reported, and do git cat-file -p <sha1> for each to see if it's one of your changed files12:44
osse jdhawke: because you can just generated it12:44
*generate12:44
WhereIsMySpoon grumbel_: ok, thanks12:44
jdhawke I'm just making the jump from LAMP to Java/JSF development here, but I cannot belive that they do all their builds in the IDE and not with tools like Maven or Ant12:45
jast --assume-unchanged is a poor solution for the first issue12:45
keller joined12:45
jast I recommend something based on sparse checkout12:45
WhereIsMySpoon jdhawke: same logic as for built files like .class files or a .exe12:45
hkon_ joined12:45
WhereIsMySpoon jdhawke: you dont commit those12:45
so12:45
simesy joined12:45
WhereIsMySpoon or at least i hope you dont...12:45
you shouldnt :)12:45
m0ltar joined12:46
jdhawke I try not to, but I'm fighting upstream here....12:46
osse import guns; def shoot(): \n guns.fire() \n map(shoot, jdhawke.boss.kneecaps)12:46
SidGBF joined12:46
jast isn't it dreadful having to include line breaks in a piece of code :}12:46
cbreak jdhawke: if they don't listen to reason, make them listen to pain.12:46
-> make them suffer from merge conflicts due to their stupidity12:47
jast yeah, I tend to concur12:47
jdhawke they dont see the pain though, they've been doing it so broken for so long....it's "just how it is"12:47
Dudi joined12:47
osse increase the dosage12:47
jast start making changes to the project files in every single commit12:47
WhereIsMySpoon ^12:47
osse see also if you can find some flags that makes sass generate the CSS differently. preferably with fewer or more lines12:47
anry left12:48
jast randomly breaking various aspects of the build that are hard to pin down :}12:48
rath left12:48
SidGBF Im failing to clone a repository in bitbucket. I think the issue is related to ssh keys. How can I know WHAT key it is using? I have set up the config file for ssh but still the same error12:48
jast seriously, though, sparse checkout enables you to make this not your problem12:48
cbreak consider mailing them the whole commit diffs when asking a question12:48
jdhawke that I can do, I set up the pom file to autocompile on build, I'll have it generate :compressed12:48
rath joined12:48
osse jdhawke: what you need is basically guerrilla warfare. terrorism, esentially.12:48
WhereIsMySpoon xD12:48
jast SidGBF: ssh -vv user@host gives you a lot of ssh debug output12:49
jdhawke I'll look into the sparse checkout12:49
jast it's a bit hidden, so here's some pointers12:49
jdhawke well, I'm interviewing for a new position elsewhere, so I might go on a rampage if I get it.12:49
jast .git/info/sparse-checkout: works just like gitignore files, make it match all files you want checked out12:49
e.g. "*" and "!/evilpath/"12:49
WhereIsMySpoon jdhawke: lol12:49
:D12:49
grumbel_: checked out! :)12:50
jast also set core.sparseCheckout to true in config12:50
osse jdhawke: what are their reasons? Do they have any actual counter-arguments or do they just say "no" ?12:50
WhereIsMySpoon lets see12:50
simesy left12:50
jdhawke no real reasons, the whole CSS thing was "well the developers need to be able to test and edit...."12:50
osse run sass before testing!12:51
jeebus12:51
WhereIsMySpoon O.o12:51
jdhawke but we're using IntelliJ which does the SASS compilation and file watching12:51
SidGBF jast: thanks... indeed it is ignoring completelly my config file :D12:51
drodger joined12:51
jast once you've done that, 'git reset' will unstage any changes you've made and, at the same time, add flags to the index to tell git to never look at your local files in those locations12:51
jdhawke osse: my response...12:51
jast, I'm going to look into that this afternoon....12:51
jast in fact man git-read-tree has a section on it that contains all the essentials12:52
gitinfo the git-read-tree manpage is available at http://jk.gs/git-read-tree.html12:52
jdhawke I'm assuming that it will be completely transparent to all the other devs?12:52
jast didn't know that was there12:52
yes12:52
cbreak jdhawke: or just fix it.12:52
git rm --cached all derived files12:52
jast all it does is stop your client from checking out those files12:52
jdhawke cbreak, I did that already, and on the next merge, there they were again12:52
osse while (!jdhawke.newJob()) jdhawke.search();12:53
watabou joined12:53
jdhawke anyone want to hire a remote Java/PHP webdev?12:53
tureba joined12:53
tubaman left12:54
WhereIsMySpoon :D12:54
jast sorry, we're a Perl shop12:54
koell left12:54
jast we shoot Java/PHP developers with lasers ;)12:54
jdhawke I'll learn how to read excutable line noise again if I have to12:54
WhereIsMySpoon jast: on behalf of everyone, sorry for you12:54
:)12:54
osse jdhawke: well at leat you're using git... sort of...12:55
jpentland grumbel_, didn't see the reply until now - seems to have worked, thanks12:55
jast hey, I happen to like Perl12:55
jdhawke I finally got them to all stop working on master....now convincing them to actually fork and pull is the next step12:55
WhereIsMySpoon jast: poor damaged person12:56
jdhawke: ?!12:56
who are these people12:56
and why are they employees12:56
osse jdhawke: well, *technically* whether they work on master or not doesn't really matter. they all have their own master.12:57
WhereIsMySpoon osse: :|12:57
sohail joined12:57
dragoonis left12:57
watabou left12:57
osse but they whole "remote tracking branch" thing might create problems12:58
vtunka joined12:58
diegovio1 joined12:58
sam___ joined12:58
jdhawke WhereIsMySpoon12:58
I have no idea12:58
gitinfo set mode: +v12:58
gitinfo set mode: +v12:58
jdhawke I've been here 2 years....working the LAMP team until the last 6 months12:58
ChanServ set mode: +v12:58
jast an extra +v for free :)12:58
WhereIsMySpoon can i have one to?12:58
jdhawke the LAMP side is fubar enough, but the "enterprise" team is killing me12:58
WhereIsMySpoon too*12:58
:p12:58
jdhawke: is it full of dynamic and process-driver people?12:59
samsamm777 joined12:59
WhereIsMySpoon driven*12:59
fission6 joined12:59
WhereIsMySpoon throws up a little12:59
diegoviolaGuest1704512:59
diegovio1diegoviola12:59
jdhawke if you mean "more chiefs than indians" then yes12:59
WhereIsMySpoon jdhawke: sounds pretty crap :<12:59
osse Suicide is painless.12:59
jdhawke it's a paycheck, and I work by remote full time....so I deal12:59
Guest17045 left13:00
WhereIsMySpoon @all - how do I see just the lines that changed with git cat-file ?13:00
osse WhereIsMySpoon: you can't13:00
WhereIsMySpoon jdhawke: guess it would be worse if you had to deal in person13:00
naught101 left13:00
WhereIsMySpoon osse: is there a way to see line changes at all with just a sha?13:00
cmmagid joined13:00
osse WhereIsMySpoon: diff it against its parent13:00
WhereIsMySpoon: git diff sha~1 sha13:00
WhereIsMySpoon osse: i dont know what the parent sha is13:01
<_>13:01
osse WhereIsMySpoon: you don't need to. try what I wrote13:01
the ~1 thing was not a typo13:01
WhereIsMySpoon oh i see13:01
aha13:01
fission6 left13:01
WhereIsMySpoon osse: theyre blobs13:02
so git diff doesnt work13:02
ravigehlot_ left13:02
osse WhereIsMySpoon: diff <(git cat-file ... sha~1) <(git cat-file ... sha)13:02
fission6 joined13:02
WhereIsMySpoon ok13:02
chris_ joined13:02
osse ahh, if it's a blob sha that won't work13:03
WhereIsMySpoon it is13:03
osse sha~1 will fail13:03
WhereIsMySpoon ah13:03
rfoust joined13:03
repxl joined13:03
osse commits have parents; blobs don't13:03
WhereIsMySpoon i see13:03
jdhawke well thanks for validating my sanity folks, and jast thanks for the sparse checkout tip, that might make working with these repo-cowboys a little less annoying....time to start some real work for the morning.13:04
WhereIsMySpoon lol..cowboys13:04
:D13:04
repxl hello i want to make a git repo on my live server on linux to my root folder of my website so basically if someone "commit" a change it will be commited to the root website folder so we see changes on my website url13:04
WhereIsMySpoon jdhawke: be prepared for "your config changes arent as important as mine, stop checking them in"13:04
repxl: git is not a deployment tool13:04
rob_w left13:05
osse jdhawke: the most important thing you do now is apply for other joba.13:05
jobs13:05
that, or guerrilla warfare13:05
asQuirreL joined13:05
jdhawke I'm expecting a phone call this week for a Tech interview, and I know the CTO there, worked with him prior...13:05
repxl WhereIsMySpoon hmm so i can't commit and code with my friends ? lul13:05
jdhawke just need to convince them to beat the pay13:05
gabedain joined13:06
SidGBF left13:06
WhereIsMySpoon repxl: if its just a personal project i guess its fine..just make a git repo on your root website folder and add the remote13:06
livingstn joined13:06
WhereIsMySpoon same as you did for your local repo13:06
danicampa901 joined13:06
osse but the checked out files wonæt get updated automatically13:07
joki left13:07
jdhawke repxl, look into using something like Jenkins to watch the repository, and pull code out to the document root when it detects a push to master, or some other branch13:07
WhereIsMySpoon no..so do git pull on your website folder13:07
otherwise if u want it auto then u need a build system13:08
like jd said13:08
bremner joined13:08
bremner left13:08
bremner joined13:08
jdhawke that way you can add to the job in jenkins some sanity testing to avoid pushing broken code to a live site13:08
WhereIsMySpoon as i said..git is not a deployment system13:08
repxl WhereIsMySpoon hmm im confused now i was think its something like svn ...13:08
ni__ joined13:08
WhereIsMySpoon i know nothing about svn13:09
go to #svn13:09
rjc left13:09
jcvfen joined13:09
WhereIsMySpoon hmm13:09
tomengland joined13:09
WhereIsMySpoon i dont think my commits are in these blobs13:10
bitkiller left13:10
osse repxl: it's very unlike svn. What you typically do is have a repo on the server and then you write a little script so that whenver you push to that repo the server will generate a set of files and place them in /var/www or wherever13:10
WhereIsMySpoon grumbel_, cbreak13:10
arand joined13:10
cbreak WhereIsMySpoon: blobs don't contain commits13:11
they contain file contents13:11
repxl osse yes so it is like i was think ...13:11
kotopies left13:11
WhereIsMySpoon cbreak: sorry thats what I meant..I cant see the changes I made in these blobs13:11
mizu_no_oto left13:11
LeMike left13:12
WhereIsMySpoon the changes which were in the commit that is lost13:12
john2x left13:12
repxl when i use tortoiseGit i can commit to git repo look https://code.google.com/p/tortoisegit/13:12
WhereIsMySpoon repxl: good?13:12
i can commit too13:12
that doesnt help you get your code onto your live env13:13
gnugnu9 joined13:13
repxl when i do the repo on the live server it will don't it ?13:13
john2x joined13:13
WhereIsMySpoon repxl: what you want is for the workflow to be like this right?: you push to master -> it gets deployed to your web server -> you can see stuff on your website13:13
tomengland left13:14
WhereIsMySpoon repxl: git can do only the first part13:14
for the rest you need to either call git manually and do git pull on your web server or use some build thing like jenkins13:14
HSaka joined13:14
chris_ left13:14
griotspeak joined13:15
cbreak WhereIsMySpoon: so I guess they are lost :/13:15
WhereIsMySpoon cbreak: i think im gonna give this up as a bad job13:15
joki joined13:15
WhereIsMySpoon cbreak: yea looks like it13:15
repxl o.O ok so basically git is only a tire of a car13:15
WhereIsMySpoon thanks for trying anyway mate, really appreciate it13:15
cbreak you don't have backups like TimeMachine either?13:15
bremner left13:15
prophile left13:15
cbreak probably not :(13:15
WhereIsMySpoon cbreak: never heard of it13:15
dsdeiz left13:15
WhereIsMySpoon cbreak: I really should have been pushing my changes tbh13:15
MattMaker left13:15
WhereIsMySpoon rather than just committing13:15
cbreak WhereIsMySpoon: it's the apple backup solution. It makes a backup of your hard disk every hour13:16
WhereIsMySpoon im on windows13:16
:)13:16
cbreak git doesn't replace backups, it solves a different problem13:16
hmm...13:16
microsoft doesn't have something similar?13:16
chris_thomson joined13:16
cbreak volume shadow copy thingie?13:16
WhereIsMySpoon no idea but if it does we dont have it13:16
cbreak repxl: no. Git is an scm. It is unrelated to cars.13:16
Droolio joined13:16
cbreak repxl: git manages source code.13:16
rath left13:16
WhereIsMySpoon repxl: if I google "git deployment" I get loads of results on the first page to help with that13:17
go and use them13:17
git is not a one click code push deployment system13:17
rath joined13:17
WhereIsMySpoon git is a code management system, like cb said13:18
msafi1 joined13:18
WhereIsMySpoon cbreak: guess it's time to nuke the repo13:18
seen as its still borked13:18
repxl you said push to master right that means push to git repo ?13:19
WhereIsMySpoon repxl: sure, usually a repository has a master branch where all the tested and validated code is merged into from sub branches13:19
renatow joined13:19
WhereIsMySpoon repxl: sounds like you need to read a guide on what git is for and how it works13:19
msafi1 left13:20
msafi joined13:20
rath left13:20
WhereIsMySpoon repxl: http://git-scm.com/book13:20
griotspeak left13:20
WhereIsMySpoon free13:20
go read the intro stuff13:20
git does not do what you think it does13:20
:)13:20
msafi left13:21
cbreak repxl: every git repository is complete. It contains the history of all branches it contains13:21
danicampa901 left13:21
msafi joined13:21
cbreak it has remote tracking branches containing all history of the remotes it tracks13:21
msafi I have a file that, in develop branch, is located in a different directory. How can I merge the develop version with my current branch version? Do I use cherry picking?13:21
decotii joined13:21
cbreak you can push or fetch to transfer said history13:21
moritz msafi: git merge13:21
though that doesn't just merge one file13:21
WhereIsMySpoon msafi: if you merge them it will say you removed the file from one place and added it in another13:21
which is fine13:21
msafi moritz: I just want that file, though, nothing else…13:22
testIriumdev joined13:22
sam___ let's say you have a (git) project with 1000 files, you add 1 file, you run commit . How many sha1 are computed? and at which stage did they get computed? during the "add", or during the "commit"?13:22
cbreak msafi: sounds like you fucked up history then :(13:22
msafi: you can git checkout thatbranch -- thatfile13:22
that'll give you that file, overwriting current state13:22
moritz msafi: then you need something like git show branch1:first/path > second/path13:22
rq60 joined13:22
moritz and then git add, git commit13:22
cbreak but it will not give you any history, which is why it's bad.13:22
WhereIsMySpoon ah i see..i misunderstood13:22
cbreak sam___: lots of SHA during add13:23
_rgn is there a straightforward way to add some of git log --oneline output in the git commit editor? so that I could autocomplete in vim based on earlier commit messages13:23
cbreak sam___: more during commit13:23
_rgn gst13:23
gitinfo set mode: +v13:23
cbreak _rgn: there's man githooks13:23
gitinfo _rgn: the githooks manpage is available at http://jk.gs/githooks.html13:23
testIriumdev hello everybody13:23
gitinfo testIriumdev: 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.13:23
kotopies joined13:23
cbreak maybe the prepare commit message hook helps you?13:23
WhereIsMySpoon lol13:23
arand sam___: One for each blob (file) and one for each tree (subdirectory)... At least one for the final commit id at the commit stage...13:24
cbreak _rgn: you can also specify a commit to copy the message from when committing13:24
testIriumdev i had question about update git form 1.9 to 2.0 on windows it's a required updated ?13:24
Neon1024 left13:24
msafi cbreak: I branched from develop. Moved files around. Then develop version got updated. Now I wanna get that develop version. Why do you think I fucked up my history?13:24
cbreak testIriumdev: git 2? Wait with that until it's released13:24
testIriumdev: 1.9 is still barely a month old I think13:25
koda joined13:25
cbreak msafi: because you don't want to merge13:25
repxl -------------------------------------------------------------------------------------13:25
testIriumdev still alpha 2.0?13:25
repxl I'm currently deploying PHP using Git. A simple git push production is all that's needed to update my production server with the latest copy from Git. It's easy and fast because Git's smart enough to only send the diffs and not the whole project over again. It also helps keep a redundant copy of the repository on the web server in case of hardware failure on my end (though I also push to GitHub to be safe).13:25
cbreak msafi: if your history would be good, you'd just rebase or merge and be done13:25
WhereIsMySpoon wtf13:25
cbreak repxl: no spamming please13:25
WhereIsMySpoon repxl: dont do that please13:25
repxl this sounds to easy however it isn't13:25
WhereIsMySpoon if everyone prefaced their question with spam this channel would get clogged up stupid fast13:26
Dudi left13:26
msafi I'll try a merge and see what happens. It sounds like the most straightforward path.13:26
tobiasvl repxl: why isn't it easy? what exactly is your problem?13:26
where does it stop?13:26
msafi Is there a way to see what a merge would do without actually merging?13:26
cbreak msafi: just merge and if you don't like it, abort13:26
WhereIsMySpoon http://stackoverflow.com/questions/501407/is-there-a-git-merge-dry-run-option13:26
cbreak msafi: if you don't have uncommitted changes, then that's safe13:26
testIriumdev msafi why u dont GUI client ?13:26
WhereIsMySpoon git merge --no-commit --no-ff $BRANCH13:26
chris_thomson left13:27
testIriumdev u will see live merge13:27
WhereIsMySpoon yea..git extensions is really nice :)13:27
msafi testIriumdev: like what GUI?13:27
repxl tobiasvl i want to use git with my friends to commit changes to server13:27
JeremyWei joined13:27
_rgn cbreak: i frequently use git commit -C yeah. i'll look into prepare commit message hook13:27
testIriumdev sourceTree for exemple is free from Stash13:27
echolon joined13:28
msafi testIriumdev: how can I see a merge live with SourceTree? Been merging with SourceTree for a couple of months now, never noticed a preview feature...13:28
tmcmahon joined13:29
_ikke_ preview what?13:29
tobiasvl repxl: yes, but what's your actual problem? why can't you push your PHP repo to the production server?13:29
repxl: you want to update the production repo's working directory on all pushes, I guess?13:29
msafi _ikke_: of what a merge would do without actually merging...13:29
tobiasvl repxl: is this an accurate copy of your lackluster question? http://stackoverflow.com/questions/3728054/git-push-to-live-server13:30
msafi: there's no "preview". you actually do the merge. locally.13:30
why don't you want to merge?13:31
repxl tobiasvl ehh ye push stright to server13:31
testIriumdev of couse why not as well , you can do revert if you are not ready or are doing test13:31
tobiasvl repxl: yes, I understand that. what I don't understand is what you've tried so far, what your actual problem is and why you think it's hard to achieve.13:32
repxl tobiasvl i didn't started but my question is when i install git on my live server now and i will create a repo inside the "root folder of my website" can me and my friend download the code from live server and commit back updates ?13:33
_ikke_ repxl: That's not a recommended workflow13:34
tobiasvl repxl: yes, absolutely. you can download the code (clone the repo) and push back updates.13:34
but as _ikke_ says it's not recommended.13:34
polyzen joined13:34
JeremyWei left13:34
_ikke_ And pushing to a non-bare repository is refused by default13:34
see also !bare13:34
gitinfo an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/13:34
repxl tobiasvl and how is it recommended like have the repo on a different folder not on the "root website" ? or even have a complete new server for git repo ...13:34
tobiasvl repxl: did you read the stackoverflow link I gave you? the answer there is pretty explanatory.13:34
tmcmahon left13:34
testIriumdev left13:35
repxl tobiasvl you mean Local developer, Master server, Web server ?13:35
Raging_Hog left13:35
tobiasvl repxl: I don't _mean_ anything, I haven't said anything about the actual workflow (you haven't presented one)13:36
repxl: _ikke_ told you it wasn't recommended though, and I agree13:36
repxl: maybe you could read this too: http://toroid.org/ams/git-website-howto13:37
_tpavel left13:37
tobiasvl that tells you how to achieve what you want13:37
smart or not13:37
dougsland joined13:38
banrahan joined13:38
lite_ left13:38
el3ctron joined13:38
Neon1024 joined13:38
dik_dak joined13:39
Destos joined13:39
mizu_no_oto joined13:39
repxl tobiasvl thx i go read that13:39
faBimon joined13:40
akim_ joined13:40
WhereIsMySpoon left13:41
Dougie187 joined13:41
diegovio1 joined13:43
jatt joined13:43
sctt joined13:43
jatt left13:43
jatt joined13:43
jgoss left13:44
blackmesa joined13:44
binnisb left13:45
diegoviola left13:45
jdhawke jast man I want to buy you a beer for that tip13:46
only one issue...a new file generated in a location that I'm excluding is showing up as untracked...13:47
sdouglas joined13:48
el3ctron left13:48
acharlieh left13:48
diegovio1diegoviola13:49
Exancillatus joined13:49
el3ctron_ joined13:50
sctt left13:50
JSharpe joined13:50
vtunka left13:53
watabou joined13:53
Guest13652 left13:53
AaronMT joined13:54
dsdeiz joined13:54
boboc joined13:55
bremner joined13:55
bremner left13:55
bremner joined13:55
JerryT left13:55
rfoust left13:56
rfoust joined13:56
watabou left13:58
jast jdhawke: add those dirs to .git/info/exclude to have them ignored, too13:58
Silmarilion joined13:58
GT4066 joined13:58
jdhawke okay13:58
shinnya left13:58
jdhawke is that again a local only item?13:58
hholtmann joined13:59
jgoss joined14:00
jdhawke jast: now I owe you two beers :)14:00
cbreak repxl: creating a repo in the root of a web server strikes me as idiotic. Why would you want to do such a thing? Don't you know how crappy dumb-http is?14:01
repxl: just use ssh, it's much easier to set up14:01
phantomtiger joined14:01
cbreak and it also supports pushing, unlike dumb http14:01
jonatasnona joined14:01
cmpera left14:02
repxl cbreak i already gave up14:02
_ikke_ cbreak: The reason is more likely that they expect a git push to update the files14:02
cbreak _ikke_: that sounds weird. As if they didn't read !deploy14:02
gitinfo _ikke_: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html14:03
jatt left14:04
tshirtman tried some time ago to make a hook to checkout master after getting refs pushed, that didn't go well, i guess i'll need to read about a proper setup next time i want that :]14:05
Diemuzi joined14:07
gitinfo set mode: +v14:07
dc5ala joined14:07
pikaren git cherry-pick could only affects the file that had been staged into the picked commits, right?14:07
echolon left14:07
Jellyk joined14:07
pcrd cherry-pick only affects the files that the diff shows (roughly)14:08
boboc left14:08
conan joined14:09
echolon joined14:09
keller left14:09
rob_w joined14:10
samsamm777 left14:10
stealthii left14:10
asQuirreL left14:10
kwmiebach____ left14:10
iwantoski left14:11
mizu_no_oto left14:11
el_fuego joined14:11
aberrant left14:11
stealthii joined14:12
BaconOverflow left14:12
kwmiebach____ joined14:12
repxl well by the way when git is not a deployment tool what is the main usage git without deployment would be unattractive don't u think ?14:13
BaconOverflow joined14:13
pikaren pcrd: diff with the picked commits?14:13
daito left14:13
_ikke_ repxl: No14:13
repxl: git is good at maintaining history14:13
repxl: And allow people collaborate.14:14
shawndumas joined14:14
ErKa joined14:14
diegoviola left14:14
_ikke_ repxl: for deployment there are other tools much more fit for the job14:14
daito joined14:14
iwantoski joined14:14
repxl _ikke_ can u give me a hint which tools i really want only to deploy with one other friend.14:15
kotopies left14:15
zackiv31_ left14:15
CussBot left14:15
mamarley left14:15
jatt joined14:15
CussBot joined14:15
mamarley joined14:15
jatt left14:15
jatt joined14:15
polyzen left14:16
JeremyWei joined14:16
tobiasvl repxl: what was wrong with http://toroid.org/ams/git-website-howto14:17
el3ctron_ left14:17
jnavila_ left14:18
daito left14:19
echolon left14:19
CKyle joined14:19
zackiv31 joined14:19
nnyk_ left14:19
Exdaix joined14:20
asQuirreL joined14:20
sceox left14:21
echolon joined14:21
cmpera joined14:21
cmmagid left14:22
gabedain left14:24
jnavila joined14:24
becks__ joined14:24
gabedain joined14:24
gabedain left14:24
gabedain joined14:25
baustin joined14:26
bremner not as up to date as !deploy14:26
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html14:26
someperson joined14:27
bremner me reads backlog, too late.14:27
someperson how do i find which git commit a particular line of code got added, and when it got removed?14:27
some kind of git blame across all commits ?14:28
petey joined14:28
tobiasvl someperson: !bisect14:29
echolon left14:29
tobiasvl someperson: !git-bisect ??14:29
ok, git bisect anyway14:29
D4v33 left14:29
echolon joined14:30
ojacobson joined14:30
_ikke_ git log -S14:30
git log -S shows when a certain line was either added or removed14:31
vtunka joined14:31
the-erm joined14:31
zackiv31 left14:32
JerryT joined14:32
hkon_ left14:32
jxpx777 joined14:32
cmpera left14:32
zackiv31 joined14:33
someperson _ikke_: hmm? how does that work?14:33
lets say i know which file and roughly what the line should contain14:34
dsdeiz left14:34
someperson tobiasvl: how do i use that by file, search for a line?14:34
thegorn someperson: git log -S"what to search for" -- file.c14:34
sceox joined14:35
tobiasvl someperson: you don't, I misunderstood you. sorry14:35
Jellyk left14:35
hkon_ joined14:36
nepochal_ left14:36
dsdeiz joined14:36
raininja joined14:36
nepochal joined14:36
raininja ok I need to git bisect the kernel14:36
thierryp joined14:36
JerryT_ joined14:36
rlb joined14:37
fr33 joined14:38
hyperair joined14:38
EminenceHC joined14:39
someperson thegorn: thanks14:39
Silmarilion left14:39
rlb gitk has started truncating all the tag names here, i.e. no content any more -- they're all just "tag...". Is there an option to restore the names that I might have overlooked?14:39
pikaren someone on reddit said git is programmer's masturbation14:39
u write detail commit message but in reality seldom look back14:40
ojacobson pikaren: someone on reddit says a lot of things. Some of them are even true.14:40
conan_ joined14:40
JerryT left14:40
echolon left14:40
ojacobson Others are not.14:40
How about having an opinion of your own, if you're going to try to have an opinion discussion14:40
pikaren hmm14:40
im just tring to start flame war14:40
aberrant joined14:41
ojacobson Ah. Well, thanks for being up-front about it; now, if you don't mind, knock it off14:41
aarapov left14:41
someperson pikaren: leaving a detailed commit message has a lot of value, even if indirectly14:41
Gaga left14:41
ojacobson this channel gets enough acrimony without your help :)14:41
Juri_Agarin joined14:41
m0ltar left14:41
Samual joined14:42
conan left14:42
echolon joined14:42
_ikke_ pikaren: If you want to be treated like a troll, we can arrange that for you14:42
rlb ...and one other question -- the branch labels have changed to black-on-dark-green, which is fairly low-contrast on this display. I'd like to change that too, but didn't see an (obvious) option.14:43
bambams_ joined14:43
Exancillatus left14:44
lite_ joined14:44
flazz_goneflazz14:44
Exancillatus joined14:44
nottombrown joined14:46
bwreilly joined14:46
tubaman joined14:46
xjiujiu left14:46
bwreilly left14:46
jagob left14:47
Zarthus joined14:48
Sabbath joined14:48
neurodrone_ left14:48
SorenHolm left14:49
baustin left14:50
Exancillatus left14:50
infynyxx joined14:51
hyperair left14:51
bwreilly joined14:51
Neon1024 left14:52
cmpera joined14:52
dirt_t left14:53
JeremyWei left14:53
cvanball joined14:53
Sabbath left14:53
watabou joined14:54
Exancillatus joined14:54
jnewt left14:55
Juri_Agarin left14:55
dreiss joined14:56
echolon left14:56
CKyle left14:57
john2x left14:57
merica joined14:57
lindenle joined14:57
Neon1024 joined14:58
watabou left14:58
SocalNick joined14:59
rq60 left14:59
njsg__ left14:59
carbon joined14:59
przemkovv left14:59
rlb ...answering my own question: set headbgcolor in ~/.config/gitk15:00
carbon left15:00
thedodd joined15:01
codeFiend joined15:01
JeremyWei joined15:02
lavaman left15:03
AccessibleWeb left15:03
nottombr_ joined15:03
AccessibleWeb joined15:04
nottombr_ left15:04
nottombr_ joined15:05
_5kg_ left15:05
lindenle left15:05
przemkovv joined15:05
dreiss left15:06
Kayra left15:06
hwrdprkns joined15:06
codeFiend left15:06
nottombrown left15:06
starkhalo joined15:06
Kayra joined15:06
tureba left15:07
hkon_ left15:07
ssj4mo left15:07
samsamm777 joined15:07
sd1074 left15:08
AccessibleWeb left15:08
the-erm left15:09
acharlieh joined15:10
hwrdprkns left15:10
mizu_no_oto joined15:11
Entomo left15:11
Kayra left15:11
jagob joined15:13
tureba joined15:13
treehug88 joined15:14
hwrdprkns joined15:14
bluesm left15:15
raj__ left15:15
someperson left15:15
AccessibleWeb joined15:15
prophile joined15:16
infynyxx left15:16
kballou joined15:17
pmurias left15:18
ilmgb left15:19
Leucaruth joined15:19
Noldorin joined15:19
JeremyWei left15:20
petey left15:20
freimatz left15:20
Kayra joined15:20
Hounddog_ joined15:20
korbelz left15:21
Gamecubic joined15:21
Hounddog left15:21
goTAN joined15:22
el3ctron joined15:22
aarapov joined15:22
lavaman joined15:23
Entomo joined15:24
sweetyReaper left15:24
harish_ joined15:25
hyperair joined15:25
aarapov left15:27
jast jdhawke: yes it is. and I actually don't drink beer, so you're in luck ;)15:28
dawkirst left15:29
Gavrisimo left15:29
Gamecubic left15:29
ayaz left15:30
cff left15:30
AccessibleWeb left15:30
knuth joined15:31
nottombr_ left15:31
lite_ left15:31
jdhawke jast: lol, fair enough, this is going to save me so much pain. Thanks for the tip.15:32
rq60 joined15:32
jast you're welcome15:32
nottombrown joined15:32
Silmarilion joined15:33
Sicp left15:33
mikemar10 joined15:33
cmpera left15:34
WhereIsMySpoon joined15:34
infynyxx joined15:34
zumba_addict joined15:34
cmpera joined15:34
GeertV left15:34
aberrant left15:35
ni__ left15:35
noxd left15:35
jluc joined15:36
Kneferilis joined15:36
gua_ould left15:36
Kneferilis hello, git by default doesn't treat a file where I added a whitespace, as changed file that I can commit?15:37
jast it does15:38
raj__ joined15:38
rainmanjam joined15:38
wrouesnel1 left15:39
AccessibleWeb joined15:39
kotopies joined15:39
jdhawke Kneferilis I've run into that before, but the problem was my IDE was stripping out trailing whitespace so git never saw the changes.15:40
Kneferilis jdhawke, I see.15:40
jast that's what you get for not using a real editor ;)15:41
tshirtman i think diff algos can be told to ignore whitespace difference maybe a git config can produce that too15:41
,*15:41
Kulrak left15:41
Kneferilis :)15:41
cmpera left15:41
sdouglas left15:41
jdhawke jast I used to use Emacs, until I wore out the ctrl and alt keys15:41
dsdeiz left15:41
ferreum left15:41
jast there'a always vim15:41
nb_bez_ joined15:41
hyperair left15:41
jdhawke modal editors just dont make sense to my head15:42
rjc joined15:42
jast it's dead useful, just takes some getting used to15:42
tshirtman vim ftw15:42
jdhawke I can use it, and get around, but I just find the whole shifting modes thing to be an un-needed extra step15:42
w1zeman1p joined15:42
infynyxx left15:43
tshirtman it gives you the same hundreds of shortcuts without breaking your ctrl and alt keys15:43
or your fingers, for that matters :)15:43
jdhawke I wont deny that Emacs contributes to carpal tunnel15:43
tokik joined15:43
stodan left15:44
nottombrown left15:44
infynyxx joined15:44
someperson joined15:45
nottombrown joined15:45
bluesm joined15:45
kermit left15:45
dirt joined15:45
cmpera joined15:45
Guest4534 left15:46
hyperair joined15:46
AccessibleWeb left15:46
tokik left15:47
rjc left15:47
tokik joined15:47
chris____ joined15:47
chris____ left15:47
AccessibleWeb joined15:49
pheaver joined15:49
pikaren try atom then15:49
_5kg_ joined15:49
pikaren if u have a mac and a invitation15:49
seanwash left15:49
ilmgb joined15:49
prophile left15:50
tshirtman it's mac only? i though it was web oO15:50
j0ran left15:50
tokik_ joined15:51
nottombr_ joined15:51
zoso left15:51
dragosf left15:52
tokik left15:52
raj__ left15:52
nilg`` left15:52
bwreilly left15:52
masak joined15:52
banrahan left15:53
GeertV joined15:54
thierryp left15:54
CKyle joined15:54
nottombrown left15:54
makubi left15:56
Misan left15:57
vtunka left15:57
mizu_no_oto left15:57
Hounddog_ left15:57
ilmgb left15:58
makubi joined15:58
wizard_A joined15:58
kermit joined15:58
Hounddog joined15:58
cmpera left15:59
Exancillatus left15:59
nottombr_ left16:00
nottombrown joined16:01
roelmonn_ left16:01
deens joined16:02
renatow_ joined16:02
matteo joined16:03
renatow left16:03
mizu_no_oto joined16:03
pheaver left16:04
jargon left16:04
j0ran joined16:04
joelm joined16:05
souther left16:05
kotopies left16:06
imachuchu joined16:07
deens left16:07
CussBot left16:07
CussBot joined16:08
ilmgb joined16:08
Hounddog left16:09
Hounddog joined16:09
petersaints left16:10
el_fuego_ joined16:11
j0ran left16:11
jatt left16:11
el_fuego left16:11
baustin joined16:12
mattt_ joined16:12
bwreilly joined16:13
ethlor joined16:15
dreiss joined16:15
dirt left16:15
mattt_ I recently had to pull a feature from branch 'dev' into its own branch. I did this by creating a branch just before the first feature commit, then cherry-picking each feature-related commit into the new branch. I then reverted each of those commits on dev and committed the revert as a whole. I wanted to then update the feature branch, so I rebased on dev - I was expecting that all the changes in the branch would be replayed overtop of the HEAD16:15
dev (which just so happens to be the big revert commit). But it seems after rebasing the feature branch, the feature is gone, that is, the big revert is now HEAD of the feature branch.16:15
kotopies joined16:15
dirt joined16:16
erikruthven joined16:16
codeFiend joined16:16
WormDrink left16:16
clearing joined16:16
rq60 left16:16
rq60 joined16:17
Gamecubic joined16:17
lynzt joined16:17
TomyWork joined16:18
ni__ joined16:18
CKyle left16:18
hwrdprkns left16:18
Favoretti left16:18
aberrant joined16:19
ErKa left16:19
mlechner left16:19
jceb left16:20
cvanball left16:20
iwantoski left16:20
takamichi left16:21
delianides joined16:21
RichardJ joined16:21
gua_ould joined16:21
maloik left16:21
_richardJ left16:21
Streward joined16:22
takamichi joined16:23
maloik joined16:23
ni__ left16:23
Favoretti joined16:23
lov Silly question. I've got branch foo, which I'm rebasing onto master. Branch foo contained one divergant commit. There was a merge error that was manually fixed, but I'm still skeptical. Is there a good way to diff the commits themselves, to ensure that I didn't leave aything out?16:23
hyperair left16:23
Gizburdt left16:24
yhager joined16:24
someperson left16:24
freestyl3r left16:25
codeFiend left16:25
shingshang left16:25
rjc joined16:25
dirt left16:26
ghostlines left16:26
dirt joined16:27
ojacobson lov: git diff <commit A> <commit B>16:27
lb1a left16:27
ojacobson to get commit A you probably want the reflog syntax (foo@{number}); see man git-reflog and man gitrevisions for details16:27
gitinfo the git-reflog manpage is available at http://jk.gs/git-reflog.html16:27
the gitrevisions manpage is available at http://jk.gs/gitrevisions.html16:27
Gizburdt joined16:28
lov ojacobson: is that diffing per file?16:28
mattt_ Hm, how can I rebase one branch onto another, ignoring the date on merge? I want the whole branch to start from 'dev' HEAD16:29
ArSn left16:29
lov note that there's a ton of changes that happened in master after foo was originally created, so that's going to give me a ton of stuff I don't want16:29
Zebroid joined16:29
lov what I'm looking for is "What's the difference between the changes in these two commits"16:29
not "what's the difference between these two comits"16:29
*commits16:29
I want to diff the patches in those particular commits, not all things inbetween16:29
pduin left16:30
ojacobson lov: ah, then 'diff <(git diff foo~ foo) <(git diff bar~ bar)'16:30
ThomasLocke left16:30
ojacobson (note 'diff', not 'git diff')16:30
foo and bar being the commits of interest16:30
you probably want diff -U416:30
lite_ joined16:30
koell joined16:30
j4quinn joined16:31
gua_ould left16:31
lov ojacobson: perfect, thanks16:31
SorenHolm joined16:32
ojacobson diffs-of-diffs are one reason I stopped caring about quilt and mercurial queues, mind :)16:32
arietis left16:32
dirt left16:33
thierryp joined16:33
elijah_ left16:33
dirt joined16:33
cagedwisdom left16:33
elijah joined16:34
hochmeister joined16:34
el3ctron2 joined16:34
Noldorin left16:34
watermel0n joined16:34
codeFiend joined16:35
AccessibleWeb left16:35
Chryyz left16:36
HelperW left16:36
Bass10 joined16:36
el3ctron left16:37
arietis joined16:37
yhager left16:38
el3ctron2 left16:39
el3ctron_ joined16:39
ni__ joined16:39
Zifre joined16:40
xificurC left16:40
rlb left16:41
samsamm777 left16:42
thevishy left16:42
Zebroid left16:42
Exancillatus joined16:42
yhager joined16:42
Exancillatus left16:43
Sample joined16:43
ngladitz joined16:43
thierryp left16:43
bvi left16:43
JosephFerano left16:44
sam___ left16:44
Rylee left16:44
beyondcreed joined16:45
ErKa joined16:45
Gonzo89 left16:45
Gizburdt left16:46
rob_w left16:46
lolmaus_ left16:46
werlley joined16:46
lolmaus joined16:47
Rylee joined16:47
cbreak difference between two commits? git diff commit1 commitb16:47
ojacobson He really wanted difference between two changes16:48
cbreak cherry-pick one commit on the other, then git show?16:48
ojacobson (which I chose to parse as "diffs from a commit's first parent to the commit")16:48
mm, maybe16:49
diff-of-diff also works :)16:49
kotopies while reading Git project GSoC project propositions I stumbled upon this "@{upstream}" thing. what does it do?16:49
oojacoboo joined16:49
zumba_addict left16:49
fjfish joined16:49
mellernoia left16:50
codeFiend left16:50
zumba_addict joined16:50
cbreak it refers to the branch the current branch tracks16:50
kotopies: git branch -vv also shows that16:50
jrnieder yeah, it's the thing that 'git pull' would pull from16:50
cbreak kotopies: it's also visible in git config -l of course16:50
MoogleCharm joined16:50
jrnieder man gitrevisions is probably the right place for it to be documented16:51
gitinfo the gitrevisions manpage is available at http://jk.gs/gitrevisions.html16:51
jrnieder the current explanation there is... uninspiring16:51
lynzt left16:51
sceox left16:51
kotopies cbreak jrnieder: thanks :)16:51
tokik_ left16:51
francisfish left16:52
prophile joined16:52
j4quinn Quick question. i keep receiving this message "warning: suboptimal pack - out of memory" when i try to clone or repack. how do i resolve this? I know it is a memory issue/16:52
dalias add more memory? ;-)16:52
j4quinn i have 4gs of memory16:52
Stygia left16:53
malkomalko joined16:53
SorenHolm left16:53
gdmfsob left16:53
lindenle joined16:53
ArcTanSusan joined16:53
jrnieder it means creating delta index failed. How many objects does this repo have?16:54
cbreak j4quinn: the server's the problem.16:54
ben_xyzzy joined16:54
cbreak j4quinn: cloning requires the server to do the packing16:54
jrnieder git count-objects -v16:54
jast the thing is, if someone has created the pack in such a way that you need more RAM than you have to even fully unpack it, you can't repack it :}16:54
MoogleCharm left16:54
watabou joined16:55
gitinfo set mode: +v16:55
jonatasnona left16:55
ben_xyzzy How do I compare a working copy file with arbitrary previous commit?16:55
ereslibre left16:55
jast git diff <commit>16:55
j4quinn so jast how do i approach this issue then?16:55
jast good question16:55
mellernoia joined16:55
jast borrow a powerful computer? ;)16:55
jadne joined16:56
j4quinn i dont understand this16:56
lavong left16:56
jrnieder depends on the underlying cause16:56
jadne is there a way i can export just the current directory as its own repository?16:56
baustin left16:56
cbreak jadne: no.16:56
jadne drat16:56
cbreak jadne: you can rewrite history though16:56
milki rsync16:56
cbreak or you can use something like git archive and make a new repo without history16:56
jast create a copy of repo. use git filter-branch with --subdirectory-filter.16:56
cbreak it depends on wether you want to keep history or not16:56
jadne i do want the history16:57
otherwise i'd just use tar16:57
cbreak then filter-branch is the way to go16:57
jadne ok16:57
craigp joined16:57
cbreak it'll cut away everything but the specified subdirectory and makes it the new root16:57
arand left16:57
Balliad left16:57
jadne great, thakn you16:57
cbreak specify --all to filter all branches, and a --tag-name-filter cat to rewrite tags too16:57
and as jast said, do it in a copy... :D16:57
osse jadne: the new repo you create will be incompatible, though.16:58
craigp left16:58
jadne er16:58
osse you cannot update it easily from the original (larger) repo16:58
jadne incompatible with which16:58
mh` left16:58
jadne oh i am not going to16:58
a developer at work wants to break out one subdirectory from a larger project and move it elsewhere16:58
mh`` joined16:58
jadne to become its own project16:58
jnavila left16:59
ArcTanSusan left16:59
osse that's the use case filter-branch with --subdirectory-filter is perfect for16:59
jadne k16:59
deens joined16:59
jadne muchas16:59
watabou left16:59
pheaver joined16:59
thiago joined16:59
Zaknefain left16:59
j4quinn jrnieder count:209017:00
jasonroyle left17:00
Joost left17:00
jbalsano joined17:01
ben_xyzzy left17:01
Gamecubic left17:01
jceb joined17:02
treehug8_ joined17:02
Xethron joined17:02
Xethron left17:02
Xethron joined17:02
andr3a left17:02
Exancillatus joined17:02
gain left17:02
j4quinn jrnieder: as well it is my server17:02
Exancillatus left17:02
Joost joined17:03
Chryyz joined17:03
sceox joined17:04
jcarouth left17:05
treehug88 left17:05
renatow_ left17:06
xerxas joined17:07
GeertV left17:07
WakiMiko__ left17:07
Raging_Hog joined17:07
WakiMiko joined17:07
oodavid left17:07
Bosch[] joined17:08
Gizburdt joined17:08
samsamm777 joined17:08
maestrojed joined17:08
NaiveFrost joined17:10
yhager left17:10
Exancillatus joined17:12
shawndumas left17:12
lindenle left17:12
jceb left17:13
lindenle joined17:13
thevishy joined17:14
harobed left17:14
Zaknefain joined17:14
takamich_ joined17:15
a-l-e joined17:15
Gamecubic joined17:15
tyreld joined17:16
Xethron left17:16
afflicto joined17:16
AccessibleWeb joined17:17
afflicto So, I just pushed to my bitbucket remote repo. I forgot to add a few files to my .gitignore file. So I did that now, how do I make the remote repo remove those files I no longer want git to track?17:17
takamichi left17:17
skorgon afflicto, !fixup17:18
gitinfo afflicto: 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!17:18
jonatasnona joined17:20
Neon1024 left17:20
alorence left17:20
oojacoboo left17:20
mizu_no_oto left17:20
przemkovv left17:20
elighcash joined17:21
WhereIsMySpoon skorgon: that isnt necessary from his use case17:21
afflicto I found a solution: git rm --cached file.txt17:21
WhereIsMySpoon he just wants to remove the files17:21
just a git rm17:21
afflicto yea17:21
WhereIsMySpoon mmhm17:22
mikemar10 left17:22
skorgon WhereIsMySpoon, well, depends on what remove means. just stop tracking, or forget that they have been ever tracked17:22
elijahuncle_comcast17:22
WhereIsMySpoon i assumed the simpler option :)17:22
bambams_ And the safer option since it is now published history.17:22
skorgon you may or may not be correct ;)17:22
oojacoboo joined17:22
njsg joined17:23
skorgon that's why I pointed to !fixup, that also tells about !rewrite. that should cover all options...17:23
gitinfo 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!17:23
Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum17:23
njsg left17:23
njsg joined17:23
uncle_comcastuncle_duran17:23
bambams_ Sure, but for all intents and purposes fixup/rewrite is the wrong option unless somebody explicitly asks for it. :)17:23
WhereIsMySpoon ^17:24
phinfinity joined17:24
Anticom left17:24
skorgon bambams, i haven't read the fixup site fully, but doesn't it cover revert and fixing things up without rewriting history?17:24
i thought one of the first branches in the fixup flow was published vs non-published17:25
Exancillatus left17:25
phinfinity left17:25
wizard_A_ joined17:25
uncle_duranuncle_comcast17:25
wizard_A left17:26
przemkovv joined17:26
bambams_ skorgon: I haven't read through that link (because I already pretty much know what I'm doing). A quick browser search of that page doesn't match 'git rm'.17:26
uncle_comcastelijah17:26
phinfinity joined17:27
mizu_no_oto joined17:27
dfanjul left17:27
ezrafree left17:27
RagBal left17:28
phinfinity left17:28
hyperair joined17:29
lite_ left17:29
Raging_Hog left17:29
dserodio left17:29
lite_ joined17:30
mikecmpbll left17:30
northfurr left17:31
elighcash left17:32
m0ltar joined17:33
shawndumas joined17:33
Mitchbones joined17:33
lite_ left17:34
plitzenberger joined17:35
wizard_A_ left17:35
plitzenberger left17:35
wizard_A_ joined17:35
mmoretti joined17:35
dfarler left17:36
CKyle joined17:36
thalisson_ joined17:37
hwrdprkns joined17:38
raj__ joined17:39
ilmgb left17:39
pietro10 joined17:40
ErKa left17:40
pietro10 Hi. What'st he easiest way I can pull specific files form a specific previous commit into a working directory? Thanks.17:41
Raging_Hog joined17:41
samsamm777 left17:41
WhereIsMySpoon pietro10: do a cherry pick and merge?17:41
baustin joined17:42
pietro10 not interested in merging, just want to pull files from an old commit out into my working directory to test something real quick17:42
arietis left17:42
ojacobson 'git checkout <tree-ish> -- <paths...>'17:43
which will stage them, as well17:43
akim_akim17:43
ojacobson so don't do this if you have staged uncommitted changes :)17:43
pietro10 ok, thanks17:43
right, my root is clean right now17:43
rq60 left17:43
hobodave joined17:44
cllamas left17:44
pietro10 so17:44
git checkout ab4d286c78b4e240a82b2b191f0d9c8d43c7b44c -- files... ?17:44
gerard0 left17:44
ojacobson or 'HEAD~30' or 'some-branch' or whatever, yes17:45
pietro10 thanks17:45
gerard0 joined17:45
kotopies left17:45
ErKa joined17:46
thalisson_ left17:47
thalisson_ joined17:48
Noldorin joined17:48
m0ltar left17:48
kotopies joined17:48
packetGunner left17:48
octaviordz left17:49
fjfish left17:49
rq60 joined17:49
tvw left17:50
jamieshepherd joined17:51
jamieshepherd Hey, I'm sure a really simple thing, how do I make git upload empty folders? (Or can't I do this?)17:51
welly left17:51
Sonderblade joined17:51
ohcibi jamieshepherd: 1. you dont upload folders nor files. 2. no, you cannot track empty folders17:51
jamieshepherd Okey.. Little bit frustrating as without the folders despite them being empty netbeans throws an error when I clone the project anywhere :(17:52
asQuirreL left17:53
ohcibi jamieshepherd: typical approach is to commit an empty file like .gitkeep (name is only convention) in the folder you need, if you want to commit a basic folder-structure17:53
hahuang65 joined17:53
pietro10 left17:53
jamieshepherd Ah that's a good idea, thanks17:53
ohcibi np17:54
hwrdprkns left17:54
dfarler joined17:54
PeterBooker left17:54
ojacobson An empty .gitignore also works17:55
asQuirreL joined17:55
mattt_ left17:55
AccessibleWeb left17:55
Exancillatus joined17:55
Trudko joined17:55
Exancillatus left17:56
bvi joined17:56
AccessibleWeb joined17:56
jamieshepherd Ok, cool :)17:56
AccessibleWeb left17:56
scalability-junk joined17:56
AccessibleWeb joined17:56
codeFiend joined17:57
ohcibi jamieshepherd: _any_ empty (or even non-empty) file works, the point is that git only tracks files, not directories... an empty .gitignore still makes a lot of sense as this file is not totally useless like .gitkeep or "empty" or "dontdeleteme" would be17:58
PeterBooker joined17:58
jamieshepherd Yeah I got that, thanks again17:58
bvi left17:58
Raging_Hog left17:59
kermit left17:59
conan_ left18:00
xlinkz0 left18:00
WaReZ left18:00
pr0ton joined18:00
jstimm joined18:01
AccessibleWeb left18:01
Hounddog left18:02
kermit joined18:03
watermel0n left18:03
marshmn left18:03
ChrisAnn left18:04
Snicers-Work joined18:04
WhereIsMySpoon left18:04
teasherm joined18:04
goTAN left18:04
JosephFerano joined18:05
thiago left18:05
Vile joined18:07
thiago joined18:07
osse humbly suggest making whatever tool that needs these directories create them18:08
ojacobson netbeans is not even remotely that smart18:08
(arguably, the solution here is to use a better dev environment)18:08
(if you need to check in project changes to make one specific IDE work, it's a bad IDE.)18:08
cs02rm0 joined18:08
osse alias netbeans='mkdir -p foo; netbeans' :p18:09
cs02rm0 does a git clone pull down remote branches? i.e. if i were to clone, then hop on an airplane could i find and work with a remote branch?18:09
osse cs02rm0: yes18:10
cs02rm0 superb. thanks.18:10
yhager joined18:10
hholtmann left18:10
hholtmann joined18:10
thiago left18:12
pr0ton left18:12
felipewm joined18:13
ehmatthes joined18:13
arif-ali left18:14
nnyk_ joined18:15
phantomtiger left18:15
HelperW joined18:16
faBimon left18:18
jdhawke LOL18:19
TomyWork left18:19
runnyspot left18:19
anry joined18:19
mizu_no_oto left18:20
kotopies left18:20
dc5ala left18:20
jdhawke osse: well after that discussion this morning about the people I'm dealing with who have unique ideas on how Git should be used, I just got off the phone from the interview, was offered the position with a 10% raise and am waiting for the formal offer letter to come through.18:20
osse jdhawke: allahu akbar!18:21
(if that's your thing)18:21
jdhawke: is it more of the same or a completely different area?18:21
nottombr_ joined18:21
harobed joined18:21
hwrdprkns joined18:21
nottombr_ left18:22
noxd joined18:22
jdhawke I'll be moving to being a backend LAMP developer, Drupal/Symfony/Code Ignighter with the opportunity to still get some Java and Rails work as well18:22
codezomb joined18:23
hobodave left18:24
ojacobson java, rails, and php, together at last? sign me the fuck up :-\18:24
jdhawke (and no, not my thing but the though is appreciated)18:24
hobodave joined18:24
ojacobson I'm glad you're excited because I would run the other direction in your position :)18:24
bluesm left18:25
jdhawke ojacobson I've been doing LAMP dev for about 10 years now....it's comfortable. Java has been new on my plate, but I'm loving JSF/JPA(Hibernate)18:25
nottombrown left18:25
treaki joined18:25
jdhawke now I know a project manager who is going to crap bricks when I tender the notice18:25
osse jdhawke: FSM maybe?18:26
nutron joined18:26
lov jdhawke: hail satan18:26
jdhawke lol, nah, I'm more of a Russel's Teapot kind of guy18:26
CKyle left18:27
ehmatthes left18:28
sdouglas joined18:29
osse jdhawke: 10% raise ain't bad. That means that after you start the new job the old one will pay 9.09% less !18:29
kermit left18:29
kotopies joined18:30
jceb joined18:30
osse jdhawke: on a more serious note: Do you have any indication on how the other company does things day-to-day ?18:30
kermit joined18:31
Aleks3Y joined18:31
jdhawke some, I asked the questions, being more lamp, it's less idea of a formal build/deploy process, but they have a solid grasp of git, they prefer clone/pull to branching18:32
cs02rm0 left18:32
jdhawke got to chat with the CTO and the lead dev18:32
and it sounds like they are much more open to innovation in the process if it saves time/work/money18:33
rq60 left18:33
akiva joined18:34
SocalNick left18:34
baustin left18:35
Aleks3Y Hi guys, i know my question might sound stupid, but I need help with a workflow of managing my fork of another code. Currently I don't have fork, but copy of very old code in my repo with changes applied manually on top. I'd like to make my life easier and looking for a right workflow18:35
repxl left18:36
jceb left18:37
codeFiend left18:37
kotopies left18:38
kotopies joined18:39
jenhsun joined18:40
canton7 depends whether you ever intend on submitting your changes upstream18:40
p8952 joined18:40
nicedice joined18:40
sdouglas left18:41
infynyxx left18:41
t0r joined18:42
thegorn Aleks3Y: does the original source use git?18:42
aard_ joined18:42
jenhsun left18:42
kotopies_ joined18:42
thegorn because if so it is pretty easy, just clonse it, branch off the old release and add your changes18:42
Aleks3Y canton7: No, i don't. But in case I do, i'll do it usual way.18:42
thegorn: yes, they use github18:43
i'm using my own local repo18:43
canton7 clone, add your changes to whatever branch you want (local master branch, local 'my stuff' branch, whatever), merge in their master whenever you need stuff that's in it18:43
thegorn Aleks3Y: did your local repo start as a clone?18:43
thunderbolt_ left18:44
canton7 if you want to integrate those existing changes you've made: clone their repo, identify what commit your branches were made on, and create a branch there. paste your changes into the branch, commit, then merge back into the latest master (or whatever)18:44
Aleks3Y thegorn: no, back in the days, they didn't had public repo, only archive was available. So with every new release, i'd just replace all files with new and then restore my changes18:44
thegorn Aleks3Y: does their repo go back to the old days?18:44
osse jdhawke: sounds awesome. Congratulations and good luck :)18:44
rfoust left18:45
Aleks3Y thegorn: i think so, i think they migrated SVN to git and made it public18:45
thegorn Aleks3Y: ok, yea, i'd do kinda what canton7 is recommending, find the old release you most recently modified in the git history18:45
branch off of it, add your changes18:45
then you can merge in master periodically/etc..18:46
jrahmy joined18:46
thegorn sometimes I find it easier to merge one point release at a time, i.e. if you start on 0.2, i'd merge 0.3, 0.4, 0.5 and so on as separate steps18:46
kotopies left18:46
thegorn because if you are really out of date on a big repo the merge conflicts can get pretty insane, seems to keep it in more manageable chunks18:47
srcerer joined18:47
pr0ton joined18:47
pr0ton left18:47
asQuirreL left18:48
Aleks3Y canton7: i'd like to push changes to my remote repo too. So should i branch from master to another branch like my_own_master. and then, just merge changes from real master?18:48
what i'm thinking to do. is just start from scratch18:48
and keep my old repo aside18:48
so i'd clone their current repo, branch their master to master_fork, apply my changes to master_fork and push to my own repo18:49
then i can pull master and merge changes to master_fork18:49
so all my development will me in master_fork branch. and master will be clean from original source18:49
HelperW left18:50
rfoust joined18:51
HelperW joined18:51
thegorn Aleks3Y: you don't need to keep a master up to date18:51
in your current repo, you can just do git remote add upstream <url>18:51
git fetch upstream18:51
and do your merging/branching/etc.. off of upstream/master18:51
no reason to maintain the headache of a local branch18:51
harobed left18:53
scottbuckel joined18:53
xrq is there a way to pull in changes from another branch as uncommitted changes that I can then view and modify before any actual changes happen to my branch?18:54
nfroidure joined18:54
infynyxx joined18:54
milki pull then soft reset18:54
totokaka left18:55
skorgon xrq, just fetch the remote18:55
raj__ left18:55
skorgon xrq, git cherry (don't know exact syntax) can list the commits that a are in one branch but not the other18:55
scottbuckel I have a very simple question--I have a test server and a development server. How should I be setting up my git repo? I don't plan to use github or bitbucket but rather host it locally (on both boxes)18:55
HelperW left18:55
Aleks3Y thegorn: not sure what do you mean. Are you saying that I can add their upstream and checkout their master to a different branch on my own repo and then just merge changes to my master?18:55
scottbuckel I've always used github or bitbucket and never had to set up my own server18:55
thegorn Aleks3Y: when you add a remote (i.e. normally a clone autocreates origin)18:57
kballou left18:57
thegorn it maintains a bunch of remote-tracking branches in origin/ or <remotename>/18:57
see git branch -r18:57
skorgon xrq, and in general, I'd recommend to not use !pull. running the steps manually gives greater control over things18:57
gitinfo xrq: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/18:57
thegorn so rather than constantly do a git checkout master && git pull && git checkout master_fork && git merge master or whatever18:58
you'd just have git fetch upstream && git merge upstream/master18:58
kadoban_ joined18:58
kotopies_ left18:59
shawndumas left18:59
btree joined18:59
thegorn on a very related note to skorgon helping xrq, i hate pull, no other command contributes as much to misunderstanding git as that one18:59
skorgon agreed19:00
whitby joined19:00
thiago joined19:00
btree left19:01
malkomalko left19:01
BuSerD_ joined19:02
Aleks3Y thegorn: so currently I do have remotes/origin pointed with my own git server on my local network. I can add another remote called 'upstream' pointed to original script repo. and then, i'll just merge their changes to my code without really checking out upstream?19:02
howlymowly joined19:02
Aleks3Y and if they are using tags, i can just merge tags to my own master19:02
Gavrisimo joined19:02
kadoban left19:02
thegorn Aleks3Y: well, you'll want to first put your changes against their history19:03
kadoban_ left19:03
Vile left19:03
thegorn there's a couple ways of doing that, but i'd still recommend making a new branch that is their old 0.2 or whatever version you are on, integrating your changes there, and then working with that branch19:03
kadoban joined19:03
LuxuryMode joined19:03
thegorn you can also get git to do a false merge if you want to go that route19:04
ghostlines joined19:04
ghostlines left19:04
nottombrown joined19:04
takamich_ left19:04
bgerber left19:04
thegorn whereby you simply mark 0.2 or whatever as already "merged" into your branch19:04
then you don't even have to force push and all that stuff19:04
ghostlines joined19:04
thegorn it is up to you19:04
prophile left19:04
kotopies joined19:05
thegorn i'd prefer the false merge to preserve the history of your own work and not ruin other people's clones, but probably some would disagree19:05
jrnieder thegorn: would 'git pull' defaulting to --ff-only by default improve your quality of life?19:06
oodavid joined19:06
thegorn jrnieder: no19:06
sgen joined19:06
EminenceHC left19:07
thegorn because it still obfuscates what is happening, and now you have a bunch of newbs doing git pull && git push -f as a standard operation19:07
jrahmy left19:07
thevishy left19:07
jrnieder heh, ok19:07
raj__ joined19:07
jrnieder technically that would be fine since the '&&' would mean nothing happens ;-)19:08
wizard_A_ left19:08
thegorn jrnieder: does git pull return an error code?19:08
Mitchbones left19:08
jrnieder tries it19:08
thegorn because && means if it succeeded19:08
|| means if it failed19:08
but of course some things (like diff and grep) kinda tweak that meaning a little bit19:09
cbreak && means and, || means or19:10
short circuit evaluation ftw :)19:10
jrnieder "$ git pull --ff-only" says "fatal: Not possible to fast-forward, aborting." with status 12819:10
thegorn jrnieder: and what if there are changes that it can pull19:10
sgen left19:11
jrnieder my example is from a non-fast-forward update (i.e., there are upstream changes)19:11
for a fast-forward update, pull --ff-only performs it and exits with status 019:12
kotopies left19:12
jrnieder though there can be other reasons to fail --- e.g., if your disk fills up you'll get nonzero status19:12
nottombrown left19:12
Annak joined19:13
gitinfo set mode: +v19:13
infynyxx left19:13
jrahmy joined19:13
Diemuzi left19:14
infynyxx joined19:15
kriks joined19:15
matheus23 joined19:15
Gavrisimo left19:16
AnnakDiemuzi19:16
Cleopatra joined19:16
nullElise left19:16
raj__ left19:17
erikruthven left19:17
Keridos_offKeridos19:19
ilmgb joined19:19
bgerber joined19:20
elighcash joined19:20
watermel0n joined19:21
nottombrown joined19:22
Balliad joined19:22
HSaka left19:22
pantsman joined19:22
jbalsano left19:23
saorge left19:24
amcsi_work left19:24
rotta left19:25
ChanServ set mode: +o19:25
WaReZ joined19:25
elighcash left19:25
Eugene changed the topic to: Welcome to #git, the place for git help and green beer | Current stable version: 1.9.0 | Start here: http://jk.gs/git | Seeing "Cannot send to channel" or unable to change nick? /msg gitinfo .voice | Happy Saint Gitty's Day!19:25
boombatower joined19:26
blackmesa left19:26
cjsarette left19:26
howlymowly left19:26
Snicers-Work Ok, from the git community, what is the best way to deploy a code base from git to production?19:27
oodavid left19:27
petey joined19:28
iriy joined19:28
jrnieder Snicers-Work: depends on details. !deploy has a nice overview19:28
gitinfo Snicers-Work: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html19:28
saorge joined19:28
kotopies joined19:28
Leoneof left19:28
Snicers-Work Thanks jrnieder.19:29
jrnieder sure thing19:29
pfg joined19:29
LuxuryMode left19:29
fission6 left19:30
raj__ joined19:30
totokaka- joined19:30
fission6 joined19:31
Kayra left19:31
ilmgb left19:31
Kayra joined19:32
a-l-e left19:32
thalisson_ left19:32
thiago left19:33
yacks left19:33
Leoneof joined19:33
iriy left19:34
iriy joined19:35
DrShoggoth joined19:35
oskarkv2 joined19:35
veebers joined19:35
rq60 joined19:35
kotopies_ joined19:36
oskarkv left19:36
Kayra left19:36
kotopies left19:37
totokaka- left19:38
totokaka joined19:38
oodavid joined19:38
jamieshepherd left19:38
jbalsano joined19:38
kotopies joined19:38
Octalot left19:39
kotopies_ left19:40
d33tah what was the saner way to perform something like git diff ..7fa4e6b4558fc4ac6c944f56dd64a7f0303c1fda | patch -Np1 ?19:40
Juri_Agarin joined19:40
godgodgodgo joined19:40
cbreak d33tah: format-patch19:41
d33tah: or git cherry-pick?19:41
Leoneof left19:41
grawity d33tah: git checkout 7fa4e6 -- .19:41
complete with the dot19:41
d33tah grawity: yeah, that's probably it. thanks.19:41
takamichi joined19:41
takamichi left19:41
gitinfo set mode: +v19:41
iriy Hello, can somebody explain how can I send email to Git mailing list? I send email to [email@hidden.address] but it don't work19:42
jbalsano left19:42
Leoneof joined19:42
takamichi joined19:42
takamichi left19:42
descala joined19:42
bremner !doesntwork19:42
gitinfo Sorry to hear it doesn't work, but how about some details? At this point we don't even know whether it did nothing, spit out an error message, or abducted your pet unicorn in a flying saucer. That makes it hard to troubleshoot – unicorn abduction requires a completely different solution than an error message, for instance. So, please be specific...19:42
baustin joined19:43
LuxuryMode joined19:43
Leoneof left19:43
jas4711 left19:43
rfoust left19:43
jbalsano joined19:44
takamichi joined19:44
jas4711 joined19:44
jrahmy left19:45
treehug8_ Snicers-Work: I've seen big companies that do deploy via git checkouts. I've also seen deploys via rsync, and via custom-built tarballs19:46
mgomezch joined19:46
Snicers-Work right, I thought about doing rsync as well. My problem is I want to deploy large video files as well so git is out for that.19:47
jrnieder iriy: http://vger.kernel.org/majordomo-info.html#taboo might be informative. Make sure your mail is sent as plain text and you should probably be ok19:47
iriy: also, when the mail server rejects mail, it usually sends a rejection notice back. Did you not get one?19:47
treehug8_ Snicers-Work: you might want to think also about atomicity of the deploy. WHat if file A hits before file B? Vice versa?19:47
Zaknefain left19:47
jbalsano left19:48
Snicers-Work What do you mean treehug8_ ?19:48
cbreak Snicers-Work: use git archive | untar to a new directory19:48
then copy the video files into it19:48
then rename it into place19:48
jrnieder wikimedia builds deb files for their deployment and uses puppet for configuration management iirc19:49
ilmgb joined19:49
merica left19:49
kotopies_ joined19:49
rfoust joined19:49
felipewm left19:50
treehug8_ Snicers-Work: I mean, if file A depends on file B (like for a method or a function or a constant), and the files are dribbling in from a deploy while users are accessing the website, then what happens when half the files are deployed?19:51
gitinfo set mode: +v19:51
Snicers-Work For the most part with what I am doing that is not a concern.19:52
treehug8_ Snicers-Work: rsync is probably the easist/fastest19:52
"easiest"19:52
pikaren left19:52
kotopies left19:52
Snicers-Work Yeah, just I have people on Windows systems as well.19:52
So that makes it a bit clunky.19:52
treehug8_ seems like you should define "dev env", "deploy", and "production" :)19:53
lithiumjake left19:53
ilmgb left19:53
watermel0n left19:53
bgerber left19:53
ilmgb joined19:53
kukks|2 joined19:54
CKyle joined19:54
kukks|2 left19:55
kukks joined19:55
kukks left19:55
kukks joined19:55
ilmgb left19:56
infynyxx left19:56
ilmgb joined19:57
andrewwagner joined19:57
ilmgb left19:58
dog-food left19:59
user449 joined19:59
bluesm joined19:59
Gooder` left19:59
nephyrin joined20:00
matteo left20:00
plitzenberger joined20:00
EminenceHC joined20:00
plitzenberger left20:00
iriy jrnieder: I send simple email with prefix [patch], and... nothing. My email does not appear in archives, and nobody responds20:01
fannye left20:01
gitinfo set mode: +v20:01
user449 Hi, I created a repo on github and uploaded a standard visual studio .gitignore file but somehow files slipped through such as .suo and so on. I have removed it now but I'm a bit confused as if I should remove the 'packages' folder and the solution file (.sln) any idea?20:01
mizu_no_oto joined20:02
treehug8_ user449: that sounds more like a visual studio question20:02
lynzt joined20:02
canton7 leave the .sln . if packages/ was created by nuget, delete that too20:02
kotopies_ left20:03
jrahmy joined20:03
canton7 you should be tracking the .csproj, .sln, packages.config, .nuget. ignore bin/, obj/, packages/, suo20:03
cbreak user449: just git rm -rf --cached blah20:03
bgerber joined20:03
cbreak in general, do not track derived files20:03
so if your visual studio stuff is derived (from cmake or so), then remove that stuff20:04
if it is primary (generated and maintained by the programmer), then keep it20:04
mishok13 joined20:04
isbadawi joined20:04
IrishPrime left20:05
blackmesa joined20:05
lithiumjake joined20:05
user449 okay thanks20:05
ezrafree joined20:05
nnyk_ left20:06
khmarbaise joined20:06
infynyxx joined20:06
harobed_ joined20:06
erikruthven joined20:07
ilmgb joined20:07
user449 just to be sure, you would delete this right? https://github.com/bahagiga/Crocus-Guillemot/tree/master/packages20:07
rfoust left20:07
francisfish joined20:07
canton7 yup20:08
kotopies joined20:08
canton7 that's regenerated by VS when you build20:08
user449 canton7: cheers:)20:08
Balliad left20:08
canton7 well20:08
kcj joined20:09
canton7 you need to right-click your solution, 'enable nuget package restore', and track the .nuget folder which gets created20:09
woozly left20:09
canton7 user449 ^^20:09
user449 canton7: ok, is that something i should do before I delete the packages folder? :P20:09
canton7 do it at the same time20:10
Balliad joined20:10
user449 when I say delete i simply mean stop tracking on github20:10
Joel joined20:10
canton7 sure20:10
user449 okay :)20:10
canton7 doesn't matter if you delete packages/ as I say - VS re-creates it20:10
Joel given a git url, and a branch, is there a set of commands I can run to make sure I can do a pull and get no merge conflicts?20:10
user449 canton7: thanks champ:)20:10
Joel basically, save me from rm -rf'ing it, and doing a clone.20:10
darnir_ joined20:11
xrq how do I add a framework to git? git seems to hang - maybe from following the recursive symlinks?20:11
petey left20:11
erikruthven left20:11
thiago joined20:11
grawity git does not follow symlinks20:11
cbreak git add framework20:11
xrq *cocoa framework20:11
cbreak but really, don't add build results to git20:12
petey joined20:12
xrq this isn't a build result20:12
Chryyz left20:12
RagBal joined20:13
zajn left20:14
Joel unless I'm missing something I don't think I would be adding cocoa framework to git.20:14
Looks like the result of a third party build.20:14
xrq lol20:14
lynzt left20:14
lynzt_ joined20:14
xrq it could be many things from where you're sitting. from where I'm setting adding it is very important20:15
NimeshNeema joined20:15
xrq from where I'm sitting too20:15
Joel xrq, knock yourself out then.20:15
sohail left20:15
petey left20:16
JGarrido joined20:16
hydrajump joined20:17
iriy Please, can anybody explain why my email that I send to git mailing list does not appear? I simple send [patch]...20:18
skorgon iriy, is the list fully open or do you have to be subscribed? is it moderated for non-subsribers?20:18
thrakcattack left20:18
SorenHolm joined20:19
skorgon iriy, how do you know that it's not on the list?20:19
hydrajump hi I created a pull request for an OSS project and apart from the changes I made, my editor has changed whitespace throughout the file. How do you stop this from happening as the project maintainer said it's bad practice?20:19
cbreak hydrajump: get a better editor?20:19
skorgon not using windows?20:19
cbreak hydrajump: or change the settings of your editor20:19
salamanderrake left20:19
hydrajump Here's my pull request if it helps to see what I'm talking about: https://github.com/vyos/vyatta-cfg-system/pull/1/files20:20
shawndumas joined20:20
hydrajump cbreak I'm using Sublime Text20:20
cbreak looks like they had worthless whitespace20:20
make your editor not delete worthless whitespace even though it totally deserves being deleted.20:20
hydrajump cbreak true but I've been asked to not do that again for future pull requests.20:21
cbreak so it's an editor issue not git related?20:21
jrahmy left20:21
cbreak yes.20:21
git doesn't change code unless told20:21
rainmanjam left20:21
cbreak (i.e. by enabling line ending conversion)20:21
lynzt joined20:21
xrq yikes, you would think in 2014 editors would stop doing that20:21
hydrajump cbreak what's "line ending conversion"?20:22
xrq hydrajump: \r and \n (carriage return, linefeed) and mixtures of both20:22
iriy skorgon: I subscribed on this list and receive other emails, but nothing about my email, and my email does not appear in archives20:23
salamanderrake joined20:23
AccessibleWeb joined20:23
Gizburdt left20:24
skorgon iriy, archives may take a while. they probably don't get updated constantly20:24
lynzt_ left20:25
lithiumjake left20:25
RagBal left20:25
sohail joined20:26
hydrajump Is it possible to set whitespace settings in Sublime Text on a per project/ file basis or will I have to change it globally when working on this specific project?20:26
mellernoia left20:26
kotopies_ joined20:27
polyzen joined20:27
CKyle left20:28
kotopies left20:28
sdouglas joined20:28
hydrajump Maybe this is what I want https://stackoverflow.com/questions/12297169/sublime-text-2-trim-trailing-white-space-on-demand20:28
iriy skorgon: ok, thank you, maybe you're right and I should wait for a while20:29
francisfish left20:29
salamanderrake left20:30
RagBal joined20:31
pheaver left20:31
salamanderrake joined20:31
kotopies_ left20:31
snql joined20:32
ilmgb left20:32
Exancillatus joined20:32
RagBal left20:33
jackneill left20:34
iriy left20:35
woollyams joined20:35
deens left20:37
BuSerD_ left20:37
i0nutzb left20:39
msafi left20:39
CreativeEmbassy joined20:40
woollyams left20:41
eletuchy joined20:41
kotopies joined20:41
blackmesa left20:41
dougsland_ joined20:41
infynyxx left20:42
msafi joined20:42
dougsland left20:43
subleq left20:43
Zaknefain joined20:43
lithiumjake joined20:43
phantomtiger joined20:44
trewe joined20:44
ilmgb joined20:46
davividal left20:46
kotopies_ joined20:46
jbalsano joined20:46
wrouesnel1 joined20:47
pheaver joined20:47
kotopies left20:47
echolon joined20:47
Nevik_ joined20:47
Zaknefain left20:47
mjessome left20:48
ilmgb left20:49
mjessome joined20:49
Sabbath joined20:49
Leoneof joined20:50
dougsland_ left20:50
_lynX joined20:50
salamanderrake left20:50
kotopies_ left20:51
salamanderrake joined20:51
BuSerD_ joined20:52
Gamecubic left20:52
ilmgb joined20:52
hydrajump If I've created a feature branch, created a pull request and it was merged into master. Can I continue to commit to that branch with relevant changes to that feature and then create a new pull request?20:53
BuSerD_ left20:53
hydrajump Github is telling me that my branch can be deleted that's why I wonder.20:53
cbreak you can.20:53
hydrajump: in general, feature branches should only contain one feature20:54
Sabbath left20:54
cbreak so if you have a new feature, make a new branch20:54
and since they are merged when the feature is complete, they would usually also be a good candidate for deletion.20:54
rivet joined20:54
hydrajump cbreak ok what if it's the same feature that was merged, but I have additional changes related to that feature?20:54
kcj left20:55
Luke-Jr left20:55
cbreak your decision.20:55
salamanderrake left20:55
hydrajump cbreak it was merged by the maintainer before I could get to deleting other relevant lines of code20:55
rivet so if master is at A->B->C and then mybranch continued to D->E->F. I want to merge master and mybranch so master is A->B->C->D_>20:55
ilmgb_ joined20:55
hydrajump cbreak what would you do?20:55
rivet A->B->C->D->E->F I mean.20:55
salamanderrake joined20:55
cbreak hydrajump: nothing in git requires the deletion of said branch. If it fits, just use it.20:55
Luke-Jr joined20:55
Nevik_ left20:55
Nevik joined20:55
hydrajump cbreak ok thank you.20:55
_2_joannac411 joined20:56
isbadawi left20:56
isbadawi1 joined20:56
nicksloan joined20:57
ilmgb_ left20:57
phuh_ joined20:58
Eugene _2_joannac411 - do not PM randomly20:58
mgomezch_ joined20:58
jbalsano left20:58
nicksloan I had some unstaged changes when I needed to pull in commits from another branch. I did a `git stash`, followed by a `git rebase otherbranch` (which rebased with no conflicts) and `git stash pop`. After popping, I got some conflicts, and noticed that all of the original changes are now staged.20:59
what's the deal?20:59
AccessibleWeb left20:59
ilmgb left20:59
mgomezch left20:59
nnyk_ joined20:59
jcarouth joined20:59
nicksloan (the conflicts aren't surprising... all of my unstaged changes being staged is though.20:59
Nevik nicksloan: conflict resolution works in the index21:00
andrewwagner left21:00
cbreak nicksloan: git stash is like a temp commit21:00
Nevik s/like//21:00
cbreak nicksloan: your stash apply works like a cherry-pick, somewhat21:00
_2_joannac411 left21:00
cbreak if you get a conflict, it has to be resolved like a normal conflict21:00
-> resolve the issue, git add to mark as resolved21:00
phuh left21:01
DoniRS left21:02
Gamecubic joined21:02
Cleopatra left21:02
isbadawi1 left21:03
nicksloan cbreak: yeah, I've done that. So I'm getting this weirdness because of the temporary commit created by the stash... seems like when I commit now, I shouldn't really identify it as a merge, but just as any other commit.21:04
cannonball left21:04
thiago left21:04
koda left21:05
raj__ left21:05
CreativeEmbassy left21:06
infynyxx_ joined21:06
infynyxx_ left21:06
imachuchu left21:06
infynyxx_ joined21:06
infynyx__ joined21:07
infynyx__ left21:07
jbalsano joined21:07
infynyxx joined21:07
cbreak it's not a merge21:08
ni__ left21:08
Trudko_ joined21:09
wrouesnel1 left21:09
AccessibleWeb joined21:10
kukks left21:10
Trudko left21:10
delianides left21:10
mizu_no_oto left21:10
snql left21:11
Luke-Jr left21:11
freestyl3r joined21:11
infynyxx_ left21:11
Luke-Jr joined21:11
livingstn left21:12
knuth left21:13
knuth joined21:13
takamichi left21:14
user449 left21:15
hwrdprkns left21:15
tpollard joined21:15
sdouglas left21:16
BuSerD_ joined21:17
sdouglas joined21:17
nullElise joined21:17
oodavid left21:17
BuSerD_BuSerD21:17
osse left21:18
oriba joined21:18
jxpx777 left21:18
nullElise left21:18
jxpx777 joined21:18
nullElise joined21:18
jekle joined21:18
invinceable joined21:19
AccessibleWeb left21:20
AccessibleWeb joined21:20
ghostlines left21:21
infynyxx_ joined21:21
infynyxx_ left21:21
Trudko_ left21:21
sdouglas left21:21
oodavid joined21:21
Pullphinger left21:21
infynyxx_ joined21:22
infynyxx_ left21:22
dglambert left21:22
Luke-Jr left21:22
infynyxx_ joined21:22
infynyxx_ left21:22
infynyxx_ joined21:23
infynyxx_ left21:23
infynyxx_ joined21:23
infynyxx_ left21:23
salamanderrake left21:23
Droolio left21:24
infynyxx left21:24
jnavila joined21:24
lekare joined21:24
clearing left21:24
jbalsano left21:24
infynyxx joined21:24
salamanderrake joined21:24
nottombrown left21:24
nottombrown joined21:25
nullElise left21:25
watermel0n joined21:26
LuxuryMode left21:27
andrewwagner joined21:27
nullElise joined21:28
ilmgb joined21:28
JerryT_ left21:29
Leoneof left21:30
marthinal left21:30
el_fuego_ left21:31
nilg left21:31
Leoneof joined21:32
ilmgb left21:33
Leoneof left21:33
thalisson_ joined21:33
Leoneof joined21:33
infynyxx_ joined21:33
infynyxx_ left21:33
lithiumjake left21:34
ehmatthes joined21:34
infynyxx_ joined21:34
infynyxx_ left21:34
Leoneof left21:34
Zagato joined21:34
baustin left21:34
j4quinn any particular reason why pushing a local repo is so slow?21:34
250 KB/s21:34
infynyxx_ joined21:34
northfurr joined21:35
Leoneof joined21:35
cbreak j4quinn: slow connection, slow server or slow client.21:35
infynyx__ joined21:35
infynyx__ left21:35
cagedwisdom joined21:36
infynyx__ joined21:36
infynyx__ left21:36
Leoneof left21:36
infynyxx left21:36
User1291 joined21:36
infynyxx joined21:36
Leoneof joined21:36
Zaknefain joined21:37
Leoneof left21:37
deens joined21:38
gitinfo set mode: +v21:38
Leoneof joined21:38
thalisson_ left21:38
User1291 hi all. anybody on I could bother for a moment?21:38
Leoneof left21:38
JerryT joined21:39
jast !just_ask :)21:39
gitinfo You can just ask your question. If anybody knows the answer, they will answer soon (most of the time)21:39
infynyxx_ left21:39
Luke-Jr joined21:39
pheaver left21:40
asQuirreL joined21:40
User1291 I am having some trouble with eclipse. Any way I can actually push the commitments?21:41
nullElise left21:41
nullElise joined21:41
mishunika joined21:41
Zaknefain left21:41
dsdeiz joined21:42
khmarbaise left21:42
deens left21:42
ehmatthes left21:42
jast most of us here don't use GUI tools for git, so we may not be able to help... and eclipse in particular doesn't even use the official git, they have their own re-implementation written in java. anyway, do you get any error message?21:43
glebm_ left21:43
Luke-Jr left21:43
Kicer86 left21:45
CKyle joined21:45
SorenHolm left21:45
User1291 no ... I can "commit" just fine. For the changes to be reflected on github, though, I have to manually sync after that.21:46
nullElise left21:46
khmarbaise joined21:46
nullElise joined21:47
thiago joined21:47
arand__ User1291: yes..?21:48
baustin joined21:48
elijahelijah|out21:50
User1291 ...and that's it. I should like it to sync when "committing" ... that's the point of it, after all.21:50
treehug8_ left21:50
zumba_addict left21:50
Luke-Jr joined21:51
zumba_addict joined21:51
arand__ User1291: In Git, that is not the point of it though, committing and pushing are distinctly separate actions, I guess you could script21:52
...that in somehow, but that's not something that's common (I hope).21:52
nottombr_ joined21:53
lithiumjake joined21:53
BuSerDBuSerD_zzzz21:54
Sample left21:54
Artpicre joined21:54
lynzt left21:54
BuSerD_zzzz left21:54
Leoneof joined21:56
zumba_addict left21:56
BuSerD joined21:56
nottombrown left21:56
diraol joined21:56
thalisson_ joined21:58
whoosh_ left21:58
joelm_ joined21:58
arand__ (I guess linguistically it's pretty bad terminology, seeing as how the whole point of Git is that you don't "commit" when you make a commit)21:58
Kayra joined21:58
Gavrisimo joined21:59
mizu_no_oto joined21:59
cbreak User1291: there's no need to sync, a simple git push should do it if your upstream is configured21:59
User1291 should be, actually. any way to check that configuration?22:00
dalias just make a post-commit hook that does "git push"22:00
if you want that behavior22:01
joelm left22:01
Luke-Jr left22:01
pheaver joined22:01
User1291 @arand: guess I'm mistaken on what "committing is supposed to do, then. pray do tell, what IS the point in committing (and not pushing at the same time)?22:02
Dougie187 left22:02
deens joined22:02
cbreak User1291: a commit is a snapshot of the current state22:02
User1291: a push is trasferal of history (for example commit snapshots)22:02
BuSerD left22:03
cbreak User1291: it's like making a picture and e-mailing that picture to someone.22:03
hwrdprkns joined22:03
hwrdprkns left22:03
hwrdprkns joined22:03
cbreak different actions.22:03
plitzenberger joined22:03
Balliad left22:03
mishunika Hello everyone! I have a problem when visualizing the commit graph.22:03
I am not sure if the git db gets corrupted or something else.22:03
Here is how it looks like when I issue “git log --oneline --graph --decorate --all”: https://www.dropbox.com/s/2bw8dmw5jkknekh/Screenshot%202014-03-17%2022.51.13.png22:04
cbreak having local commits is valuable for many situations, since it lets you decide what to push where, you can rewrite local history, you can remove it, and so on22:04
mishunika After deleting the users_management branch all the tree reverts to normal: https://www.dropbox.com/s/6w5cnk8c3fu3jgb/Screenshot%202014-03-17%2022.51.51.png22:04
Is this a expected behavoir?22:04
cbreak you can also save it up and push it when you're back from holidays.22:04
it allows completely detached working22:04
elijah|outelijah22:04
ezekielnoob left22:04
Orbitrix left22:04
bbloom left22:05
grawity mishunika: Git repositories cannot get corrupted in that particular way22:05
cbreak mishunika: both look reasonable22:05
grawity mishunika: each commit's parents are recorded in that commit itself and nowhere else; if Git has a commit, it knows exactly what its history looks like22:05
mishunika: it's only `git log` that sometimes has troubles drawing complex history graphs22:06
mishunika: try `tig` or `gitk`22:06
User1291 that does make a lot of sense.22:06
deens left22:06
mishunika grawity: the exactly same "almost recursive" tree is drawn by SourceTree GUI22:06
matheus23 left22:06
whoosh_ joined22:06
User1291 so all I need to find is a push button in eclipse, then. you wouldn't happen to know where to find that?22:07
Hypoxia joined22:07
grawity hmm22:07
mishunika: maybe the users_management branch just has a lot of weird merges.22:07
mishunika: have you tried browsing that branch separately, instead of --all?22:07
j4quinn left22:07
pr0ton joined22:08
osse joined22:08
pr0ton left22:08
thedodd left22:08
cbreak mishunika: have you considered setting LESSCHARSET=utf-8?22:09
pr0ton joined22:09
hholtmann left22:09
ctp_ joined22:09
jnavila left22:09
grawity mishunika: also, in the first screenshot, what branch does the green line lead to?22:09
User1291 actually found what I was looking for.22:10
zajn joined22:10
ctp left22:10
mishunika grawity: that's the thing the users_management branch has only three commits, nothing fancy.22:10
User1291 thanks for adjusting my opinion on commits.22:10
mishunika grawity: the green line is the master branch22:10
bartman`` joined22:11
diraol left22:11
subsonic joined22:11
treehug88 joined22:12
grawity *shrug* I guess it just manages to push the graph drawing algorithm into crazyness22:12
arif-ali joined22:12
subsonic how do I diff a file for a given tag vs the working tree?22:12
osse subsonic: git diff <tag> -- <path>22:12
subsonic git diff tag..HEAD -- file gives me an eeror22:12
hmm22:12
mishunika cbreak: oh, thank you for the lesscharset, I've recently migrated to clean .zshrc ; )22:12
subsonic osse: i get a "bad revision" on the tag name22:13
pr0ton left22:13
osse subsonic: a..b doesn't really make sense for diff, but it allows it and interprets it as 'a b'22:13
Spockz joined22:13
Not_Whatever joined22:13
kriks left22:13
osse subsonic: is it listed in git tag ?22:13
BuSerD joined22:13
bambams_ left22:13
pr0ton joined22:13
nullElise left22:13
CKyle left22:13
subsonic osse: yeah, but I realize, I might not be on the correct branch. :)22:13
just a sec22:13
osse subsonic: that doesn't matter22:13
mishunika grawity: curious ;) Anyway thanks for your help, I will try to reproduce the issue into a dummy repo, and we'll see. Anyway, seems that only drawing of the tree is weird, the structure and the data is consistent, so I am safe now.22:14
osse subsonic: ehh, I mean: it makes a difference since your diffing against the working tree, but it has nothing to do with that error22:14
Sample joined22:15
grawity mishunika: the way Git repositories store data, very few inconsistencies can exist anyway (only actual data corruption)22:15
thiago left22:15
LemonyB left22:15
Luke-Jr joined22:15
plitzenberger left22:16
pr0ton left22:16
thiago joined22:16
ac_123 joined22:17
aard_ left22:19
piem joined22:19
piem hi all. i'm trying to use git subtree split, with 1.9.0, but i'm hit by the "-n" bug. any known workaround?22:20
rue joined22:22
lithiumjake left22:25
Diemuzi left22:25
kadoban left22:25
rue_XIV left22:25
mizu_no_oto left22:25
ac_123 left22:26
User1291 left22:26
Hypoxia left22:27
kadoban joined22:27
simesy joined22:27
lekare left22:28
Sample left22:29
Sample joined22:29
phantomtiger left22:29
jonatasnona left22:29
dsdeiz left22:29
diraol joined22:30
diraol left22:30
khmarbaise left22:30
chris_thomson joined22:31
chris_thomson left22:31
Zaknefain joined22:31
Aleks3Y left22:32
Luke-Jr left22:32
Destos left22:33
chris_thomson joined22:34
HassanCehef joined22:34
NimeshNeema left22:34
Zaknefain left22:36
Luke-Jr joined22:36
ngladitz left22:37
nkr left22:37
mishok13 left22:37
tonythomas left22:37
caseydriscoll left22:37
mishunika left22:37
maestrojed left22:38
mishunika joined22:38
mishunika left22:38
Luke-Jr left22:39
jas4711 left22:39
talios joined22:40
dik_dak left22:40
HassanCehef left22:40
whitby left22:41
offby1 stares blankly22:42
offby1 never even heard of "git subtree split"22:42
watermel0n left22:44
Rastus_Vernon joined22:44
Freeman42 joined22:45
Luke-Jr joined22:45
salamanderrake left22:45
zajn left22:46
salamanderrake joined22:46
Gamecubic left22:46
oodavid left22:46
lithiumjake joined22:47
oodavid joined22:48
LeMike joined22:48
infynyxx left22:49
WaReZ left22:50
salamanderrake left22:51
infynyxx joined22:51
dsdeiz joined22:51
salamanderrake joined22:52
jluc left22:52
subsonic osse: Yeah, I think it was the branch I was on. Got it to work. Thanks!22:52
subsonic left22:52
baustin left22:56
Gamecubic joined22:57
werlley left22:57
rivet left22:57
MacWinner left22:58
Mitchbones joined22:58
ojacobson left22:58
BuSerD left23:00
salamanderrake left23:00
zajn joined23:00
salamanderrake joined23:01
baustin joined23:01
Mitchbones left23:02
decotii left23:02
LeMike left23:03
deens joined23:03
harobed_ left23:03
shawndumas left23:04
JGarrido left23:04
ketas-ketas23:05
deens left23:08
Freeman42 left23:08
el_fuego joined23:08
el3ctron_ left23:08
rq60 left23:09
mikemar10 joined23:10
jagob left23:10
system64 left23:10
BuSerD joined23:10
laserbeam left23:10
lithiumjake left23:11
baustin left23:11
rfoust joined23:11
AccessibleWeb left23:12
laserbeam joined23:13
baustin joined23:13
lavaman left23:13
fr33 left23:14
joelm_ left23:14
position88 joined23:14
archana77 left23:15
adam_____ left23:15
shennyg__ left23:15
archana77 joined23:16
adam_____ joined23:16
pantsman left23:16
shennyg__ joined23:16
lifelike left23:17
flazzflazz_gone23:18
azyr joined23:18
snuffeluffegus joined23:18
SilverBln left23:18
oodavid left23:19
tazle_ joined23:20
AccessibleWeb joined23:21
Gavrisimo left23:21
JerryT left23:22
CKyle joined23:22
asQuirreL left23:22
nottombr_ left23:22
PeterBooker left23:23
nottombrown joined23:23
sluther joined23:23
gitme joined23:24
kcj joined23:24
asQuirreL joined23:25
mizu_no_oto joined23:25
Zaknefain joined23:25
hobodave left23:26
gitme left23:27
TheFuzzball left23:27
ctp_ left23:28
Zaknefain left23:30
xxcoder_ joined23:30
baustin left23:31
lithiumjake joined23:32
lithiumjake left23:32
Silmarilion left23:33
ErKa left23:33
fission6 left23:33
isbadawi joined23:34
tier joined23:36
nfk left23:36
Exancillatus left23:37
ToBeFree left23:37
daedeloth left23:38
angelsl joined23:39
lithiumjake joined23:40
Sample left23:41
weltall left23:41
Sonderblade left23:43
bluesm left23:45
ehmatthes joined23:46
johntitor2036 left23:47
kotk left23:48
z8z left23:48
BadProphet left23:49
asQuirreL left23:49
kukks joined23:50
kukks left23:50
kukks joined23:50
el_fuego left23:51
ToBeFree joined23:51
Mitchbones joined23:52
livingstn joined23:53
Deseaus joined23:53
sluther left23:54
johnkevinmbasco joined23:54
johnkevinmbasco left23:54
kcj left23:55
cads left23:56
JerryT joined23:56
Mitchbones left23:57
mmoretti left23:57
joelm joined23:57
zumba_addict joined23:58
AccessibleWeb left23:59
str joined23:59
polyzen left23:59

Logs Search ←Prev date Next date→ Channels Documentation