IRCloggy #git 2013-12-09

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-12-09

robbyoconnor left00:00
WaReZ left00:00
LuxuryMode joined00:00
epta osse: "dir" here is undefined. Question is how to know where git will clone specific repo. I don't wanna split url and retrieve potentially dir name from it, than check if that dir already exist, then add 1 (or what git actually does) and so on. Git already do that during "git clone" so question is how to get dir name before cloning or make git return it after clone.00:01
irqq left00:01
osse epta: it sounds easier to specify the dir yourself00:02
but from what I can tell the "algorithm" to find the dir name is the text after the last slash but removing .git it's there00:02
valgrind left00:03
epta osse: it is not all "algorithm"00:03
cyphase joined00:03
imMute osse: why not just *tell* git where to put it? you can do that you know00:03
Hello71 !xyproblem ?00:03
!xy ?00:03
gitinfo Woah, slow down for a bit. Are you sure that you need to jump to that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective...00:03
rjhunter left00:04
osse imMute: you're preaching to the choir, buddy00:04
imMute osse: whups. silly 4 letter nicks everywhere.00:04
andschwa joined00:05
epta I don't udnerstand why should I reinvent this "choosing-potential-directory-to-clone" algorithm if git already did it great00:06
imMute epta: you don't. you just *tell* git where to put the clone.00:06
Tantris offby1: yes this sounds great except that it gives me no output: git show master README.md00:06
offby1 Tantris: I've probably got the syntax wrong. Hold on00:06
epta imMute: how?00:06
osse epta: git clone url dir00:07
epta Oh lord00:07
Again, dir is undefined here00:07
Tantris offby1: the other thing is that as I understand this would just "copy" the version from master to my branch, but I want to merge it to my branch00:07
offby1 Tantris: I think you omitted a colon. ``git show master:.pythonrc`` works for me00:07
imMute no its not00:07
epta: no, its defined by you, to be whatever makes sense to your application.00:07
osse epta: you asked how to tell git-clone where to put the clone. Well, that's how you do it00:07
offby1 Tantris: about merging versus copying: you're confused.00:07
epta osse: why are you think that I'm asking about it? Read my question again, please00:08
imMute epta: counter question: why do you have to let Git pick where to put the clone?00:08
Tantris offby1: well as I understand it the show will give me the exact contents of the commit and that would replace my current version00:09
osse epta: git-clone doesn't have the flag you're looking for. I think the easiest way for you to do what you want is to decide on a name beforehand.00:09
On the other hand, parsing that "Cloning into 'foo'" line shouldn't be too difficult00:09
offby1 Tantris: it won't replace anything unless you redirect the output, but I recommend that because I thought that's what you wanted.00:09
osse Another (ugly) option is to compare which directories exist before and after00:09
Tantris offby1: What I want is to merge / rebase my changes to a single file on top of a branch00:09
epta imMute: because process that calls git clone thinks that git should know about where to clone this repo better than that process00:10
offby1 Tantris: you need to realize that you don't actually want to merge or to rebase.00:10
merging and rebasing affect an entire project, but you've said you only want to affect a single file.00:10
andschwa left00:10
offby1 Therefore you don't want to merge or to rebase.00:10
imMute epta: I would disagree with that, but I don't know your situation. therfore you have to parse the output of 'git clone'00:10
epta osse: yep, parsing seems to be the working solution here00:10
andschwa` joined00:10
offby1 QED00:10
FunkyELF joined00:11
osse epta: are you not in control of the process that does the cloning? Isn't it scriptable/tunable?00:11
ErKa left00:11
Tantris offby1: yeah person A and B made changes to a repository, As changes are in master and Bs changes are in a branch, I now checked out a new branch based on Bs and want to pull all changes from master from a single file and forget all other changes in master00:11
FunkyELF Trying to follow this. On step 4 I get "fatal: Couldn't find remote ref master" http://stackoverflow.com/questions/4658606/import-existing-source-code-to-github00:12
mike_af left00:12
TN_Jonesboro joined00:12
Tantris offby1: but both A an B made changes to this specific file and I want to keep all of them00:12
mike_af joined00:12
offby1 Tantris: are you saying that you want to preserve the history of this file as well as its contents? If so, I don't know how to do that.00:12
oh, you want to "merge a single file". I see00:12
I'd just do "git merge --no-commit", then unstage all the other files before committing.00:13
Never done that, but it sounds reasonable.00:13
osse FunkyELF: what's the exact command you're trying to execute?00:13
epta osse: I am. But I wanna make it maximum windows/linux portable, so manipulating with dirs and filenames is the last thing what I'll do here00:13
scientes joined00:13
Tantris offby1: ahaha yeah you are right, just merge everything and after that unstage all except the specific file00:14
FunkyELF osse: git pull origin master00:14
normaliy joined00:14
osse epta: hmm, there's is no manipulating going on. It's just a matter of deciding on a name and giving it to git-clone00:14
FunkyELF osse: I think I'm good now. I did "git push -u origin master"00:15
osse FunkyELF: how is that step 4 ?00:15
FunkyELF: ahh, yeah the -u is necessary00:15
FunkyELF osse: sorry... it was step 500:15
I never ran step 5 and just want to the git push origin master and it worked.00:15
mike_af_ joined00:16
mike_af left00:16
john2x joined00:17
blast_hardcheese left00:18
hellopat joined00:19
madewokherd joined00:19
koda left00:19
halu left00:21
maestrojed joined00:23
akheron left00:23
andschwa` left00:24
akheron joined00:24
dkpi left00:24
blast_hardcheese joined00:25
jim joined00:25
dsdeiz joined00:26
jim hi, what happens if I try to commit with nothing added?00:26
Cathy well, you can also commit the removal of files00:27
or typechanges, renames, etc.00:27
if there is nothing at all to commit then you cannot commit00:27
jim and it doesn't alter the repo in that case?00:28
Cathy because it won't happen, yes00:28
jim got it, thank you00:28
gittish joined00:29
Cathy jim: looking at the man page there's an option to forcibly commit en empty commit, namely --allow-empty00:29
the default is not to allow it however00:30
lc0dd0cl joined00:30
jim oh, interesting... for the purpose of sticking an arbitrary commit message?00:30
Cathy the man page says it is "primarily for use by foreign SCM interface scripts. "00:31
LuxuryMode left00:32
Hello71 e.g. you want to poke the post-update hook to deploy00:32
TN_Jonesboro left00:32
lc0dd0cl2 left00:32
jim cathy, ahh, whose developers asked for that?00:32
andschwa` joined00:33
dhruvasagar joined00:33
DolphinDream left00:33
TN_Jonesboro joined00:33
maestrojed left00:33
Cathy jim: i wouldn't know00:33
jim ok, well at least thanks for your time so far. appreciated.00:34
LuxuryMode joined00:34
tmcmahon joined00:35
dxdt left00:37
PaulCapestany joined00:38
Tantris left00:39
St_Marx joined00:41
Celelaptop How do I undo a merge currently conflicting?00:44
SamB "git merge --abort"00:46
KK4MGV left00:46
Celelaptop "Entry 'quad.c' not uptodate. Cannot merge."00:46
treaki_ joined00:47
Celelaptop I tried to resolve the conflicts before I quit merging.00:47
LuxuryMode left00:47
offby1 Celelaptop: "git reset --hard"00:48
throws it away, goes back to where you were00:48
Celelaptop thanks.00:48
treaki__ left00:48
lc0dd0cl left00:49
rjhunter joined00:49
Cathy git reset --hard might undo more than the failed merge has done00:50
so long as you realise that before using it...00:50
rjhunter left00:50
SamB hmm, it can be hard to keep track of what commands have an --abort flag :-(00:50
yhager joined00:51
rjhunter joined00:51
offby1 Cathy: details, details00:51
honestly I can't think of any other way. Maybe "git status" has a suggestion00:52
rjhunter left00:52
hyperair joined00:52
h0rrorvacui joined00:52
tureba_ left00:52
Cathy git reset --hard will discard in loose changes in the working directory00:52
which might have been kicking around before the attempted merge00:52
that's what i meant00:52
tureba joined00:52
rjhunter joined00:52
hugo_dc joined00:52
offby1 Yeah, I know00:53
KK4MGV joined00:53
Celelaptop <Cathy> git reset --hard might undo more than the failed merge has done <-- I know. But I had everything committed before I try to merge.00:53
rhunter joined00:54
scientes left00:55
zhost left00:55
rhunter left00:55
SamB Celelaptop: good :-)00:55
pweaver_ joined00:56
rhunter joined00:57
rjhunter left00:57
robbyoconnor joined00:58
ewnd9 joined01:00
rhunter left01:01
mk_qi joined01:02
dyng joined01:04
naifas joined01:05
dsdeiz left01:05
sohail joined01:06
sohail left01:06
sohail joined01:06
Kayra left01:06
dxdt joined01:06
codeman joined01:06
gnoel left01:07
harish left01:07
rjhunter joined01:08
SonicX joined01:09
JPT joined01:09
CheckDavid left01:10
iliketu__ joined01:11
Zarthus left01:12
vipzrx joined01:12
HelloShitty left01:14
scientes joined01:15
fuzzybun1y69y joined01:15
mdiers left01:16
ewnd9 left01:17
phipes left01:18
SocalNick joined01:21
naifas left01:22
scientes there is no way to fetch tags only on one branch?01:23
they arn't indexed like that?01:23
nwertman joined01:24
scientes i'm having to pull down the entire linux-stable to run one git tag --contains01:24
troutvariable01:24
yhager left01:26
rafaqueque left01:28
echo-area left01:29
offby1 scientes: it's common to have to download the whole repository in order to do _anything_01:29
there are probably exceptions, but they're narrow01:29
Guest32973 left01:29
Droolio joined01:29
marlboromoo joined01:29
scientes yeah but all the branches01:30
pmahent joined01:30
lindenle joined01:30
kermit left01:31
offby1 what about them?01:31
nwertman_ joined01:31
gnoel joined01:31
scientes anyways its now downloaded over slow starbucks internet01:31
offby1 heh01:31
kermit joined01:32
codeman left01:33
nwertman left01:34
scientes now i feel like i have to run gc --aggressive01:34
gnoel left01:35
tmcmahon left01:36
dxdt left01:39
lifelike left01:39
momomomomo joined01:39
nettoweb joined01:39
blast_hardcheese left01:39
M00sL0gB0t_ left01:41
M00sL0gB0t_ joined01:41
weiyang joined01:42
phipes joined01:43
M00sL0gB0t_ left01:43
SocalNick left01:43
M00sL0gB0t joined01:44
pweaver_ left01:44
sam113101 left01:46
dyng left01:46
yourbestfriend joined01:47
marlboromoo left01:47
M00sL0gB0t left01:47
daito joined01:49
M00sL0gB0t joined01:49
yourbestfriend left01:49
mmcdaris joined01:50
marlboromoo joined01:50
yourbestfriend joined01:51
AzizLight left01:52
LuxuryMode joined01:52
dsdeiz joined01:52
nettoweb left01:52
momomomomo left01:54
yourbestfriend left01:54
luxgeek left01:55
luxgeek joined01:55
dyng joined01:56
yourbestfriend joined01:57
blast_hardcheese joined01:57
luc_ joined01:58
hellome joined01:58
rchavik joined01:58
andschwa` left01:58
MetalMatze left01:59
SHyx0rmZ left01:59
dxdt joined02:00
yourbestfriend left02:00
bunbury joined02:01
robbyoconnor left02:01
yourbestfriend joined02:01
yuwang_ joined02:01
DolphinDream joined02:02
Mez_ left02:03
h0rrorvacui left02:03
Mez joined02:03
dhruvasagar left02:04
blast_hardcheese left02:05
hellome left02:05
hellome joined02:05
saorge_ joined02:07
andschwa` joined02:08
svm_invictvs left02:09
saorge left02:10
svm_invictvs joined02:11
kara_sweets joined02:15
harish joined02:15
Mez left02:15
Mez joined02:15
gittish left02:16
KillYourTV left02:16
kara_sweets left02:17
hellome left02:17
KillYourTV joined02:18
hellome joined02:18
Vampire0 left02:19
hugo_dc left02:21
s0beit|ZNCs0beit02:21
dkpi joined02:21
Mez left02:23
Mez joined02:23
fandikurnia01 joined02:23
echo-area joined02:24
dekiss left02:26
yhager joined02:28
Mez left02:28
d8bhatta joined02:29
Mez joined02:29
michael_lee joined02:29
joelrobichaud joined02:30
michael_lee left02:32
Mez left02:34
Mez joined02:34
michael_lee joined02:35
el3ctron joined02:36
fandikurnia01 left02:36
Gamecubic_ left02:37
zophy joined02:37
fandikurnia01 joined02:37
iliketu__ left02:37
chrisss404 left02:39
dhruvasagar joined02:39
dhruvasagar left02:40
el3ctron left02:41
emma Hey what does this mean? Cloning into plugapi...02:41
error: SSL certificate problem, verify that the CA cert is OK. Details:02:41
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/atomjack/plugapi.git/info/refs02:41
Kayra joined02:41
el3ctron joined02:41
emma do i have to have a git key?02:41
alindeman Seems like you might have an outdated CA bundle02:41
teran left02:42
chrisss404 joined02:42
alindeman emma: https://help.github.com/articles/error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok02:42
kpreid left02:42
kpreid joined02:42
HawkTracker joined02:42
emma i can use ssh instead02:43
but if im on a different server than i usually use02:43
isn't that a problem if it asks for my key?02:43
fuzzybun1y69y left02:43
HawkTracker hello how can I use git to copy contents of latest commit from a certain branch to another directory02:43
alindeman emma: I'm not sure what you mean, sorry02:43
emma im not either02:43
when i git clone from my home server it asks me for a password each time02:44
im now on a different server02:44
normaliy left02:44
emma i imagine it will ask me for a password but i figure i dont have my key on this server so how is that going to work02:44
skorgon HawkTracker: man git archive02:44
gitinfo HawkTracker: the git-archive manpage is available at http://jk.gs/git-archive.html02:44
HawkTracker can i git clone locally?02:44
skorgon HawkTracker: sure you can02:45
alindeman emma: I don't know. Solving the CA issue is usually just a matter of updating an OS package02:45
HawkTracker git archive forces .zip though...02:45
Hello71 wat02:45
man git archive02:46
gitinfo the git-archive manpage is available at http://jk.gs/git-archive.html02:46
Hello71 man git archive02:46
gitinfo the git-archive manpage is available at http://jk.gs/git-archive.html02:46
Hello71 man git archive02:46
gitinfo the git-archive manpage is available at http://jk.gs/git-archive.html02:46
pbujok left02:46
Hello71 strictly speaking you could use git checkout02:46
Mez left02:46
tidu12 left02:47
Mez joined02:47
Gamecubic_ joined02:47
AzizLight joined02:48
LuxuryMode left02:49
hellopat left02:51
g0bl1n joined02:52
Mez left02:52
rjhunter emma: If you're using git on Windows, you might need to set up the initial trusted root certificates02:52
Than joined02:52
Mez joined02:52
AzizLight left02:53
Kayra left02:53
robbyoconnor joined02:54
PaulCapestany left02:54
echo-area left02:54
SamB_ joined02:56
hellopat joined02:57
SamB_ left02:57
scientes anyone have a script that bisects the kernel with kvm/qemu and a test program?02:59
andschwa` left03:00
silviof1 joined03:01
mike_af_ left03:01
echo-area joined03:01
kevwil joined03:02
skorgon scientes: i don't know if there is anything useful or even working, but tools/testing/ktest might be helpful. there seems to be a kvm example configuration03:03
petey left03:03
grep0r left03:03
oojacoboo joined03:03
petey joined03:03
silviof left03:04
emma rjhunter: no im using it on linux03:04
weiyang left03:04
rjhunter scientes: that seems like the sort of thing that would have come up a few times in the history of kernel development -- if you discover a hidden gem, it's probably worth a blog post for future Web searchers03:04
andschwa` joined03:05
Mez left03:05
Mez joined03:05
emma rjhunter: this is the message i get when i try git clone with ssh:03:05
Permission denied (publickey)03:05
hey Mez i haven't seen you around in ages03:05
dsockwell joined03:06
emma isn't there some git ssh key or something you need?03:06
bdavenport left03:06
skorgon there is no 'git ssh key' just your usual ssh key(s).03:07
weiyang joined03:07
hahuang65 left03:07
petey left03:08
bdavenport joined03:08
mizu_no_oto joined03:08
rjhunter emma: If you haven't used key-based authentication with SSH before, you'll need to generate a keypair first. Then give your public key to whoever's on the other side (GitHub account preferences, or ~/.ssh/authorized_keys)03:09
emma oh my03:09
i see03:09
i have to generate a key with ssh..03:09
SonicX left03:09
IsoLinCHiP Is there a way to split up .gitrc into multiple files that get sourced from the main file?03:09
Mez left03:09
skorgon IsoLinCHiP: man git config ther is a whole section regarding includes03:11
gitinfo IsoLinCHiP: the git-config manpage is available at http://jk.gs/git-config.html03:11
Mez joined03:11
wrouesnel joined03:11
guns joined03:11
IsoLinCHiP Sorry, my mistake was searching for .gitrc clearly is the wrong filename :(03:11
but thx skorgon :)03:12
teran joined03:13
dyng left03:15
regreddit left03:15
grep0r joined03:16
yhager left03:16
dyng joined03:17
harv left03:17
batrick joined03:18
fairuz joined03:19
Mez left03:20
wrouesnel left03:20
Mez joined03:21
mitz left03:21
dyng left03:21
andschwa` left03:23
harv joined03:23
karavanjo__ left03:23
mitz joined03:24
dxdt left03:24
phipes left03:24
phipes joined03:25
Mez left03:26
mizu_no_oto left03:26
Mez joined03:26
psyl0n left03:26
acharlieh joined03:28
dvide_ left03:29
ariscop joined03:29
grep0r left03:29
petey joined03:29
andschwa` joined03:30
asamat joined03:30
grep0r joined03:32
phipes left03:33
phipes joined03:33
phipes left03:34
asamat left03:38
guns left03:39
kevwil left03:42
PaulCapestany joined03:42
Mez left03:43
Mez joined03:44
ecube left03:45
danecando joined03:45
go1111111 left03:46
teran left03:46
danecando left03:47
ecube joined03:47
HawkTracker left03:48
arvind_khadri joined03:48
Mez left03:49
AzizLight joined03:49
daito left03:52
aberrant joined03:52
dkpi left03:53
lindenle left03:53
AzizLight left03:53
Wulf left03:54
Mez joined03:55
Wulf joined03:56
go1111111 joined03:58
s0beits0beit|ZNC03:59
s0beit|ZNCs0beit03:59
daito joined04:00
decimad2 joined04:02
chernjie joined04:02
decimad left04:04
scientes left04:04
Noldorin left04:04
Kayra joined04:04
phipes joined04:04
Mez left04:05
Mez joined04:06
Noldorin joined04:06
Kayra left04:09
mmcdaris left04:10
Mez left04:11
kent\n if you're on an older git that doesn't have `git tag --points-at sha1`, how would you go about getting that?04:11
Noldorin left04:11
Mez joined04:12
rjhunter kent\n: probably start with `git rev-list --tags`04:12
bgerber left04:12
fandikurnia01 left04:13
SamB or "git ls-remote ."04:13
mmcdaris joined04:13
fandikurnia01 joined04:13
Dougie187 left04:14
bgerber joined04:14
SamB rjhunter: that doesn't include the names of the tags ...04:14
kent\n and isn't ls-remote also a newer tool?04:14
kent\n is having trouble knowing what is and isnt' available on stuff that he may be supporting04:15
d8bhatta left04:15
rjhunter SamB: good point04:15
mattcen kent\n: Check the changelog? ls-remote appears to have been there since before version 1.004:16
rjhunter kent\n: how far back do you want to support? git.git has all the details if you really want to check04:16
SamB mattcen: indeed it does04:17
I was just going to say the same thing04:17
it looks like it was there since before they started the changelog04:17
kent\n Well, I'm not going to support back further than I have to, I'm just reacting in responses I see to public automated testing of code, I see a failure, I'll add support.04:18
Imagineer2 joined04:18
preflex left04:18
preflex_ joined04:18
kent\n hrm, git ls-remote is a good start04:19
just it gives lots of lines04:19
somehow I see 2 sets of the same tag04:19
tag , and tag^{}04:19
preflex_preflex04:19
oojacoboo left04:19
Guest83652 left04:20
Imagineer left04:21
ewnd9 joined04:21
mattcen kent\n: The latter points to a tree rather than a commit04:22
kent\n mattcen: weird, git cat-file -t says without ^{} is a tag, and with ^{} is a commit04:23
mattcen looks again04:23
Mez left04:24
mattcen Sorry, you're right.04:24
xjiujiu joined04:25
lifelike joined04:25
go1111111 left04:26
mattcen That's only the case for heavy-weight tags; if you have a heavy-weight tag, tagname points to the tag which contains the description, date, creator etc., and tagname^{} points to the relevant commit04:26
For a light-weight tag, tagname points to the commit itself, and there is no tagname^{}04:26
freestyl3r left04:26
psyl0n joined04:27
kent\n aha. I was wondering how to disambiguate annotated tags too =)04:27
HicksD left04:28
HicksD joined04:30
visy left04:30
daito left04:30
adiga left04:30
dyng joined04:31
Mez joined04:31
psyl0n left04:31
kermit left04:31
mattcen kent\n: git tag | while read -r name; do if [[ $(git cat-file -t "$name") = tag ]]; then weight=Heavy; else weight=Light; fi; echo "${weight}-weight: $name"; done04:32
kermit joined04:33
kent\n I'm guessing for-each-ref is the "new" form of ls-remote?04:33
ethlor joined04:35
devians joined04:35
mattcen Oh, that would work too apparently; I have't used that before.04:35
devians hey all. do submodules only exist on the branch that they are created?04:35
mattcen devians: Yes04:35
Until you merge that branch into another branch04:35
Their existence in a given branch is determined by the .gitmodule file at the root of the repo.04:36
Mez left04:36
ewnd9 left04:36
mattcen Sorry, .gitmodules, plural04:36
Mez joined04:36
geomyidae joined04:36
teran joined04:37
mattcen Actually, that last part may not strictly be true; I actually think there needs to be some other metadata stored in a commit for it to reference a commit of a submodule, but I'm not sure of the details04:37
JSharpe_ left04:38
dyng left04:38
ewnd9 joined04:38
devians mattcen I'm on an old version of git on this box, 1.7.1, so hopefully thats still correct04:39
ewnd9 left04:39
mattcen I expect that if that sort of thing changed, it'd break repos for a lot of people.04:40
ewnd9 joined04:40
devians I just know at some point the submodule handling changed04:40
mattcen Then you perhaps know more than I; I've not seen it change to my knowledge04:41
chuckharmston joined04:42
SebastianFlyte left04:42
oojacoboo joined04:43
mmcdaris left04:43
dreiss joined04:45
ewnd9 left04:45
Mez left04:46
dyng joined04:46
ewnd9 joined04:46
hoyang joined04:47
Mez joined04:47
AzizLight joined04:50
mike_af joined04:50
kevwil joined04:50
Vampire0 joined04:52
dsdeiz_ joined04:52
dsdeiz left04:53
ewnd9 left04:53
AzizLight left04:54
ewnd9 joined04:55
mike_af left04:55
dyng left04:56
kevwil left04:57
ewnd9 left04:57
oojacoboo left04:57
saurabh joined04:57
dyng joined04:57
ewnd9 joined04:58
saurabhGuest1510004:58
jxpx777 joined04:58
SebastianFlyte joined05:00
hyperboreean left05:01
greggroth joined05:02
redrocket joined05:02
Mez left05:03
Mez joined05:04
dsdeiz joined05:05
dsdeiz_ left05:05
ewnd9 left05:06
mmcdaris joined05:06
ethlor left05:08
phipes left05:09
yhager joined05:09
Watabou left05:09
phipes joined05:09
teran left05:09
chuckharmston left05:10
alezost joined05:10
chuckharmston joined05:10
cilly left05:12
Mez left05:12
SamB !broken reference05:12
gitinfo [!doesntwork] Sorry to hear it doesn't work, but how about some details? At this point we don't even know whether it did nothing, spit out an error message, or abducted your pet unicorn in a flying saucer. That makes it hard to troubleshoot – unicorn abduction requires a completely different solution than an error message, for instance. So, please be specific...05:12
SamB hmm, that is not what I was looking for05:12
Mez joined05:13
cilly joined05:13
mattcen !fix broken repo05:14
gitinfo [!fixup] So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!05:14
mattcen SamB: That one?05:14
phipes left05:14
chuckharmston left05:14
SamB I ran into a mention of something called a "broken" reference in refs.c05:15
decimad2 left05:15
dreiss left05:15
mk_qi left05:16
SamB grumbles about C's weak typing, and how that's NOT helping heap profiling at all ...05:16
Demego left05:19
Tommy[D] left05:19
petey left05:21
nicedice_ left05:21
devians left05:23
johnflux__ joined05:23
revyd joined05:23
enape_101 left05:24
dhruvasagar joined05:25
Mez left05:27
Mez joined05:28
daito joined05:28
mk_qi joined05:31
Tommy[D] joined05:32
irqq joined05:32
Mez left05:33
Mez joined05:34
ColKurtz left05:34
ManneW left05:34
nephyrin left05:34
nephyrin joined05:35
lun_ left05:37
beautifulmind joined05:37
yhager left05:38
Mez left05:38
Nicholas_Rishel joined05:38
g0bl1n left05:39
Mez joined05:39
m0viefreak left05:40
ariscop left05:40
lun_ joined05:40
kukks left05:42
DolphinDream left05:42
longbeach joined05:43
thiago left05:43
dhruvasagar left05:44
Mez left05:44
dyng left05:46
karavanjo joined05:46
ManneW joined05:48
dmarkham joined05:48
arvind_khadri left05:49
Mez joined05:50
Watabou joined05:50
longbeach left05:50
AzizLight joined05:50
zeroprofit joined05:51
zeroprofit left05:51
zequence joined05:52
dhruvasagar joined05:52
hahuang65 joined05:53
AzizLight left05:55
greggroth left05:56
madewokherd left05:57
dhruvasagar left05:58
dhruvasagar joined05:58
Mez left06:00
h0bbit_ joined06:00
Mez joined06:01
ir7466 joined06:01
tpollard left06:02
bbloom_ left06:05
Mez left06:06
Mez joined06:06
dhruvasagar left06:09
echo-area left06:10
dhruvasagar joined06:10
GT4066 joined06:12
echo-area joined06:12
psyl0n joined06:15
johnflux__ left06:15
echo-area left06:17
Mez left06:18
echo-area joined06:18
matanya left06:19
dik_dak joined06:19
tjbiddle left06:19
Mez joined06:19
psyl0n left06:19
Watabou left06:21
trusktr joined06:21
maleknet joined06:22
maleknet left06:22
JEEB joined06:23
Mez left06:24
Mez joined06:25
dhruvasa1ar joined06:25
chuckharmston joined06:25
dhruvasagar left06:27
PeterBooker left06:28
trusktr left06:28
misterpink left06:28
wrouesnel joined06:29
jargon joined06:29
yhager joined06:30
thiago joined06:31
decimad joined06:31
Mez left06:32
lbf1 left06:32
Mez joined06:33
JEEB left06:33
cff joined06:33
Watabou joined06:33
trusktr joined06:36
yhager left06:38
Mez left06:38
Mez joined06:39
irqq left06:39
mike_af joined06:39
dyng joined06:39
ThomasLocke joined06:40
bwreilly left06:41
iliketu__ joined06:42
zophy left06:43
asdfasdf left06:43
JEEB joined06:43
mishok13 joined06:44
mike_af left06:44
asdfasdf joined06:45
nitrix Yeah yeah, always pick on the language when it's actually the developer's fault.06:46
cybersphinx left06:46
Mez left06:46
bbloom joined06:47
Mez joined06:47
thiago left06:48
thiago joined06:49
pantsman joined06:50
SamB nitrix: hey, *I* didn't write git06:50
nitrix :>06:50
Zarthus joined06:50
AzizLight joined06:51
etcetera left06:53
ValicekB left06:53
gittish joined06:54
gittish left06:55
johnkevinmbasco joined06:55
subhojit777 joined06:55
AzizLight left06:56
Mez left06:57
Mez joined06:58
arvind_khadri joined06:58
babonk joined06:59
babonk how do I copy the files from a repo without regard to history/cloning?06:59
like I just want the files06:59
at the head of the branch06:59
ValicekB joined07:00
rjhunter babonk: `git archive` if you want to put things outside the repo07:01
babonk rjhunter: is this what people traditionally use if they want to start a project from a template in a repo?07:01
SamB no, people don't do that07:01
babonk im not trying to get a zip or a tar07:01
just want the starting setup for a new project, pulled from a repo07:01
Raging_Hog joined07:01
trusktr left07:02
glebihan left07:03
Nicholas_Rishel left07:03
stodan joined07:05
PaulCapestany left07:06
GODDOG joined07:07
ewnd9 joined07:08
daito left07:10
xrq` joined07:12
marthinal joined07:14
pantsman left07:15
Mez left07:15
dyng left07:18
twittig joined07:18
dyng joined07:19
GODDOG left07:20
mishok13 left07:21
daito joined07:21
petey joined07:22
Gamecubic_ left07:23
chuckharmston left07:23
joelrobichaud left07:25
revyd left07:26
matanya joined07:26
Mez joined07:27
petey left07:27
user258467 joined07:27
Vinnie1991 joined07:27
HelperW joined07:29
Vinnie1991 left07:30
thiago left07:33
j0ran joined07:33
dyng left07:34
etcetera joined07:36
Mez left07:36
dyng joined07:37
Hoksilato joined07:40
Mez joined07:43
Mez left07:43
Mez joined07:43
nnyk_ joined07:43
dyng left07:43
yuwang_ left07:46
j0ran left07:46
bunbury left07:46
dyng joined07:47
nnyk_ Hi, could someone give some pointers on a way to remove a blob with <hash> from my object database?07:47
dyng left07:47
etcetera left07:47
dr_lepper nnyk_: is it contained in a commit?07:47
yhager joined07:49
dyng joined07:49
lc0dd0cl joined07:50
arjun_ joined07:50
GeertV joined07:51
Tomylobo joined07:51
AzizLight joined07:52
_ikke_ nnyk_: !xy07:52
gitinfo nnyk_: Woah, slow down for a bit. Are you sure that you need to jump to that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective...07:52
cbreak-work joined07:53
mishok13 joined07:53
nnyk joined07:54
nnyk_ left07:54
Goplat left07:54
Mez left07:55
nnyk dr_lepper: yes its committed already07:55
papegaaij joined07:56
AzizLight left07:56
dr_lepper nnyk: then you'll have to remove it from the commit it has been introduced in and all the subsequent commits07:56
JStalin joined07:57
Cornelio_ joined07:57
xjiujiu_ joined07:58
nnyk dr_lepper: if i have the hash of the blob on the commits, what command removes it?07:58
JStalin hi, how can I remove one file from repository, so its not cloned everywhere (config file, with db access different on each machine)07:58
lbf joined07:58
_ikke_ !config07:59
gitinfo [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas07:59
nnyk JStalin: .gitignore07:59
_ikke_ nnyk: You need to rewrite history07:59
jnavila joined07:59
nnyk ?07:59
endiruna left07:59
Cornelio left07:59
dr_lepper nnyk: you would need some for of git filter-branch07:59
index-filter I believe08:00
_ikke_ filter-branch08:00
teran joined08:00
_ikke_ man git filter-branch08:00
gitinfo the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html08:00
xjiujiu left08:01
j0ran joined08:01
teran left08:01
teran joined08:01
nnyk _ikke_: tried rewriting with rebase -i... didnt change anything08:01
sabgenton joined08:01
nnyk goes off to read on filter-branch08:01
JStalin nnyk: hey, thx!08:01
JStalin left08:01
nnyk thanks dr_lepper _ikke_08:01
np08:02
user258467 hi, I have a testing branch and a master, I checkout the testing and I want the testing reflect exactly the master so I do git merge master but here it tells there are conflict how do I tell git to merge so testing is overwrite?08:02
rendar joined08:03
psyl0n joined08:03
sabgenton speaking of : git filter-branch08:04
Cannot rewrite branch(es) with a dirty working directory.08:04
Git 1.7.1 says this after cp -r original/ copy/08:04
Norm_ left08:04
moritz user258467: why have separate branches if they are supposed to look exactly he same?08:04
sabgenton do older versions of git detect inode change or something?08:04
h_kon joined08:04
user258467 moritz, that is not the question, I would reset my testing to the master and when I want to test some feature I go to testing but for the moment the branch needs to reflect the master08:05
sabgenton a simple checkout correct the problem but what an earth would cause that? even rsync -a still fails!08:05
moritz user258467: then man git-reset08:05
gitinfo user258467: the git-reset manpage is available at http://jk.gs/git-reset.html08:05
Mez joined08:06
Mez left08:06
Mez joined08:06
Vinnie1991 joined08:07
ir7466 hello.... I have an android project. the bin/ folder is on github08:07
kjellski joined08:07
ir7466 How do i remove the bin/ folder from github?08:07
qknight left08:07
psyl0n left08:08
moritz git rm bin/; git commit 'removed bin/'; git push08:08
pbrobst joined08:08
jceb_ joined08:08
Norrin left08:09
whaley left08:09
sabgenton basicly in git 1.7.1 for me copying the repo always results in a dirty copy , strangely08:09
dserodio left08:10
user258467 moritz ok thanks08:10
beautifulmind left08:10
ir7466 moritz, and then if I add bin/ to .gitignore it won't get re-added?08:10
pekster left08:10
Mapley left08:10
moritz ir7466: correct08:10
milli left08:11
alorence joined08:11
harobed_ joined08:11
ir7466 i'm sorry for the basic questions (as i've been using git mainly through UIs to date), but in git bash... in order to run the command you mentioned, how do I specify the repo?08:11
the repo that I want to remove bin/ from I mean08:11
thierryp joined08:11
pekster joined08:12
parshap left08:12
lb1a joined08:12
parshap joined08:12
lun_ left08:12
variousnefarious left08:12
variousnefarious joined08:12
rob_w joined08:13
yuwang_ joined08:13
_christoph_ joined08:13
whaley joined08:15
dserodio joined08:15
Mapley joined08:15
moritz ir7466: first you clone the repo, then you cd into the repo08:15
_christoph_ Hi, I am handling a svn directory via git-svn. Now the directory URL changed. I updated the URL in the svn-remote section of .git/config08:15
Mez left08:16
milli joined08:16
_christoph_ unfortunately I get the following error when executing git svn rebase now on master(synced to trunk before...):08:16
ir7466 moritz; in order to commit this in one hit, can I just do git rm bin/; ........... then edit .gitignore in a text editor08:16
then commit and push?08:16
_christoph_ Unable to determine upstream SVN information from working tree history08:16
ir7466 without touching eclipse at all?08:16
canton7 _christoph_, all sorts of pain. you can do a lot of history rewriting iirc, or clone afresh08:16
_christoph_, you may have noticed the git-svn-id: line in each commit message. well, yeah, that's causing the pain08:17
Mez joined08:17
_christoph_ canton7: If I clone I lose all my local branches ... :/08:17
canton7 _christoph_, do another git svn clone. add the old git-svn repo as a remote to the new one, and fetch your branches08:17
ir7466 moritz: git rm bin/ ........ "not removing bin recursively without -r"08:18
is it safe to do that?08:18
canton7 _christoph_, see https://git.wiki.kernel.org/index.php/GitSvnSwitch too08:18
thierryp left08:18
_christoph_ but they will then not be connected to the new trunk branch as you mention, that these svn-ids will change or?08:18
ir7466 git rm -r bin/08:18
?08:18
canton7 ir7466, that's a safety net to stop you accidentally deleting a whole folder when you only meant to delete a file08:19
ir7466 is it safe to do though?08:19
Zarthus left08:19
gua_ould joined08:19
canton7 _christoph_, then you rebase those fetched branches back onto the new git-svn trunk, and everything should just work fine. iirc the git-svn-id lines only appear on commits which have been dcommitted08:19
_christoph_ canton7: THX for the link08:19
Misan joined08:20
Gonzo89 joined08:21
gua_ould left08:22
xjiujiu_ left08:22
ir7466 what is the git command where you can see the remove repo you are working on?08:22
is it git remote -v?08:22
gua_ould joined08:22
moritz ir7466: !tias08:22
gitinfo ir7466: 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/tias.html may help with git-specific TIAS.08:22
xjiujiu joined08:23
Tomylobo left08:23
Gonzo89 Is it normal that Git Bash (Windows) show a different Time then cmd.exe/local time? Git Bash date returns "Mon Dec 9 08:18:05 GMT 2013" instead 09:23:30 UTC+1 which is my local time.08:24
pbrobst left08:24
chuckharmston joined08:24
_ikke_ Gonzo89: It means that no timezone has been set aparently08:25
canton7 a timezone which adds 5 minutes?08:26
hmm, that or those were copied 5 mins apart :P08:26
_ikke_ I was merely commenting on the GMT vs UTC+108:26
Gonzo89 Ah sorry minutes are correct .. just my fault problem is just the our different08:26
didn't find a way to setup the timezone08:27
for git bash08:27
kermit left08:28
mike_af joined08:28
lindenle joined08:29
chuckharmston left08:29
ir7466 left08:29
Mez left08:30
dyng_ joined08:30
dyng_ left08:30
dyng left08:30
dyng_ joined08:30
Mez joined08:31
jakob left08:32
jakob joined08:32
jakob left08:32
jakob joined08:33
jakob left08:33
johnflux__ joined08:33
jakob joined08:33
jakob left08:33
mike_af left08:33
SHyx0rmZ joined08:33
jakob joined08:33
jakob left08:33
nettoweb joined08:33
jakob joined08:33
jakob left08:33
jakob joined08:34
jakob left08:34
jakob joined08:34
jakob left08:34
jakob joined08:34
jakob left08:34
jakob joined08:34
jakob left08:34
sohail left08:34
jakob joined08:35
jakob left08:35
jakob joined08:35
jakob left08:35
jakob joined08:35
jakob left08:35
jakob joined08:35
jakob left08:35
jakob joined08:35
jakob left08:35
Mez left08:36
jakob joined08:36
jakob left08:36
Mez joined08:36
jakob joined08:36
_ikke_ try export TZ='Europe/Amsterdam'08:37
Gonzo89: ^08:37
Gonzo89 _ikke_: not working :(08:38
mlechner joined08:38
nettoweb left08:38
gittish joined08:39
_ikke_ http://code.google.com/p/msysgit/issues/detail?id=32208:39
mikecmpbll joined08:39
_ikke_ aparently an msys issue08:40
xjiujiu left08:40
lindenle left08:41
Gonzo89 _ikke_: thx08:42
_ikke_: good keyword found solution here: http://stackoverflow.com/questions/2563044/changing-timezone-in-msys08:42
xjiujiu joined08:42
SeySayux_ left08:42
Gonzo89 export TZ=CET-1CEST08:42
nettoweb joined08:42
_christoph_ left08:43
Imagineer2 left08:43
Plummer joined08:44
SHyx0rmZ left08:45
iliketu__ left08:46
dreiss joined08:46
dhruvasagar joined08:46
_ikke_ Gonzo89: nice08:47
m0ltar joined08:47
_ikke_ You have to place it in .bashrc or something to make it permanent08:48
dhruvasa1ar left08:48
SeySayux joined08:48
mikecmpbll left08:49
blast_hardcheese joined08:49
mattcen left08:49
juril joined08:49
Gonzo89 _ikke_: yes already did :)08:50
deryni left08:51
_ikke_ right08:51
delasteve joined08:51
VinceThePrince joined08:52
mattcen joined08:52
lavong joined08:53
VinceThePrince I want to upgrade oh my zsh but it keeps saying: annot pull with rebase: Your index contains uncommitted changes. So I did : git add . and git commit -a and still receiving the same message08:53
VinceThePrinceMacaveli08:55
Silmarilion joined08:55
timthelion joined08:56
Macaveli left08:57
kjellski left08:57
thierryp joined08:58
nettoweb left08:58
aChatir joined08:59
thierryp left08:59
aChatir left09:00
koda joined09:01
mikecmpbll joined09:02
netiul joined09:02
timthelion left09:02
dfanjul joined09:03
shruggar joined09:03
psoo joined09:06
iliketu__ joined09:06
iliketu__ left09:07
dkpi joined09:07
lbf so could someone please try http://pastebin.com/aT4K7mv6 ? i get "fatal: Unable to create '.../index.lock.lock' No such file or directory" and i don't know if it's a bug in git or i'm just doing something wrong09:08
Octalot joined09:08
hans_henrik left09:10
Macaveli joined09:10
lbf * i get ".../sub/.git/index.lock.lock", and indeed it doesn't exist, but why should it ? it's a submodule, .git is a file, not a directory09:11
Macaveli left09:11
_ikke_ lbf: Hmm, might be a bug where it doesn't follow the link09:12
johnflux__ Hey all09:12
_ikke_ but the double .lock.lock also doesn't seem correct09:12
hans_henrik joined09:12
johnflux__ when I "git rebase origin/next" it says Failed to merge in the changes.09:13
etc09:13
but "git mergetool" says that there are no files to merge09:13
but git status says that I have an unmerged file09:13
TomyWork joined09:13
lbf _ikke_: it does look quite strange indeed ..09:15
_ikke_ might want to take it to the !mailing_list09:15
gitinfo The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist09:15
lbf _ikke_: yeah, i was thinking of doing that, just wanted to see if others can reproduce the problem first09:16
harish left09:17
konadr joined09:18
_ikke_ lbf: I don't get any error09:18
lbf _ikke_: k, git version ?09:18
somedude11101 joined09:19
halu joined09:19
somedude11101 so my git has stopped working again...09:19
johnflux__ okay, if I can't use git mergetool, how can I do this manually? git status tells me "both modified" some file - how can I see both modifications?09:19
_ikke_ lbf: https://gist.github.com/Ikke/095f561302946247db5909:19
johnflux__: If you check the file, you'll see conflict markers like <<<<<<<<<<<09:19
dmarkham left09:20
lbf _ikke_: thanks ! .. i'm guessing it's either msys specific, or only specific to certain git versions, or maybe just me then ..09:20
somedude11101 there will also be HEAD09:20
and the branch names09:21
_Qman joined09:21
somedude11101 search the file for head09:21
also if you use lets say an IDE like Eclipse that does Syntax checking you'll see errors as its well a syntax error09:21
_ikke_ I have 1.8.4.209:21
Kayra joined09:22
nnyk left09:22
veebers left09:22
dkpi left09:22
matteo joined09:22
lbf _ikke_: yeah mine was 1.8.4 so it seems msys specific09:22
fairuz left09:22
beautifulmind joined09:22
kewah joined09:23
petey joined09:23
WaReZ joined09:23
somedude11101 so if I run git I get Git Has stopped working for Windows09:24
rethus joined09:24
somedude11101 this has been happening several times recently09:24
I recently to fix it but I would really like to know why this happens09:24
it stops randomly09:24
nettoweb joined09:25
somedude11101 I thought maybe AVG but I couldn't find the bitguard.dll that allegedly breaks msysgit09:25
_ikke_ What version of git are you using for windows?09:25
chuckharmston joined09:25
somedude11101 Also seems its broken cygwin too09:25
_ikke_ cygwin09:25
somedude11101 msysgit09:25
TLGreg joined09:26
somedude11101 I installed cygwin in case it broke again because I have a huge fucking project and I don't have time for this shit09:26
hoschi joined09:26
somedude11101 broke in powershell09:26
and cygwin is all kinds of fucked09:26
I'd reinstall Windows, but like I said, all kinds of fucked on this project and finals09:26
bsdbeard joined09:27
timthelion joined09:27
petey left09:28
somedude11101 left09:28
bsdbeard I want to backup some big local git repos from one HDD to another, any idea if it's faster to clone them or use rsync?09:28
Kayra left09:29
chuckharmston left09:29
johnflux__ _ikke_: I don't have any conflict markers09:30
dreiss left09:31
Sendoushi joined09:31
_ikke_ bsdbeard: How big is the repo?09:32
bsdbeard cd src09:32
oops09:32
hoschi left09:32
Than left09:33
bsdbeard _ikke_, 870 MB09:34
_ikke_ rsync just transfers each file as they currently are, git clone will create a packfile and transfer that.09:35
I think git clone will be faster (even if it has to create a packfile)09:35
bsdbeard _ikke_, alright, thanks for the info :)09:36
osse so equivalent to git gc; rsync? :)09:37
_ikke_ yes, I guess so, though, rsync might transfer more (loose objects)09:37
Nevik would it be possible for git to tell rsync what to transfer? (and if so, would it then gain anything from it)09:42
hmmm09:42
threesome joined09:43
_ikke_ Why not use git clone then?09:43
Nevik git could possibly create a bundle/archive to give rsync, on which it then could do resumable file transfer09:43
_ikke_: ^09:43
resumability09:43
_ikke_ okay09:43
mf_ joined09:43
_ikke_ You can use git bundle to create a bundle09:43
bsdbeard Nevik, arent clones resumable?09:44
_ikke_ nope09:44
packfiles are created in memory09:44
Nevik resumable transfer (cloning/fetching/pushing) is something that would be useful for many users (esp when combining big repos with unreliable remotes)09:44
_ikke_ There is a thread going on at the mailing list about that09:44
Nevik ah09:44
thought it might09:45
bsdbeard I'm kind of surprised it's not already implemented :o09:45
Nevik it's been brought up in #github09:45
basically whenever their fs cluster takes a crap09:45
bsdbeard: the majority of transfers seems to be reliable enough :P09:45
sabgenton left09:45
Nevik i.e. atm cost outweighs (perceived) benefit09:45
of course, there's also details to straighten out about what/how to implement it in the first place09:46
_ikke_ git creates a packfile on-the-fly with only the objects the remote is still missing09:46
Nevik indeed09:46
_ikke_ And with objects that are reachable09:46
karupanerurazz_karupanerura09:46
jnavila left09:47
Nevik i dont know too much about how git interacts with its transport protocols, but would something like this work: git communicates with remote (e.g. via ssh) to negotiate what objects to pack, then create that pack file (writing it to disk) and invokes rsync (signaling the remote to do the same)09:47
then rsync takes over the transfer, using the open ssh pipe09:47
moritz sounds complicated09:48
Nevik just thinking out loud though :P09:48
bsdbeard Would you even need to write it to disk? You could use some RAM filesystem09:48
moritz first, the "pack file" could be just in-memory09:48
Nevik bsdbeard: but then it might be lost if the sending end dies09:48
_ikke_ bsdbeard: yes, but that would be transparent to git09:48
Nevik (it might also be lost on the fs, but that's less likely)09:48
moritz second, since pack files are already compressed, there's not much use in using rsync09:48
bsdbeard Nevik, Keep track of how much content was sent every 100kb or so, then it won't matter09:48
like a journaling system09:49
Nevik moritz: we've already established that the main advantage of rsync is that it makes the transfer resumable09:49
bsdbeard: true enough, i guess09:49
_ikke_ moritz: resumability I guess.09:49
moritz I'm not sure if that warrants the extra complexity09:49
Nevik as weve also mentioned09:49
_ikke_ moritz: To some people it might be09:49
bsdbeard Guys you'll get so much street cred if you implement this09:50
Nevik atm enough people have reliable transfers, so it's not worth the effort (yet)09:50
moritz should read the backlog more thoroughly09:50
Nevik indeed ;)09:50
daito left09:51
psyl0n joined09:51
daito joined09:52
FerreusR joined09:52
tty3 left09:52
johnflux joined09:52
tty3 joined09:52
jkremser joined09:52
jkremser left09:52
jkremser joined09:52
Dudalus joined09:53
Silmarilion left09:55
irqq joined09:55
daito left09:55
johnflux__ left09:56
psyl0n left09:56
jnavila joined09:56
timthelion left09:57
achadwick joined09:57
achadwick left09:57
netj_ left09:58
netj joined09:59
robinsmidsrod left09:59
robinsmidsrod joined09:59
robinsmidsrod left09:59
hyperair left10:00
Norm_ joined10:01
Norrin joined10:01
Norrin left10:01
Norrin joined10:01
Norrin left10:01
robinsmidsrod joined10:01
weiyang left10:02
daito joined10:04
zmansiv left10:04
rjc left10:05
xlinkz0 joined10:05
nick_h left10:06
nick_h joined10:06
Spyro left10:06
gua_ould left10:06
drbean left10:06
achadwick joined10:07
jeffhung joined10:08
Huevos joined10:08
hellome left10:08
daito left10:08
eijk_ joined10:08
Orbitrix left10:09
el3ctron left10:10
Spyro joined10:10
monokrome left10:10
rjc joined10:10
so left10:10
gmac joined10:11
zmansiv joined10:11
mdiers joined10:11
raonyguimaraes joined10:12
lun_ joined10:13
drbean joined10:13
johnflux when I do "git log", can I show the full path or something? The trouble is that I'm recursively doing "git log" on lots of git repos, and there's no way to see which repo i'm currently on10:13
johnkevinmbasco left10:15
timthelion joined10:16
psyl0n joined10:16
_ikke_ johnflux: my PS1 shows the PWD on the right side10:17
ewnd9 left10:17
mike_af joined10:17
lun_ left10:17
johnflux left10:18
johnflux joined10:19
johnflux left10:19
johnflux joined10:19
nettoweb left10:19
KeridosKeridos_off10:19
kennon joined10:20
Chaser joined10:20
so joined10:20
dyng_ left10:21
FerreusR left10:21
mike_af left10:22
monokrome joined10:22
bsdbeard left10:22
jaseemabid joined10:23
c0ded joined10:24
mk_io joined10:24
FerreusR joined10:25
chuckharmston joined10:25
rafeca joined10:26
hyperair joined10:26
Hoksilato left10:27
Silmarilion joined10:27
mk_qi left10:28
abelsiqueira joined10:28
xlinkz0 msysgit is pretty sweet, it even has support for vi mode10:29
johnflux left10:29
xlinkz0 but is it possible to configure it so that the cursor changes when in normal mode? :D10:29
johnflux_ joined10:29
chuckharmston left10:30
leakybuckit joined10:30
SebastianFlyte left10:30
bob14 joined10:30
pengunix joined10:31
thierryp joined10:31
arjun_ left10:33
harish joined10:34
johnkevinmbasco joined10:34
YoungFrog joined10:34
andschwa` left10:37
moritz isn't that a vim setting?10:37
or wait, does it use windows' dumb terminal?10:37
Sylario_ left10:39
Sylario joined10:39
Kayra joined10:40
mk_qi joined10:41
koda sigh10:43
Pullphinger left10:43
koda i did a mess with the line handling10:43
i have autocrlf = true10:43
in .gitconfig10:43
(which i didn't have before10:44
calmdev joined10:44
koda and after a commit10:44
all my unix script have ^M at the end10:44
and they do not work anymore10:44
trusktr joined10:44
jaseemabid left10:44
echo-area left10:44
SebastianFlyte joined10:44
koda what can i do to rectify this?10:44
vldmld joined10:45
xlinkz0 moritz: it does use windows's default terminal emulator however that does support atleast two cursor types10:45
Kayra left10:45
Spyro left10:45
qdb joined10:45
qdb hi10:45
xlinkz0 in vim atleas there's special ones for normal/insert10:45
Keridos_offKeridos10:45
luc_ left10:46
arjun_ joined10:46
koda also if i change it to 'false' now all files will be prompted to change10:47
Vampire0_ joined10:48
qdb i have made wrong commit. then i have rolled it back with windows github program. then i pressed sync. but it cannot do it , says open shell to fix it. then i have searched in google "git rollback commit" and opened http://stackoverflow.com/questions/927358/how-to-undo-the-last-git-commit and see "git revert HEAD" and try it in shell , it says to me :10:48
fairuz1 joined10:48
fairuz1 left10:48
bob14 left10:49
qdb error: Your local changes to the following files would be overwritten by merge: index2.php Please, commit your changes or stash them before you can merge. Aborting10:49
harobed_ left10:49
h_kon left10:49
moritz qdb: so, it already gives you instructions what to do. Follow them.10:50
yhager left10:50
Vampire0 left10:50
qdb moritz ok i ll try10:50
dyng joined10:51
qdb moritz: done , but my editor says that my file is changed . that is not big problem.10:52
harobed joined10:53
h_kon joined10:54
dyng left10:55
dyng joined10:55
qdb it has been synced without errors10:56
fandikurnia01 left10:57
qdb but i recommited rolled back commit with other name : "test", and revert has appeared in github site as "revert "test" "10:57
subhojit777 left10:58
qdb are commits in github site are undeletable? only can be reverted ? not possible to silently delete ?11:00
timthelion left11:00
sohail joined11:00
adiga joined11:01
qdb moritz11:01
nbrosnahan joined11:01
c0ded oh yea deff gonna need a crash course to remember all this shit11:01
been over a yrs ince i was dev/code working on projects with github11:01
Vampire0_ left11:02
qdb and thank you11:02
c0ded lol forgot all the little stuff to do for commits and setting up reops and stuff11:02
mikecmpbll left11:02
c0ded when its time im sure ill be asking for help too guys hehe :)11:02
mikecmpbll joined11:02
qdb i have created near 4 repos and every time i had read instruction , c0ded11:03
oh .. just "read" ... past simple ...11:04
nobody answers to me11:04
marhaban joined11:04
qdb i will not wait, will leave this commit and revert11:05
gain joined11:05
LimeBlast joined11:05
nbrosnahan qdb, what's the question?11:05
f8ldf8l11:06
Vampire0 joined11:06
qdb i will search that in google ..11:06
nbrosnahan:11:06
gain hi all, when I checkout to a hash, how can I return to the last commit?11:06
qdb are commits in github site are undeletable? only can be reverted ? not possible to silently delete ?11:06
gain now I've scrolled my bash finding the last hash and git checkout <hash>... but if I haven't the last commit hash, how can I see it?11:07
davividal joined11:07
nbrosnahan Sorry, don't know.11:07
Might try a git rebase -i and see what you can expunge. do it on a test repo though.11:08
SebastianFlyte left11:09
nbrosnahan left11:09
gain maybe I've foud: git checkout branchname... it was so simple... :D11:09
qdb_ joined11:09
trusktr left11:10
h_kon left11:10
gain 'cause git checkout <lasthash> say I'm not on any branch... so the correct way is git checkout branchname, I think..11:10
subhojit777 joined11:11
h_kon joined11:11
qdb left11:11
qdb_qdb11:11
qdb thank you11:11
dik_dak left11:11
AzizLight joined11:16
qdb are commits in github site undeletable? only can be reverted ? not possible to silently delete ?11:16
ewnd9 joined11:18
ChrisAnn joined11:19
moritz you can push with --force to get rid of the remote commits11:19
qdb thank you . i searched what is remote commit and found http://christoph.ruegg.name/blog/git-howto-revert-a-commit-already-pushed-to-a-remote-reposit.html11:21
gittish left11:22
daito joined11:24
petey joined11:24
abelsiqueira left11:24
andschwa` joined11:25
chuckharmston joined11:25
petey left11:28
daito left11:28
_5kg left11:28
jackneill joined11:28
chuckharmston left11:30
Advocation joined11:30
the_cybersphinx joined11:31
marhaban left11:31
d8bhatta joined11:31
Watabou left11:32
dhruvasagar left11:34
d8bhatta left11:36
dhruvasagar joined11:37
impaktor left11:39
subhojit777 left11:39
gittish joined11:39
zophy joined11:40
h_kon left11:40
lun_ joined11:40
lavong left11:41
teran left11:42
gittish left11:42
teran joined11:42
xlinkz0 left11:44
calmdev left11:45
mmcdaris left11:47
mmcdaris joined11:48
dhruvasagar left11:50
hs366 joined11:50
subhojit777 joined11:50
qdb i have managed to delete them11:51
rolled back in gui then git push origin master -f11:51
dhruvasagar joined11:51
qdb left11:52
carbon joined11:52
oneeyerows joined11:53
zhost joined11:53
thevishy joined11:54
andschwa` left11:57
Guest563 joined11:57
Guest563 left11:58
SicoWork joined11:58
dort joined11:59
Gonzo89 Looking for a solution to disable "LF will be replaced..." warnings I noticed there is no clarity of using "core.autocrlf=true" or not. Should I rather use ".gitattributes"? (Windows/Linux environment)11:59
_ikke_ Gonzo89: !crlf12:01
gitinfo Gonzo89: to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/12:01
nettoweb joined12:01
timthelion joined12:02
tma996 joined12:02
dort left12:02
TomyWork left12:02
dort joined12:03
Gonzo89 _ikke_: okay thx12:03
abelsiqueira joined12:05
mike_af joined12:06
AzizLight left12:06
lavong joined12:07
dort left12:07
JEEB left12:07
eletuchy_ left12:07
User458764 joined12:08
eletuchy joined12:08
xlinkz0 joined12:08
dort joined12:08
eletuchy left12:08
eletuchy joined12:08
nettoweb left12:09
JEEB joined12:09
mike_af left12:10
kewah left12:11
xjiujiu left12:13
xjiujiu joined12:14
Guest563 joined12:15
fairuz joined12:16
TomyWork joined12:16
kewah joined12:16
dort left12:17
vtunka joined12:17
davividal left12:18
cilly left12:18
dsdeiz_ joined12:20
dsdeiz left12:22
TomyWork left12:22
cilly joined12:23
joel_falcou joined12:23
beautifulmind left12:23
blinkdesign joined12:23
dort joined12:24
timthelion left12:24
Gamecubic joined12:24
Guest15100 left12:24
chuckharmston joined12:25
dsdeiz_ left12:25
davividal joined12:26
arjun_ left12:26
User458764 left12:27
psyl0n left12:28
hellopat_ joined12:29
psyl0n joined12:29
DoniRS joined12:30
chuckharmston left12:30
tvw joined12:31
psyl0n left12:31
cilly left12:31
dort left12:31
psyl0n joined12:31
hellopat left12:32
xlinkz0 left12:32
ariscop joined12:32
Fandekasp left12:33
Phillemann joined12:34
hellopat_ left12:34
Phillemann I'd like to merge branch A into B, but ignore all changes in a specific file and keep B's version of the file.12:34
Any ideas on how to do that?12:35
_ikke_ Phillemann: That's called an evil merge12:36
It's possible, but not really recommended12:36
Phillemann I understand.12:37
_ikke_ suspects !config is applicable12:37
_ikke_ if gitinfo is cooperative12:37
Phillemann So the simplest thing would be to copy the file to a temporary location and copy it back. ;)12:37
xlinkz0 joined12:37
YoungFrog probably !config in PRIVMSG and not in ACTION.12:37
gitinfo [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas12:37
Phillemann Luckily, it's just one file...12:37
YoungFrog Phillemann: I would merge as usual, then checkout B's version of the file and amend. Probably inefficient, though, but I'm too ignorant to know better.12:38
_ikke_ YoungFrog: Nah, gitinfo just has lag12:38
Phillemann: You don't have to copy it, you can just checkout the file12:38
YoungFrog _ikke_: ok12:38
_ikke_ YoungFrog: Or even make a separate commit for it, so everybody knows what happened12:38
Phillemann Hmmmmm12:38
_ikke_ Phillemann: ^12:38
teran left12:38
YoungFrog yeah, that makes more sense12:39
KeridosKeridos_off12:39
Phillemann I suppose that's the best, yeah. Thanks. :)12:39
YoungFrog I can even s/more//12:39
nettoweb joined12:39
LionKing joined12:39
sohail left12:39
johnflux__ joined12:40
johnflux_ left12:40
wrouesnel left12:40
TomyWork joined12:42
b3tamax joined12:42
xjiujiu_ joined12:44
kewah left12:45
vldmld left12:45
dorohoro joined12:45
arjun_ joined12:47
xjiujiu left12:47
dorohoro left12:47
kewah joined12:47
luser0 joined12:49
qknight joined12:50
dcpc007 joined12:50
decimad left12:51
Fandekasp joined12:51
luser0 left12:52
fRAiLtY- joined12:52
ewnd9 left12:52
ewnd9 joined12:54
Spyro joined12:55
el3ctron_ joined12:55
zsolti joined12:55
decimad joined12:56
h_kon joined12:57
smashwilson joined12:58
dyng left12:59
mintuz joined13:00
Etheco joined13:00
ewnd9 left13:01
fahadash How do I add something to an existing repository which is already cloned at a local directory other than the directory that has stuff to add ?13:01
mikecmpbll left13:02
mintuz left13:03
Pullphinger joined13:03
mintuz joined13:03
Cornelio_ left13:04
halu left13:04
TomyWork left13:05
txomon|home joined13:05
xlinkz0 left13:05
HelperW left13:06
_ikke_ fahadash: I don't understand your question13:06
zumba_addict left13:06
tomreyn joined13:07
fahadash Me neither, I am hung over around this time :)13:07
xpe joined13:07
fahadash I have a repo cloned at my local drive at this location /home/fahadash/somelocation, now I have some files that I want to add to that repo- at /home/fahadash/path/to/newfiles13:08
carbon left13:08
Gavrisimo joined13:08
mintuz left13:08
carbon joined13:09
LionKing fahadash: and path/to/newfiles is not a subdirectory of somelocation?13:09
g3orge joined13:09
YoungFrog left13:09
fahadash no13:09
_ikke_ Just move those files there?13:10
fahadash We can't keep files at two places ?13:10
_ikke_ no13:10
fahadash ok13:10
LionKing fahadash: If they do not have a common (grand/great) parent, no13:11
xjiujiu_ left13:12
markovh left13:12
carbon left13:12
Gamecubic left13:13
GT4066 left13:13
Guest563 left13:13
xjiujiu joined13:13
HelperW joined13:13
Cromulent joined13:14
fightback joined13:14
Gamecubic joined13:14
Happzz hi13:15
i have this in my post-receive: git log --pretty=%h -n 1 > /usr/local/www/.gitversion13:16
if i do it manually while being in the bare git repo, it works13:16
the post-receive hook doesn't seem to be doing it. how can i debug that?13:16
mintuz joined13:16
marhaban joined13:17
ewnd9 joined13:17
GODDOG joined13:17
Sonderblade joined13:17
echo-area joined13:17
cannonball joined13:17
carbon joined13:17
Sonderblade left13:17
Fandekasp left13:17
Sonderblade joined13:18
_Vi left13:18
Advocation left13:20
mudmaster joined13:21
xlinkz0 joined13:21
babonk_ joined13:22
babonk_ left13:22
babonk_ joined13:22
calcifea left13:22
breakingthings joined13:22
calcifea_ joined13:22
Stygia joined13:22
Happzz nvm it wasn't +x13:23
Plummer left13:23
babonk left13:23
edwardly left13:23
mudmaste_ left13:23
h34d3r left13:23
dr_lepper joined13:23
midnightmagic_ joined13:23
babonk_babonk13:23
mlechner left13:23
arvind_khadri left13:23
cehteh left13:23
mlechner joined13:23
cehteh joined13:23
arvind_khadri joined13:23
h34d3r- joined13:24
kent\n_ joined13:24
edwardly joined13:24
Someguy123 joined13:25
petey joined13:25
Cromulent left13:25
chuckharmston joined13:25
kent\n left13:26
D-Boy joined13:27
GODDOG left13:28
calcifea_ left13:28
petey left13:29
smolyn joined13:30
markovh joined13:30
chuckharmston left13:30
xlinkz0_ joined13:30
bunbury joined13:31
richgilbank joined13:31
raonyguimaraes left13:32
xlinkz0 left13:33
smolyn hello git experts-- i have a question about rebasing. I'm doing a "git rebase --onto newbase newbase topic". topic has been alive a long time. Say I have a file A in topic that does NOT exist in newbase (or the common base)... is there a way to have rebase just sort of ignore all the intermediate conflicts/steps? I find I'm having to spend a long time fixing conflicts I already fixed long ago. I just want it to ffwd to the version in HEAD of13:33
topic. There's no chance it's colliding with newbase since it's not in newbase.13:33
scientes joined13:33
YoungFrog joined13:33
Acidnerd1 left13:34
Advocation joined13:35
xlinkz0 joined13:35
_5kg joined13:36
subhojit777 left13:36
acharlieh left13:37
richgilbank left13:37
xlinkz0_ left13:38
tmcmahon joined13:38
StarFire_ joined13:39
kevwil joined13:39
Pyrogerg left13:40
Gonzo89 left13:41
LionKing left13:41
hyperboreean joined13:41
johnkevinmbasco left13:41
Pyrogerg joined13:42
chuckharmston joined13:43
Guest26621 joined13:43
mikecmpbll joined13:44
austincheney_ joined13:45
maveneagle joined13:48
DolphinDream joined13:48
Joshy joined13:49
Joshy Guys, my names Josh. I released a MMORPG on the 5th called Helbreath. I would love your feedback on the website and the game its self >> http://hbserver.org13:49
Joshy left13:49
_Vi joined13:49
ewnd9 left13:49
mizu_no_oto joined13:52
spudz_ left13:52
fightback left13:54
gittish joined13:54
Gavrisimo left13:55
mike_af joined13:55
oneeyerows left13:55
gittish left13:55
karavanjo left13:57
d8bhatta joined13:58
HelperW left13:58
Advocation left13:58
spudz joined13:58
neo1691 joined13:59
mike_af left14:00
dsdeiz joined14:01
renatow joined14:01
neo1691 Hey guys i have got three videos of git. 1) talk by Scott Chacon 2) Talk by Jessica Kerr 3) Randall Schwartz which one should a beginner to git watch first.14:01
PaulCapestany joined14:01
hellopat joined14:02
decotii joined14:03
krasnus joined14:03
scampbell joined14:04
m0viefreak joined14:06
nettoweb left14:06
dyng joined14:06
g105b joined14:08
tjbiddle joined14:10
gittish joined14:11
Cromulent joined14:11
Acidnerd joined14:14
Guest92191Caius14:15
waruii joined14:15
dAnjou joined14:16
g105b What command can I use to lose any files that shouldn't be present in the repository? As if I remove the whole directory and clone it again14:16
spb git clean14:17
ciaranm git clean14:17
jerius joined14:17
ustunozgur joined14:17
erichynds joined14:17
mk_qi left14:17
g105b Nice one - was wrestling with git reset, didn't know clean14:17
maveneagle left14:18
waruii I try to partition a repo with some 30k commits and planned to clone it and delete files from the respective partition with git-filter-branch ... however nothing seems to have changed ....14:18
g105b Hmm, I'm still getting `The following untracked working tree files would be overwritten by checkout`14:18
dAnjou hi, i have a string in my code that doesn't seem to be used anywhere but maybe it was used some time ago. can i search in the git "history" somehow?14:19
Dudalus left14:19
rafeca left14:19
swaechter joined14:21
waruii dAnjou: try `git log -S string`14:21
timthelion joined14:21
waruii anyone here has removed a lot of files from a repo?`14:21
sohail joined14:21
neo1691 left14:22
rafeca joined14:22
kevwil left14:22
dAnjou waruii: that gives only a log14:22
waruii dAnjou: what do you want instead?14:23
dAnjou the actual line and file14:23
liamkeily joined14:24
pzl joined14:24
j416_ joined14:24
dAnjou i guess this is it: http://stackoverflow.com/questions/9522852/how-can-i-search-a-word-in-git-repo-over-the-whole-history14:24
j416 left14:25
FortySix2 joined14:26
linduxed left14:26
dort joined14:26
waruii dAnjou: for me that outputs every tree containing that word. so if the string lived through five commits you'll get five lines of output14:27
dhruvasagar left14:27
dort left14:28
dort joined14:28
d8bhatta left14:28
dAnjou that's alright14:28
Bitgod joined14:28
waruii in that case, there you go ;)14:28
Bitgod question (w/ bitbucket)14:28
i have a repo named qoffice_lite14:29
nettoweb joined14:29
Bitgod i want two versions, x86 and x6414:29
would those be considered branches?14:29
PerlPilotPerlJam14:29
m0ltar left14:29
gnoel joined14:30
KillYourTV left14:30
sqz if I expect merge conflicts, how can I forcefully pull in a newer branch (bruteforce) ?14:32
as in it overwrites always with the newer branch files14:32
m0ltar joined14:33
j0ran left14:33
KillYourTV joined14:33
HelperW joined14:34
g3orge left14:34
Dougie187 joined14:34
Bitgod anyone???14:36
Phillemann left14:36
dhruvasagar joined14:36
jasonroyle joined14:37
moritz Bitgod: the usually approach would be to keep them in the same branch14:37
calcifea_ joined14:37
moritz Bitgod: and decide at configure time what platform to build for14:37
because you'll probably have a lot of logic that is platform independent, and you want changes to that logic to go into both versions by default14:38
and branches aren't well suited for that14:38
ColKurtz joined14:39
Roots47 joined14:41
iamjarvo_ joined14:41
grawity sqz: merge with -X theirs14:41
sqz: or, if you want to discard your local history, reset --hard to the desired commit instead of merging14:41
xlinkz0 left14:42
b3tamax left14:43
Gavrisimo joined14:43
Pyrogerg left14:43
Bitgod okay14:43
well i only do Windows14:44
xjiujiu left14:44
Xiti`Xiti14:44
Gavrisimo left14:44
Kayra joined14:44
DolpheenDream joined14:45
mk_io left14:45
davidfic left14:45
acharlieh joined14:45
g105b left14:46
g105b joined14:47
xlinkz0 joined14:47
bwreilly joined14:47
iamjarvo_ left14:48
brotspinne joined14:48
tmcmahon left14:48
brotspinne hello. is there a way to call `git for-each-ref` on a remote repo?14:48
_ikke_ Nope14:49
brotspinne: There is ls-remote though14:49
calcifea_calcifea14:49
brotspinne _ikke_: I want to do something like this: git for-each-ref --sort=-taggerdate --format='%(refname:short)' 'refs/tags/someprefix-*' --count 114:50
b3tamax joined14:50
dxdt joined14:50
neo1691 joined14:50
nettoweb left14:50
brewmast1r joined14:50
ColKurtz left14:51
brotspinne _ikke_: I want the tag or the commit the tag is pointing to with a tag prefix but sorted by tagger date14:51
_ikke_ brotspinne: Like I said, for-each-ref is not possible over the git protocol, only ls-remote. If you want that, you need to use ssh14:51
brotspinne _ikke_: is this possible with ls-remote?14:51
_ikke_ Nope, it can only show what refs there are14:51
bwreilly left14:52
brotspinne ok14:52
MJaoune joined14:52
brotspinne thanks!14:52
MJaoune anyone familiar with this problem? fatal: unable to access '<repo url>': SSL certificate problem: self signed certificate in certificate chain14:53
mklappstuhl joined14:53
brewmast1r i just got some git weirdness: i had a clean working tree, then i checked out another branch, and the working tree is dirty, full of changes14:53
neo1691 left14:53
g0bl1n joined14:53
snuffeluffegus joined14:53
brewmast1r i would expect the tree to be clean after a git checkout to a different branch14:53
rchavik left14:54
waruii was the branch new?14:54
brewmast1r no14:54
scampbell left14:54
_ikke_ MJaoune: Isn't the message quite clear?14:54
dhruvasa1ar joined14:54
MJaoune _ikke_: umm no... not for me at least14:55
epta left14:55
MJaoune _ikki_: I am using repo.or.cz btw14:55
waruii brewmast1r: i guess the files were ignored in your other branch and in the "new old" one they are not14:55
_ikke_ MJaoune: They have a self-signed certificate14:55
diegoviola joined14:56
MJaoune _ikke_: i was able to push before, but after setting up a new git repo i now get this message14:56
i added my self to the admin list14:56
brewmast1r waruii: i wish that were the case14:56
brotspinne left14:56
MJaoune to be able to push14:56
_ikke_ MJaoune: This is not a git issue14:56
dhruvasagar left14:56
_ikke_ MJaoune: It's an https issue14:56
MJaoune: Did you use an https:// url?14:57
MJaoune _ikke_: Yes14:57
_ikke_: they made the https the read and write push url14:57
brewmast1r waruii: files that were on the branch that I was on are now showing up in the "new old" branch as "deleted:"14:57
MJaoune _ikke_: if i use http its read only14:57
_ikke_ MJaoune: But they don't provide a good ssl certificate14:58
neo1691 joined14:58
_ikke_ MJaoune: Not one automatically trusted by your system14:58
MJaoune _ikke_: ah i see14:58
_ikke_: how can i trust it then14:58
?14:58
_ikke_ You have to add their root certificate to your list of trusted certificates, or you tell curl to not verify certificates comming from repo.or.cz14:59
g105b left15:00
MJaoune here's their root cert http://repo.or.cz/rorcz_root_cert.pem15:00
cn28h joined15:00
_ikke_ MJaoune: But the latter means someone can easily pretend they're repo.or.cz15:00
MJaoune i configured it correctly15:00
_ikke_ How?15:00
rafeca left15:00
g105b joined15:00
MJaoune git config --global http.https://repo.or.cz.sslCAInfo \15:00
$HOME/.ssh/rorcz_root_cert.pem15:00
aro_ joined15:00
Vinnie1991 left15:01
mika left15:01
flippo left15:01
aartist left15:01
jkyle left15:01
brainproxy left15:01
Zeelot left15:01
vocifer left15:01
lacrosse left15:01
awx_ left15:01
sneakret_ left15:01
da5id left15:01
ESphynx left15:01
shennyg left15:01
tchan left15:01
potatoe left15:01
cods left15:01
frogonwheels left15:01
Gizmokid2005 left15:01
iAsterisk left15:01
jon- left15:01
brewmast1r left15:01
thegorn_ left15:01
ribasushi left15:01
burzum` left15:01
ToothlessGear left15:01
austincheney left15:01
aro left15:01
Kulrak left15:01
Exodist left15:01
maxorator left15:01
dxdt left15:01
ESphynx joined15:01
PaulCapestany left15:01
ToothlessGear joined15:02
thiago joined15:02
ToothlessGear left15:02
ToothlessGear joined15:02
MJaoune _ikke_: still here?15:02
dhruvasa1ar left15:02
skorgon left15:02
_ikke_ MJaoune: Yes, hold on15:02
lacrosse joined15:03
brainproxy joined15:03
mike_af joined15:03
potatoe joined15:03
rafeca joined15:03
mizu_no_oto left15:03
snuffeluffegus left15:03
calmdev joined15:03
austincheney joined15:03
jkyle joined15:03
frogonwheels joined15:03
cods joined15:04
_ikke_ MJaoune: You have to convert the PEM file to CRT aparently15:04
tomgabbi joined15:04
calmdev left15:04
Hello71 wat15:04
Zeelot joined15:04
_ikke_ openssl x509 -in rorcz_root_cert.pem -inform PEM -out rorcz_root_cert.crt -outform DER15:04
shruggar left15:05
MJaoune _ikke_: Just fixed it15:05
_ikke_: I used the git config http.sslCert $HOME/certs/rorcz_test_user_1.pem15:05
mika joined15:05
brewmaster joined15:05
MJaoune instead of using git config --global http.https://repo.or.cz.sslCert \15:06
$HOME/certs/rorcz_test_user_1.pem15:06
_ikke_: Thanks for trying to help :) Really appreciated15:06
g105b left15:06
staticshock joined15:06
h_kon left15:06
staticshock anyone know how full-screen a diff in tig?15:06
MJaoune _ikke_: you actually gave me the hint that the problem was with the certificate fiels15:06
files*15:06
apetresc left15:06
g105b joined15:07
Gizmokid2005 joined15:07
grawity staticshock: the 'maximize' key is O15:07
staticshock: see tigmanual(7)15:07
staticshock grawity: thanks!15:07
_ikke_ MJaoune: Nope, can't really help you with that15:07
maxorator joined15:07
vocifer joined15:07
sneakret_ joined15:07
da5id joined15:07
iAsterisk joined15:07
jon- joined15:07
thegorn_ joined15:07
burzum` joined15:07
hubbard.freenode.net set mode: +v15:07
mdiers left15:07
M00sL0gB0t ValueError: need more than 1 value to unpack (file "/usr/local/lib/python2.7/dist-packages/willie/coretasks.py", line 132, in track_modes)15:07
mdiers joined15:07
staticshock grawity: it doesn't actually show up in tigmanual15:08
grawity: but it works, so thanks!15:08
dvide joined15:08
grawity it does, right under "View Manipulation" (5th item)15:08
shennyg_ joined15:08
tchan joined15:08
neo1691 left15:08
staticshock grawity: right, it does, but mine says that the key is "M"15:08
grawity: which does not work. "O" works.15:09
robbyoconnor left15:09
grawity older version with a typo in the manual, maybe?15:09
staticshock i guess15:09
iamjarvo_ joined15:09
Kulrak joined15:09
neo1691 joined15:09
ribasushi joined15:09
stodan left15:09
Norrin joined15:09
shruggar joined15:09
hs366 left15:10
dragon3_ joined15:10
dsdeiz left15:10
Exodist joined15:10
brewmaster waruii: "git diff mybranch origin/mybranch" returns nothing, but my local working tree has hundreds of changes15:10
i've never seen this before15:11
chuckharmston left15:11
tvw left15:11
ShooterMG left15:12
quizzi joined15:13
chuckharmston joined15:13
jast brewmaster: you compared one committed version with another committed version. uncommitted changes don't play into that...15:13
ShooterMG joined15:13
brewmaster jast: OK, I also did a git clone to a separate directory15:13
bwreilly joined15:14
kenperkins joined15:14
brewmaster jast: and I did a diff -r -x .git on the clean checkout of my branch (with a clean working copy) vs. the filthy one i'm talking about15:14
and there's no difference15:15
waruii brewmaster: had a look at http://stackoverflow.com/questions/2691618/git-is-deleting-an-ignored-file-when-i-switch-branches ?15:15
quizzi left15:16
g0bl1n left15:16
dyng left15:16
rubatdub joined15:16
dyng joined15:16
quizzi joined15:16
ShooterMG left15:16
brewmaster waruii: there's no problem with ignored files15:16
flippo joined15:16
ErKa joined15:16
richgilbank joined15:16
brewmaster waruii: git status right now shows hundreds of new / deleted / modified files that aren't ignored in any way15:17
takamichi left15:17
awx_ joined15:17
brewmaster waruii: about half are "to be committed", the other half "changed but not updated", and then a couple untracked files (that I don't ignore anywhere)15:18
Feelsenburg joined15:18
Norm_ left15:18
krasnus_ joined15:18
krasnus_ left15:18
maleknet joined15:19
MJaoune left15:19
brewmaster waruii: you think it's safe to just wipe this local branch out and check out a fresh copy?15:19
i have no local changes for this branch15:19
takamichi joined15:19
brewmaster but i have other local branches that i need15:19
waruii if those changes don't mean anything to you, you can also just git reset --hard15:20
LuxuryMode joined15:20
rob_w left15:20
pzl left15:21
krasnus left15:22
neo1691 left15:22
cff left15:23
neo1691 joined15:23
dccc left15:23
fandikurnia01 joined15:24
shawndumas joined15:24
Advocation joined15:24
bamj0rb joined15:24
gitinfo set mode: +v15:24
Zarthus joined15:25
papegaaij left15:25
brewmaster waruii: thanks15:26
Guest26621 left15:27
danman joined15:27
mdiers left15:28
johnnyfuchs joined15:30
amcsi_work_ left15:30
amcsi_work joined15:31
johnnyfuchs left15:31
psyl0n left15:31
dxdt joined15:31
johnnyfuchs joined15:32
hholtmann joined15:34
neo1691 left15:35
ojacobson joined15:35
lindenle joined15:36
dccc joined15:36
fandikurnia01 left15:36
Silmarilion left15:36
dhruvasagar joined15:36
oojacoboo joined15:37
Kayra left15:37
Xiti` joined15:37
b3tamax left15:38
Xiti left15:39
greggroth joined15:41
dhruvasagar left15:43
neo1691 joined15:43
lindenle left15:43
aberrant left15:43
saurabh joined15:43
saurabhGuest584015:44
phile joined15:44
mikecmpbll left15:44
graphitemaster left15:44
graphitemaster joined15:44
mricon left15:44
Feelsenburg1 joined15:47
mmitchell joined15:47
Feelsenburg left15:47
johnmilton joined15:47
thierryp left15:48
Xiti joined15:49
Xiti` left15:49
neo1691 left15:49
irqq left15:51
hyperair left15:51
vak joined15:52
vak hi all15:52
Entomo left15:52
netsroht left15:53
mizu_no_oto joined15:53
bbloom left15:53
bbloom joined15:54
Xiti left15:54
vak 'git branch -avv' gives me [origin/master: ahead 1] ... for my tracked branch, However 'git push origin' says there is nothing to push. Why do I see then this 'ahead 1' ?15:55
ojacobson 'git push origin' doesn't do what you think it does :)15:55
waruii git pull might15:55
;)15:55
ojacobson the actual behaviour depends on the push.default config value, but the default will be to pairwise match branches locally and on origin, *by name* (not by tracking info)15:55
and push the matches15:56
which is very unlikely to be what you want15:56
vak ojacobson: waruii: i did 'git pull' as well15:56
netsroht joined15:56
FortySix2 left15:56
ojacobson anyways, the formal answer is "you see 'ahead 1' because your local branch is set to track origin/master, and contains one commit not contained in origin/master"15:57
which is maybe not helpful15:58
but is at least true15:58
vak git pull ==> Already up-to-date. git push ==> Everything up-to-date. and still 'ahead 1'...15:58
ojacobson back up a step and talk about your goals15:58
rather than about what commands you're running15:58
vak ojacobson: thank you, got it ))15:58
twittig left15:59
King_Hual joined15:59
rjhunter left16:00
nettoweb joined16:00
ariscop left16:00
vak ojacobson: the formal answer did answer my question )16:00
chuckharmston left16:00
waruii left16:00
ariscop joined16:01
dkipnis joined16:01
takamichi left16:01
chuckharmston joined16:01
dkipnis quit16:02
dkipnis left16:02
dyng left16:02
takamichi joined16:03
rjhunter joined16:03
str joined16:03
Raging_Hog left16:04
tomgabbi left16:04
swaechter left16:04
jargon left16:04
leakybuckit left16:04
marlboromoo left16:05
chuckharmston left16:05
YoungFrog left16:06
netj left16:06
netj joined16:06
FortySix2 joined16:06
aberrant joined16:06
FortySix2 left16:07
ngw joined16:07
netiul left16:08
Kayra joined16:08
timthelion left16:08
g0bl1n joined16:08
ajm203 joined16:09
dkipnis joined16:09
dkipnis left16:10
ThomasLocke left16:10
koda_ joined16:10
chrisgeorge joined16:10
m8 joined16:11
koda_ left16:11
Kayra left16:13
abelsiqueira left16:13
asedeno joined16:13
VictorCL joined16:13
cbreak-work left16:14
dhruvasagar joined16:15
mlechner left16:15
robbyoconnor joined16:15
shadok joined16:18
shadok left16:18
shadok joined16:18
guampa joined16:18
carbon left16:18
PeterBooker joined16:18
tma996 left16:19
mikecmpbll joined16:20
carbon joined16:20
yourbestfriendFlashCode`16:22
arvind_khadri left16:23
FortySix2 joined16:23
FlashCode`sam11310116:23
sam113101yourbestfriend16:23
GeertV left16:23
yourbestfriendyourbestfriend`16:24
GeertV joined16:24
zumba_addict joined16:24
nwertman_ left16:25
GodEater left16:25
liamkeily left16:25
shinnya joined16:26
h0bbit_ left16:26
dxdt left16:26
yourbestfriend`FlashCode`16:27
primitive joined16:28
CKyle_ joined16:28
FlashCode`yourbestfriend16:28
GeertV left16:29
GodEater joined16:29
GodEater left16:29
GodEater joined16:29
lavaman joined16:30
Cromulent left16:30
DoniRS left16:30
maleknet left16:30
etcetera joined16:30
dragon3_ left16:31
psoo left16:31
dxdt joined16:31
jnavila left16:32
juril left16:32
HelperW left16:34
StarFire_ left16:34
jceb_ left16:35
ethlor joined16:36
robbyoconnor left16:37
robbyoconnor joined16:38
b3tamax joined16:38
jnewt joined16:39
knuth joined16:39
mmitchel_ joined16:41
nwertman joined16:42
jnewt git stash pop -> conflict, both modified. how to get the stash version of the file in working directory?16:43
eletuchy left16:43
replyjava joined16:43
xlinkz0 any windows users?16:44
eletuchy joined16:44
dr_lepper jnewt: git checkout --theirs -- path/to/file16:44
bamj0rb jnewt: Perhaps you could do git checkout stash@{0} -- path/to/file ?16:44
dr_lepper or --ours16:44
lov jnewt: I'm not sure if there's a correct way, but you could always do git checkout stash@{0} -- pa- yeah what bamj0rb said16:44
b3tamax left16:44
lov xlinkz0: there are probably a few, just ask the question.16:45
hyperair joined16:45
mmitchell left16:45
chrisgeorge left16:45
mmitchel_ left16:46
eletuchy_ joined16:46
mmitchell joined16:46
Tomylobo joined16:46
xlinkz0 i wanted to ask what should i put in my windows path to make other programs be able to use git16:47
but i figured out how to open other programs that need git from msysgit16:47
Silex hello, I'm using the classic gitflow develop/master paradigm, and I bumped into an issue I'm not sure how to solve: I have an old maintainance branch for some tagged release on master. I'm currently doing a topic branch on develop which changes would theorically also apply to this old branch16:47
eletuchy left16:47
Guest5840 left16:47
jnewt thanks16:47
Silex am I supposed to cherry-pick in taht situation? how could I structure it to avoid this?16:47
replyjava left16:47
john2x left16:48
chrisgeorge joined16:48
cff joined16:48
Search112 joined16:48
john2x joined16:48
abelsiqueira joined16:49
dr_lepper Silex: you could start developing it on top of your old maintenance branch16:49
then you could've just merged it into master16:49
tang^ joined16:49
Silex dr_lepper: well, that means developping on an old base, which is kind annoying16:49
dr_lepper if you want to backport something, you have to cherry-pick or rebase16:49
Silex but yeah, I guess I could do the topic branch on delelop and just rebase before mergin16:49
develop*16:50
dr_lepper I think those are the only two options16:50
Silex Alright. Thanks16:50
dr_lepper develop on master and backport, or develop on old code and merge upstream16:50
Search112 left16:50
kesha joined16:50
guampa left16:50
Silex "backport" could be cherry-pick or a crafty rebase --onto right before mergin to old branch/master16:51
to it looked like I developped on old code16:51
so it*16:51
CKyle_CKyle16:51
Silex I guess I'll just cherry-pick, this is really old code16:51
maxorator left16:51
Silex doens't like cherry-picking a lot16:51
dr_lepper Silex: rebase is nothing more than an automated cherry-pick16:52
JonnyNomad left16:52
pixelgremlins_bapixelgremlins16:52
joel_falcou left16:52
jon- left16:53
john2x left16:53
dr_lepper Silex: generally, I would say that there is nothing wrong in rebasing/cherrypicking something to backport a fix or a feature to an old release16:53
reg_ left16:53
xlinkz0 left16:53
jon- joined16:53
dr_lepper it's not as if the history could be useful to you in the future16:53
qsusOFFcsqsuscs16:53
reg_ joined16:53
kewah left16:54
Vinnie19_ joined16:54
robbyoconnor left16:54
Silex rebasing avoids the commit duplications16:55
but at the same time my tip is so far away from from this old branch it doens't make much sense to tie them16:55
PeterBoo joined16:55
dr_lepper exactly my point16:56
ehmatthes left16:56
kesha left16:56
b3tamax joined16:56
irqq joined16:56
Silex I'm brain damaged about duplication, I always find it wrong :)16:57
PaulCapestany joined16:57
v0n joined16:57
CKyle left16:58
dkpi joined16:58
Misan left16:58
PeterBooker left16:59
Pullphinger left16:59
kesha joined16:59
PeterBooPeterBooker16:59
lisak joined16:59
maxorator joined16:59
lisak hey, is there any problem with deleting corrupted (diverged) branch from upstream and pushing new one that I restored from other branch locally17:01
ojacobson lisak: it's equivalent to force-pushing your branch17:01
so !rewrite applies17:01
gitinfo [!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/waqum17:01
lisak and telling my colleagues that the have to reset --hard origin/thebranch17:02
carbon left17:02
yaymukund joined17:02
Gamecubic left17:02
yaymukund how do I checkout a local [branch] if it exists. if it doesn't, check out origin/[branch] and track it. is there a command that does that? git checkout -b seems to complain if there's no such local branch.17:03
ojacobson 'git checkout branch'17:04
provided 'branch' is unique across remotes17:04
otherwise you have to spell out which remote you want17:04
yaymukund ah yeah, I'm going off that assumption for now.17:04
hmm, maybe i shouldn't.. heh.17:04
ustunozgur left17:06
Bitgod what is the purpose of a branch?17:07
alorence left17:07
Bitgod i thought it was for if you had multple versions of main repo17:07
lisak ojacobson, so deleting remote branch and pushing local is the same as force pushing ?17:07
Bitgod like 1.0, 2.0 etc17:07
Lekensteyn joined17:07
yaymukund To crush your enemies, see them driven before you, and to hear the lamentation of their...er, commits.17:07
lisak ojacobson, so if I want to restore remote branches test & production from my local production branch, I force push it to the remote production and test branch ?17:08
ehmatthes joined17:08
lisak and I'm done ?17:08
Kayra joined17:08
yaymukund Bitgod: you should read up on common git workflows. git is a tool. It's better to ask what branches can do rather than what they're *for*, because everyone uses it slightly differently. To answer your question-- that is one valid way to use branching, but not the only one.17:09
kesha left17:09
gain left17:09
dhruvasagar left17:09
Lekensteyn Hi, I just lost an untracked file by running `git stash save -u somename` (git 1.8.5.1). Running `find .git -mmin -5 -ls` showed some blobs in .git/objects/xx/yyyyy..., can I look in one of these blobs? `git show xxyyyy....` says that it is a bad object17:09
Bitgod yaymukund17:09
what if i have 32-bit and 64-bit versions of my code17:10
say 1.0 has 32 and 64, so does 1.01 etc17:10
< new17:10
CKyle joined17:10
moritz Lekensteyn: how about just applying the stash?17:10
jasonroyle left17:10
moritz Bitgod: don't use separate branches for that17:10
SocalNick joined17:10
moritz work with #ifdef's or whatever tools your language has for such jobs17:11
Lekensteyn moritz: `git stash list` does not show a file, so I am afraid to lose the file. I will copy the repo and test, thank you for the suggestion.17:11
Bitgod moritz, then whats a good way?17:11
clarkfischer joined17:11
teran joined17:11
moritz Bitgod: 18:11 < moritz> work with #ifdef's or whatever tools your language has for such jobs17:11
kesha joined17:11
Lekensteyn moritz: o wow, it returned! I almost got a heart attack17:12
maleknet joined17:12
moritz Lekensteyn: git stash list lists stashes, not files. Which explains why you didn't see the file in the list :-)17:12
EGreg joined17:12
Bitgod moritz, #ifdef for 32 vs 64?17:12
Lekensteyn oh, I meant `git stash show`17:12
Bitgod and if its 64bit, do different dlls?17:12
Lekensteyn or even `git show stash@{{0}`17:12
DrShoggoth joined17:13
Lekensteyn typo, but you get the point17:13
moritz Bitgod: for example, yes17:13
Stygia left17:13
Kayra left17:13
hoyang_ joined17:13
Bitgod so i have to include a 32bit dll and a 64bit dll of a lib?17:13
like sqlite17:13
in my install heh17:13
arjun_ left17:13
_Qman left17:13
Lekensteyn moritz: is it a bug that the untracked files are not shown or an unimplemented feature?17:13
johnflux__ left17:14
moritz Lekensteyn: I have no idea17:14
Feelsenburg joined17:14
johnflux__ joined17:14
imachuchu joined17:14
yaymukund Bitgod: It sounds like you have two separate problems here -- 1. maintaining two code branches. ifdefs might be the better approach, idk. 2. versioning. I would use tags for this, because they shouldn't change once you've pushed them.17:14
Feelsenburg1 left17:14
ojacobson "target platform" isn't something I'd diverge development over17:15
I don't think it justifies recording every change twice (once per platform :)17:15
lindenle joined17:15
ojacobson Using branches in git is completely unavoidable; it's how git handles communication between repositories17:16
your local 'master' is actually completely independent of origin's 'master', other than by convention17:16
there's nothing in git that makes them "the same branch"17:16
kesha left17:16
hoyang left17:16
yaymukund okay, lunch time for me!17:17
lisak ojacobson, pls can I just do : (healthy branch) $git push origin production --force (healthy branch) $git push origin test --force17:18
daito joined17:18
lisak to recover remote test & production from my local healthy branch ?17:18
moritz Lekensteyn: you can17:18
sorry, meant lisak17:18
dhruvasagar joined17:18
calcifea left17:19
maxorator left17:19
ncthom91 joined17:19
[emmajane] left17:19
LuxuryMode left17:19
lisak scared shitless17:20
calcifea joined17:20
rath joined17:20
ojacobson lisak: I can tell you what it'll do (so can the man page), but not whether it's the right thing to do17:20
oojacoboo left17:20
ojacobson fortunately, if you know what git-push does, it's pretty clear how to recover from a bad-idea push17:20
ncthom91_ joined17:20
ojacobson also, keep in mind that rewriting history nearly _always_ means working with the other collaborators to recover their local changes17:20
('git reset --hard' is a terrible approach, since that obliterates any changes they may have been working on)17:21
CheckDavid joined17:22
LuxuryMode joined17:22
thevishy left17:22
daito left17:22
lisak I guess that push results in finding shared ancestor commit object and retrieving and appending the rest of the all objects on it17:23
g105b left17:23
fRAiLtY- left17:23
koda left17:24
g105b joined17:24
ncthom91 left17:24
[emmajane] joined17:24
lisak the remote branch is broken because there is a commit with the same content 200 times under a different HASH, because somebody was rebasing instead of merging17:24
ojacobson simpler17:24
push copies refs (branches) verbatim, uploading any objects necessary for the branch to make sense.17:24
By default it'll only copy a branch over top of an existing branch if the new branch has the old branch as an ancestor; --force disables that check and blindly copies.17:25
Pullphinger joined17:25
KK4MGV left17:25
Nazca__ joined17:25
scientes left17:25
hahuang65 left17:25
maxorator joined17:25
LuxuryMo_ joined17:26
lisak meaning that if there is a --force flag, it copies right away17:26
I like it :-)17:26
KK4MGV joined17:26
kermit joined17:26
gittish left17:27
blinkdesign left17:28
Nazzy left17:28
LuxuryMode left17:28
blinkdesign joined17:28
User458764 joined17:28
XackCave_Johnson17:29
BoyanYordanov joined17:30
BoyanYordanov left17:30
thiago left17:30
dfanjul left17:31
iamjarvo_ left17:31
harobed left17:31
r00tWearsRedHats joined17:31
Cave_JohnsonCaveJohnson17:31
etcetera left17:31
iamjarvo_ joined17:31
mikecmpbll left17:32
blindingdawn joined17:32
mishok13 left17:32
FerreusR left17:32
g0bl1n left17:33
blinkdesign left17:33
shruggar left17:33
etcetera joined17:34
Baluse Hello17:34
Roots47 left17:34
Baluse i accidentaly commit and pushed to remote wihout staging any file apart one that had only whitespace changes.. Then i commited the correct one17:34
is it possible to remove this wrong commit ?17:35
iamjarvo_ left17:35
lisak guys I got "Everything up-to-date" message17:36
Lekensteyn Baluse: so you now have a commit "base", a commit "whitespace" and a commit "correct" in your history?17:36
shawndumas left17:36
Baluse yes something like that17:37
Lekensteyn Baluse: and "whitespace" is pushed to remote, and now you want to remove all changes made by "whitespace"? (or squash the changes with "correct"?)17:37
lisak ojacobson, so it obviously doesn't work that way17:37
chuckharmston joined17:37
rath left17:37
Roots47 joined17:37
Baluse Lekensteyn dont know its complicated now i got confused :S17:37
nwertman left17:38
Keridos_offKeridos17:38
Kayra joined17:38
dfanjul joined17:38
infynyxx joined17:38
Celelaptop Once I resolved the merging conflicts, what should I do?17:39
I just add and commit?17:39
Lekensteyn Baluse: by "remove a commit", do you mean (1) remove ALL changes introduced by that commit, or (2) merge the whitespace commit in your "correct" commit17:40
nwertman joined17:40
Baluse i want to remove it as never happened17:40
Lekensteyn Celelaptop: `git status` should give you a hint.17:40
Baluse 2 seems more safe17:40
_iron joined17:40
Lekensteyn Baluse: if you do not mind rewriting the history (i.e. you are the only user of the remote repo), then `git rebase -i HEAD~2` presents you two commits. Remove the line to drop the changes or use "squash" to merge the changes in one commit17:41
CKyle left17:41
User458764 left17:41
Baluse how to use squash ?17:42
Lekensteyn Baluse: read the instructions in the editor that shows up when you run that comman17:42
g0bl1n joined17:42
Lekensteyn command* (or look in the manual page of git-rebase)17:42
Vinnie19_ left17:42
Baluse ok thanks..17:43
petey joined17:43
shinnya left17:43
Bass10 joined17:44
dfanjul left17:44
Lekensteyn moritz: the untracked files are available in the very non-obvious history: http://stackoverflow.com/a/12681856/427545. I think that I should pay attention to the third "Merge" commit in `git show stash@{0}`17:44
FortySix2 left17:44
leeN joined17:44
AWinterman joined17:44
mmcdaris left17:45
jvns joined17:45
FortySix2 joined17:46
Celelaptop Hum... I added a remote repository, I merged it into mine, and now I'd like to push it onto that other repository.17:46
jvns I'm trying to update the upstream URL of a submodule I have. I've changed it in .gitmodules and .git/config and run 'git submodule --sync' and 'git submodule update', but it isn't pulling my new changes17:46
jonatasnona joined17:46
rcu joined17:46
Celelaptop I don't understand what <repository> and <refspec> should be on the push command.17:47
jvns I'm using git version 1.8.4.417:47
Sonderblade left17:47
SocalNick left17:48
Octalot left17:48
OMGOMG or version "great disappointment" as it's commonly known17:49
Shusshu joined17:49
Lekensteyn Celelaptop: the <repository> is shown in `git remote show`. The <refspec> is the branch you want to push to the remote (with the same name).17:49
Celelaptop: if the name differs, you need to use: git push remote-name local-branch-name:remote-branch-name17:50
dmarkham joined17:50
FortySix2 left17:50
[emmajane] left17:50
bamj0rb Celelaptop: So we're sure that you understand what you did why don't you tell us how you did it. :)17:52
Shusshu left17:52
SocalNick joined17:52
jvns OMGOMG: what do you mean?17:53
mizu_no_oto left17:53
Stalkr joined17:53
mueslo left17:53
blindingdawn left17:53
dAnjou left17:53
joelm joined17:53
silviof1 left17:54
yhager joined17:54
Stalkr Are there any general guidelines for when you are supposed to use rebase over merge?17:54
OMGOMG http://en.wikipedia.org/wiki/Great_Disappointment17:55
[emmajane] joined17:55
CheckDavid left17:55
dfanjul joined17:55
dfanjul left17:56
ojacobson Stalkr: !rebase_vs_merge17:57
damn.17:57
Stalkr: !rebase17:57
gitinfo Stalkr: [!merge_or_rebase] For a detailed discussion of the dis-/advantages of merge and rebase, and when to best use which, see: https://coderwall.com/p/ny1hia -- and here's how Linus explains which one to use: http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg39091.html17:57
ojacobson I was close!17:57
Stalkr :-P17:57
iamjarvo_ joined17:57
maleknet left17:57
Stalkr So far I have been using merge for everything, but I want to take advantage of the powers of rebase17:57
radixo joined17:57
radixo hello guys.. we are migrating from svn to git.. and the people are very confortable in to use svn update without commit anything17:58
iamjarvo_ left17:58
radixo someone knows how could we get the same effect.17:58
Baluse i did squash17:58
and then pulled and got problems17:58
now i have 417:58
commits17:59
PeterBooker left17:59
radixo or how to pull without commit all changes.17:59
PeterBooker joined17:59
iamjarvo_ joined17:59
radixo and how ..17:59
jhulten_ joined17:59
eijk_ left17:59
aard_ joined17:59
imachuchu radixo: you can just do that (git's will !float the changes over), but why are you so commit adverse?17:59
gitinfo radixo: 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.17:59
staticshock left18:00
mueslo joined18:00
Celelaptop Lekensteyn: thanks.18:00
axrfnu radixo: either float as abofe or stash away your changes, or even create a separate branch and afterwardss pull18:00
arietis joined18:00
g105b left18:00
axrfnu s/abofe/above/18:00
Celelaptop bamj0rb: Why do you want to know how I did what I did?18:01
radixo the problem is that the file is different in every developer machine.18:01
imachuchu radixo: I'm confused, is this 4 commits past the merge, or 4 merge commits, or 4 commits without a merge?18:01
Celelaptop git remote add someone-gh https://someurl/foo.git18:01
radixo cause it has the conf from local paths..18:01
Celelaptop git fetch someone-gh18:01
lun_ left18:02
Celelaptop git merge someone-gh/master18:02
devbug joined18:02
lavong left18:02
imachuchu radixo: ahh, so what you really want is for git to ignore that file, man git-ignore18:02
revyd joined18:02
axrfnu radixo: second imachuchu. sounds like gitignore is the hammer to your nail ;)18:03
koda joined18:03
petey left18:03
petey joined18:04
petey left18:04
radixo i will read the manual to see..18:05
but i think it is not..18:05
let us see18:05
petey joined18:05
KK4MGV left18:05
abelsiqueira left18:05
vocifer left18:05
hahuang65 joined18:05
Vampire0 left18:06
KK4MGV joined18:06
infynyxx_ joined18:07
Vampire0 joined18:07
koda how do you reset origin?18:07
like when i do git rebase -i origin i'd like that git didn't pick stuff from the ancient stuff18:07
mmcdaris joined18:07
petey left18:08
osse koda: specify another base: git rebase -i HEAD~5 or so18:08
imachuchu koda: is origin just a branch?18:09
bamj0rb Celelaptop: OK, then someone-gh would be your <remote>.18:09
mintuz left18:09
bamj0rb Celelaptop: And most likely, master would be your <refspec> (but it is really up to you and the upstream team).18:10
infynyxx left18:10
freestyl3r joined18:10
radixo guys..18:10
i think what i need is18:10
hoschi joined18:10
radixo git update-index --assume-unchanged file18:10
but it always returns fatal error..18:10
scientes joined18:12
scientes left18:12
scientes joined18:12
SeptDePique joined18:12
bamj0rb radixo: There are different ways to handle that. I am not sure about that assume-unchanged bit, but I would guess that is local only and doesn't synchronize between repos.18:13
radixo: You could have a config.example file that is tracked, and force every developer to copy it to config and edit it.18:13
koda isn't origin just the first ref that you mark as start of the branch?18:13
bamj0rb koda: origin is just the default name for a remote repository.18:14
osse koda: there is no marker that indicates the start of a branch18:14
xrq`xrq18:14
Noldorin joined18:14
Stalkr In a team of three we're working off a develop branch (using gitflow). When we introduce a new feature, we branch off develop and make our changes locally. We don't push those branches. Is this a case were you would rebase the new feature into develop instead of merge?18:15
imachuchu osse: there is, it's the root of the repo. Branches just share commits until they diverge and an interactive rebase just changes commits in the range you specify18:15
Stalkr develop is public, pushed to the repo. feature/something is local18:15
boblee joined18:15
thiago joined18:15
mmcdaris left18:16
osse imachuchu: technically correct, the best kind of correct18:16
imachuchu sorry osse, I meant that for koda (you already know all that!)18:17
axrfnu radixo: i'd rather explitly ignore that file (maybe via .git/info/exclude), because after a year you'll be asking yourself which files you assumed to have not changed18:17
osse imachuchu: hehe. carry on.18:17
Sendoushi left18:17
jonatasnona left18:17
dbuch joined18:18
jonatasnona joined18:18
nwertman left18:18
murtas joined18:19
dreiss joined18:20
nwertman joined18:21
rainbyte16 joined18:21
EGreg left18:22
osmosis joined18:22
rcu left18:23
pbrobst joined18:24
fostertheweb joined18:24
smolyn left18:25
lite_ joined18:25
cebor joined18:26
pr0ton joined18:26
bamj0rb Oh, I see, he meant <upstream> in rebase, not origin..18:26
bwreilly left18:27
pbrobst left18:28
EGreg joined18:28
Imagineer joined18:29
SocalNick_ joined18:29
SocalNick left18:30
LBV_User joined18:30
anjen joined18:31
LuxuryMo_ left18:31
eijk_ joined18:31
anjen left18:32
Etheco left18:32
akiva joined18:32
SocalNick joined18:33
fostertheweb left18:33
SocalNick_ left18:33
achadwick left18:34
lite_ left18:34
thevishy joined18:34
Roots47 left18:35
murtas left18:35
murtas joined18:36
str left18:36
TLGreg left18:36
murtas left18:36
Gamecubic joined18:37
boombatower joined18:37
Nicholas_Rishel joined18:37
TLGreg joined18:38
murtas joined18:38
mdhopkins joined18:38
hoschi left18:39
nicedice joined18:40
infynyxx_ left18:40
mklappstuhl left18:40
murtas left18:41
cebor left18:41
infynyxx joined18:41
murtas joined18:42
EGreg left18:42
murtas left18:42
schemanic joined18:42
infynyxx left18:43
cebor joined18:43
EGreg joined18:44
murtas joined18:45
murtas left18:45
rafeca left18:45
murtas joined18:46
marhaban left18:48
b3tamax left18:48
greggroth left18:48
Roots47 joined18:49
psyl0n joined18:49
shawndumas joined18:50
arietis left18:50
Kayra left18:52
infynyxx joined18:53
thevishy left18:53
EGreg left18:53
Watabou joined18:54
zackiv31 joined18:54
pbrobst joined18:54
PeterBoo joined18:55
PeterBoo left18:55
Silmarilion joined18:55
LuxuryMode joined18:56
sq-one joined18:56
b3tamax joined18:56
ebertx joined18:57
scientes left18:57
imachuchu 318:58
hoschi joined18:58
imachuchu grr, sorry18:58
ethlor left18:58
EGreg joined18:58
lisak left18:59
PeterBooker left18:59
ethlor joined19:00
DoniRS joined19:01
bwreilly joined19:01
dreiss left19:01
austincheney__ joined19:01
koda found it, i had to you set-head!19:02
PaulCapestany left19:02
dyng joined19:03
PaulCapestany joined19:03
marhaban joined19:03
greggroth joined19:03
sohail left19:04
austincheney_ left19:04
HG` joined19:04
lc0dd0cl2 joined19:04
lc0dd0cl left19:04
luxgeek left19:05
koda do not you19:06
Cromulent joined19:06
luxgeek joined19:06
sohail joined19:06
lc0dd0cl2lc0dd0cl19:07
blindingdawn joined19:07
bamj0rb o_O19:07
osse ø_Ø19:07
dyng left19:07
jkremser left19:08
WaffleCat joined19:09
Gamecubic left19:09
yaymukund left19:10
jkremser joined19:11
jkremser left19:11
jkremser joined19:11
petey joined19:11
b3tamax left19:11
yhager left19:12
yaymukund joined19:12
oojacoboo joined19:13
yhager joined19:14
mizu_no_oto joined19:14
dhruvasagar left19:14
thevishy joined19:15
b3tamax joined19:15
Gamecubic joined19:16
FortySix2 joined19:16
moritz tries to build the mirror image using U+20E5 COMBINING REVERSE SOLIDUS OVERLAY and fails19:16
radixo left19:16
matanya left19:17
HG` left19:18
dreiss joined19:18
lite_ joined19:18
Roots47 left19:18
Roots47 joined19:20
PeterBooker joined19:21
gnoel left19:21
rafaqueque joined19:21
valgrind joined19:21
CKyle joined19:21
bamj0rb I think we should use up any unallocated code points in Unicode for lolcats.19:21
nnyk_ joined19:22
Kayra joined19:23
mizu_no_oto left19:23
scientes joined19:24
ethlor left19:25
dmarkham left19:25
marhaban1 joined19:26
haarg left19:26
marhaban left19:26
lite_ left19:26
cbreak 😸19:27
😼🙀😿😻😽😺😾😹19:27
comps ..19:27
Kayra left19:27
dmarkham joined19:27
cbreak all hail apple's color emoticon font!19:28
comps a bunch of black question marks on white hexagon19:28
cbreak your font is insufficient :)19:29
LuxuryMode left19:30
comps 19:30
Droolio left19:30
carbon joined19:30
Pyrogerg joined19:30
cbreak But, U+1F63A to U+1F63E are all cats :P19:30
etcetera left19:30
xpe left19:30
marhaban1 left19:30
comps hexdump says bfef 00bd19:30
cbreak that's utf819:31
mizu_no_oto joined19:31
haarg joined19:31
moritz cbreak: bless you :-)19:31
marhaban joined19:31
obozhdi joined19:31
comps though I agree, DejaVu fonts are by no means complete ..19:32
atomx left19:32
atomx joined19:33
LuxuryMode joined19:33
nnyk_ left19:34
Roots47 left19:34
obozhdi left19:35
pantsman joined19:35
pantsman left19:35
pantsman joined19:35
cbreak real fonts are quite expensive19:36
bamj0rb Ooooh... http://codepoints.net/emoticons19:37
I am planning to write a message board software... I wonder if I could just use those for emoticons.19:37
Roots47 joined19:37
cbreak yep :)19:37
you can.19:37
davividal left19:37
cbreak but you rely on the User having an appropriate font19:38
(you can assume OS X to do that of course)19:38
alvaro_o joined19:38
nutron joined19:38
bamj0rb I suppose if there are any free ones then the site could host them.19:39
davividal joined19:39
davividal left19:39
bamj0rb Though I plan to also interface gracefully with mail clients, and that will be more of a challenge. Could always be configurable whether to render as ASCII, Unicode, or graphical.19:39
cbreak it's simple text.19:40
tirengarfio left19:41
halu joined19:41
bamj0rb Sure, but I wouldn't want users with insufficient fonts/terminals/etc. so be confused.19:41
jerius left19:41
Noldorin left19:42
cbreak they deserve it for not using a mac...19:43
bamj0rb (I'm rather annoyed that consoles in Linux do not support Unicode fully... At least, AFAIK)19:43
Hello71 define console19:43
MacWinner joined19:43
veebers joined19:44
b3tamax left19:44
oojacoboo left19:44
Norm_ joined19:44
marhaban left19:44
tirengarfio joined19:44
bamj0rb Well I mean the virtual consoles.19:45
marhaban joined19:45
bbloom left19:45
marhaban left19:46
uu1101 joined19:46
psyl0n left19:48
mmitchel_ joined19:49
lindenle left19:49
naomi_ joined19:49
b3tamax joined19:49
vak left19:50
koda left19:50
maestrojed joined19:50
cbreak my echo can echo emoticon cats. :)19:50
timthelion joined19:50
jonatasnona left19:50
cbreak (in color even)19:50
naomi left19:50
cbreak I did think unicode would be widely supported on other unixes too19:51
teran left19:51
maestrojed left19:51
jonatasnona joined19:51
nnyk_ joined19:52
mmitchell left19:52
nutron left19:52
LimeBlast left19:52
pixelgremlins left19:53
harish left19:53
mizu_no_oto left19:54
joshbetz joined19:55
iamjarvo_ left19:55
joshbetz left19:56
Cromulent left19:56
iamjarvo_ joined19:56
iamjarvo_ left19:56
joki left19:56
iamjarvo_ joined19:56
bamj0rb Apparently it's possible, but I think it requires framebuffers to be enabled, and basically have to configure things yourself.19:56
jkremser left19:56
bamj0rb Since Linux aims to be much more than a highly restricted proprietary desktop OS it obviously is not so easy for these things to Just Work(tm).19:57
CKyle left19:57
hahuang65 left19:58
SamB bamj0rb: yeah, textmode is only capable of displaying 512 distinct glyphs19:58
PeterBooker left19:59
etcetera joined19:59
SamB and even THAT is only possible at the cost of having only 8 background colors available19:59
matteo left20:00
PeterBooker joined20:00
sohail left20:00
joki joined20:01
SamB though seemingly it's possible to fake textmode quite well in a raster mode; NO$GMB for DOS seems to, anyway20:01
tirengarfio left20:02
cbreak funny that OS X doesn't have that problem20:02
Sound joined20:02
tirengarfio joined20:02
SamB textmode is a legacy *hardware* mode20:02
JPohlman1 left20:03
cbreak funny that macintosh hardware doesn't have that problem then :D20:03
SamB the restrictions can be avoided by not using that mode20:04
bamj0rb It's not that it doesn't have that problem. It's that the OS doesn't let you access that mode. :P20:04
If you ever *need* that mode you will just have to send it to Apple with a blank cheque attached. ;)20:04
cbreak need... to be restricted?20:05
PaulCapestany left20:05
beastd joined20:05
bamj0rb It's not about being restricted. It's about lower-level access. :)20:06
sohail joined20:06
sohail left20:06
sohail joined20:06
PaulCapestany joined20:06
gnoel joined20:06
SamB like NO$GMB for DOS does: because textmode only supports displaying a 1bpp glyph in any given cell, but the gameboy needs 2bpp and the color gameboy needs even more, NO$GMB for DOS does a reasonable immitation of textmode in a raster mode ...20:06
andschwa` joined20:06
DolpheenDream left20:06
petey left20:06
impaktor joined20:06
LucasKA joined20:07
cbreak I tried low level access for my mac once20:07
petey joined20:07
maestrojed joined20:07
cbreak it required a different computer to attach KDB to the running kernel on the first computer.20:07
SamB cbreak: I suspect OS X just only has a framebuffer-based console (well, maybe serial too, but no textmode), however it's exposed to userspace20:07
cbreak: that's standard whenever you want to use a debugger on a kernel20:08
liamkeily joined20:08
cbreak the only serial ports macs have are USB, SATA, Ethernet, Firewire (sometimes) and HDMI. And of course Thunderbolt20:08
rethus left20:08
cbreak SamB: yeah. It's very low level.20:08
it was not very productive20:08
I'd have had to use a debug kernel for more symbol information, which was too bothersome20:09
devbug left20:09
KeridosKeridos_off20:09
SamB there are some alternatives if you don't mind observing the kernel in-motion without being able to change anything, but these are obviously pretty unreliable in general since races ...20:09
Keridos_off left20:09
cbreak my problem was OpenGL related kernel panics20:10
diegoviola left20:10
cbreak I hoped to find out some details, but the only thing I did find was that it was probably a bug on apple's side...20:10
SamB I guess the main kernel debugging I've done was actually either under QEMU, or of NT20:11
oojacoboo joined20:11
petey left20:11
troyswanson joined20:11
infynyxx left20:12
troyswanson quick question, git friends. i need to reset the master branch back to before a pull request was merged, but i dont want to modify the branch that the pull request came from20:12
BBBThunda joined20:12
midnightmagic_midnightmagic20:12
ToxicFrog troyswanson: merges don't change the source branch, only the destination branch20:13
troyswanson i basically just want to undo the pull request merge20:13
ok cool, so i can do a git reset --hard [whatever]20:13
Nicholas_Rishel left20:13
bamj0rb git checkout master && git reset <commit>.20:13
ToxicFrog The source branch was unaffected by the merge, and will continue to be unaffected if you rewind master.20:13
SamB (in the latter case, not only does one get annoyed about the sparse debugging symbols from MS, but also at the non-existant debugging symbols for 3rd-party (not-MS-compiled) drivers ...)20:13
teran joined20:13
petey joined20:13
troyswanson will i need to git push --force on master20:14
since history is being rewritten20:14
bamj0rb If you have already pushed the merge, yes.20:14
troyswanson ok cool.20:14
gonna try it20:14
very scared20:14
bamj0rb !backup and !rewrite20:14
gitinfo: Wake up. >:(20:14
phy1729 I have my dotfiles at bitbucket currently; I want to move them to github. I want to keep the history but entirely purge the .gist-vim file first. How can I purge the file?20:15
bamj0rb git filter-branch?20:15
bamj0rb has never heard of a .gist-vim file.20:15
gitinfo Worried about your data while trying out stuff in your repo? To back up commit history on all branches/tags: `git clone --mirror`. To backup everything, including work tree and staging area: `tar cf repo-backup.tar repodir`. Or do your experiment in a throwaway clone instead. See also http://sethrobertson.github.com/GitBestPractices/#backups20:16
[!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/waqum20:16
bamj0rb Did somebody just poke him behind the scenes, or is he just lagging like a mofo? :)20:16
troyswanson: ^20:17
troyswanson bamj0rb: thanks20:17
hoyang_ left20:17
scientes left20:18
phy1729 bamj0rb: it's for vim's Gist plugin; it has a token to paste gists to githun automatically under my username20:18
scientes joined20:18
scientes left20:18
scientes joined20:18
jeffszusz joined20:18
jeffszusz how would i git stash changes to all files -except- two specific ones?20:19
BBBThunda left20:19
marthinal left20:19
troyswanson actually, it might make more sense to revert the individual commits present in the pull request. i won't be able to simply reset to a certain commit in the log20:19
schemanic left20:19
BBBThunda joined20:19
PerlJam jeffszusz: -p maybe ?20:19
schemanic joined20:20
jrnieder jeffszusz: when I've wanted that kind of thing, I'd stage the changes to those two files for a new commit20:21
jeffszusz: and possibly even commit it, depending on the context20:21
jeffszusz: i.e., "git add file1 file2; git commit"20:21
jeffszusz: if I didn't want to commit for whatever reason, I'd use "git stash -k"20:21
jeffszusz oh keep index?20:22
nice20:22
thanks jrnieder20:23
oojacoboo left20:23
pr0ton left20:23
Kayra joined20:23
jrnieder sure thing20:24
I learned that trick from the "Testing partial commits" example in man git-stash20:25
gitinfo the git-stash manpage is available at http://jk.gs/git-stash.html20:25
anjen joined20:25
babylon9 joined20:25
oojacoboo joined20:27
joaoh82 joined20:27
lindenle joined20:27
Kayra left20:28
hoschi left20:30
pr0ton joined20:30
anjen left20:30
cebor left20:30
majuscule How can I checkout svn externals using with git-svn?20:31
_ikke_ I think they aren't supported20:31
lindenle left20:32
schemanic left20:32
cebor joined20:32
_Vi left20:32
pr0ton left20:32
schemanic joined20:33
majuscule i have a dev sitting next to me who's done it but forgotten how, haha. i think they pretend to be submodules somehow?20:33
jrnieder majuscule: http://bugs.debian.org/61958420:33
pr0ton joined20:33
jizanthapus left20:33
jrnieder majuscule: there's a 'git svn show-externals' script20:33
s/script/command/20:34
Nicholas_Rishel joined20:34
endiruna joined20:34
majuscule hmmmm, that's a step. thanks20:35
teran left20:35
infynyxx joined20:35
aChatir joined20:36
jrnieder majuscule: here's the blog post linked to from there (since the bugreport suffered from linkrot): http://algorithm.com.au/blog/files/git-svn-svn-externals.html20:36
quizzi left20:36
joaoh82 left20:37
cebor left20:37
CKyle joined20:37
m0ltar left20:37
mdiers joined20:37
mf_ left20:37
lite_ joined20:37
m0ltar joined20:37
aChatir left20:38
m0ltar left20:38
majuscule ahh, thank you very much!20:38
cebor joined20:38
jeffszusz lol20:39
why's the topic say "git-hg: don't you know that's poison?" :P20:39
endiruna left20:39
schemanic left20:39
endiruna joined20:39
mizu_no_oto joined20:40
dreiss left20:40
Mrono joined20:40
Mrono In a multi user environment how do you control/enforce the names people commit with to prevent masquarding20:41
lov if that's an actual concern, signatures.20:41
mf_ joined20:41
SamB yeah, signatures are basically the only way20:41
oojacoboo left20:42
lite_ left20:42
rasto left20:42
bamj0rb Would there be any way to enforce that with Gitolite/hooks?20:42
s,/,+,20:42
petey left20:42
SamB I'm thinking you'd have a GPG keyring that had the keys to be accepted, and in one of the hooks you'd check all new commits against that keyring20:43
petey joined20:43
johnnyfuchs left20:44
SamB and, if the commiter ID didn't match any identity listed in the keyring for a key that had been used to sign that commit, reject those commits20:44
of course this can't possibly prevent innacurate Author IDs20:45
ojacobson bamj0rb: of course hooks can forbid pushing new commits that don't claim they were authored by the pushing user20:45
but it's hard to do right and it kneecaps one of the reasons for using DSCM in the first place20:45
Since SCM is _not_ a replacement for communication I think that's probably the wrong place to "solve" authenticity problems20:45
if you need a mathematical proof of authenticity, insist on signed commits20:46
but you probably only need social proof, so fucking talk to the purported author20:46
erichynds left20:46
infynyxx left20:46
Noldorin joined20:47
chrisledet joined20:47
SamB ojacobson: yeah, the GPG approach suggested here is at least supposed to permit whatever distributed development model the approved committers want to use, as long as they don't try to merge commits from non-approved committers ...20:47
and anyway you can't do anything about Author because rebase, cherry-pick, outside contributors, etc.20:47
r00tWearsRedHats left20:48
petey left20:48
SamB of course, the keys used shouldn't be used for more important communication20:48
abelsiqueira joined20:48
SamB because they will be vulnerable to compromise due to the constant use20:48
hahuang65 joined20:49
shawndumas left20:49
jonatasnona left20:50
bartman` joined20:50
jonatasnona joined20:50
_iron left20:50
harish joined20:50
SocalNick left20:51
shawndumas joined20:52
rainbyte16 left20:52
phipes joined20:52
chrisledet left20:53
ethlor joined20:53
chrisledet joined20:53
mmitchel_ left20:53
SHyx0rmZ joined20:54
atomx_ joined20:54
Fandekasp joined20:54
jerius joined20:54
phipes left20:54
mmitchell joined20:54
phipes joined20:54
phipes left20:55
atomx left20:55
rasto joined20:55
phipes joined20:55
cebor left20:56
cebor joined20:56
robtow1 joined20:56
PeterBooker left20:57
Mrono good news guys, due to a regime change my plans to shift us from svn to git are making headway once again20:57
mmitchel_ joined20:58
guns joined20:58
bamj0rb Mostly good for you, but yes.20:58
r00tWearsRedHats joined21:00
tpollard joined21:00
LBV_User left21:00
thegorn_ left21:01
thegorn joined21:01
impaktor left21:01
jonatasnona left21:01
troyswanson left21:01
mmitchell left21:02
jonatasnona joined21:02
mmitchel_ left21:02
scientes left21:02
Sound left21:02
jonatasnona left21:03
jonatasnona joined21:04
pixelgremlins joined21:04
pr0ton left21:04
SamB hmm, given a list of refs, is there a convenient way to find out the sizes of the objects they refer to?21:04
blindingdawn left21:04
johnflux__ left21:04
blindingdawn joined21:05
robtow1 left21:05
SamB (would it make a difference if this list of refs was, in fact, "all of them"?)21:05
Norm__ joined21:06
CheckDavid joined21:06
jonatasnona left21:07
tdmackey left21:07
jonatasnona joined21:07
chrisledet left21:07
raonyguimaraes joined21:07
pr0ton joined21:07
Norm_ left21:08
jonatasnona left21:09
dcpc007 left21:09
diegoviola joined21:09
pr0ton left21:09
jonatasnona joined21:09
pr0ton joined21:10
dcpc007 joined21:10
rubatdub left21:11
jonatasnona left21:11
SocalNick joined21:11
jonatasnona joined21:11
jonatasnona left21:13
jonatasnona joined21:13
thegorn left21:14
jarr0dsz joined21:14
thegorn joined21:14
jonatasnona left21:15
jonatasnona joined21:15
johnnyfuchs joined21:15
johnnyfuchs left21:15
aard_ left21:16
jonatasnona left21:16
jonatasnona joined21:17
jonatasnona left21:18
_Vi joined21:20
AWinterman left21:20
ewnd9 joined21:21
FortySix2 left21:22
FortySix2 joined21:23
Kayra joined21:23
greggroth left21:23
infynyxx joined21:23
skorgon joined21:24
lindenle joined21:26
bbloom joined21:26
scientes joined21:26
scientes left21:26
scientes joined21:26
harish left21:27
EugeneKay Convenient? No.21:27
As for Author IDs stuff above(I'm too lazy to actually read through it, but hey....) Gerrit has a (annoying) system which tries to make sure youre using the right email address for submitted patches21:27
babylon9 left21:28
Kayra left21:28
cannonball left21:29
Imagineer left21:30
cn28h left21:30
andschwa` left21:31
PeterBooker joined21:31
b3tamax left21:31
jackneill left21:32
abelsiqueira left21:32
eijk_ left21:34
tjbiddle left21:35
irqq left21:35
Naoe-Kanno joined21:36
fostertheweb joined21:36
SHyx0rmZ left21:38
schemanic joined21:39
pr0ton left21:40
SocalNick left21:41
greggroth joined21:42
vtunka left21:42
tidu12 joined21:43
cannonball joined21:43
SocalNick joined21:43
Advocation left21:44
phipes left21:44
cff_ joined21:44
AWinterman joined21:44
sq-one left21:44
tidu12 left21:45
fluxdude joined21:45
tidu12 joined21:48
fostertheweb left21:50
FortySix2 left21:50
rendar left21:50
pr0ton joined21:51
FortySix2 joined21:51
EGreg left21:51
gnoel left21:52
CKyle left21:53
yourbestfriendYOURBESTFRIEND21:54
alezost left21:55
CKyle joined21:55
adiga left21:56
SocalNick_ joined21:57
neoian2 joined21:58
iamjarvo_ left21:59
PeterBooker left21:59
SocalNick_ left21:59
iamjarvo_ joined21:59
dreiss joined21:59
SocalNick left21:59
jgornick Hey guys, if I'm in the master branch, is it possible to merge into a develop branch without having to checkout the develop branch and then merge the master branch in?22:00
pr0ton left22:00
SocalNick joined22:00
petey joined22:01
PeterBooker joined22:01
SocalNick left22:01
bamj0rb jgornick: No. Merging always happens to the working tree.22:01
jgornick bamj0rb: Ok very cool :)22:02
SocalNick joined22:02
bamj0rb jgornick: You could clone elsewhere, merge, push, and rm -fR, but it's probably not worth it.22:02
jgornick Yeah, I'll checkout instead :)22:02
leprechau left22:02
bamj0rb jgornick: You could perhaps use GIT_WORK_TREE to convince Git to do the merge elsewhere, but again probably isn't worth the mess and cleanup.22:03
jgornick Yeah, doing git checkout develop && git merge master is just fine :)22:03
iamjarvo_ left22:03
mizu_no_oto left22:04
leprechau joined22:04
atomx_ left22:04
CKyle left22:04
psyl0n joined22:05
atomx joined22:05
shawndumas left22:05
psyl0n left22:06
atomx left22:07
atomx joined22:08
jcarouth`jcarouth22:09
leprechau left22:09
pr0ton joined22:09
Tomylobo left22:09
aantix joined22:10
fobius joined22:10
m8 left22:10
dort left22:10
CodeShark left22:11
thevishy left22:11
schemanic_ joined22:11
marhaban joined22:12
schemanic__ joined22:13
schemanic left22:13
psyl0n joined22:14
schemanic_ left22:16
Feelsenburg1 joined22:16
Pullphinger left22:17
CKyle joined22:17
Feelsenburg left22:18
gittish joined22:19
cannonball left22:19
hellopat left22:21
Nicholas_Rishel left22:21
LuxuryMode left22:23
jeffszusz left22:24
mdiers left22:26
s0beits0beit|ZNC22:29
gunmuc joined22:29
Kayra joined22:31
Kayra left22:31
Kayra joined22:32
psyl0n left22:32
petey left22:32
johnflux__ joined22:32
smashwilson left22:32
johnflux__ left22:32
johnflux__ joined22:32
AaronMT joined22:33
Roots47 left22:33
Technodrome joined22:35
Technodrome i've been stuck in svn land for so long22:35
decimad2 joined22:35
BlakeRG joined22:35
AWinterm_ joined22:36
BlakeRG i am having an issue i've never seen happen with git before. As soon as i check out a branch two files appear to be modified and i try to reset them nothing happens. If i remove them from the filesystem and resotre via git they still appear to be modified. When i look at the diff the entire file is modified.. any ideas?22:37
FortySix2 left22:37
Roots47 joined22:37
bamj0rb Technodrome: Whe one of your "bros" says to check out some girl your response is "I don't have time for that!" ?22:37
decimad left22:37
bamj0rb BlakeRG: EOL issues. !eol22:37
gitinfo BlakeRG: The option/attribute to use when you need to care about different line-endings in your file: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/22:37
Nicholas_Rishel joined22:38
bamj0rb Hmmm, what about !crlf...22:38
gitinfo to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/22:38
mizu_no_oto joined22:38
AWinterman left22:40
andrei_aru joined22:40
cromestant joined22:40
karavanjo joined22:41
andrei_aru left22:41
Strato joined22:41
Strato left22:41
FortySix2 joined22:41
fobius Is there any difference between running git merge --squash and git merge --squash --no-commit?22:41
tang^ yes22:42
nettoweb left22:42
fobius What?22:42
tang^ the latter doesn't commit automatically22:42
fobius Neither does an automatic commit for me22:42
Strato joined22:43
tang^ well, I stand corrected22:43
the documentation does say that --squash does not commit the merge22:44
fobius I think they do the same thing. I was just wondering because pro git has a section where they do git merge -s subtree --squash --no-commit somebranch22:44
cromestant hello everyone, I have a repo based on the atalassian git worlflow we have a master branch and a develop branch, aswel as other feature branches, I want to merge a feature branch into develop, but am getting weird behavior. Just to be clear the origin repo was created as a bare repo. so on a new directory I clone the repo (git clone user@server:path/to/repo.git) then I checkout the develop branch (git checkout -b develop), then git status shows nothing22:44
be updated and git log shows a month old commit. so I try and do a git pull origin develop and I immediately get a vi prompt as a commit message editor. the first line states: Merge branch 'develop' of server:/path/to/repo.git develop into develop. what am I doing wrong here?22:44
andschwa` joined22:44
Dougie187 left22:45
fobius But I'm finding pro git to be increasingly unreliable since diff-tree does not do what they said it does either.22:45
danman left22:46
fobius cromestant: What are you confused about? It sounds like it's doing an automatic merge and asking you to commit the result.22:48
dark_splinter left22:48
bamj0rb cromestant: git pull is actually git fetch and git merge. So it is trying to merge the branch.22:48
rhombus joined22:48
bamj0rb cromestant: If you are on master then git checkout -b develop will create a local branch based on origin/master, NOT origin/develop.22:49
dlam joined22:49
cromestant thank you, but I have not done any changes I'm just trying to get the changes from the server22:49
the "last commit"22:49
bamj0rb (Technically based on just refs/heads/master, but since you just cloned that is based on origin/master)22:49
dlam hmm im doing a 'git bisect' and the first bad commit is a merge: how do i inspect what went wrong?22:49
bamj0rb cromestant: Check git log origin/develop.22:49
cromestant bamj0rb: ok so that is probably what is happening, how do I switch to origin develop22:49
nettoweb joined22:50
greggroth left22:50
fobius cromestant: git checkout -b develop origin/develop will setup develop to track origin/develop22:50
bamj0rb cromestant: If you are currently on your develop then you probably want to do git reset origin/develop.22:50
gnoel joined22:50
cromestant ok great!22:51
let me try this22:51
bamj0rb dlam: A merge commit is not particularly special. It introduces changes. The only real difference is that it has multiple parents.22:52
dlam: You can access the different parents of a commit like this: <commit>^1 = 1st parent, <commit>^2 = 2nd parent, etc.22:52
WaReZ left22:52
harobed joined22:52
dlam ohhh cool thanks, didnt know about the concept of 'parents'22:53
zumba_addict left22:53
bamj0rb dlam: man gitrevisions22:53
gitinfo dlam: the gitrevisions manpage is available at http://jk.gs/gitrevisions.html22:53
JEEB left22:53
AaronMT left22:53
richgilbank left22:54
JEEBcz joined22:54
DolpheenDream joined22:54
PeterBoo joined22:55
AaronMT joined22:56
yaymukund left22:56
lavaman left22:56
jerius left22:56
mdiers joined22:57
PeterBoo left22:57
dark_splinter joined22:57
psyl0n joined22:57
Technodrome left22:57
nettoweb left22:58
BBBThunda left22:58
cff_ left22:59
PeterBooker left22:59
chuckharmston left22:59
fobius Is there a sane way to check against all subtrees in a project to see if they are different from their origins?23:00
chuckharmston joined23:00
bamj0rb Define "subtrees". :-/23:00
I'm going to say no, but that isn't definitive.23:00
Gavrisimo joined23:00
johnmilton left23:01
WaReZ joined23:01
bamj0rb I suppose if you just mean a set of paths then you should be able to list them and loop diffing them each. Of course, then you have to define "origin".23:01
cromestant that was it thank you all23:02
jave left23:03
bamj0rb cromestant: IIRC, git checkout -b origin/develop would have created a local branch named develop based on origin/develop. Or the most clear way is to use the 2 argument git checkout.23:03
rhombus left23:03
bamj0rb Actually, I think the last time I tried git checkout -b origin/develop I got a branch literally called origin/develop AKA refs/heads/origin/develop. So I'd probably stick with 2 args.23:03
infynyxx left23:04
cromestant yes, exactly what just happened, detached my head :)23:04
chuckharmston left23:04
jave joined23:05
sassyapril joined23:05
ewnd9 left23:05
CKyle left23:06
Technodrome joined23:07
ojacobson left23:07
shawndumas joined23:07
pengunix left23:08
fobius bamj0rb: I'm talking about something like git diff HEAD:/someBranch someBranch except for every someBranch23:09
I guess I could just do like ls -d ./bundle | xargs -I branch git diff HEAD:/branch branch23:10
tufflax left23:10
jarr0dsz left23:10
bamj0rb left23:10
jarr0dsz joined23:11
tomnewmann joined23:11
valgrind left23:12
CKyle joined23:12
tomnewmann left23:13
sassyapril left23:13
osse fobius: what does HEAD:/branch mean?23:13
Feelsenburg1 left23:15
el3ctron_ left23:15
esto left23:15
esto joined23:15
fobius osse: Should have been HEAD:branch23:16
osse: Just means directory branch on HEAD23:16
hwrd|work joined23:16
bremner ooc, why is there a directory named branch?23:16
AWinterman joined23:16
fobius bremner: It's not named branch - that's just the placeholder I was using with xargs23:17
halu left23:17
ianmcorvidae left23:18
Roots47 left23:18
ianmcorvidae joined23:19
qsuscsqsusOFFcs23:19
BlakeRG left23:19
AWinterm_ left23:20
osse fobius: git for-each-ref --format='%(refname:short)' 'refs/heads/*' | while read -r branch; do git diff HEAD "$branch" -- some-dir; done23:20
or something like that23:20
valgrind joined23:20
SocalNick left23:20
osse ?23:20
Roots47 joined23:21
chrisgeorge left23:21
mklappstuhl joined23:21
SocalNick joined23:21
fobius osse: I don't think that's quite the same. git diff HEAD branch -- some-dir implies that the two branches are rooted in the same place and that I want to restrict the changes that I see to that dir.23:22
FortySix2 left23:22
fobius In this case the two branches have different roots - the root of one is a subdirectory of the ohter23:22
osse I thought that was what you meant23:22
oh23:22
mastro joined23:23
fobius I think I can get it to work this way though23:23
chrisgeorge joined23:23
fobius or that would work but it would be do git diff HEAD:branch "$branch"23:23
aantix left23:23
SamB mumbles something about man git diff-trees23:24
pantsman left23:24
osse fobius: find the sha1s of the trees ("directories") you want to compare and use git diff-tree23:24
SamB: heh23:24
JEEBcz left23:24
timthelion left23:24
osse you beet mae 2 itt23:24
SamB but spelled it wrong I think23:24
osse you did23:24
Spyro left23:25
joaoh82 joined23:25
DoniRS left23:26
fobius diff-trees will work too. It's just a little harder I think.23:26
schemanic__ left23:26
eijk_ joined23:26
schemanic joined23:26
andschwa` left23:27
liamkeily left23:27
fluxdude left23:27
j416_j41623:29
jvns left23:29
mbrevda left23:30
madewokherd joined23:31
mklappstuhl left23:31
Strato left23:31
zhost left23:32
Technodrome left23:32
Brmm joined23:32
tufflax joined23:33
ELLIOTTCABLE_ELLIOTTCABLE23:35
ajm203_ joined23:35
JonnyNomad joined23:35
ajm203 left23:36
ajm203_ajm20323:36
King_Hual left23:36
teran joined23:37
nettoweb joined23:38
Spyro joined23:38
threesome left23:38
hellome joined23:39
BlaDe^ is gitolite recommended?23:40
hellome left23:40
hellome joined23:41
CKyle left23:41
greggroth joined23:41
madewokherd left23:42
osse BlaDe^: for what? Certainly not for cleaning your car! :O23:43
albel727 left23:43
Technodrome joined23:43
shawndumas left23:43
fairuz left23:43
teran left23:44
cromestant left23:44
DolpheenDream left23:44
mastro left23:46
harobed left23:46
Technodrome left23:46
leeN left23:46
netj left23:47
schemanic left23:47
netj joined23:47
schemanic joined23:48
AWinterman left23:50
BlaDe^ osse: hosting our git repos heh23:50
osse: currently on beanstalk, wondering if it'll be a headache to host ourselves or just to go with gitjub23:50
github*23:50
i basically want to start implementing auto linting and unit testing and such with githooks23:50
AWinterman joined23:50
lavaman joined23:51
osse BlaDe^: I have no personal experience with gitolite from the admin perspective, but yeah it is generally the tool that is recommended23:51
BlaDe^ i would probably still use github in read-only mode23:51
AWinterman left23:51
platzhirsch joined23:52
AWinterman joined23:52
platzhirsch When I enter git rebase -i HEAD~2 vim starts to ask what actions I want to perform, but when I move to the commit and press <e> simply the vim command is executed and not the edit command23:52
skorgon platzhirsch, you have to choose the action for each commit and then write the file and close the editor. then git goes and starts the actual rebase23:53
Silmarilion left23:53
eijk_ left23:53
platzhirsch skorgon: do I have to insert the e?23:53
ah nevermind, now I see it23:54
there is already pick, which I replace with edit23:54
skorgon if you want to edit a commit, you have to replace the 'pick' with e or edit23:54
platzhirsch Didn't quite realize it's there :) thanks23:54
skorgon np23:54
breakingthings left23:54
platzhirsch Sweet, I always wanted to time travel23:55
Devastator_Devastator23:55
DrShoggoth left23:55
skorgon platzhirsch, just be aware of !rewrite23:56
gitinfo platzhirsch: [!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/waqum23:56
AWinterman left23:56
platzhirsch oh good point. No problems since I am the only one working on it, but otherwise...23:56
AWinterman joined23:57
nettoweb left23:57
el3ctron joined23:57
bambams sitaram: I'm not sure how to create a user account in Linux that can ONLY grant shell access via su -.23:58
shruggar joined23:58
Stalkr left23:58
bambams Hmmm, perhaps passwd --lock. I will investigate...23:58
johnkevinmbasco joined23:58
skorgon bambams, set the login shell to /bin/false?23:59
hholtmann left23:59
bambams skorgon: I think that would prevent su - from working, no?23:59
kermit left23:59

Logs Search ←Prev date Next date→ Channels Documentation