IRCloggy #git 2013-09-30

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.

2013-09-30

goshawk left00:00
cigarshark left00:00
hyperair left00:02
carlos-huang joined00:04
kamikaz3 joined00:04
falconfox joined00:04
kamikaz3 left00:04
echo-area left00:04
torbjorn joined00:05
svetlyak40wt left00:06
raijin left00:06
svetlyak40wt joined00:06
hyperair joined00:07
jstein left00:08
svetlyak40wt left00:10
simesy joined00:13
bodom left00:15
FernandoBasso left00:15
zarubin left00:16
raijin joined00:16
mizu_no_oto left00:16
DolpheenDream joined00:17
Sonderblade left00:17
simesy left00:18
Sysaxed left00:19
Xiti` left00:20
Xiti joined00:20
zarubin joined00:20
ciampix joined00:22
Swayz left00:22
chuckharmston joined00:23
wrouesnel joined00:23
Davey left00:24
jehaby left00:24
Joshi3s` left00:25
AWinterman left00:25
emergion joined00:25
breck7 joined00:25
breck7 left00:26
zarubin left00:26
causasui joined00:26
nox__ joined00:28
normanrichards joined00:28
curvedmark joined00:29
curvedmark left00:30
acharlieh joined00:39
jasongeng joined00:39
Goplat joined00:41
hyperair left00:42
rurufufuss joined00:42
DonRichie left00:43
DonRichie joined00:44
stamina left00:45
zarubin joined00:47
travisstaton left00:47
ciampix left00:47
_nova left00:48
Swayz joined00:49
nafg_ joined00:50
DolpheenDream left00:55
Norm__ joined00:55
Norm_ left00:55
osse left00:56
nox__ left00:56
bwreilly joined00:56
Swayz left00:57
jason237 left00:58
osse joined00:58
rchavik joined00:58
breck7 joined00:58
dsdeiz joined00:59
alexander__b joined00:59
apipkin left00:59
Sigma joined01:00
petey left01:01
breck7 left01:01
jason237 joined01:04
petey joined01:05
shinnya left01:05
tmcmahon joined01:05
jayrobot joined01:06
dsdeiz left01:06
emergion left01:07
chrisss404 left01:07
yhager joined01:08
outcoldman joined01:08
outcoldman left01:09
msheiny left01:10
dyng joined01:11
mribeirodantas joined01:12
simesy joined01:14
tmcmahon left01:15
chrisss404 joined01:15
Sigma left01:17
wrouesnel left01:17
robbyoconnor joined01:17
dsantiago joined01:18
simesy left01:18
pepper_chico joined01:18
zarubin left01:23
cads left01:24
barneybook left01:26
Vampire0 joined01:27
luc__ joined01:28
echo-area joined01:28
kukks left01:29
maqr joined01:29
yhager left01:29
Vampire0_ left01:30
chuckharmston left01:31
chuckharmston joined01:31
kalypso left01:31
chuckharmston left01:32
hyperair joined01:32
Ephexeve joined01:33
Ephexeve Hey guys, when using git commit on a macos, I get this fatal: unable to auto-detect email address (got 'Ben@Ben-laptop.(none)')01:33
Any idea how to fix this?01:33
haarg joined01:34
iveqy Ephexeve: set the e-mail address for your user, man git conffig01:34
gitinfo Ephexeve: the git manpage is available at http://jk.gs/git.html01:34
Ephexeve iveqy: Yeah, I know, but I also wonder if there is any fix for this hostname thing01:35
any idea?01:35
AWinterman joined01:35
PeterBooker left01:36
grawity I'm not sure if there is anything to fix – unless you have your own domain, in which case you could put it somewhere in the OS X IP/DNS configuration01:36
rakl joined01:37
Orbitrix left01:37
Andrevan Ephexeve: there's nothing you can do about it, it's a holdover from the unix convention that your hostname would be running a mail server, but it doesn't01:39
Ephexeve left01:39
AWinterman left01:40
intripoon joined01:40
SamB grawity, Andrevan: wouldn't you fix that by specifying your email address explicitly in either the environment or your git config?01:42
Orbitrix joined01:42
intripoon_ left01:43
Andrevan SamB: yep, someone said that, but he wanted to fix the auto-detection somehow01:43
SamB ah01:43
Andrevan I guess what I should have said was git config --email foo01:44
which is the command version of editing the config fil01:44
but I think that error tells you that01:44
diegoviola left01:44
petey left01:45
haarg left01:47
Davey__ left01:48
Davey joined01:48
Davey left01:48
daito joined01:48
Davey joined01:49
Swayz joined01:49
Davey_ joined01:51
Guest82558 joined01:54
CheckDavid left01:54
haarg joined01:54
Swayz left01:54
Guest82558diegoviola01:55
bunbury left01:55
_Norm_ joined01:56
Norm__ left01:56
weiyang joined01:57
vishal joined01:58
Sigma joined01:59
spaceonline joined01:59
pepper_chico left01:59
rakl left02:02
AWinterman joined02:10
R1KRDO joined02:11
breck7 joined02:12
nilg joined02:12
GT4066 left02:13
simesy joined02:14
Sigma left02:15
breck7 left02:17
rakl joined02:17
xjiujiu joined02:18
Sigma joined02:18
rchavik left02:18
simesy left02:19
harish_ joined02:20
breck7 joined02:21
petey joined02:23
rOOb joined02:23
rOOb hello all. I have a folder I dont want to track in git that contains a bunch of images. I had a gitignore setup to handle this but like a idiot I moved the folder and did not update my gitignore. I then did "git add ." which added the folder. I tried to do "git rm -r path/to/folder" to remove it...but git status still shows the files in the folder. How can I remove that folder from staged?02:24
maroloccio left02:25
huoxito joined02:28
BombStrike what about "git reset path/to/folder" ?02:28
rOOb BombStrike I *think* I needed a --cached to my rm02:28
owen1 joined02:28
rOOb It seems like tha tworked02:28
BombStrike oh yeah02:29
maqr left02:29
minim joined02:29
rakl left02:31
breck7 left02:32
thierryp left02:33
woollyams left02:33
breck7 joined02:34
Dougie187 left02:36
woollyams joined02:37
breck7 left02:39
cmpera left02:40
pdurbin joined02:41
spaceonline left02:43
Jayhawker07 joined02:45
breck7 joined02:46
PaulCapestany joined02:47
dsdeiz joined02:48
Jayhawker07 left02:48
rchavik joined02:49
alexim joined02:49
joki- left02:49
Swayz joined02:50
minim left02:54
joki joined02:54
Swayz left02:54
tinti left02:56
_Norm_ left02:56
_Norm_ joined02:56
dsdeiz left02:57
harish_ left02:57
harish joined02:58
dsdeiz joined02:58
breck7 left02:59
Devastator left02:59
macabre left02:59
owen1 left03:00
ryez left03:00
_BJFreeman joined03:01
_BJFreemanBJfreeman03:02
donmichelangelo left03:03
donmichelangelo joined03:04
Lunatrius joined03:04
ehmatthes left03:06
Risto- left03:07
Devastator joined03:07
mintyFresh joined03:07
mintyFresh left03:08
preflex left03:08
preflex_ joined03:08
mintyFresh joined03:08
mintyFresh left03:08
preflex_preflex03:08
jason237 left03:09
Swayz joined03:10
rchavik left03:11
JustinMac joined03:15
simesy joined03:15
breck7 joined03:17
maroloccio joined03:18
AWinterman left03:18
simesy left03:19
aldodelgado joined03:21
jason237 joined03:22
ewnd9 joined03:23
bruce-zu joined03:24
breck7 left03:25
ryez joined03:26
Joellius joined03:27
petey left03:27
thehodapp joined03:28
mj12albert joined03:30
R1KRDO left03:31
petey joined03:31
cmpera joined03:32
vigs left03:32
mribeirodantas left03:34
Gamecubic joined03:37
woollyams left03:37
ewnd9 left03:39
ewnd9 joined03:39
woollyams joined03:39
weiyang left03:40
cmpera left03:41
the_cybersphinx left03:41
jon_r joined03:41
Skrypter joined03:41
Sigma left03:41
Sigma joined03:42
breck7 joined03:42
Sigma left03:46
minim joined03:47
mizu_no_oto joined03:48
Sigma joined03:49
fairuz joined03:50
goshawk joined03:50
Joellius left03:51
cmpera joined03:51
cmpera left03:53
jasongeng left03:53
alexim left03:54
Norm__ joined03:56
_Norm_ left03:56
bmac left03:57
Sigma left03:57
acharlieh left04:03
BJfreeman left04:03
thehodapp left04:05
Swayz left04:08
vigs joined04:08
rfoust joined04:08
Tommy[D] joined04:08
nitrix joined04:10
nitrixGuest8609504:10
Guest86095 left04:11
Guest86095 joined04:11
Tommy[D]_ left04:11
mizu_no_oto left04:11
GarethAdams joined04:12
Guest86095nitrix04:12
Skrypter left04:13
mj12albe_ joined04:14
mj12albert left04:14
maroloccio left04:14
Gamecubic left04:15
simesy joined04:15
Swayz joined04:16
aldodelgado left04:17
aldodelgado joined04:20
cmpera joined04:20
simesy left04:20
thehodapp joined04:21
dfanjul joined04:27
arvind_khadri joined04:27
thehodapp left04:28
maleknet joined04:28
daito left04:29
cmpera left04:29
daito joined04:30
ehmatthes joined04:32
ehmatthes left04:32
daito left04:34
jehaby joined04:34
CKyle left04:37
breck7 left04:39
galaris joined04:39
JesseCW joined04:40
ndngvr` joined04:41
carlos-huang left04:41
thehodapp joined04:41
huoxito left04:42
graphitemaster joined04:42
Moult_ joined04:42
corsair__ joined04:42
georgl_ joined04:42
Davey__ joined04:42
iaj_ joined04:43
breck7 joined04:43
milieu_ joined04:43
BBonifield_ joined04:43
bede_ joined04:43
machouin1rd joined04:43
ivan\_ joined04:43
neobii_ joined04:44
meLon joined04:44
d1b_ joined04:44
weltall2 joined04:44
steme_jomps_ joined04:44
Kicer joined04:44
helgikrs joined04:44
BinGOs_ joined04:44
mitz__ joined04:44
dasrecht_ joined04:44
mrgrieve1 joined04:44
cagedwisdom_ joined04:44
asedeno_ joined04:44
turboroot_ joined04:44
revyd joined04:44
harish_ joined04:44
Borbus_ joined04:44
Pyrogerg_ joined04:44
chris2_ joined04:44
Fissure1 joined04:44
Kryigero1e joined04:44
Katafalkas joined04:44
babilen_ joined04:44
PaulePan1er joined04:45
ToxicFrog_ joined04:45
Kronuz_ joined04:45
paulweb5151 joined04:45
bbloom_ joined04:45
Fissure1Fissure04:45
ToothlessGear_ joined04:48
schlumpi_ joined04:48
cebor_ joined04:48
SeySayux_ joined04:48
harish left04:49
nilg left04:49
Davey left04:49
milieu left04:49
cagedwisdom left04:49
Pyrogerg left04:49
homer91 left04:49
bgerber left04:49
twoface88 left04:49
ToxicFrog left04:49
BinGOs left04:49
tirengarfio left04:49
steme_jomps left04:49
machouinard left04:49
igalic left04:49
Moult left04:49
turboroot left04:49
Kronuz_Kronuz04:49
weltall2weltall04:49
ivan\_ivan\04:49
Bucciarati joined04:49
rchavik joined04:49
raijin left04:50
WAA6I4Q joined04:52
iAsterisk joined04:52
dob joined04:52
igalic joined04:52
bgerber joined04:52
WAA6I4Q joined04:52
iAsterisk left04:56
dob left04:56
igalic left04:56
bgerber left04:56
Norm__ left04:56
Norm__ joined04:56
farn joined04:56
daito joined04:56
covi joined04:57
tirengarfio joined04:57
stkrzysiak joined04:57
Swayz left04:57
covi I am in a git repo initialized by a svn repo. Every time I do 'git checkout -', a SVN-style msg is displayed. And some git functionality seems to be missing. What's wrong?04:57
CKyle joined04:59
milki cant really tell what that means04:59
covi: !repro04:59
gitinfo covi: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting.04:59
daito left05:01
DrZaius joined05:02
WAA6I4Q joined05:02
iAsterisk joined05:02
dob joined05:02
igalic joined05:02
bgerber joined05:02
h0bbit_ joined05:02
thierryp joined05:06
beautifulmind joined05:07
SHyx0rmZ left05:07
beautifulmind left05:08
fridim_ left05:09
beautifulmind joined05:09
daito joined05:10
covi milki: http://pastebin.com/V8B6gUqa05:10
thehodapp left05:10
covi milki: it really feels like a svn. but there's no .git/svn dir05:11
breck7 left05:11
chrisshattuck left05:11
thehodapp joined05:11
petey left05:11
chrisshattuck joined05:12
maestrojed left05:12
thiago covi: there's nothing wrong in that output05:12
covi: except for the non-standard shorthand for checkout. It's usually "co".05:13
machouin1rd left05:14
JustinMac left05:14
simesy joined05:16
chrisshattuck left05:16
nwertman_ left05:16
covi thiago: really?!05:17
thiago covi: really05:17
there's nothing wrong05:17
covi thiago: but if I had change some file in A, and I _did not_ commit it, then I immediately checkout to B, and the (tracked) file still has the uncommitted changes.05:19
jceb joined05:20
simesy left05:20
thiago covi: right05:20
covi I thought git would warn me about this, or _at least_ display the B's version, without the changes?05:20
thiago covi: !float05:22
gitinfo covi: If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution.05:22
thiago warn you about what?05:23
there's no point in warning about expected and correct behaviour05:23
covi thiago: I see05:24
thiago: I think it's because I haven't run into this scenario before and it challenged my intuition.05:24
That's very hepful, thansk.05:24
*helpful05:24
thanks*05:24
ThomasLocke joined05:27
CKyle left05:27
flippo left05:29
thierryp left05:32
chairabanta joined05:32
jehaby left05:33
Vile left05:34
shuaib joined05:34
Vile joined05:36
longbeach joined05:36
Vile left05:37
m0viefreak left05:38
covi thiago: now that I run into it05:38
thiago: is there a doc for this behavior? also for the formats of the report? (M/D/A, etc)05:38
revyd left05:39
thiago covi: man git-status05:39
gitinfo covi: the git-status manpage is available at http://jk.gs/git-status.html05:39
thiago see the part about the short output05:39
barneybook joined05:39
ciampix joined05:39
svetlyak40wt joined05:39
dyng left05:41
normanrichards left05:41
bousquet joined05:43
dyng joined05:44
chairabanta left05:49
simesy_ joined05:50
jargon joined05:51
ewnd9 left05:52
hoschi joined05:53
xxpor joined05:54
zbcm left05:55
Norm__ left05:56
_Norm_ joined05:56
GT4066 joined05:57
jaseemabid joined05:58
Caritade left05:58
khurram joined05:59
khurram hi every one05:59
rchavik left06:00
bousquet khurram: hi06:00
chepre left06:00
khurram i have setup a git repository on my local computer from which my collegues are cloning and pushing the changes back . Every thing is working fine except i when login as git user do not see the repository files ? can some one please throw light where are they getting managed ?06:00
_ikke_ khurram: It's probably a bare repository?06:01
quazimodo joined06:01
pantsman joined06:01
khurram _ikke_: yes it is06:01
pantsman left06:01
pantsman joined06:01
khurram _ikke_: where the files of bare repository are stored ? so that if i need to resolve conflickts ?06:02
bousquet that would be my guess too. you shouldn't be working in that repo. you should clone it to your own machine and then push/pull changes06:02
the files of a bare repo are in .git like any other repo, just not checked out into a working dir06:03
diegoviola left06:03
khurram bousquet: thanks , so i need to actually make a clone some where and then pull the changes into my local and resolve conflict and push them back right ?06:04
daito left06:04
jon_r left06:05
_ikke_ khurram: You merge locally, yes.06:05
bousquet khurram: correct, that's usually how its' done. usually the bare repo is on a server everyone is accessing via the git user, not on your local machine06:05
when you clone that repo (to yourself), you should see it as a remote via: git remote -v06:06
TomyLobo joined06:07
simesy_ left06:08
ayaz joined06:08
simesy joined06:09
Milossh left06:11
nicedice left06:12
Goplat left06:13
longbeach left06:13
mindriot101 joined06:13
mindriot101 left06:13
harish_ left06:14
carlos-huang joined06:14
beautifulmind left06:14
Milossh joined06:16
bwreilly left06:17
thehodapp1 joined06:21
breck7 joined06:21
soee joined06:22
beautifulmind joined06:22
zarubin joined06:22
thehodapp left06:23
pantsman left06:24
breck7 left06:26
harish_ joined06:27
mindriot101 joined06:28
akurilin left06:30
mindriot101 left06:31
tpollard left06:33
user258467 joined06:33
arjun_ joined06:33
aldodelgado left06:33
mishok13 left06:34
simesy left06:34
arjun_ left06:34
daito joined06:34
machouinard joined06:35
daito left06:36
daito joined06:36
ewokchewy joined06:37
ewokchewy left06:38
babilen_ left06:40
fragje joined06:40
thierryp joined06:41
babilen joined06:41
babilen left06:41
babilen joined06:41
ewokchewy joined06:42
ewokchewy left06:42
rath joined06:42
Streward joined06:43
leeN joined06:43
GeertV joined06:43
papegaaij joined06:45
PaulePan1erPaulePanter06:47
akiva joined06:47
fRAiLtY- joined06:47
simesy joined06:47
PaulCapestany left06:50
alexbligh joined06:50
johnlcox joined06:50
SonicX joined06:51
BinGOs_ left06:53
BinGOs joined06:54
hahuang61 joined06:54
TomyLobo left06:55
Caritade joined06:55
_Norm_ left06:56
_Norm_ joined06:56
thehodapp1 left06:57
dhruvasagar left06:57
netiul joined06:58
thehodapp joined06:58
mishok13 joined06:58
Bosox20051 left06:58
Advocation joined06:58
dhruvasagar joined06:59
jnavila joined07:00
cbreak-work joined07:00
vigs left07:01
vishal left07:02
Caritade left07:02
vishal joined07:02
cbreak-work left07:03
kbart joined07:03
evg2108 joined07:05
Sirolf joined07:05
Sirolf Goodmorning07:06
_ikke_ hello07:07
Sirolf is this the right channel to ask about branching an Android Project in eGit ?07:07
Squarism joined07:07
_Norm_ left07:08
jast there's probably not a better channel... that said, most of us use the official git07:08
geomyidae left07:08
druonysuse joined07:09
beautifulmind left07:10
geomyidae joined07:10
Sirolf okay.. my simple question is that right now we're working together on one project an basicly just use the master branch. This is no problem as long as we communicate about who is working on what to keep things synchronised. If I start using a new branch and work on the MainActivity while someone else does .. will eGit be able to sync itself?07:11
rchavik joined07:11
Sirolf EGit is just the Eclipse pluging for normal/official git right?07:12
moritz Sirolf: if you edit the same lines in the same file, you'll have to resolve the resulting merge conflicts yourself07:12
h_kon joined07:12
moritz (or even adjacent lines in the same file)07:13
koda joined07:13
Sirolf moritz: okay, but what if I just edit a different method ... one that is untouched by others ?07:13
moritz Sirolf: then the merges go fine automatically07:13
Sirolf okay hmm07:14
thanks I'll try that then :-)07:15
rchavik left07:16
woollyams left07:16
babilen_ joined07:18
MouseTheLuckyDog Is there a way to "diff" two repositories?07:19
_nova joined07:19
canton7 MouseTheLuckyDog fetch one into the other. diff as normal07:19
MouseTheLuckyDog canton7, ?07:20
rafeca joined07:20
babilen left07:20
dreiss joined07:20
harobed_ joined07:20
canton7 MouseTheLuckyDog, what sort of diff are you after? I'm assuming the repos are related, i.e. have a common root?07:20
fairuz MouseTheLuckyDog: Add repo B as a remote in repo A, fetch, then do normal diff07:20
arjun_ joined07:21
arjun_ left07:21
OOPMan joined07:21
arjun_ joined07:21
arjun_ left07:22
arjun_ joined07:22
MouseTheLuckyDog canton87, I'm looking for a diff of the revision structures not individual files.07:23
gua_ould joined07:23
vishal left07:23
canton7 MouseTheLuckyDog, what exactly do you mean by that? diff of directory structures?07:23
khurram i have a small confusion07:23
vishal joined07:23
canton7 the difference between their history graphs?07:23
*between graphs of their histories07:24
gua_ould left07:25
gua_ould joined07:26
cbreak-work joined07:26
goshawk left07:26
Katafalkas left07:27
quazimodo left07:27
sqlnoob joined07:27
thehodapp1 joined07:27
thehodapp left07:29
cbreak-work left07:29
carlos-huang left07:29
doev joined07:30
rchavik joined07:30
angelsl joined07:30
mdiers joined07:32
nafg_ left07:32
carlos-huang joined07:32
freestyl3r joined07:32
ryxai joined07:32
simesy left07:35
sparq_ joined07:35
mdiers left07:35
nafg joined07:36
sidus joined07:38
harish_ left07:38
netiul left07:39
jnavila left07:40
jnavila_ joined07:40
diverdude joined07:40
mindriot101 joined07:40
diverdude is it possible to havegit send an email whenever a push is madeto master?07:40
_ikke_ diverdude: yes07:41
diverdude: man githooks07:41
gitinfo diverdude: the githooks manpage is available at http://jk.gs/githooks.html07:41
juril joined07:41
nafg left07:42
alorence joined07:42
frgtn joined07:43
bousquet left07:44
D9_ left07:44
Misan joined07:45
xjiujiu left07:45
babilen joined07:46
mindriot101 left07:46
minim left07:46
svetlyak40wt left07:46
Asenar joined07:46
psoo joined07:47
simesy joined07:47
druonysuse left07:48
babilen_ left07:48
Soliton joined07:49
mindriot101 joined07:50
dhruvasagar left07:50
harish_ joined07:51
dhruvasagar joined07:52
ndngvr joined07:52
boudiccas left07:52
sqlnoob left07:53
ndngvr` left07:53
arjun_ left07:53
arjun__ joined07:53
arjun__ left07:53
ismlages left07:54
SonicX left07:56
carlos-huang left07:58
diverdude when i do git status, will it also check if local master is behind origin master?08:01
G0re joined08:02
_ikke_ diverdude: It will check against your local remote tracking branch, it will not contact the remote08:03
diverdude _ikke_, ah ok...is there a way to see if anything has been pushed to origin?08:03
dc5ala joined08:04
_ikke_ just git fetch08:04
babilen_ joined08:05
TDJACR left08:05
sqlnoob joined08:05
babilen left08:06
_Qman joined08:07
harish_ left08:07
jave joined08:07
diverdude _ikke_, but then it will also actually download the changes08:07
would it be possible to just peek?08:07
_ikke_ yes, is that a problem?08:07
h0bbit_ left08:07
_ikke_ It's usually fast enough08:07
Milossh left08:07
diverdude _ikke_, true08:09
_ikke_ git ls-remote can peek, but you have to compare the hashes yourself08:09
dsdeiz left08:09
dsdeiz joined08:10
diverdude yeah i think fetch is great..it does not merge automatically...so it will have the effect that iwanted..namely to look through the changes before i apply them08:10
h0bbit_ joined08:11
sqlnoob left08:11
diverdude but what happens if i do fetch and then fetch again assuming 2 updates were pushed without merging manually. Are the 2 fetches then merged first or will i have to merge first fetch #1 and then fetch #2?08:11
sqlnoob joined08:11
alexander__b left08:12
alexander__b joined08:12
nemesit|znc left08:13
jiangenj left08:14
twoface88 joined08:14
konadr joined08:14
dreiss left08:15
_ikke_ It just needs to append the new changes to the old changes, nothing needs to be merged08:16
kewah joined08:16
nemesit|znc joined08:17
twoface88 left08:17
Sonderblade joined08:18
carlos-huang joined08:18
iokill joined08:19
nemesit|znc left08:21
konadr left08:22
konadr joined08:22
yezariaely joined08:25
cilly joined08:26
Sonderblade left08:26
mikecmpbll joined08:26
titosemi4 joined08:26
mindriot101 left08:27
nemesit|znc joined08:27
dhruvasagar left08:28
nemesit|znc left08:28
nemesit|znc joined08:28
dhruvasagar joined08:29
mindriot101 joined08:30
subhojit777 joined08:31
Slush- joined08:31
noname001 joined08:32
jasonroyle joined08:32
Norm_ joined08:33
Plummer joined08:34
zarubin left08:35
noname001__ joined08:37
noname001 left08:37
sparq_ left08:37
twoface88 joined08:38
thiago left08:39
twoface88 left08:40
simesy_ joined08:42
gua_ould_ joined08:43
tatsuya_o joined08:43
papegaaij_ joined08:43
rath_ joined08:44
rath_ left08:44
rath_ joined08:44
sqlnoobmode joined08:44
sqlnoob left08:44
dc5ala left08:44
simesy left08:44
alorence left08:44
gua_ould left08:44
mishok13 left08:44
papegaaij left08:44
rath left08:44
jceb left08:44
DrZaius left08:44
iAsterisk left08:44
dob left08:44
igalic left08:44
bgerber left08:44
gua_ould_gua_ould08:44
gerberb joined08:45
jceb joined08:45
igalic joined08:45
mishok13 joined08:45
DrZaius joined08:46
dob joined08:46
Asenar left08:46
menace joined08:47
howlymowly joined08:47
jaseemabid left08:47
Katafalkas joined08:47
curvedmark joined08:48
curvedmark left08:48
kerrick joined08:49
alorence joined08:49
iAsterisk joined08:49
Joellius joined08:52
lb1a joined08:53
chris2_chris208:53
nemesit|znc left08:54
jkremser joined08:54
jkremser left08:54
jkremser joined08:54
ewnd9 joined08:54
evg2108 left08:54
matteo joined08:55
maroloccio joined08:55
jnavila_ left08:55
jnavila_ joined08:56
cilly left08:56
nemesit|znc joined08:56
gerberb left08:57
gerberb joined08:58
dc5ala joined08:58
Asenar joined08:59
simesy_ left08:59
netiul joined09:01
dhruvasagar left09:01
Advocation left09:02
fairuz1 joined09:03
fairuz1 left09:03
dhruvasagar joined09:03
fairuz left09:05
khushildep joined09:07
cbreak-work joined09:07
rudak joined09:08
RaceCondition joined09:08
sqlnoobmode left09:08
nutron left09:09
simesy joined09:10
rchavik left09:11
LimeBlast joined09:11
pfFredd joined09:12
Stygia joined09:12
irqq_ joined09:12
fragje_ joined09:12
sqlnoobmode joined09:13
irqq left09:13
LLckfan joined09:13
LLckfan I am trying to reconnect my Magnavox MBP 5120 blu-ray player to my Linksys routers wifi (which I have done before without trouble) and I am getting DHCP cannot be acquired. I have change the IP Address to manual on the blu-ray player without changing the IP address itself and no error. I have checked the routers settings and DHCP is enabled. Is there a way to fix this?09:13
fragje left09:15
nbrosnahan joined09:18
nbrosnahan left09:18
_ikke_ LLckfan: You are in #git09:18
LLckfan So09:22
Georg3 left09:22
frgtn left09:22
jast have you tried turning it off and on again?09:23
LLckfan yes09:23
jast seriously, though. most wi-fi implementations are seriously buggy and hardly compatible09:23
not getting two devices connected via wi-fi is pretty much normal09:23
LLckfan It has been connected09:24
jast not to the point you can actually use it, obviously09:24
LLckfan I could use it09:24
As a matter of fact I ented and watched a movie though it09:24
threesome joined09:24
jast so it's just DHCP issues?09:25
doesn't sound particularly serious... annoying at most09:25
some kind of bug in one of the two devices... not unusual either09:25
you could try looking for firmware updates, of course09:26
beautifulmind joined09:26
beautifulmind left09:26
lb1a i bet this is an emergency case of https://en.wikipedia.org/wiki/Troll_%28Internet%2909:26
LLckfan I have motre then two device09:26
_ikke_ looks confused to channel topic09:28
stamina joined09:28
nbrosnahan joined09:28
barneybook|2 joined09:28
beautifulmind joined09:28
barneybook left09:30
chronossc joined09:31
beepbeep_ joined09:32
niko LLckfan: do you think #git and #bitcoin are accurate channel for your question ? i doubt.09:32
VictorCL joined09:33
iveqy LLckfan: !smart_q09:33
gitinfo LLckfan: [!smart_questions] You should read http://www.catb.org/esr/faqs/smart-questions.html on how to improve asking and recieving help from the open source community. It will greatly benefit you and you'll get results faster.09:33
beepbeep_ Workflow kind of question. I have two feature branches both created from the develop branch. Now one feature relies on the second feature. I want to merge one feature branch in the other. At the end of the road, both feature branches will be merged back into develop. Will this cause problems?09:33
_ikke_ No, this should not cause any problems09:34
beepbeep_ great! :)09:34
_ikke_ though, you only need to merge one branch into master09:34
beepbeep_ well no, after I merge one feature in the other, both features will still be further developed09:35
asQuirreL joined09:35
_ikke_ right, well, it should not cause problems09:35
beepbeep_ cool :)09:36
_ikke_ It might be that history looks a little weird though09:36
beepbeep_ Is there a better way to do these kind of things?09:37
rudak left09:38
Django23 joined09:38
khurram left09:38
GT4066 left09:38
babilen_ left09:39
lb1a beepbeep_, merge only when the feature is complete. after that create new branches if there are further improvments?09:39
Django23 Hello everyone. I need to remove the history of my GIT repo. I used http://git-scm.com/book/ch6-4.html and other solution, but it lose the commit dates because of the rebase. Is there a way to truncate the history? Or to Squash all old commits without rebase?09:40
carlos-huang left09:41
iveqy Django23: do you want to remove your history or squash your history?09:41
Django23 One of both will work09:41
lb1a iveqy, maybe he want's to get ridd of the commit messages only. then truncate or squash would help.09:41
jnavila_ left09:42
iveqy Django23: you can either delete the .git-directory, all your history and your git repo would be lost.09:42
lb1a Django23, but since a git commit always represents the whole history that lead to this status quo, no you cant change the history without affecting the current commit09:42
iveqy Django23: or you can do a rebase and squash them. You can alter the commit date with man git commit, however, why is a new commit-date a problem?09:42
gitinfo Django23: the git-commit manpage is available at http://jk.gs/git-commit.html09:42
Django23 iveqy: I needed to be more specific. I need to remove/squash all commits prior to date X09:42
hyperair graft that commit to nothing09:43
Xethron joined09:43
iveqy Django23: then use git rebase09:43
jnavila_ joined09:43
Django23 ivan: It's what i thought. I need to rebase 1600+ commits, and it is giving me tons of merge conflicts09:43
ivan iveqy: ^09:44
mindriot101 left09:44
Django23 And wrong commit dates09:44
_ikke_ grafting is easiest, but it still involves rewriting history09:45
hyperair Django23: do you have any specific commit you can cutoff at?09:45
Django23: if you have, try echoing the commit hash into .git/info/grafts09:45
just that09:45
and then git log09:45
if you like that history, run git filter-branch --tag-filter cat09:45
iveqy Django23: and how many "new commit" do you have?09:45
hyperair and then remove .git/info/grafts09:45
Django23 hyperair: Thats interesting. I'm gonna try that09:46
iveqy Django23: out of curiousity, why are you doing this? It sounds really stupid to throw away history09:46
TDJACR joined09:46
Django23 So it just hides it, but it's still there ;)09:46
hyperair Django23: graft changes the parentage of a commit09:46
thierryp left09:46
_ikke_ Django23: Yes, but that only works for the local repository (until you filter branch it)09:47
Pyrogerg_ left09:47
hyperair Django23: each line in the grafts file looks like: <commit-to-change> <parent1> <parent2> <parent3>09:47
thierryp joined09:47
Django23 iveqy: Let's say I need to show that we used git only since last year09:47
hyperair Django23: by omitting the parents, you've made it the root commit09:47
Django23: and by filter-branch'ing, it makes the change permanent09:47
Django23 hyperair: I will try your solution right away09:48
echo-area left09:48
iveqy Django23: sounds like yet an other case of stupid management issues =(, well good luck. If you've a straigth line git history there's other ways to do this if you fail with hyperair's suggestion09:49
_ikke_ hyperair: does --tag-filter exist?09:49
hyperair: my man doesn't mention it09:49
hyperair _ikke_: doesn't it?09:49
_ikke_ only --tag-name-filter09:49
hyperair whoops09:49
--tag-name-filter09:50
hyperair just typed it from memory09:50
hyperair and filter-branch is ridiculously unhelpful with invalid command line options09:50
_ikke_ --tag-name-filter cat09:50
hyperair yeah that09:50
if you try to get smart using --tag-name-filter=cat, it fails with no error messages09:50
wonderful09:50
hyperair wants further09:50
hyperair s/wants/rants/09:51
Django23 iveqy: It is definetly stupid management issue. Sometimes I just can;t persuade by.09:51
them*09:51
hyperair lol09:51
Django23: by the way, rebase deals very badly with merges. it tends to linearize your history09:52
Django23: and even if you use -p, you usually have to fix your merge conflicts09:52
and good luck to you if you accidentally broke rerere but committing a wrong merge conflict resolution09:52
=p09:52
simesy left09:53
frgtn joined09:54
maleknet left09:55
jaseemabid joined09:56
arjun_ joined09:56
Sirolf left09:57
Pyrogerg joined09:57
fffelix joined09:59
thierryp left09:59
thierryp joined09:59
Django23 hyperair: It works great10:01
the_cybersphinx joined10:01
hyperair great :)10:01
Django23 hyperair: Is did not follow your explanation to make in permanent10:02
hyperair Django23: erm then your history will stick around and you won't be able to push it properly10:02
Django23: if you don't run filter-branch, your history's just hidden, and only on the local repository10:03
ph88 joined10:03
Django23 Oh, i got i10:03
it10:03
ph88 when i type my commit message on the command line, how do i make a new line in the message ?10:03
_ikke_ the grafts file will not get pushed10:03
Django23 Perfect. I have it like i want it.10:03
Thanks a lot10:03
hyperair heh okay10:04
_ikke_ ph88: If you wrap your message around quotes, just press enter10:04
Django23 Thanks to hyperair, iveqy and _ikke_10:04
sr78ger joined10:04
fffelix Hi, I've got a best practice question: I want to fork a github repository and add some changes and a feature from another gh repository. Do I just clone rep2 into rep1 or do I create a fork of rep2 as well?10:06
mchqwerty joined10:06
ph88 thx _ikke_10:07
fffelix The feature I want to use from repo2 is basically just a validator10:07
_ikke_ fffelix: Are those two repo's related?10:07
maleknet joined10:07
fffelix _ikke_: no, they're not10:08
jaseemabid left10:08
fffelix They both handle geojson objects10:08
_ikke_ You don't need to fork unless you want to make pull requests. So if you only want changes from the other github project, you don't need to fork10:08
ph88 i have forker a project and now made a patch on my version ... how can i make the PR on the original project (not mine) when i click new pull request i get a screen to compare branches ??10:08
fffelix _ikke_: great, thanks!10:09
svetlyak40wt joined10:09
aChatir joined10:09
aChatir left10:09
masteews joined10:09
masteews left10:09
ph88 oh i found it10:10
there is a link for forks !10:10
mchqwerty left10:13
Kulrak left10:14
asQuirreL left10:14
svetlyak40wt left10:16
babilen joined10:16
Kulrak joined10:16
chairabanta joined10:17
h_kon left10:17
Kulrak left10:18
maroloccio left10:19
asQuirreL joined10:21
svetlyak40wt joined10:22
cads joined10:22
Kulrak joined10:22
Kulrak left10:22
Kulrak joined10:22
maroloccio joined10:23
fffelix left10:25
fragje_ left10:25
mikecmpbll left10:26
mizu_no_oto joined10:26
arjun_ left10:26
tinti joined10:29
thehodapp1 left10:30
svetlyak40wt left10:33
konadr left10:33
rurufufuss left10:33
JosephFerano joined10:33
konadr joined10:34
PParth left10:34
svetlyak40wt joined10:34
dharriga1 left10:36
dharriga1 joined10:36
Kabaka joined10:36
dharriga1dharrigan10:36
sqlnoobmode left10:37
fragje joined10:37
deuterium joined10:37
fragje left10:37
arjun_ joined10:38
Misan left10:38
mikecmpbll joined10:41
svetlyak40wt left10:42
hyperair left10:43
rurufufuss joined10:46
Misan joined10:47
HenryG joined10:47
Element9 joined10:48
vishal left10:49
konadr left10:49
konadr joined10:50
Squarism left10:51
sqlnoobmode joined10:52
sqlnoobmode left10:52
Element9 left10:53
Joellius left10:53
earny left10:53
earny joined10:53
sqlnoobmode joined10:53
maroloccio left10:53
konadr left10:53
maroloccio joined10:53
normanrichards joined10:54
konadr joined10:54
mklappstuhl joined10:54
Element9 joined10:54
igalic left10:56
igalic joined10:56
paulweb5151 left10:56
konadr left10:56
konadr joined10:57
khurram joined10:57
cff joined10:58
konadr left10:59
konadr joined11:00
mdiers joined11:00
OOPMan left11:00
rath_rath11:01
khurram hi11:02
sqlnoobmode left11:02
_ikke_ hello11:03
khurram how can i force the master to get updated with the code from my local repository and don''t complain about any conflicts ?11:03
simesy joined11:03
huoxito joined11:03
_ikke_ Which master?11:03
khurram _ikke_: i cloned and fetch the code from repository A, i have repository B created with --bare option and all the collegues are fetching and pushing to repository B, I want to update repository B with the latest changes from repository A without any complains is it possible ?11:04
_ikke_ khurram: You can't without potentially overwriting history from you colleagues11:05
Can you explain what you want to achieve?11:05
iveqy khurram: !public11:05
gitinfo khurram: [!rewriting_public_history] Rewriting public history is usually bad. 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` to force (and the remote may reject that, anyway). See http://goo.gl/waqum11:05
Asenar left11:05
Asenar joined11:05
tsdh joined11:06
khurram iveqy: actually the Repository B with the --bare option is just there for pulling the code there is nothing going to be pushed back11:06
iveqy khurram: you just said that you collegues are fetching and pushing from/to B11:07
khurram: listen to _ikke_, what do you want to achieve?11:07
khurram _ikke_: my collegues will be making patches on their local and they need a public place to pull only , no merging of code, no commits11:07
Squarism joined11:07
khurram iveqy: yeah they did it for testing but they wont be pushing instead making a git patch11:07
iveqy khurram: however to do what you ask for you just go into your clone of repo B, add repo A as a remote (man git remote) and then push that to A (man git push)11:07
gitinfo khurram: the git-remote manpage is available at http://jk.gs/git-remote.html11:07
khurram: the git-push manpage is available at http://jk.gs/git-push.html11:07
simesy left11:08
iveqy khurram: making a git patch? What is that? And where will this patch be sent?11:08
chairabanta left11:09
khurram But i do not want my Repository A to get any changes from Repository B either , i did not wanted to give access directly to Repository A. So i have created repository B with --bare option , so i want to pull from Repository A into Repository B everyday for the collegues to pull the fresh code11:09
beautifulmind left11:10
khurram iveqy: patches will be sent by email11:10
iveqy khurram: why don't you just give read accress to repo A?11:11
access*11:11
khurram repo A is working through my private keypair and i do not want anyone to pull or push back to Repo A because that is client's repository ,11:12
iveqy: so for safety reasons i wanted to clone repo A into repo B and allow access to repo B only for pulling the code11:12
diverdude left11:13
kcj left11:13
iveqy khurram: look at clone --mirror (man git clone)11:14
gitinfo khurram: the git-clone manpage is available at http://jk.gs/git-clone.html11:14
Milossh joined11:14
Milossh left11:14
Milossh joined11:14
khurram iveqy: can i clone from two different sources ?11:15
iveqy khurram: no11:15
khurram iveqy: i am confused with the repository i created with --bare option . This repository should be clone of repository A but how do i clone into it ?11:15
iveqy khurram: you can fetch from two different sources11:16
khurram iveqy: ok lemme try11:16
iveqy khurram: and you should clone A direct to create B11:16
spaceonline joined11:18
khurram iveqy: how to do that11:18
jkremser left11:18
kalypso joined11:19
Milossh left11:19
malkomalko joined11:19
daito left11:20
echo-area joined11:21
OOPMan joined11:21
luc__ left11:21
Milossh joined11:21
hyperair joined11:21
Milossh left11:22
Milossh joined11:22
iveqy khurram: git clone --mirror B11:23
or I mean A11:23
sqlnoobmode joined11:23
khurram iveqy: i do git fetch/pull inside RepositoryA and can i push the updated things to RepositoryB from A ?11:24
iveqy khurram: no11:25
khurram: let's say you've a repo A that you want to have a mirror of. Just do git clone --mirror A to get a mirror of it called B11:25
and then you're done11:25
khurram iveqy: thanks, ok so i need to be inside RepositoryB and then from there i need command git clone --mirror RepositoryA right ?11:25
iveqy khurram: repo B doesn't exists before you've done the clone11:26
khurram iveqy: i need to have the updates reflected in RepositoryB which every collegue is accessing11:26
PeterBooker joined11:27
sqlnoobmode left11:28
chairabanta joined11:28
Riz__ left11:30
dc5ala left11:30
mindriot101 joined11:32
ewnd9 left11:34
iveqy khurram: then goto repo B and fetch from repo A11:34
khurram: or wait, I think you can solve it with:11:35
git remote update11:35
cmpera joined11:36
Devastator left11:36
Devastator joined11:37
ciampix left11:37
jcromart_ left11:37
starfox21 joined11:38
herdingcat joined11:38
starfox21 hey guys, I am not sure what I did but today git started asking me for the passphrase for my rsa key every time I push or pull to my repo on github. Any clue why this is happening?11:39
barneybook|2 left11:40
chairabanta left11:40
moritz starfox21: probably your ssh-agent died11:40
cbreak-work starfox21: can you not ssh-add it?11:40
sonOfRa ^11:40
moritz starfox21: to an 'ssh-add -l' on the command line11:40
starfox21: what does it say?11:40
starfox21 moritz: ssh-add -l says "Could not open a connection to your authentication agent."11:41
kukks joined11:41
kukks left11:41
kukks joined11:41
Entomo left11:41
Risto- joined11:42
moritz starfox21: then you have two options: 1) log out, and log in again (will most likely restart an ssh-agent for you)11:43
2)11:43
run 'ssh-agent', and copy&paste its output into all terminals you use11:44
svetlyak40wt joined11:44
svetlyak40wt left11:44
mklappstuhl left11:44
starfox21 moritz: why did this happen? this is a tmux session that has been open for a while now (thought this could be relevant)11:44
moritz starfox21: no idea; maybe some process gobbled up all memory, and the OOM killer took ssh-agent to its grave11:46
asQuirreL left11:46
moritz or ssh-agent had a bug which made it die11:46
or a stray 'killall' killed it11:46
starfox21 moritz: thanks11:47
kwmiebach joined11:47
jaseemabid joined11:47
khurram iveqy: git remote update ? is thats all ?11:48
Stygia left11:51
emmajane joined11:52
netiul left11:53
shinnya joined11:53
srji joined11:53
doev left11:53
doev joined11:54
introom joined11:54
maleknet left11:55
netiul joined11:55
adex_ joined11:56
cannonball joined11:57
YoungFrog joined11:57
carlos-huang joined11:59
Expi1 joined11:59
Stygia joined12:00
Kabaka left12:01
Expi1 left12:01
pfFredd left12:01
Expi1 joined12:01
iveqy khurram: I'm not 100% sure about that one, !tyit12:02
carlos-huang left12:03
carlos-huang joined12:03
Devastator left12:03
Devastator joined12:03
moritz !tias ?12:03
gitinfo Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/1-basic-usage/tias.html may help with git-specific TIAS.12:03
ph88 hey i make my commit with --author and i see in the git log it's the right auther ... but when i push my commit i suddenly see my global set name (on travis-ci) ... why is that ??12:04
iveqy moritz: thanks12:04
_ikke_ ph88: There are two author fields on a commit: committer and author12:04
ph88: try git log --format=full12:04
ph88 how do i change the commiter ?12:04
rafeca left12:05
moritz by being somebody else12:05
masak harder than it sounds12:05
tvw joined12:05
dachary joined12:05
iveqy masak: what?12:06
ph88: look at the enviroment variables in man git12:06
gitinfo ph88: the git manpage is available at http://jk.gs/git.html12:06
harobed_ left12:06
_ikke_ One way is: git -c user.name=<name> -c user.email=<mai> git commit --amend12:06
LLckfan left12:06
iveqy ph88: however, it sounds strange to try to be someone else12:06
rafeca joined12:07
_ikke_ If you want to change more then one commit, git filter-branch should be used12:07
iveqy: One person could have multiple identities (personal and work) for example12:07
ph88 is git -c an alias for git config ??12:07
LLckfan joined12:07
IrishPrime joined12:07
_ikke_ No12:07
raijin joined12:07
iveqy ph88: no, see man git for what -c is12:07
gitinfo ph88: the git manpage is available at http://jk.gs/git.html12:07
_ikke_ It just sets it for that specific command12:07
LLckfan left12:08
iveqy _ikke_: that's true,12:08
_ikke_: however, isn't it unusual to have different identities onthe same project?12:08
_ikke_: it is possible to set an identity in the projects config12:08
Sirolf joined12:09
_ikke_ sure12:09
But ph88 probably didn't know that12:09
tdm00 joined12:09
Expi1 left12:10
harobed_ joined12:10
jkremser joined12:10
jkremser left12:10
jkremser joined12:10
iveqy _ikke_: that's probably also true :)12:10
khurram left12:10
Expi1 joined12:11
YoungFrog _ikke_: isn't the second "git" too much in your command (git -c ...) ?12:11
mindriot101 left12:11
maleknet joined12:11
mizu_no_oto left12:11
ph88 thx guys :)12:11
mklappstuhl joined12:11
Expi1 left12:11
robbyoconnor left12:12
mizu_no_oto joined12:13
h_kon joined12:13
Kabaka joined12:13
normanrichards left12:16
_ikke_ YoungFrog: Yeah, my fingers sometimes do things on their own12:17
malkomalko left12:17
iveqy _ikke_: so are we going to credit you or your fingers when you give good advice? ;)12:18
xobb joined12:18
YoungFrog yeah, have eyes+brain to control what hands do is time consuming. It's a pity we can't assume that hands to whatever we ask them. Let's request CCTV for supervising hands !12:19
h_kon left12:19
_ikke_ whaha12:19
iveqy: They're at least part of speed which I answer questions12:19
dyng left12:20
ewnd9 joined12:20
mklappstuhl left12:20
_ikke_ But they're also responsible for the typo's12:20
raijin left12:21
diverdude joined12:21
g0bl1n joined12:22
Tuna-Fish left12:25
sqlnoob joined12:25
rudak joined12:26
gerberb left12:26
tmcmahon joined12:27
mizu_no_oto left12:27
pareidolia joined12:27
bgerber joined12:27
cmpera_ joined12:28
cmpera left12:28
cmpera_cmpera12:28
pareidolia Hi all! I have one remote repo, but I can access it from two hostnames (LAN and from outside), only one works at a time. Is it wise to define two remotes for them? Is there another solution?12:28
Tuna-Fish joined12:28
_ikke_ git does not care about hostnames12:29
What do you mean with only one working at a time?12:30
tmcmahon left12:30
rnsanchez joined12:31
dougsland_ joined12:32
Fingolfin joined12:33
drager joined12:33
cmn you mean you can only access through one of the URLs depending on where you sit?12:33
you might want to set multiple urls for the remote12:33
simesy joined12:34
cmn pareidolia: ^^12:35
marhaban joined12:35
hyperair left12:36
lu_zero left12:37
lu_zero joined12:37
lu_zero left12:37
lu_zero joined12:37
Asenar Hi, how can I get the content of "myfile.txt" from the sha1 32b4878 (I don't want to change the current file, something like "git cat <sha1> path/to/file"12:38
iveqy Asenar: man git show ?12:39
gitinfo Asenar: the git-show manpage is available at http://jk.gs/git-show.html12:39
Asenar git-show only show the diff12:39
simesy left12:39
Asenar or maybe I will check the man page ...12:39
rafeca left12:39
moritz Asenar: git show 32b4878:myfile.txt12:40
Asenar great ! thanks you12:40
where did you find that ?12:40
juniorsilva7 joined12:40
mikecmpbll left12:41
cmn it should be in that manpage, or check man gitrevisions for the general document12:41
gitinfo the gitrevisions manpage is available at http://jk.gs/gitrevisions.html12:41
Asenar I didn't see it in the man12:41
pareidolia cmn: Thanks, but i experimented with that a bit12:41
rchavik joined12:41
mikecmpbll joined12:41
pareidolia cmn: I might be doing something wrong, but it seems that one address not being accessible halts the whole show12:41
TheBrainWork joined12:41
TheBrainWork left12:41
TheBrainWork joined12:41
pareidolia cmn: And I would need it to try the LAN address first12:42
Django23 left12:42
Asenar ok, it's present at the end, in the EXAMPLES12:42
cmn I don't recall git stopping at the first bad one, but I haven't tried to use it in quite a while12:42
then you'll just have to use multiple remotes12:43
echo-area Does anyone use magit here? Can magit only annotate (blame) a file using git gui?12:43
introom left12:43
_ikke_ !gui12:43
gitinfo Graphical user interfaces are not supported here. If you want to get support, it needs to be through the git CLI. Reasons: 1) Because very few people here use the graphical interface. 2) Because giving instructions for GUI's is difficult. 3) The command line gives you a history of what commands you have executed.12:43
simesy joined12:43
h_kon joined12:44
rafeca joined12:44
echo-area Okay.12:44
feorex joined12:46
Sysaxed joined12:46
YoungFrog echo-area: magit offers M-x magit-blame-mode12:46
maleknet left12:46
echo-area YoungFrog: Thanks, lemme try12:47
paulweb515 joined12:49
Guest85894 joined12:49
paulweb515 left12:49
schemanic joined12:49
CheckDavid joined12:50
selckin left12:50
fluxdude joined12:50
geak joined12:52
schemanic left12:52
geak left12:52
xpe joined12:52
scampbell joined12:53
cads left12:53
paulweb515 joined12:54
normanrichards joined12:55
Fritz7 left12:57
ojacobson joined12:57
Fritz7 joined12:57
pdurbin left12:57
kaosx joined12:58
geak joined12:59
macabre joined12:59
chuckharmston joined13:00
msafi joined13:01
msafi Can I delete things from a branch, but then when I pull it from my production server not have those things deleted?13:02
_ikke_ nope13:02
marhaban left13:02
_ikke_ If you merge changes, you merge everything13:02
otherwise it's considered an 'evil' merge13:02
marhaban joined13:03
jnavila__ joined13:03
breakingthings joined13:04
thierryp left13:04
iveqy msafi: why would you do that? Maybe there's an other way to achieve what you want13:05
jnavila_ left13:06
barneybook|2 joined13:06
msafi iveqy, I uploaded my generated documentation to my GitHub repo, which inflated my language stats. I want to now delete the docs folder from the repo, but I don't want it deleted from production13:07
barneybook|2 left13:07
pbujok joined13:07
raijin joined13:07
barneybook joined13:08
barneybook left13:08
bsdbandit good morning all13:08
barneybook joined13:09
iveqy msafi: it's generally a bad idea to track genereted content. I don't think there's a way to manipulate github language stats13:09
robinsmidsrod joined13:09
iveqy you could of course have a branch without those docs that you push to the github repo13:09
msafi iveqy, yes, I made the mistake of tracking them. I'm thinking I will delete the files, pull, then generate them again on production.13:10
amcsi_work joined13:10
_ikke_ That's the best option imo13:10
rchavik_ joined13:11
rchavik left13:11
jday_ left13:11
msafi Okay, I'll try that.13:11
rchavik_rchavik13:11
jerius joined13:11
harish_ joined13:12
gitpicker left13:12
raijin left13:13
raijin joined13:13
cmpera_ joined13:14
matanya joined13:15
hyperair joined13:15
cmpera left13:15
cmpera_cmpera13:15
marthinal joined13:15
marjorip joined13:15
curvedmark joined13:16
fuzzybunny69y left13:16
renumi joined13:16
rfoust left13:17
normanrichards left13:18
bmac joined13:18
echo-area left13:20
dsdeiz_ joined13:20
konadr left13:20
raijin left13:20
mizu_no_oto joined13:20
eletuchy joined13:20
Devastator left13:20
Fingolfin left13:21
shuaib left13:21
raijin joined13:21
Devastator joined13:21
konadr joined13:21
marhaban1 joined13:21
xobb left13:21
dsdeiz left13:21
xobb_ joined13:21
tobscore left13:22
echo-area joined13:22
marhaban left13:22
menace left13:22
konadr left13:22
hyperair left13:23
konadr joined13:23
dsdeiz_ left13:24
yezariaely left13:25
JosephFerano left13:26
fuzzybunny69y joined13:27
fuzzybunny69y left13:27
fuzzybunny69y joined13:27
AaronMT joined13:28
CKyle joined13:29
CKyle left13:29
harish_ left13:29
h0bbit_ left13:29
gitpicker joined13:29
travisstaton joined13:29
travisstaton left13:30
Sonderblade joined13:30
mindriot101 joined13:30
magu|q_ joined13:30
Sonderblade left13:30
Sonderblade joined13:31
nailora joined13:31
akiva left13:31
_goTAN joined13:32
mindriot101 left13:32
pepper_chico joined13:32
tobscore joined13:32
magu|q left13:33
jophish joined13:36
jophish Yo yo yo13:37
thierryp joined13:37
jophish If I had a function which looks at a repository and returns true of false depending on whether the code passes all unit tests compiles without warnings, whatever...13:38
What's the standard procedure of making sure that code isn't checked in if it fails the script?13:38
nutron joined13:38
jophish have some kind of staging branch, and a script which continuously merges to the main branch as long as everything's ok?13:39
iveqy jophish: a pre-commit hook at the commiter side and a pre-recieve hook at the remote repo13:39
CKyle joined13:39
mmitchell joined13:39
cmn if anything, a hook in the main repo, but you probably don't want to make the devs keep work uncommitted just because it doesn't pass the tests13:39
iamjarvo joined13:40
moritz that's what branches are for, no?13:40
phile joined13:40
iamjarvo left13:41
iamjarvo joined13:41
Destos joined13:41
gotogit joined13:42
gitinfo set mode: +v13:42
gotogit Hi all13:43
mmitchell left13:43
gitinfo gotogit: 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:43
gotogit I need some help with git settings13:43
mmitchell joined13:43
lov that is unfortunate!13:44
iveqy gotogit: !ask13:44
gitinfo gotogit: Yes, it's okay to ask questions here.... in fact, you just asked one! ;-) Pretty much any question is fine. We're not terribly picky, but we might be asleep. Please be patient and you should get an answer soon.13:44
HicksD_HicksD13:46
Wolfspyre joined13:46
fuzzybunny69y left13:46
lb1a !just_ask13:46
gitinfo You can just ask your question. If anybody knows the answer, they will answer soon (most of the time)13:46
Jackneill joined13:46
Jackneill left13:46
Jackneill joined13:46
sqlnoob left13:47
tango_ left13:47
GT4066 joined13:47
tango_ joined13:47
normanrichards joined13:47
rchavik left13:47
koda left13:47
sqlnoob joined13:49
saml joined13:49
blindingdawn left13:50
saml git cherry is good. but there's no --stat (I want to list files in each commit). do I write a script?13:50
gotogit I have linux based distro and second person has windows. It is two different machines. Our small project is hosted on bitbucket. and something wrong with eol characters13:50
saml and do you rebase before publish your branch or before merge published feature branch (through github pull request)13:51
iveqy saml: git cherry isn't a git command. What's that? and isn't git log enough for a --stat?13:51
VictorCL left13:51
cmn iveqy: yes, it is13:51
msafi left13:51
iveqy cmn: wtf, you're right. How can I've missed that?13:51
cmn but what it does has nothing to do with diffstats; if you want to do also do that, then you'll need to parse the output and call show --stat or similar on each of the ones you want to look at13:52
RaceCondition left13:52
iveqy gotogit: well, there's a lot of recommendations on how to use git to convert your lineendings. However I've never understood, that. Just configure your editors to use the correct lineendings you choose13:52
gotogit: otherwise see https://help.github.com/articles/dealing-with-line-endings13:53
TeckniX joined13:53
saml git cherry -v master dev |grep DIG-2213:54
soee left13:54
introom joined13:54
saml damn this cherry pick workflow13:54
Dougie187 joined13:54
iveqy saml: I've never seen cherry pick to be used in a workflow... What workflow are you using?13:55
maybe I can learn something more today =)13:55
h_kon left13:55
nwertman joined13:56
saml push to dev. comment each commit with jira ticket number. when your ticket is accepted by product managers, cherry-pick those commits to master.13:56
gotogit +ivey: thank you! very helpful post13:56
saml not sure why product managers don't accept the entire dev branch including many features/bugfixes13:56
diegoviola joined13:56
saml another project does this: publish feature. set up a new integration environment. deploy the feature. wait until product mangers accept. merge the feature.13:57
iveqy saml: I would prefer you used a branch and when that branch got accepted, just merge that into master.13:57
saml and history looks awful to me13:57
subhojit777 left13:58
iveqy I can't exactly say why you shouldn't use cherry-pick in your workflow, I've just heard a lot of people frustrating with it13:58
aChatir joined13:58
saml a lot of people is me13:58
i think it's waste of resource to spawn up a new environment per feature branch13:58
iveqy gotogit: still, look into your tools... If your editor open a file with \r\n and saves it with \n or just the other way around, you've a really crappy editor13:59
saml: why would that require a new enviroment?13:59
saml where would product managers accept my feature?13:59
eugenejen joined13:59
sr78ger left14:00
donmichelangelo left14:00
donmichelangelo joined14:00
moritz in their office?14:03
Devastator left14:03
iveqy saml: instead of accepting a commit, they accept a branch which means all the commits, or they discard a whole branch because of one single commit14:04
a feature is often not correct or fully functional before all commits are applied14:04
saml they need a url to accept14:04
GT4066 left14:04
saml it's web app14:04
masteews joined14:05
huoxito left14:05
iveqy saml: well, then it depends on what webapp you're using of course14:05
tang^ joined14:06
arand left14:06
saml we're using day cq514:06
it's hard to start a new instance and migrate data14:07
iveqy saml: sorry to hear that. I don't have any advice for you on that, I've no experience in cq514:07
caraconan joined14:07
Pyrogerg left14:07
adac joined14:07
kcj joined14:08
adac this command does not write me out the newlines in the file: echo `git show "$commit":"Gemfile"` > "$file" Any ideas?14:08
petey joined14:09
iveqy adac: Gemfile does not has newlines?14:09
Sysaxed left14:09
sqlnoob left14:09
caraconan left14:09
adac iveqy, it has14:10
raijin left14:10
petey left14:10
Chiko joined14:10
spcshpopr8r left14:11
tsdh left14:11
apipkin joined14:12
matanya left14:13
ojacobson adac: the backticks spit out th econtents of $commit:Gemfile to bash, which then re-tokenizes them using $IFS to construct an argv for echo14:14
kbart left14:14
ojacobson in the process, the newlines (which match $IFS) are discarded14:15
you wanted: git show "${commit}:Gemfile" > "${file}"14:15
GT4066 joined14:15
onethfour So i made the mistake of having a repository on production. Is there a way for me to merge the current branch into master without "leaving" the current branch (the moment i do a checkout master, the whole websit goes down)14:15
CheckDavid left14:15
CKyle left14:16
muep onethfour: copy the repository to some place that is not accessed by the web server, and then you are free to work on it however you want14:16
Swayz joined14:16
Tuna-Fish left14:18
tureba left14:18
onethfour that's a lot of bytes, the admin might be concerned....14:18
tureba joined14:19
acharlieh joined14:19
onethfour but to answer my question, couldn't I do 'git checkout master; git merge mybranch;' really quickly?14:19
tang^ left14:19
petey joined14:19
harish_ joined14:19
tang^ joined14:19
mmitchell left14:19
moritz and what do you do if there's a merge conflict?14:20
mmitchell joined14:20
rchavik joined14:20
moritz or if your ssh connection drops while you are at it?14:20
onethfour i'm pretty sure there won't be14:20
moritz can't you copy the repo to a different machine, and fix it there?14:20
onethfour maybe.... and then rsync it back?14:20
boblee left14:21
moritz or push the merged master14:21
Pyrogerg joined14:21
Tuna-Fish joined14:21
moritz and then do a git remote update; git branch -D master; git checkout -b master origin/master14:22
which gives you the updated master in a single step14:22
onethfour oh i see, but right now there is no "remote"14:22
moritz uh14:22
so you develop on the production server?14:23
adex_ left14:23
mindriot101 joined14:23
tang^ !cs14:23
gitinfo "Git for Computer Scientists" is a quick introduction to git internals for people who are not scared by phrases like Directed Acyclic Graph. http://eagain.net/articles/git-for-computer-scientists/ See also !concepts !bottomup14:23
moritz or where does the repo on the production server get its updates from?14:23
boblee joined14:24
Boohbah joined14:24
onethfour yeah i develop on production server14:24
thats why i said "i made the mistake of..."14:24
lol14:24
hholtmann joined14:24
tureba left14:24
Entomo joined14:24
hholtmann left14:24
moritz well, first step is to fix that14:24
papegaaij_ left14:24
tureba joined14:24
onethfour i guess the problem is we don't have a dev. site14:24
moritz then the zeroth step is to fix THAT14:25
onethfour yeah that's true...its a pretty complex site it might be hard to do14:26
Pyrogerg left14:26
onethfour ok how do i zip an entire github site?14:26
err i meant git14:26
jeek One tooth at a time.14:27
onethfour ok i think i'm going to go the easy rout14:27
ayaz left14:27
onethfour and do git checkout master; git merge mybranch;14:27
does the site go down for a second or 2?14:27
while checking out?14:27
mike_af joined14:28
pareidolia q14:28
adex_ joined14:28
pareidolia left14:28
mklappstuhl joined14:28
OOPMan left14:29
tureba left14:29
tureba joined14:30
boblee_ joined14:30
YoungFrog onethfour: I don't understand what you're saying. What is your exact setup ? What branch is the prod server on ? what other git repo do you have ?14:30
moritz onethfour: that pretty much depends on your site14:30
GODDOG joined14:30
LuxuryMode joined14:30
moritz onethfour: the more complex a site is, the more important it is to have multiple installations, so that when one breaks, you can still look at the setup of a working site to debug stuff14:31
onethfour: and of course automation becomes important14:31
matanya joined14:32
marhaban1 left14:33
boblee left14:33
tureba left14:35
onethfour well i finally got the sysadmin to install git, so i made the entire production site a git repo, which i started creating a branch and modifying directly (to update the site live), but now i realize when i want to merge into master, the updates will go down for a few seconds while i checkout and merge14:35
tureba joined14:35
nemesit|znc left14:36
dsdeiz joined14:36
onethfour At this point......updating the site live is not a big deal as long as I know what I'm doing and I don't break anything14:36
moritz well, have fun with your fragile system14:36
onethfour i realize that is not the "right" way, but we have never gotten around to making another development site14:37
rchavik left14:37
wdkevin joined14:37
wdkevin I was added to a project but I can't find where to assign milestones and/or labels to a project.14:37
lb1a left14:38
onethfour wdkevin, this is #git, are you sure you didn't mean github?14:38
oh wait14:38
i guess there is tags14:38
wdkevin im sorry, i did mean github14:38
thank you onethfour14:38
ohcibi wdkevin: the issues tab is now on the right side of a repo14:38
wdkevin right. im looking at the issue i made. i just cant see where to assign a label to it.,14:39
tureba left14:40
Devastator joined14:40
tureba joined14:40
Zarthus joined14:41
GODDOG left14:41
mikecmpbll left14:41
GODDOG joined14:41
DanielHollands joined14:41
LimeBlast left14:42
hyperair joined14:43
Squarism left14:43
buibex joined14:43
johnnyfuchs joined14:43
sabayonuser joined14:45
tureba left14:45
tureba joined14:45
sabayonuser left14:46
heeventuli joined14:48
matanya left14:49
iamtakingiteasy hello, how it is possible to checkout to latest commit in master without local rebasing?14:49
i wish to take a look how master branch is seems from remtoe side14:49
dsdeiz left14:49
Norm_ left14:49
onethfour is there a way to set up any random machine as where we pull from/to?14:49
iamtakingiteasy i could fo corse just re-clone the repo in another dir14:50
but is there a better a way?14:50
heeventuli hey guys, i have a question about rebasing: i've a feature branch and we decided to do a rebase. i did a checkout of the fb, switched to it and did a "git rebase master"..had one conflict, solved it, pushed, everything nice and as expected. some hours later, an important change was pushed to master and we wanted to rebase again to get this change. now, if i do "git rebase master" again, i got a lot of conflicts, of almost all files that have been touched in14:51
the feature branch...am i doing anything stupid?14:51
Pyrogerg joined14:51
petey_ joined14:52
arjun_ left14:52
petey left14:52
xpe left14:53
hholtmann joined14:54
arjun_ joined14:54
dfanjul left14:55
rue left14:55
jceb left14:56
bwreilly joined14:57
RaceCondition joined14:57
tureba left14:57
matanya joined14:57
milli joined14:57
tureba joined14:57
nemesit|znc joined14:57
rue joined14:58
dachary left14:58
taptapdan joined15:00
xpe joined15:00
ciampix joined15:00
YoungFrog do you rebase against your master or the remote master ?15:01
adac left15:01
w0ng left15:01
YoungFrog (probably a silly question, but since the chan looks otherwise silent...)15:01
ciampix left15:01
RaceCondition left15:01
ciampix joined15:02
ojacobson it depends on what you want the result to look like15:02
Misan left15:02
King_Hual joined15:02
frankstallone joined15:02
ojacobson rebase operates on the commit graph, you use whichever name points to the part of the graph you care about.15:02
nailora left15:03
netiul left15:03
raijin joined15:03
YoungFrog ojacobson: I was trying to shed some light on heeventuli's problem (although in a not so efficient way)15:04
m0viefreak joined15:04
ojacobson oh, sorry15:04
I didn't scroll up, missed the context :)15:04
ciampix left15:04
ojacobson mybad15:04
beepbeep_ left15:04
robbyoconnor joined15:07
ThomasLocke left15:07
dsdeiz joined15:08
Squarism joined15:08
cff left15:08
rafeca left15:09
ciampix joined15:09
heeventuli i used "git rebase master", but as i get the same conflicts when running "git rebase origin/master" ...here is what it looks like so far: http://pastebin.com/y0LymRHh15:10
RaceCondition joined15:10
CheckDavid joined15:10
ciampix left15:11
marcio_ joined15:11
petey_ left15:11
adex_ left15:11
LuxuryMode left15:12
heeventuli goes on with http://pastebin.com/4XFriruf ...some file, different conflict, i think that has to do with auto-merging fails..i can live with that, simple conflict15:13
petey joined15:13
GeertV left15:13
Xethron left15:13
kpreid left15:13
cbreak-work left15:13
abstrusenick joined15:13
kpreid joined15:13
LuxuryMode joined15:13
spaceonline left15:14
CKyle joined15:14
heeventuli but after solving and "git rebase --continue", i get 4 conflicts that made no sense at all...like git is telling me that there is a conflict between the first version of the file in the feature branch and the head-version..15:14
thiago joined15:15
h34d3r joined15:17
bmac left15:17
Fandekasp left15:17
ISF left15:17
GT4066 left15:17
juniorsilva7 left15:17
juniorsilva7 joined15:18
ph88 how can you check if a patch already has been applied ?15:18
phile_ joined15:19
HicksD cherry15:19
https://www.kernel.org/pub/software/scm/git/docs/git-cherry.html15:20
dyng joined15:20
mizu_no_oto left15:20
phile left15:21
bmac joined15:21
wdkevin left15:21
iokill left15:22
emergion joined15:23
phile_ left15:23
chuckharmston left15:23
zsoc joined15:23
Pyrogerg left15:24
dyng left15:24
zsoc Hello. Version 1.7.1 - I have a git repo I just initiated on Server B. It's 'based' off code from Server A, but it was just FTP/copied there (instead of being cloned) by some doofus. Then it was edited (not heavily, but enough). So I initialized a repo there, added Server A as a remote, fetched. But Obviously I can't rebase because there's no history/common ancestry to rebase/merge based on (even tho 95% of the code base is identical). Should I be trying to graf15:24
t? Or git replace? Is there an easy fix for this I'm missing?15:24
queso joined15:25
jonnyro joined15:25
jonnyro When using submodules in git, do they all share a common blob store?15:25
queso How do I view a full file at a given hash instead of differences?15:25
phile joined15:26
thegorn queso: git show <sha1>:filename15:26
queso thegorn: Forgot the colon, thank you!15:26
bmac left15:26
zsoc Wait, can I reset --soft to remote?15:27
mizu_no_oto joined15:28
zsoc No, I think that would overwrite all local changes.15:28
g41n joined15:28
infynyxx joined15:28
milki zsoc: you can git push to a remote. reset is a local only operation15:29
kalypso left15:29
_Qman left15:29
RaceCondition left15:29
zsoc Hmm.. are you saying to add Repo B as a remote on Repo A? That seems backwards. I just tried a git reset --soft remote/A and it seemed to just overwrite all changes/make it match remote A15:30
milki zsoc: you should jsut make a new clone of server a. add the new tree from your server b15:30
commit15:30
dvor joined15:30
milki and then do !deploy instead15:30
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/the-list-and-irc/deploy.html15:30
dvor left15:30
milki because of !bare15:30
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/15:30
zsoc Make a new clone of server A. Add the new tree from server B. I'm not sure I follow that part.15:30
milki "add new tree" = cp files to the repo15:31
arjun_ left15:31
robbyoconnor left15:31
robbyoconnor joined15:32
petey left15:32
lahwran joined15:32
zsoc milki, My "remote" (Server A) in this case is already a 'bare' 'deployment' repo. In the sense it's a hub repo that post-hooks to a webroot.15:32
petey joined15:32
howlymowly left15:33
ciampix joined15:33
zsoc milki, Oh. So you're saying copy/overwrite these files to a new branch made on server A, so it'll have a common parent, and then clone it from there. That's too darn obvious.15:33
Devastator left15:33
Devastator joined15:33
sr78ger joined15:34
emergion left15:34
sr78ger left15:34
Devastator left15:34
milki that works. how you organize the repo is up to you. but you need to get your server b files in the repo somehow15:34
sr78ger joined15:34
zsoc yeah, i was looking at it the wrong way I guess. It needs a common parent to rebase/merge so why not just create a new branch from the original repo. Thanks.15:35
milki np15:35
cmeow joined15:36
Chiko left15:36
vince_prignano joined15:36
Sirolf left15:37
DanielHollands left15:37
juril left15:37
howlymowly joined15:37
gua_ould left15:37
quazimodo joined15:37
herdingcat left15:37
Muad`Dib joined15:38
qt-x joined15:39
r0bby_ joined15:42
mdiers left15:42
robbyoconnor left15:42
alorence left15:42
chrob joined15:43
ciampix left15:43
Devastator joined15:43
Risto- left15:44
Risto- joined15:44
titosemi joined15:45
titosemi4 left15:45
apipkin left15:46
r0bby_ left15:46
ology left15:47
r0bby_ joined15:47
thierryp left15:47
Stygia left15:49
jnavila__ left15:49
titosemi left15:49
Gamecubic joined15:50
apipkin joined15:50
rurufufuss left15:50
rudak1 joined15:50
r0bby_ left15:51
destiny left15:52
Entomo left15:52
paddymahoney joined15:52
chuckharmston joined15:52
r0bby_ joined15:52
chimay joined15:53
tinti left15:53
rudak left15:53
gusnan joined15:54
shadok_ joined15:54
zsoc milki, Ok.. i'm still missing something. Now just 1 branch is ahead of the other and it doesn't matter which direction i merge/rebase in. It's just overwriting, not merging.15:54
tinti joined15:54
dvide joined15:54
yezariaely joined15:55
breakingthings left15:55
Cromulent joined15:55
Muad`Dib left15:56
bwreilly left15:57
carlos-huang left15:57
geak_ joined15:58
tinti left15:58
jargon left15:58
breakingthings joined15:58
adex_ joined15:59
infynyxx_ joined15:59
tinti joined15:59
gotogit left16:00
geak left16:00
Skrypter joined16:00
AWinterman joined16:01
g41n left16:02
nbrosnahan left16:02
infynyxx left16:02
tvw left16:02
tinti left16:02
galaris2 joined16:03
rudak joined16:03
ureshk joined16:03
tinti joined16:04
CKyle left16:04
yezariaely left16:04
CheckDavid left16:05
jasonroyle left16:05
a-l-e joined16:05
galaris left16:06
rudak1 left16:07
machouinard left16:07
mFacenet left16:07
CheckDavid joined16:07
machouinard joined16:08
kewah left16:08
adex_ left16:08
r0bby_ left16:08
Cromulent left16:10
mishok13 left16:10
xpe left16:11
rath left16:11
CKyle joined16:11
Cromulent joined16:11
geekbri joined16:11
Octalot joined16:11
ej joined16:12
sr78ger left16:12
melee joined16:12
CKyle left16:12
goshawk joined16:12
arvind_khadri left16:13
mklappstuhl left16:13
Targen_ left16:14
Skrypter left16:16
shpoont joined16:16
dsdeiz left16:16
yacks joined16:16
OOPMan joined16:16
curvedmark left16:16
CKyle joined16:17
aard_ joined16:18
infynyxx_ left16:18
Cromulent|2 joined16:18
tinti left16:19
Cromulent left16:19
akiva joined16:19
chrisss404 left16:20
Norm_ joined16:20
infynyxx joined16:20
chrisss404 joined16:21
geak_ left16:21
maestrojed joined16:22
bwreilly joined16:23
dhruvasagar left16:24
babilen left16:24
ngladitz joined16:24
aChatir left16:24
abstrusenick left16:25
undecim left16:26
geak joined16:26
Wolfspyre left16:26
MO_Handes joined16:26
Davey__Davey16:27
_ikke_ !repro16:28
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting.16:28
MouseTheLuckyDog Is there a way to "diff" two repositories?16:29
arvind_khadri joined16:29
arvind_khadri left16:29
_ikke_ MouseTheLuckyDog: What does that even mean?16:29
thegorn MouseTheLuckyDog: just add one as a remote of the other, fetch it and you can use git diff-tree etc.16:29
MouseTheLuckyDog I'm looking for a diff of the revision structures not individual files.16:29
thegorn oh16:29
well, either way you can fetch the other one and then compare in gitk16:30
donmichelangelo left16:30
thegorn but i don't know anything exactly like what you want16:30
arjun_ joined16:30
frgtn left16:30
donmichelangelo joined16:30
ureshk left16:30
yhager joined16:31
_ikke_ The easiest I guess is to compare refs16:31
jaseemabid left16:31
srji left16:31
_ikke_ If one is included in the other and not16:31
barneybook left16:31
_ikke_ But there is no off-the-shelve tool for that afaik16:31
barneybook joined16:32
Octalot left16:32
iamjarvo_ joined16:32
konadr left16:34
rakl joined16:34
cannonball Hello, if I have just the output of 'git diff' from someone that I want to apply and commit, how do I do this? 'git am' doesn't work because it doesn' thave all the extra info up front (From, Date, Subject, commit message, etc). I can't 'git merge' because it's not yet added/commited.16:35
fRAiLtY- left16:35
Skrypter joined16:35
Skrypter left16:35
cannonball I was able to do a 'patch -p1 < PATCH' and it didn't break anything. Is that where I start, then manually git add each file and commit?16:35
iamjarvo left16:35
jasom cannonball git-apply16:35
petey left16:35
Skrypter joined16:35
Skrypter left16:36
gp5st joined16:36
Skrypter joined16:36
noname001__ left16:36
juniorsilva7 left16:36
iamjarvo_ left16:37
gp5st hello. are there any applications that store data in commits and not in files?16:37
tobscore left16:37
WarDekar joined16:38
gp5st I'm thinking it might be a good answer to something I'm trying to do, and am just curious if anyone else does16:38
simesy left16:38
WarDekar hey so I'm new to git and having trouble figuring out how to do the basics, I do a commit on one server and want to pull the updates to another server, what's the command on the 2nd server to download and merge?16:38
introom left16:38
_ikke_ gp5st: One could use git notes to store data16:39
gp5st: signatures for example are stored in notes16:39
But what kind of data are you talking about?16:39
tobscore joined16:39
gp5st WarDekar: if server B is set up as remote (serverB) then git pull serverB <branch>16:39
_ikke_: oooo. I've seen notes but never used them before. I'll take a peek16:39
_ikke_: transaction information, for a ledger16:40
WarDekar gp5st: what do you mean set up as remote (serverB) ?16:40
gp5st WarDekar: you have 2 servers, right? serverA and serverB, right? how did you get the repo onto them?16:41
WarDekar Clone originally16:41
hyperair left16:41
jfoy joined16:42
gp5st ok, so which did you clone from and to?16:42
Katafalkas left16:42
WarDekar from A (orig repo) to B, now i changed some stuff on B, committed the changes16:42
and want to get the changes back to A16:42
MO_Handes Newbie here, how is it okay to manage documentations that are changed and completed by different developer during time? What format it should be in and how can it be handles?16:43
WarDekar the changes have been committed to the repo16:43
there are no branches other than "master" currently16:43
hahuang61 left16:43
kwmiebach_ joined16:43
gp5st WarDekar: ok, so you've commited on B. now you would do a `git pull origin master` and then a `git push origin master` when you cloned it automatically created the remote `origin`16:43
WarDekar: a remote is just a reference to a repo on another machine16:44
Skrypter left16:44
jaequery joined16:44
WarDekar so on A i want to run those 2 commands you mean16:44
gp5st MO_Handes: I don't think I understand the question16:44
no, on B, the machine you're currently on16:44
chrisss404 left16:45
whunt joined16:45
WarDekar okay so i do that16:45
gp5st http://git-scm.com/book chapters 2 and 3 may be helpful and useful16:45
srji joined16:45
WarDekar then i want to do "git pull origin master" on A?16:45
gp5st no16:45
you never touch A16:45
WarDekar so how does A get updated16:45
gp5st push16:46
petey joined16:46
gp5st the origin on A could be different than the origin on B btw16:46
MO_Handes gp5st, what format should I use for my documentation files? I believe for example something like pdf can't be simply edited and updated by everybody.16:46
jfoy left16:46
WarDekar well i'm looking on A and it def didn't change the files there16:46
boombatower joined16:46
chrisss404 joined16:46
gp5st a pull fetches the changes from the remote and then merges them in. a push takes your changes and pushes them to a remote16:46
WarDekar: you shouldn't push to a non-bare repo16:47
is A a server or a workstation?16:47
kwmiebach left16:47
WarDekar server16:47
gp5st is the repo on A bare?16:47
cmpera left16:47
WarDekar what do you mean bare16:47
gp5st (does it not have a working directory)16:47
masteews_ joined16:47
gp5st if you push to a repo that has a working directory, that working directory won't be updated16:48
you'll have to do a pull on that server or a merge if you've pushed by hand16:48
FabTG_ joined16:48
gp5st normally people don't push to non-bare repositories16:48
WarDekar a working directory howso?16:48
gp5st you always pull into a working directory, never push into it16:48
WarDekar okay well that's what i want to do that's why i'm confused why i wouldn't have to run something on server A16:48
gp5st normally there is a .git folder in your repository16:48
a bare repo is only the contents of that .git folder16:49
WarDekar yes there is a .git folder16:49
gp5st it doesn't have the files16:49
persay16:49
not in a form like on a workstation16:49
WarDekar it is non-bare16:49
so how do i pull the changes to server A?16:49
gp5st yes, you should always pull into a non-bare repo16:49
you would set up a remote for B and pull.16:49
however, if you pushed, do a git branch -a16:49
and pastebin the output16:50
WarDekar http://pastebin.com/fpFzNBD116:50
masteews left16:50
Risto- left16:50
gp5st MO_Handes: you can use whatever you want? depends on what people can edit. some people use doc comments (as per their lang) or markdown or just text or restructuredtext16:50
jfoy joined16:50
gp5st where did the repo come from A16:51
petey_ joined16:51
WarDekar master16:51
breck7 joined16:51
WarDekar there is only 1 branch master16:51
tureba left16:51
WarDekar i set it up on A, pushed16:51
gp5st where did the repo come from?16:51
WarDekar A16:51
i made the repo on A16:51
tureba joined16:51
WarDekar pushed it to github, cloned it to B16:51
gp5st on A, where did the repo come from16:52
WarDekar made the changes on B, pushed the changes back16:52
i made it on A16:52
chairabanta joined16:52
gp5st was that the output of git branch -a on machine A?16:52
WarDekar the repo originated on server A16:52
http://pastebin.com/fpFzNBD116:52
petey left16:52
gp5st ok16:52
the best practice would be to set up a remote for B and pull from it whenever you want to update it16:53
WarDekar isn't that the point of using github16:53
gp5st ?16:53
masteews_ left16:53
gp5st i mean...you can set up a remote for github and push/pull to it16:53
WarDekar why would i want to pull from a server of my own, i'm using github so wouldn't i want to push to GH, pull from GH16:53
that's what i'm trying to do16:53
gp5st but if you want to push/pull between A and B, then A needs to be a bare repo or you need to pull from one to the other16:53
sriracha joined16:54
gp5st WarDekar: because not once did you mention github. you were just trying to push/pull between A and B16:54
MO_Handes left16:54
WarDekar i thought i did earlier sorry, that's what i'm trying to do16:54
chrisshattuck joined16:54
gp5st just set up github as a remote and push/pull to GH16:54
sriracha how do I go about changing the branch for a submodule?16:55
after I check it out will submodule sync then update do the trick?16:55
Pizentios joined16:56
renumi left16:56
thierryp joined16:57
sriracha it doesn't seem to see that things are changed...16:58
cmpera joined16:59
huoxito joined16:59
psoo left17:00
angelsl left17:00
_iron joined17:01
Misan joined17:01
ojacobson left17:01
howlymowly left17:02
maroloccio left17:02
tm512 joined17:02
maqr joined17:02
thierryp left17:02
huoxito left17:03
GODDOG left17:04
mishok13 joined17:05
Pyrogerg joined17:05
taptapdan left17:06
Advocation joined17:06
buibex left17:06
staafl joined17:07
mindriot101 left17:09
JokerxHarley left17:10
JokerxHarley joined17:10
natechan joined17:10
JokerxHarleyNo_One17:10
Sonderblade left17:10
tureba left17:11
tureba joined17:11
sfz joined17:13
petey joined17:13
petey_ left17:13
Octalot joined17:13
Davey left17:15
Davey joined17:15
jjasinski joined17:16
Davey left17:16
matanya left17:16
Davey joined17:16
_goTAN left17:16
tatsuya_o left17:17
dreiss joined17:17
chairabanta left17:18
thiago left17:18
Dougie187 left17:18
Dougie187 joined17:19
GODDOG joined17:21
hahuang61 joined17:21
Cromulent|2 left17:21
zsoc left17:22
chrisshattuck left17:23
deuterium left17:23
marthinal left17:23
sayd im trying to run this script that deletes local branches that habe been merged upstream already. https://gist.github.com/marr/fd0d844f3aff26777a9a When I run it, I get error messages like: error: branch 'foo' not found.17:24
but if I run the command manually that it echoes out, the command runs fine17:24
deuterium joined17:25
bunbury joined17:25
boblee_boblee17:26
oonska joined17:26
maqr left17:26
khushildep left17:27
mtk left17:27
shuaib joined17:27
mizu_no_oto left17:28
LuxuryMode left17:29
amcsi_work_ joined17:29
iamjarvo joined17:29
ej left17:30
GODDOG left17:30
petey left17:31
TomyLobo joined17:31
Katafalkas joined17:31
Advocation left17:31
styx_ joined17:31
petey joined17:32
bmac joined17:32
amcsi_work left17:33
amcsi_work_ left17:33
chimay left17:33
amcsi_work_ joined17:33
jgornick joined17:34
ameoba joined17:35
Davey left17:36
arjun_ left17:36
Davey joined17:37
tobscore left17:37
_BJFreeman joined17:37
Targen joined17:37
infynyxx left17:37
_BJFreemanBJfreeman17:38
marhaban joined17:38
tobscore joined17:38
infynyxx joined17:39
toralf joined17:40
normanrichards left17:41
tobscore left17:41
mtk joined17:42
cmpera left17:43
jason237 left17:43
ewokchewy joined17:44
Pyrogerg left17:44
ewokchewy left17:45
ewokchewy joined17:46
peroht joined17:46
geak left17:47
deuterium left17:48
thierryp joined17:49
cmpera joined17:49
BiggFREE left17:52
destiny joined17:52
Mars` joined17:53
phile_ joined17:53
ewnd9 left17:54
diego1 joined17:55
crankyadmin joined17:55
tinti joined17:55
adex_ joined17:56
adex_ left17:56
diegoviola left17:56
phile left17:56
cmpera_ joined17:56
SHyx0rmZ joined17:58
cmpera left17:58
cmpera_cmpera17:58
jnavila_ joined17:58
osse man git-branch18:00
gitinfo the git-branch manpage is available at http://jk.gs/git-branch.html18:00
osse oops18:00
sayd: do you have a branch called foo ?18:00
sayd yea18:01
thiago joined18:02
Sid-G joined18:02
osse I guess is something goes haywire in the word splitting18:02
what does the command inside the backticks output?18:02
gordian joined18:02
sayd osse: its somethign like Running: git branch -d comment-box-design fix-comment-tilters18:04
peroht left18:04
diego1diegoviola18:04
gordian left18:04
osse and copy pasting that command works?18:05
sayd then: error: branch ' comment-box-design fix-comment-tilters' not found18:05
yeah18:05
osse are you using zsh ?18:05
sayd no18:05
druonysuse joined18:05
druonysuse left18:05
druonysuse joined18:05
osse have you quoted the BRANCHES variable or do you run it *exactly* like it is in the gist?18:06
barneybook left18:06
hyperair joined18:06
rudak left18:06
petey left18:06
sayd im runing the function that gist defines18:06
schemanic joined18:06
sayd osse: maybe need some trimming?18:06
osse put set -x at the top of the function and set -x at the bottom, run it, and show me the output18:07
ErKa joined18:07
osse oooooops18:08
I meant set +x at the bottom18:08
barneybook joined18:08
|Freeman| joined18:09
sayd osse doh that failed because i already cleaned up the branches18:10
DrShoggoth joined18:11
petey joined18:13
johnnyfuchs left18:14
phile_ left18:14
shuaib left18:16
emergion joined18:16
dsferreira joined18:16
Katafalkas left18:16
emergion left18:18
h0bbit_ joined18:19
phile joined18:21
barneybook left18:21
petey_ joined18:21
emergion joined18:22
petey left18:22
przemoc joined18:22
Sid-G left18:23
howitdo joined18:24
tchan joined18:24
BJfreeman left18:24
chrisshattuck joined18:25
pepijndevos joined18:25
johnnyfuchs joined18:25
rednaks joined18:26
Bosox20051 joined18:26
barneybook joined18:26
deuterium joined18:26
ojacobson joined18:27
m8 joined18:28
sparq_ joined18:28
sparq_ left18:28
Mars` left18:28
valtih joined18:29
Mars` joined18:29
chairabanta joined18:29
valtih git rebase -i HEAD~4 > "fatal: Needed a single revision, invalid upstream HEAD~4" for a branch that is 4 commits deep18:29
it works for git rebase -i HEAD~318:30
ojacobson Yes, there's no HEAD~4 in a four-commit history18:30
There are HEAD, HEAD~1, HEAD~2, and HEAD~318:30
valtih but I see it in gitk!18:30
shinnya left18:31
ojacobson !lol perhaps?18:31
gitinfo A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all18:31
ojacobson Anyways, to rebase something from its root commit, there's an option18:31
man git-rebase18:31
gitinfo the git-rebase manpage is available at http://jk.gs/git-rebase.html18:31
ojacobson have a look at --root18:31
phile left18:31
onethfour if i want to "update" a branch with the latest master, i would rebase, right? Can't I also do git merge master as well?18:32
valtih yes, --root shows all.18:32
Mars` left18:32
minim joined18:34
KicerKicer8618:34
azyr i just compiled git from sources and tried to compile the documentation as well18:34
LuxuryMode joined18:34
azyr "make install install-doc install-info"18:35
i got the man and info pages nicely on my installation directory now18:35
chrisshattuck left18:35
rednaks left18:36
azyr but when i open the info page "info git" i cannot search using "i" command of info-viewer18:36
h0bbit_ left18:36
azyr it says "no indices found."18:36
breck7 left18:36
azyr how do i get those indices?18:36
adex_ joined18:37
infynyxx left18:37
stamina left18:38
apexskier_ left18:38
infynyxx joined18:38
apexskier joined18:39
apexskier left18:39
mfulz joined18:39
mikef joined18:39
pepper_chico hey, I think it's more a git related question but, I use VAM for plugin management in VIM, and most plugins are just git repo, but, I'm inside a repo now and git log just show a single commit in the commit history, while on github I can see the history is longer, is that the manager is just fetching the last commit, what git command I do for the complete checkout?18:40
mfulz left18:40
maroloccio joined18:41
pepper_chico I've tried git fetch, but it didn't work for getting all history into git log for master18:41
foist joined18:41
foist How do I get just the commit message of a certain commit?18:42
jrnieder pepper_chico: try "gitk --all"18:42
pepper_chico I've heard it should be a shallow copy, must read about this yet18:42
Katafalkas joined18:42
cbreak pepper_chico: maybe you've got sparse clones18:42
grawity foist: git log --format=...18:42
herpaderp1234 joined18:42
herpaderp1234 left18:42
cbreak pepper_chico: you can deepen it with git fetch --unshallow18:43
pepper_chico ah18:43
mmathis joined18:43
pepper_chico that should work I think18:43
jrnieder foist: git diff-tree -s --format=%B <commit>18:43
cbreak pepper_chico: also, if those are submodules, the parent will want a specific commit, and you might not be on a branch18:43
check that with git branch18:43
Pizentios left18:44
mmathisashooby18:44
pepper_chico cbreak, ok, no submodules here, and unshallow worked, thanks18:44
cbreak np.18:45
ashooby is there a way to make a combined patch of multiple commits?18:45
starfox21 left18:46
cbreak ashooby: sure. make a branch18:47
ashooby: git rebase -i, squash/reorder as you want18:47
ashooby: then git format-patch18:47
rednaks joined18:47
|Freeman| left18:47
Shusshu joined18:47
Risto- joined18:48
Shusshu left18:48
NLZ13 joined18:48
|Freeman| joined18:48
infynyxx_ joined18:48
emergion left18:48
osse if you only need the diff itself and don't need author/commit message etc, then a git diff <from> <to> will work too. The default output format works well as a patch18:48
thomas_b left18:49
foist Thanks grawity and jrnieder.18:49
Bosox20051 left18:50
kossy joined18:50
moondoggy joined18:50
ashooby ty cbreak, that's what I was thinking of doing just wanted to be sure I wasn't overlooking a flag18:50
diegoviola left18:50
thomas_b joined18:51
crazydiamond joined18:51
Droolio left18:51
infynyxx left18:51
marhaban left18:53
Mars` joined18:54
vince_prignano left18:54
kossy left18:54
thomas_b left18:55
kossy joined18:56
mlechner joined18:56
azyr ls18:56
toralf left18:56
_ikke_ .18:56
..18:57
thomas_b joined18:57
marhaban joined18:57
azyr :) sorry i thought i was typing to terminal18:57
_ikke_ Happens more often18:57
nwertman_ joined18:58
breck7 joined18:59
normanrichards joined18:59
matteo left19:00
kossy left19:00
King_Hual left19:00
kossy joined19:00
blj joined19:00
King_Hual joined19:01
blj left19:01
bmac left19:02
mikef left19:02
knuth joined19:02
knuth left19:02
knuth joined19:03
cmpera_ joined19:03
cmpera left19:03
kossy left19:03
ejen joined19:03
eugenejen left19:04
ejeneugenejen19:04
cmpera_cmpera19:04
minim left19:04
gusnan left19:04
yacks left19:06
IrishPrime left19:06
Squarism left19:07
kamikaz3 joined19:07
kossy joined19:08
kamikaz3 hi19:09
gitinfo kamikaz3: 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.19:09
mikef joined19:09
minim joined19:09
kamikaz3 when i created a bare repo i received an error "cannot be used without a working tree" when i tried to switch a branch19:11
cbreak kamikaz3: that's normal19:11
kamikaz3 so i set the ENV variable , GIT_WORK_TREE and GIT_DIR to the right path19:11
kossy left19:11
cbreak kamikaz3: you don't need to switch branches in a bare repository19:11
_ikke_ kamikaz3: What do you want to achieve?19:12
bakers joined19:12
cbreak kamikaz3: if you want to switch branches, you can do with git symbolic-ref HEAD foobar or similar19:12
kamikaz3 cbreak: i am trying to push to the repo which I am able to do but I can't view the changes on the frontend19:12
cbreak frontend?19:12
bakers if I do "git diff [hash]" that gives me a diff of that checkin compared to HEAD right?19:12
bmac joined19:12
cbreak what frontend?19:12
bakers is there a way to see JUST the diff for that checkin?19:12
cbreak bakers: no19:13
_ikke_ kamikaz3: !deploy19:13
gitinfo kamikaz3: 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/the-list-and-irc/deploy.html19:13
cbreak bakers: it gives you the difference between that commit and the working directory19:13
Advocation joined19:13
cbreak bakers: you can diff commits with git diff A B19:13
bakers: also, see man git-show for a different perspective19:13
gitinfo bakers: the git-show manpage is available at http://jk.gs/git-show.html19:13
kamikaz3 cbreak: i think GIT_WORK_TREE sets the directory to track any changes to the files in the dir19:13
cbreak kamikaz3: you don't need that19:14
kamikaz3: working directories are for working, not for bare repositories19:14
kamikaz3: if you want to work, just make a non-bare clone19:14
kossy joined19:14
kamikaz3 cbreak: i need to read on the difference between bare and non-bare repos :( I am simply not able to understand through the man pages19:15
cbreak kamikaz3: bare: meant to push into and fetch from19:15
kamikaz3: nonbare: meant to commit in, diff in, merge in, and so on19:15
you get actual files in non-bare repositories :)19:15
shpoont left19:16
kamikaz3 cbreak: guess that is what I am looking for . Thanks ! let me read more about it now19:16
kossy left19:16
adex_ left19:16
cbreak you can't push into non-bare repositories though19:17
(not without lots of considerations)19:17
darvein joined19:17
kamikaz3 so how do i connect the two ?19:17
the bare and the non bare ?19:17
darvein hello everybody! :)19:17
cbreak kamikaz3: by cloning19:17
darvein question: How can I quit a feature branch merged into a dev (development) branch ?19:18
cbreak kamikaz3: a normal repository is non-bare19:18
ojacobson kamikaz3: fetch (for getting changes), push (for sending changes), clone (which is init + fetch + checkout)19:18
cbreak darvein: quit?19:18
darvein: you can switch between branches with checkout19:18
_ikke_ darvein: When merged the feature branch, you can either leave it be, or delete it19:18
darvein cbreak: ops, I mean unmerge or remove a branch merged into other branch19:18
cbreak darvein: you can't unmerge without rewriting history19:19
darvein: are you fine with rewriting history?19:19
sebersole joined19:19
darvein cbreak: yep, that is problem right?...19:19
adex_ joined19:19
cbreak it is.19:19
if you pushed already19:19
if you haven't pushed, it's fine.19:20
darvein cbreak: rewrite the history is a loot of work right?...19:20
already pushed.19:20
pantsman joined19:20
pantsman left19:20
pantsman joined19:20
sebersole i need to "undo" a failed merge attempt19:20
cbreak darvein: nope, not much work19:20
_ikke_ sebersole: git merge --abort19:20
cbreak darvein: unless you committed stuff after the merge?19:20
_ikke_ darvein: Only consequences19:20
ojacobson You can use git-revert to reverse changes that have already been applied: it automates the process of writing and committing the reverse change. (The "bad" change remains in the history, along with another change to reverse it.)19:20
snql joined19:20
sebersole says there is no merge to abort19:20
i had since tried a reset19:20
ojacobson This works on merges, too, though if you ever want to repeat the merge life gets interesting.19:20
cbreak sebersole: reset aborts failed merges19:21
raupach joined19:21
darvein intersting19:21
sebersole i did git reset --hard19:21
cbreak darvein: revert won't undo merges19:21
darvein: it will undo the EFFECT of the merge19:21
sebersole it will not let me change branches19:21
cbreak the merge and all history will stay where it is19:21
sebersole: git status19:21
darvein The problem is, if I have Branch1, Branch2 and Branch3 pushed on DEV branch, and now I want remove Branch2 from DEV branch19:21
cbreak darvein: read what I wrote above19:22
sebersole shows a slew of untracked files19:22
cbreak darvein: and decide.19:22
darvein I think... I will need remove DEV branch and create a new DEV branch and after that, only push Branch1 and Branch319:22
cbreak sebersole: read the error message when you attempt to switch branches19:22
Xethron joined19:22
Xethron left19:22
Xethron joined19:22
cbreak darvein: nah.19:22
stamina joined19:22
cbreak darvein: that's also history rewriting19:22
sebersole error: The following untracked working tree files would be overwritten by checkout:19:22
cbreak it comes with the same problems.19:22
sebersole and then Aborting19:22
cbreak sebersole: well. Do you understand that?19:22
sebersole i understand and see that there are untracked files19:23
cbreak sebersole: you need to delete (or move) those untracked files19:23
sebersole sure19:23
ojacobson darvein: I'm starting to suspect that you are using git-related words to mean something other than what git means by them19:23
sebersole ok19:23
darvein left19:23
cbreak hmm. Did he leave?19:23
_ikke_ yes19:23
qsuscs joined19:24
sebersole thanks brainproxy19:24
grrr19:24
thanks cbreak19:24
qsuscs hi19:24
gitinfo qsuscs: 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.19:24
kossy joined19:24
knuth left19:24
knuth joined19:25
qsuscs at my school, we only have a very old-fashioned network system, i.e. windows xp and some novell software19:25
petey_ left19:25
cbreak people still use that stuff? :(19:25
tang^ sadly19:25
qsuscs i only have write access tu H:\, which is "C:\Documents and Settings\$User\My Documents"19:25
tang^ though I haven't seen Novell myself in a very long time19:26
cbreak I heard git will not work well at all on SMB shares.19:26
qsuscs yep, the admins think it's great, and it's the solution done by the ministery (how is it written o_O) of culture and education of the state of baden-württemberg19:26
cbreak I've only used it as bare repository there, and even that was not good19:26
mikef__ joined19:26
LuxuryMode left19:27
Katafalkas left19:27
cbreak would buy a bunch of USB Memory Sticks19:27
qsuscs well, and now i'd like to use git, but i can't even write to %HOMEPATH%, and the installation root of msvc-git is that H:\Git19:27
sebersole left19:27
iveqy qsuscs: we have a similair setup at our school (although not novell but smb shares), some version of msysgit doesn't work at all, some do, but slow19:27
qsuscs additionally, git via http doesn't work due to a proxy, whose adress is invisible to me, and ssh doesn't work because i can't store the key there19:27
kossy left19:27
iveqy qsuscs: isn't your %HOMEPATH% at H:\?19:27
that's the correct thing to do...19:28
SamB qsuscs: I assume you can write to more of %USERPROFILE% than that19:28
qsuscs nope19:28
%HOMEPATH\My Documents is H:19:28
tang^ change %HOMEPATH% to H:19:28
qsuscs %HOMEPATH% is resetted every login, only H: is mounted via network19:28
mindriot101 joined19:28
nwertman_ left19:28
kossy joined19:28
iveqy qsuscs: the best solution is to download putty and use ssh to do your development on an other machine19:28
marhaban left19:28
SamB qsuscs: okay, so you CAN write to other paths but it doesn't take?19:29
cbreak the best solution is to download a linux, put it on an USB stick and boot that19:29
raupach left19:29
ojacobson qsuscs: short of subverting the entire setup (which will, or at least should, get you fired), your best course of action may be to ask the administrators to install Git, and explain why you need it.19:29
iveqy qsuscs: you probably could use git on that machine, but the result will not be great19:29
ojacobson Work with the bureaucracy, not across it.19:29
mikef left19:29
qsuscs not gonna work, we have to use lazarus, i'm not gonna install x11 on my server, and all of those won't work in the exams19:29
TGiFallen left19:29
quazimodo left19:30
ojacobson Especially if it's a gov't bureaucracy, as they tend to lack important things like a sense of proportion - "unauthorized software" is unauthorized regardless of whether it's a text editor or a rootkit19:30
chrisshattuck joined19:30
SamB lazarus is?19:30
qsuscs IDE for free pascal, like delphi in FOSS19:30
Pyrogerg joined19:30
LuxuryMode joined19:30
qsuscs mh i don't think they're too hard about unknown software, i usually always have putty and firefox or chrome somewhere (ie7 - no.), unless it's quake or so :>19:32
Jackneill left19:32
SamB anyway, I used a flashdrive with some software for my last few semesters19:32
qsuscs i think what i'd need is a complete git system, including config and whatever, in one folder19:33
SamB before that I would just download putty every single time19:33
taptapdan joined19:33
kossy left19:33
qsuscs i can keep putty, it's just a single binary after all19:34
darvein joined19:35
SamB my school's network was misconfigured such that I didn't actually have any quota I could use19:35
cbreak can't you install git on an usb drive?19:35
a-l-e left19:35
petey joined19:36
cbreak maybe you have to recompile it to search configuration and other things in a relative path ot itself19:36
qsuscs i can, in fact it's already installed to "My Documents", but it doesn't keep the config files19:36
cbreak hmm...19:36
Advocation left19:36
cbreak qsuscs: git can store configuration inside repositories19:36
iveqy qsuscs: you could always use the .git/config for all your config setting19:37
cbreak won't help with non-git things though19:37
iveqy cbreak: great minds think alike ;)19:37
jcrane joined19:38
qsuscs I know, but that doesn't work with the ssh keys, and I'd have to redo it for every repo, and that's kinda annoying19:38
sidus left19:38
SamB I set HOME to point to a directory on my USB stick, which let me set lots of the unix-refugee software up sensibly19:38
staafl is there a way to push a conflict and let someone else resolve it?19:38
marlonlandaverde joined19:38
Element9 left19:38
_ikke_ staafl: Not in a way that is really trackable19:39
Skrypter joined19:39
nicedice joined19:39
_ikke_ The conflict state will be gone19:39
Skrypter left19:39
kossy joined19:39
_ikke_ Conflicts only exist in the working tree and index19:39
staafl _ikke_, so one has to mark the file as resolved and push it in a broken state?19:39
cbreak staafl: they can make their own conflicts19:39
Skrypter joined19:39
cbreak staafl: nah, that'd be braindead19:40
either merge or don't merge.19:40
staafl cbreak, agreed19:40
hmm, can a temporary branch be used for the conflicted file?19:40
_ikke_ Yes, but that won't solve anything19:41
cbreak staafl: just resolve everything19:41
staafl i.e. i open a new branch, mark the file as resolved and push it upstream19:41
cbreak or don't merge.19:41
rednaks left19:41
staafl let the puller resolve it and then merge it back into the development branch19:41
_ikke_ staafl: Or tell the puller to rebase his changes and let him fix the conflicts19:42
kossy left19:42
_ikke_ It's usually the one making the pull request that should make sure the pull request is mergeable19:42
qsuscs hmm, maybe it would be easier to convince the school admins of linux19:42
Guest85894 left19:42
staafl _ikke_, or maybe he just wants to be able to get his own changes upstream19:43
qsuscs but unfortunately, the "sample solution of the department of education of the federal state of baden-württemberg" paedML version 6 (the one with a more recent linux than debian 5) is still beta :/19:43
staafl _ikke_, please tell me more about your rebasing idea19:43
qsuscs and they won't use anything else because it should be administratable for a non-nerd (i.e. they have no idea what they're doing)19:44
_ikke_ staafl: The idea is that he rebases his changes onto the development branch. If there are any conflicts, he gets to solve those conflicts himself. After he then creates a pull request, you can cleanly merge it in19:44
kossy joined19:44
mlechner left19:44
_ikke_ staafl: He knows his changes best, so it's his task that it can be merged in properly19:45
SamB qsuscs: they should know better than to expect whatever to be administratable by non-nerds19:45
queso left19:45
SamB unless you mean for like teachers' desktops or something?19:45
alvaro_o joined19:46
AWinterman left19:46
qsuscs SamB, sorry, I don't understand what you want to say19:46
staafl _ikke_, I'm not talking about pull requests though19:46
normanrichards left19:46
staafl the upstream repo is open for pushes19:47
scenario: A commits 1, A pushes 1, B commits 2, B pulls 1 and gets conflict19:47
kossy left19:47
staafl any way for B to leave the resolution to A?19:47
SamB staafl: basically, if you want someone to help you resolve the conflict either ask him to do the merge himself, or invite him to help you on your system ...19:47
staafl SamB, ask him to do the merge himself?19:48
_ikke_ staafl: From a history point of view, you are the one who creates the conflicts19:48
grawity staafl: B tries to push before pulling; the push gets rejected; B pushes to a temporary branch19:48
staafl the conflict is on my machine19:48
grawity, what if B is a noob and didn't branch between pulling?19:48
*before19:48
_ikke_ staafl: Then teach the noob19:48
and benefit both19:49
mikef__ left19:49
staafl _ikke_, we are all noobs sometimes19:49
_ikke_ sure19:49
|Freeman| left19:49
SamB anyway it's not that hard to make a branch after ...19:49
grawity staafl: then undo the pull (git reset)19:49
_ikke_ And when no one teaches noobs, they stay noobs19:49
|Freeman| joined19:49
staafl _ikke_, sure, but I'd rather not have a strategy even in this case :-)19:49
cbreak joined19:50
schemanic left19:50
_ikke_ what?19:50
staafl grawity, yeah, that's right19:50
*rather have a strategy19:50
starsinmypockets joined19:50
staafl instead of saying, "you shouldn't have, now deal with it"19:50
fightback joined19:50
_ikke_ No, that's one of gits tennents19:50
starsinmypockets how do I merge a previous commit hash to the current branch... I try git merge ##hash but get already up to date :/19:51
grawity this reminds me of http://tomayko.com/writings/the-thing-about-git19:51
starsinmypockets git checkout #has puts me in detached head19:51
grawity 'Git means never having to say, "you should have"'19:51
starsinmypockets *#hash19:51
ojacobson starsinmypockets: if foo is a parent of HEAD, then there's nothing to merge -- it's already merged.19:51
staafl grawity, exactly, that's why I love it :-)19:51
_ikke_ starsinmypockets: already up-to-date gives a clue19:51
ojacobson (This is true even if the current branch is completely linear.)19:51
_ikke_ grawity: That's what I meant19:51
starsinmypockets I want to revert... If I checkout the previous commit there are changes...19:51
staafl _ikke_, grawity , SamB, cbreak, thanks for the input!19:52
_ikke_ staafl: But like others said, you can push your changes to a temporary branch, which the other person then can merge in19:52
chrisshattuck left19:52
staafl _ikke_, yeah, that's what I'll do, or rather, tell him to do19:52
starsinmypockets I guess I want to point head at the previous commit without losing the current commit...19:52
rebase?19:52
Xethron left19:52
_ikke_ starsinmypockets: that's what checkout does, but that's probably not what you want19:53
starsinmypockets: Why do you want / need this/19:53
Can you tell a bit more about what you want to achieve (and not about how you think to solve it)19:53
kossy joined19:53
chairabanta left19:53
SHyx0rmZ left19:54
starsinmypockets _ikke_ I'd like to move back to the previous working state without losing the current broken state19:54
chairabanta joined19:54
ojacobson git checkout <commit-ish> -b some-name19:55
_ikke_ starsinmypockets: create a new temporary branch19:55
ojacobson which will create a new branch named "some-name" at the commit you wanted, and check it out19:55
(the current branch will be left as-is)19:55
ozette joined19:55
starsinmypockets OK, that makes sense... then merge that branch when I've got things where I want them?19:55
masteews joined19:56
masteews left19:56
TGiFallen joined19:57
kamikaz3 left19:58
srji left19:59
starsinmypockets ojacobson - that works, but it's git checkout -b branchname <commit-ish> ;)19:59
ojacobson starsinmypockets: either/or, since at least 1.6.mumble19:59
git's largely not picky about option and argument ordering19:59
starsinmypockets hmm... it gave me some grief about it19:59
_ikke_ except for file paths, which almost always go last20:00
jkremser left20:00
starsinmypockets v1.7.0420:00
maqr joined20:00
doev left20:00
starsinmypockets Yeah it thinks it's a file20:00
hoschi left20:01
starsinmypockets And then to get the hotfix branch back to the tip of head, can I just merge?20:01
git checkout head / git merge hotfix20:01
infynyxx_ left20:02
SHyx0rmZ joined20:03
starsinmypockets That's what I was looking for thanks folks20:04
PaulCapestany joined20:04
Vampire0 left20:05
ojacobson HEAD is always the current branch20:05
Vampire0_ joined20:05
ojacobson when you check out 'hotfix', now HEAD is equal to 'hotfix'20:05
("always" the current commit, actually, but if you're working on branches it's also a pointer to the current branch)20:05
'git checkout HEAD' is close to being a no-op, other than detaching HEAD from any branch it might be on.20:06
chairabanta left20:06
chuckharmston left20:06
cbreak ojacobson: why would it detach?20:06
ojacobson hmm, on further investigation it appears not to. My mistake.20:07
starsinmypockets Then why does git branch show it as a separate branch?20:08
fightbac_ joined20:09
fightback left20:09
ojacobson It'll show refs/heads/HEAD as a separate branch (because it is; the name 'HEAD' doesn't normally reside in the refs/ namespace, whereas branches do)20:09
and of course you can create a branch named 'head', 'HEAd', 'Head', or whetever, assuming your underlying FS is case-sensitive20:09
_ikke_ It's more specifically a symbolic ref20:09
mizu_no_oto joined20:09
ojacobson It's unusual (and unnecessarily confusing) to have a branch named head though20:10
sq-one_ joined20:10
cmpera left20:10
_ikke_ And also anoying20:10
mindriot101 left20:11
ojacobson in other words, !repro20:12
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting.20:12
mindriot101 joined20:12
fightbac_ left20:13
goshawk left20:13
Element9 joined20:14
mindriot101 left20:14
irqq_ left20:16
paulweb515 left20:16
paddymahoney left20:17
rednaks joined20:18
cmpera joined20:21
srji joined20:23
frogonwheels left20:25
kossy left20:26
motto joined20:26
kossy joined20:27
rednaks left20:27
lavaman joined20:27
m8 left20:27
valtih left20:27
rednaks joined20:28
aard_ left20:28
adex_ left20:28
gp5st left20:30
shoshin joined20:30
shoshin left20:30
snql left20:30
chuckharmston joined20:31
tqrst joined20:31
kossy left20:31
snql joined20:32
snql left20:33
Sendoushi joined20:33
starsinmypockets Nah it's sorted thanks - I think I confused head with master somewhere along the way but it's all good20:33
darvein left20:34
BiggFREE joined20:34
snql joined20:35
kossy joined20:35
geekbri left20:36
snql left20:36
Sonderblade joined20:36
goshawk joined20:37
snql joined20:37
ToxicFrog_ToxicFrog20:39
diverdude left20:39
kossy left20:39
Zarthus left20:39
kossy joined20:40
starsinmypockets left20:40
snql left20:41
gp5st joined20:41
szoumon joined20:41
scampbell left20:42
ej joined20:42
malkomalko joined20:44
rudak joined20:45
yacks joined20:46
ej left20:47
eugenejen left20:47
multiverse joined20:48
snql joined20:48
diego1 joined20:48
_iron left20:48
kaosx left20:49
diego1diegoviola20:49
Fingolfin joined20:49
darvein joined20:49
harobed_ left20:50
ryxai left20:50
marcio__ joined20:50
styles joined20:50
styles Hey guys I have 3 branches, dev, staging and prod. How can I make sure the db settings are changed per branch? Do I just ignore the config files?20:51
TheBrainWork left20:51
styles Anyone have any best practices?20:51
petey left20:51
snql left20:52
paulweb515 joined20:52
tatsuya_o joined20:52
ej joined20:52
Advocation joined20:53
marcio_ left20:54
petey joined20:54
fuzzybunny69y joined20:54
Squarism joined20:55
jnavila_ left20:56
frankstallone left20:57
ej left20:57
tureba left20:57
Kabaka left20:57
tureba joined20:57
LBV_User joined20:58
marcio__ left20:59
LBV_User Hi all. I have two repos, and I would like to move 2 files from one to another... there is a way I can do this keeping the history for these files?20:59
pr0t joined20:59
SamB LBV_User: there are things that you could do21:00
tpollard joined21:00
SamB question is, would it be more useful to have a random, disconnected history of those files in the new repository, or just include a concise explanation of where they came from in the commit message?21:02
darvein exit21:02
exit21:02
SamB (thus allowing the interested blamer to re-run blame in that other repository)21:02
darvein left21:02
Squarism left21:03
adex_ joined21:03
ewokchew_ joined21:03
LBV_User I was wondering if this would be possible... not the case here, but I have other projects with linked commit messages...21:04
the way if I could keep them, it would be nice...21:04
druonysuse left21:04
ewokchewy left21:05
cads joined21:07
cannonball left21:07
Kicer86 left21:07
gp5st left21:07
stephCoue joined21:09
Element9 left21:10
jkremser joined21:11
jkremser left21:11
jkremser joined21:11
Kabaka joined21:11
marhaban joined21:12
jxpx777 joined21:13
tqrst when INSTALL says building with profile feedback takes "(much) longer" than just a regular build, how much longer are we talking about?21:13
mdiers joined21:13
gp5st joined21:13
leeN left21:14
iveqy tqrst: not that long, the test-suite takes about 5min on my core2duo with flash-hdd21:15
ryxai joined21:15
LBV_User left21:15
ryxai left21:15
ryxai joined21:16
g0bl1n left21:16
mikepack joined21:16
iveqy tqrst: I wouldn't bother though, the main bottleneck is still your harddisk21:16
goshawk left21:16
gp5st left21:17
tqrst iveqy: I just realized I was building on nfs; oops.21:17
(this had been running for a solid hour)21:18
adex_ left21:18
starfox21 joined21:19
iveqy tqrst: oups21:19
well, nfs will slow down git a lot21:19
and you're running the test suite on nfs... that's slow21:19
mizu_no_oto left21:19
tqrst tqrst: yeah, just started over on tmpfs21:20
erm, s/tqrst/iveqy21:20
mishok13 left21:20
cbreak git builds in 28 seconds here.21:20
iveqy cbreak: that's because you've a machine from hell...21:20
cbreak a 5 year old machine from hell21:21
with an ssd! :D21:21
iveqy haha21:21
Pyrogerg left21:21
iveqy I remember when I did GSoC with Jens as my mentor, he would run the test suite 5 times while I managed to run it once21:21
his computer was a bit better...21:22
cbreak well, make test takes a bit longer.21:23
infynyxx joined21:24
Advocation left21:24
LBV_User joined21:24
zequence-work joined21:24
jcrane left21:24
kwmiebach_ left21:25
FernandoBasso joined21:25
kwmiebach_ joined21:25
Mars` left21:26
aspires joined21:26
kwmiebach_ left21:26
kwmiebach joined21:26
iveqy cbreak: yeah, the tests are really poorly written according to speed actually...21:27
LuxuryMode left21:27
tqrst looks like they don't run in parallel either21:27
kwmiebach I am running a localized ubuntu. How can I configure git to give me the original messages?21:27
cbreak I so want one of those new Mac Pros... :(21:28
ngladitz left21:28
cmpera left21:28
iveqy tqrst: oh, you could. Just use make -j12 test (would run 12 threads at a time (suggesting you spawn 2 threads for each CPU you have))21:28
grawity kwmiebach: the "localization" is just determined by $LANG and $LC_* environment variables21:28
cbreak kwmiebach: man locale21:28
tqrst iveqy: neat, thanks!21:28
srji left21:28
Ozch joined21:29
iveqy tqrst: however the test suite doesn't do any good error handling in multithreading, so if something fails I often end up with rerunning the test suite single threaded... but since the suite most often passes I usually run it multithreading first21:29
osse kwmiebach: hmm, maybe something like alias git='LANG=en_US.UTF-8 git'21:29
iveqy cbreak: and I want one of those thinkpad carbon x1...21:29
cbreak: it's actually cheaper for me to fly from sweden to the US, buy a thinkpad and fly back, than to just buy the thinkpad in sweden. The world is strange...21:30
ewokchew_ left21:30
cbreak or ... order it on the internet?21:30
psoo joined21:30
iamjarvo left21:30
diegoviola left21:30
iamjarvo joined21:31
iamjarvo left21:31
iveqy cbreak: no... then you've toll, taxes and need for international delivery...21:31
cbreak you have to pay that if you fly it in yourself too21:31
well, not the delivery... :)21:31
iamjarvo joined21:32
tqrst it's easier to dodge the tolls when you're carrying it yourself :)21:32
Mars` joined21:32
mribeirodantas joined21:33
kwmiebach osse, yes it works, thank you!21:33
Dougie187 iveqy: or get someone here to buy it for you and ship it to you.21:33
iveqy cbreak: I really isn't that up to date with which toll laws applies. But here it's different tools on the use of the product. For example things sent gift-wrapped is often free from toll21:33
cbreak amazon supports gift wrapping. :)21:33
iveqy :)21:33
tqrst that would explain why all the packages I get from china are labeled as "gifts"21:34
cbreak maybe they speak german.21:34
LBV_User left21:34
cbreak (badly :)21:34
cads left21:36
tang^ left21:37
crass left21:37
goshawk joined21:39
crass joined21:39
shpoont joined21:40
jab416171 how often does git in the ubuntu mirrors get updated?21:44
CheckDavid left21:44
Joellius joined21:44
frogonwheels joined21:44
jab416171 s/mirrors/repos/21:44
Joellius left21:46
TomyLobo left21:46
iveqy jab416171: I don't know. I believe it's once every release21:47
jab416171 iveqy: I'm on 1.7.9.521:47
iveqy git has a pretty rapid release rate so they really should shup a new version each release21:47
rednaks left21:47
jab416171 I'm running apt-get upgrade right now, so we'll see if it changes21:47
iveqy jab416171: okay? That's from 26 of mars 201221:47
iamjarvo_ joined21:48
iveqy jab416171: does ubuntu still ship once every 6 months?21:48
jab416171 yeah21:48
iveqy jab416171: then it should be updated... However it depends on if you've upgraded your ubuntu version or not...21:48
jab416171 I'm on 12.0421:48
(released april 2012)21:49
iveqy jab416171: I'm just guessing here, but I think you need to upgrade your ubuntu version in order to get a new git version21:49
jab416171 hmm21:50
iveqy you don't upgrade software in a release just because there's new software out there. You just do security upgrades21:50
jab416171 I was hoping that I wouldn't have to do that21:50
iveqy jab416171: there's a reason they ship releases and not just "the latest of all software"21:50
skorgon jab416171, git is not that painful. you can easily compile it yourself21:50
iveqy jab416171: ubuntu has checked that git 1.7.9.5 works with your other software, that's why21:51
jab416171 skorgon: I know, but I don't like installing stuff outside of the main repos21:51
tvw joined21:51
iamjarvo left21:51
jrnieder iveqy: not really :) it's more that keeping track of all packages while they keep moving under your feet is too much work21:51
skorgon well, on ubuntu you're stuck then21:51
iveqy jab416171: you could compile it and install it with dpkg so that it's still tracked by dpkg21:51
jrnieder there's a ppa with reasonably recent git on ubuntu21:51
w0ng joined21:51
jrnieder https://launchpad.net/~git-core/+archive/ppa21:52
iamjarvo_ left21:52
iveqy jrnieder: that's pretty easy to do automatically21:52
jab416171 yeah, I'm aware jrnieder21:52
jrnieder iveqy: you mean with things like autopkgtest?21:52
aard_ joined21:53
iveqy jrnieder: no, I mean just finding new versions of a software is easy. Verify that it will work with the rest of your software is the hard part21:53
cads joined21:53
whuntwhorking21:53
jrnieder eh, verifying that it works at all is hard enough21:53
jab416171 iveqy: what benefit would having dpkg track it be? does that mean if it's updated in apt it'll recognize that?21:53
it's a 3rd party application that isn't installed automatically, what's the harm in just keeping the latest in the repo?21:54
jrnieder jab416171: can you restate your question? I don't quite understand it21:54
iveqy jrnieder: true. If just all software would improve with each release and never regress, it would been so much easier =)21:54
aspires left21:55
skorgon ditch ubuntu and use a distro with a more relaxed policy on these things21:55
jerius left21:55
jrnieder or use https://launchpad.net/~git-core/+archive/ppa21:55
crass left21:55
jrnieder or build your own git21:55
jab416171 yeah, let me get right on that skorgon :P21:55
jrnieder or offer to help with maintenance of the git package on ubuntu21:55
iveqy jab416171: it's usually best to let the package manager in your system take care of all your software. For example it will be easier to uninstall it21:56
jrnieder or ... people have lots of options :)21:56
crass joined21:56
sq-one_ left21:56
mcantor joined21:56
aard_ left21:57
iveqy jab416171: 12.04 is a LTS release...21:57
jab416171 iveqy: indeed it is21:57
mcantor Is there a way to grep the full file hierarchy of a specific commit without checking it out?21:57
jrnieder mcantor: yes, yes there is :)21:57
mcantor I thought something like "git grep 'pattern' -- branch:directory" would work, but it returned no results.21:57
jrnieder you were close21:58
iveqy well, git is new software that is still rapid in it's development. Actually some distros have problems with keeping up the pace21:58
mcantor jrnieder: what is the correct incantation?21:58
macabre left21:58
jrnieder "git grep 'pattern' branch -- directory" should work21:58
Dougie187 left21:58
johnnyfuchs left21:58
mcantor Drat! I was so very close21:58
jrnieder in general, in git commands, "--" separates the branch/tag/other ref name from paths21:58
onethfour wouldn't it be cool if git had a read-only mode21:58
jrnieder "git grep 'pattern' branch:directory" would have worked too ;-)21:58
iveqy jab416171: by 2018 when it's time for you to upgrade your git version will be 4 years old. That's pretty old for a project that will be 13 years old at that time21:59
mcantor jrnieder: is that because 'branch:directory' constitutes a "tree-ish"?21:59
jrnieder yep, exactly. branch:directory names a tree21:59
jab416171 iveqy: what's the harm in just keeping the latest version of git in the repos? or automatically updating the repos every month/6 months/whatever?21:59
mmitchell left21:59
jab416171 iveqy: and I'm going to update before 201821:59
jrnieder jab416171: I think you're asking an Ubuntu question21:59
I'm not sure how it's relevant for #git.21:59
mcantor jrnieder: The man page says [<tree>] -- [<pathspec>]... do all trees constitute pathspecs? Conversely, is every pathspec the subset of a tree?22:00
skorgon jab416171, they actually think about migrating to rolling releases, iirc22:00
jrnieder no and no :)22:00
breakingthings left22:00
iveqy jab416171: jrnieder is correct, that's a release decission from ubuntu. And why are you on a LTS if you're not going to stick with it? ;)22:00
jrnieder mcantor: <pathspec> is jargon for "path pattern"22:00
e.g., "**/*.c"22:00
skorgon but for now, you can just upgrade the whole distro or roll your own git22:00
iveqy skorgon: that's cool!22:00
jab416171 iveqy: I plan on getting a new computer next June, so it'll be a fresh install, and I don't know if I'll stick with Ubuntu22:01
skorgon iveqy, well, there was a discussion. i don't know whether they will really go that path22:01
Earnestly joined22:01
holomorph joined22:01
mcantor jrnieder: OK, so a pathspec is just a pathspec. and a tree does not constitute a pathspec unless you append one to it with ':'.22:01
Sonderblade left22:01
jrnieder mcantor: even if you append ':', a tree is not a pathspec22:01
mcantor (is that freudian? "Sometimes a pathspec is just a pathspec.")22:01
ok, got it.22:01
iveqy jab416171: well, you see that there's a lot of pros and cons to consider when doing a distro. Most people with your problems simply install a new version of git in /usr/local/bin/22:02
skorgon jab416171, if you are willing to trade some stability and fancy UI tools for bleeding edge SW, then there are quite some alternatives22:02
marlonlandaverde left22:03
jrnieder but afaict if you just want recent git on 12.04 and don't want to build it from source, the git-core PPA should Just Work22:03
zequence-work left22:03
jrnieder so these are lovely and interesting questions about other software, but I don't see how they're relevant for git22:03
zequence-work joined22:03
jab416171 skorgon: I like stability, and I don't have any fancy UI (I'm actually using xubuntu), and believe me, I know there's plenty of alternatives.22:04
cads left22:04
acharlieh left22:05
stephCoue left22:06
apipkin left22:07
acharlieh joined22:07
amcsi_work__ joined22:09
f8l left22:10
Nicholas_Rishel joined22:10
ThomasKaufmann joined22:10
Neptu joined22:10
dropdrive left22:10
ToxicFrog left22:10
dropdrive joined22:10
ToxicFrog joined22:10
luminous joined22:10
f8l joined22:11
marhaban left22:11
Rylee joined22:11
jojva joined22:11
amcsi_work_ left22:11
Luke-Jr left22:12
acharlieh left22:12
quizzi joined22:14
madewokherd joined22:14
mizu_no_oto joined22:14
acharlieh joined22:14
ryxai left22:15
quazimodo joined22:15
mizu_no_oto left22:16
King_Hual left22:16
mike_af left22:17
mizu_no_oto joined22:17
mike_af joined22:17
holomorph left22:18
malkomalko left22:18
mike_af_ joined22:20
quizzi left22:21
mike_af_ left22:21
qsuscsqsusOFFcs22:21
mike_af_ joined22:21
mribeirodantas left22:21
mike_af__ joined22:22
skered- left22:22
Misan left22:23
infynyxx left22:23
tureba_ joined22:23
mike_af left22:23
tureba left22:24
apipkin joined22:24
dsdeiz joined22:25
akurilin joined22:25
mike_af__ left22:25
mike_af_ left22:26
apipkin left22:27
|Freeman| left22:28
skered- joined22:29
|Freeman| joined22:29
rnsanchez left22:29
Luke-Jr joined22:30
NeverCast[work] joined22:30
mcantor left22:31
bakers left22:31
gitinfo set mode: +v22:31
NeverCast[work] can --ff-only and --no-ff be used together?22:31
TeckniX left22:31
bremner what would you expect that to do?22:32
NeverCast[work] Force a commit, but only if the HEAD can be fast-forwarded22:32
SamB I would kind of like it if the last one would override22:32
NeverCast[work] When you ff, there is no commit message right?22:32
PaulCapestany left22:32
bremner NeverCast[work]: you seem confused between merging and committing22:33
NeverCast[work] Possibly22:33
SamB because then I could put the equivalent of --ff-only in my config file and override it when I want something else22:33
NeverCast[work] What is the correct interpretation?22:33
Swayz left22:34
NeverCast[work] merge just merges the code right? Unless the HEAD can just be moved? In which case that is a fast-forward?22:34
LLckfan joined22:34
ryxai joined22:34
quazimodo left22:34
bremner merge merges two histories which needs a new commit unless one is an ancestor of the other22:35
srji joined22:35
PaulCapestany joined22:35
NeverCast[work] Right, so if one branch was branched off another, and the branch was then several commits ahead.22:35
The original branch could be fast-forwarded to the forked branch22:35
Without a commit ?22:35
bremner yes.22:36
NeverCast[work] Could it be fast-forwarded with a message?22:36
( Which is what I assumed --no-ff would do )22:36
bremner no22:36
petey left22:36
NeverCast[work] But could it be done as a commit anyway?22:36
bremner could what be done?22:36
Davey left22:36
NeverCast[work] I guess this would create a new commit, meaning that the branches would diverge?22:36
bremner right22:37
fluxdude left22:37
NeverCast[work] Then if the original branch was then to have another commit added on and become ahead of the forked branch.22:37
crazydiamond left22:37
NeverCast[work] The forked branch could not fast-forward ever, and would also have to be merged with a new commit22:37
Davey joined22:37
turboroot_ left22:38
NeverCast[work] The reason I wondered was because if I'm running a master branch with the latest stable, and a develop branch with dev code, and I would like to move the dev in to the master, and mark it with a commit, I would assume I'd use --no-ff..22:38
bremner probably22:39
NeverCast[work] Am I correct in thinking that squash works in this way? Creates a new commit with the changes?22:39
|Freeman| left22:39
LLckfan I am trying to reconnect my Magnavox MBP 5120 blu-ray player to my Linksys routers wifi (which I have done before without trouble) and I am getting DHCP cannot be acquired. I have change the IP Address to manual on the blu-ray player without changing the IP address itself and no error. I have checked the routers settings and DHCP is enabled. Is there a way to fix this?22:39
bremner LLckfan: start by finding the correct channel?22:39
NeverCast[work] 622:39
*^22:40
tureba_ left22:40
tureba joined22:40
iveqy /kickban LLckfan22:41
it's been several days with the same question here...22:41
harish_ left22:41
bremner NeverCast[work]: basically. merge --squash is really not a merge. It's more like a rebase --squash followed by a cherrypick22:41
iveqy I'm starting to assume a bot22:41
rudak left22:41
NeverCast[work] Like interactively rebasing, and picking out all the commits except the latest.22:41
bremner squashing them on the topic branch22:42
simesy joined22:42
Sendoushi left22:42
NeverCast[work] What's the definition for the topic branch? The 'target' ?22:42
bremner dev in your case, I guess.22:42
w0ng left22:43
hwrd|work joined22:43
simesy left22:43
NeverCast[work] From what I understand from a git merge --squash. It does nothing of a merge at all22:44
I guess that's what you said22:44
bremner yep22:44
PeterBooker left22:44
hholtmann left22:45
tureba left22:45
cigarshark joined22:45
Milossh left22:45
bremner LLckfan: care to explain yourself, or shall I just ban you as requested?22:45
tureba joined22:45
matanya joined22:46
normanrichards joined22:48
NeverCast[work] bremner: What is the 'index'. I don't think I fully understand what that is, but it's often referred to along with HEAD. Which I just thought was the hash of your current commit, a pointer to a place in time for that branch ( Or ancestors too I guess )22:48
bremner !index22:49
gitinfo The index (or cache, or staging area) is one of git's most central concepts. Read http://git-scm.com/book/en/Getting-Started-Git-Basics "The Three States", and e.g. http://tomayko.com/writings/the-thing-about-git for some cool things it can help you do.22:49
natechan left22:49
ChanServ set mode: +o22:49
Eugennerz set mode: +b22:49
NeverCast[work] Thanks22:49
dreiss left22:49
Eugennerz set mode: -o22:49
pantsman left22:49
bremner steal my fun why don't ya22:49
Eugennerz Oh, you can still kick.22:49
infynyxx joined22:49
Eugennerz But I like getting my ban on.22:50
bremner you could shower more often22:50
minim left22:50
salamanderrake joined22:50
Milossh joined22:50
ChanServ set mode: +o22:50
mvensky joined22:50
bremner kicked LLckfan (kthanxbye)22:50
tureba left22:50
ChanServ set mode: -o22:50
VasionBot joined22:50
tureba joined22:51
Eugennerz !hose Eugennerz22:51
VasionBot hits Eugennerz with the hose!22:51
Ozch First time user here of git/github, I tried pushing my local repo to remote through ssh and I get this: "Permission denied (publickey)." How do I fix it?22:51
VasionBot left22:51
Eugennerz Happy?22:51
infynyxx left22:51
Eugennerz Ozch - !github_ssh22:51
Ozch !github_ssh22:51
Eugennerz, should I have gotten a reply from a bot or something? Nothing22:52
Eugennerz !ssh_github ?22:52
gitinfo If you are having problems accessing github repos over HTTPS you should switch to SSH (the default used by git, for many very good technical reasons): https://help.github.com/articles/generating-ssh-keys22:52
Ozch Eugennerz, cheers22:52
Eugennerz pokes bot with stick22:52
infynyxx joined22:52
skered- left22:53
pbujok left22:53
Eugennerz !bot22:53
gitinfo [!gitinfo] I am an IRC bot which responds to certain keywords to provide helpful(?) information to humans. Please see http://jk.gs/git/bot for more information about how to use me.22:53
ej joined22:54
jkyle joined22:54
rakl left22:55
NeverCast[work] So git add, is adding to the 'staging area' correct?22:55
aspires joined22:55
NeverCast[work] Ah, or 'index'22:56
gotcha.22:56
Eugennerz !botsnack22:56
gitinfo Om nom nom22:56
Eugennerz .trigger_edit github_ssh @!ssh_github22:56
gitinfo Eugennerz: You must be logged into NickServ in order to use this command.22:56
NeverCast[work] hands gitinfo a donut for an after snack, snack.22:56
Eugennerz Oh, bah.22:56
Eugene .trigger_edit github_ssh @!ssh_github22:56
gitinfo Eugene: You must be logged into NickServ in order to use this command.22:56
ej left22:58
Destos left22:59
Joshi3s` joined23:00
Joshi3s` left23:00
kazagistar joined23:00
SomeDamnBody joined23:00
SomeDamnBody hey, I have a repository23:00
repo A23:00
within that repo23:00
I want to use a submodule to manage a dependency23:00
repo B23:01
but I also want to edit that dependency23:01
so that, any time repo B receives new changes, I can pull them an integrate them with mine23:01
how do I commit to the submodule in order that it affects repo A which contains repo B in a way that repo B isn't touched?23:01
mvensky_ joined23:02
motto left23:02
SomeDamnBody ok nevermind23:02
NeverCast[work] SomeDamnBody: I'm probably not the best for advice on this as I've only worked with submodules barely, and only once. But if you run repo B as another branch23:02
SomeDamnBody but can a submodule work from a specific directory of a certain repo23:03
ewnd9 joined23:03
NeverCast[work] You can work on it as much as you like23:03
SomeDamnBody: Yes23:03
it can23:03
SomeDamnBody ah ok23:03
thanks23:03
SHyx0rmZ left23:03
dsferreira left23:03
Risto- left23:04
ej joined23:04
mribeirodantas joined23:04
Mars` left23:04
kazagistar I am trying to figure out how to automate a particularly annoying part of our build process… can I create and push a branch where the only difference is a submodule revision, without having to pull the whole repo?23:04
Mars` joined23:05
Mars` left23:05
mvensky left23:05
mvensky_mvensky23:05
NeverCast[work] kazagistar: the submodule repo or the parent reop?23:06
*repo23:06
infynyxx left23:06
mvensky left23:06
psoo left23:06
mizu_no_oto left23:06
NeverCast[work] The parent only maintains a reference to the submodule from what I understand23:06
tureba left23:06
NeverCast[work] Unless you use git submodule, it wont pull the submodule23:06
tureba joined23:06
kazagistar NeverCast[work]: I don't want to pull anything if I don't have to.23:06
mvensky joined23:07
SomeDamnBody how do I add a submodule from a specific directory within another repo23:07
I just did...23:07
kazagistar basically, we have 2 testing systems, one triggers automatically on pull requests and tests our submodule, and one does testing for the entire software, and we have to upload a git branch manually. Both ALWAYS pull the latest revision from scratch23:07
SomeDamnBody git submodule add https://user@host.org/user/reponame.git/foldername23:07
and it produced a dead link on the site, yet copied the entire repo of https://user@host.org/user/reponame23:07
NeverCast[work] SomeDamnBody: I would assume it takes a directory argument, or assumes that you want 'foldername' in your pwd23:07
SomeDamnBody .git23:08
Mars` joined23:08
PParth joined23:08
ej left23:08
zbcm joined23:08
ColKurtz joined23:08
NeverCast[work] As stated before, my submodule experience is very limited, it's something I've not that the opportunity to use much.23:08
But it's sort of like cloning a repo inside another, but have their databases seperate23:09
The parent I believe holds a reference to the other, likely the url + current head or version or w/e23:09
SomeDamnBody right23:09
well I only want to clone a folder within another23:09
I'm having trouble removing the erroneous submodule now23:10
NeverCast[work] git submodule deinit submoduleNameHere23:10
ozette left23:10
NeverCast[work] and then you might have to git rm submoduleNameHere23:10
to untrack the directory that may be laying around23:10
and then you can rm -r submoduleNameHere23:11
to clear it out of your directory23:11
Luke-Jr left23:11
szoumon left23:11
infynyxx joined23:11
NeverCast[work] politely gets the attention of Eugene23:11
NeverCast[work] Can you verify that I'm not feeding him false info?23:11
SomeDamnBody I found this: stackoverflow.com/questions/1260748/how-do-i-remove-a-git-submodule23:13
and that worked23:13
NeverCast[work] SomeDamnBody: That is exactly what I read before telling you :P23:14
SomeDamnBody now I just need the correct command to add only a folder within another repo23:14
lol ;)23:14
Curtisbeef joined23:14
NeverCast[work] Uhh23:14
You want to checkout just a folder from another repo?23:14
and put it in your current repo?23:14
I.. don't think you can do that23:14
git doesn't see files+folders23:14
I mean you can copy it in, but it wont hold a reference and wont update23:15
your other repo might have to make that 'folder' a submodule23:15
SomeDamnBody crap23:15
NeverCast[work] and both repo's use it as a submodule23:15
SomeDamnBody yeah I only...23:15
oh23:15
well basically23:15
here's why I want to do only a folder from another repo23:15
basically, it's actually 3 repos23:15
I have a third party library23:15
that's repo A23:15
I have repo B and C23:16
repo B already uses repo A as a submodule23:16
so repo B is good.23:16
But I make changes to the submodule in repo B, and commit to my repo with those changes23:16
this way any time repo A gets some changes, I can pull them into repo B23:16
taptapdan left23:16
SomeDamnBody but I want repo C to work off of the version that I've put together in repo A23:16
i mean B23:16
NeverCast[work] branches23:16
SomeDamnBody that way, I don't have to repeat work or copy paste stuff23:16
branches?23:17
NeverCast[work] in repo A23:17
SomeDamnBody ... not following you23:17
NeverCast[work] have a branch that is the current version for B and C23:17
SomeDamnBody I can't modify repo A23:17
oh23:17
Davey left23:17
SomeDamnBody wait...23:17
I can check out repo A, put it in my own repo (D) as a submodule that references A23:18
Luke-Jr joined23:18
Swayz joined23:18
SomeDamnBody then I just add repo D as a submodule to B and C23:18
NeverCast[work] Yup23:18
SomeDamnBody ah ok23:18
I'll do this23:18
NeverCast[work] That'll work23:18
minim joined23:18
infynyxx left23:18
NeverCast[work] and that's what I would've done to begin with, I prefer to always have commit access to any repo I use lol23:18
Otherwise this23:18
So I take it repo A is an external repo that you're just tracking from B?23:19
SomeDamnBody yeah23:19
NeverCast[work] Okay, yeah just clone it in to repo d as you said23:19
SomeDamnBody repo A is someone else's public github that I don't have write access to23:19
NeverCast[work] If it's on Github23:19
just Fork it23:19
SomeDamnBody I don't want to fork it on github, because I want my changes to remain private throughout the duration of my work until I publish23:20
NeverCast[work] I'm assuming you can just change the url on a submodule, like you can with remotes23:20
SomeDamnBody yeah23:20
I get what you're saying23:20
ryxai left23:20
SomeDamnBody give the dependency it's own repo and reference the original as a submodule so you still get the updates and other goodies23:20
NeverCast[work] You don't have to reference the original as a submodule23:21
You just track it from the 'dependency' repo that you cloned23:21
git remote add upstream [email@hidden.address]23:21
SomeDamnBody oh23:21
add two remotes?23:21
NeverCast[work] Yup23:21
RaceCondition joined23:22
SomeDamnBody ah ok23:22
NeverCast[work] Then you can just pull from the other remote to update yours23:22
boombatower left23:22
srji left23:22
FatDarrel joined23:22
SomeDamnBody but what about B & C? wouldn't those still reference D as a submodule?23:23
FatDarrel Hey how do I squash a set of commits into one commit for a merge23:23
SomeDamnBody FatDarrel, rebase23:23
FatDarrel but rebase deletes changes?23:23
NeverCast[work] Changes are never deleted23:23
SomeDamnBody ... no23:23
NeverCast[work] Provided they are commited23:23
FatDarrel everyone rebase?23:24
NeverCast[work] I tend to rebase when working with remotes23:24
ewnd9 left23:24
NeverCast[work] you can merge --squash, or rebase --squash23:24
or even git squash23:24
FatDarrel ok let me see if I have it23:24
Luke-Jr left23:25
jaequery left23:27
nevyn !talks23:27
gitinfo Some good video talks about Git: [yt] http://goo.gl/z72s (Linus Torvalds: History&Concepts); [yt] http://goo.gl/R9H2q (Scott Chacon: Git basics, live examples); http://vimeo.com/35778382 (Randal Schwartz: Git basics, descriptional); http://vimeo.com/46010208 (Jesica Kerr: Git basics, descriptional)23:27
nevyn !factlist23:27
oonska left23:28
nevyn !help23:28
gitinfo What do you need help with? Something with git? Tell us what's going on, and please be specific. For information on how to abuse me (I'm a bot!), see http://jk.gs/git/bot . Please be gentle.23:28
Luke-Jr joined23:28
NeverCast[work] afk|lunch.23:29
FatDarrel Still need some Git help23:29
mikepack left23:31
reim_ joined23:31
tatsuya_o left23:31
Nicholas_Rishel left23:31
causasui !ask23:31
gitinfo Yes, it's okay to ask questions here.... in fact, you just asked one! ;-) Pretty much any question is fine. We're not terribly picky, but we might be asleep. Please be patient and you should get an answer soon.23:31
chrob left23:32
chrob joined23:32
deuterium left23:33
srji joined23:33
kazagistar how about this: is it possible to use github remotely, as if it was local? I just want to create a branch, check out a particular branch for one of the submodules, and then push that change to a local repo… but I want to call this from an environment that gets cleared each time it is run, so I don't want to pull anything I can avoid23:33
CKyle left23:33
srji left23:33
nova_ joined23:34
Davey joined23:34
mikepack joined23:34
kazagistar I'm thinking I might be able to hack it up manually by just looking at hashes and file formats and whatnot, but I was wondering if there was an easier way beforehand23:35
_nova left23:35
Ozch left23:35
aspires left23:35
boombatower joined23:36
nevyn kazagistar: that seems.. wrong but doable.23:36
mikepack left23:37
tureba left23:37
qt-x left23:38
tureba joined23:38
chrob left23:38
kazagistar nevyn: I need to create a parent repo branch that has my submodule branch, and push it to the parent Continuous Integration server for integration tests23:39
fridim_ joined23:39
normanrichards left23:40
kwmiebach left23:40
Fingolfin left23:40
j4cbo joined23:40
nevyn kazagistar: I think it'd be easiest with an intermediat automation repo23:40
j4cbo anyone know if there's a way to cause push to invoke the remote post-receive hook with no changes? (i'm trying to test out a post-receive hook without making a bunch of dummy commits)23:41
jkremser left23:41
tureba left23:43
qknight left23:43
tureba joined23:43
bwreilly left23:43
kazagistar nevyn: not entirely sure what you mean… you mean another repo that the would be do the automation when requested by our local test machine, and push it to the CI server?23:45
freestyl3r left23:46
jon_r joined23:47
m0ltar joined23:47
threesome left23:48
tureba left23:48
tureba joined23:48
lavaman left23:49
belak joined23:50
belak left23:51
ryxai joined23:51
dsdeiz left23:51
Octalot left23:51
staafl left23:53
_nova joined23:54
nova_ left23:56
ISF joined23:57
Mars` left23:58
maestrojed left23:59
Mars` joined23:59
nicedice left23:59
Mars` left23:59

Logs Search ←Prev date Next date→ Channels Documentation