IRCloggy #git 2010-12-28

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.

2010-12-28

d0k you expect something that's advertised as "the information manager from hell" to have any of those properties? ;)00:01
NewtonianB left00:02
chrischambers left00:03
^Mike Yes! :D00:03
charon d0k: Hell has had a stable API for about 2000 years and reached feature completeness in 1321. not sure where you could find any fault with that00:04
d0k :D00:05
amerine joined00:05
hyperair left00:05
jarrod_ joined00:06
gilaniali left00:06
chrischambers joined00:09
chessguy left00:14
codykrieger joined00:15
tiagobutzke left00:20
icwiener left00:21
tiagobutzke joined00:22
kokx ^Mike: well, in the windows sense of library, it should never be a library in my eyes, separate processes for everything are cool :D00:28
petercoulton left00:28
cbreak but slow00:30
and error prone00:31
(because you have to handle all the marshaling)00:31
JEEB left00:32
sitaram joined00:32
JEEB joined00:32
sitaram left00:32
xiangfu joined00:33
Slix`` joined00:33
sitaram joined00:33
d0k left00:34
sitaram left00:35
Slix` left00:36
sitaram joined00:37
xiangfu left00:40
Christoph^ joined00:41
sivy joined00:42
homy left00:43
sou_ left00:44
Textmode joined00:50
flaguy48 left00:53
zxiest left00:58
sivy left00:59
QinGW joined00:59
Casmoo left00:59
hyperair joined01:14
tiagobutzke left01:14
tg joined01:15
ExtraSpice left01:15
codykrieger left01:16
masonkramer left01:16
masonkramer joined01:16
amerine left01:16
tiagobutzke joined01:18
sou_ joined01:19
bcardarella left01:23
gilaniali joined01:24
gilaniali left01:25
RobertLaptop joined01:26
xiangfu joined01:27
Christoph^ left01:29
justin-george left01:31
xiangfu left01:31
tgunr joined01:34
tiagobutzke_ joined01:34
tiagobutzke left01:35
tiagobutzke_tiagobutzke01:35
whitedragon joined01:36
Bombe joined01:39
robotarmy joined01:39
Mage_Dude joined01:48
kanru joined01:49
tgunr left01:49
halstead joined01:54
Angel-SL joined01:55
charnel left01:56
wliao joined02:01
sivy joined02:02
frakturfreak left02:04
_sh3 joined02:04
zombor left02:05
hal left02:14
rocketeerbkw joined02:15
frakturfreak joined02:15
blaenk joined02:16
vitor-br left02:20
kanru left02:25
kpreid left02:25
Vampire0_ joined02:27
zombor joined02:28
Vampire0 left02:28
jdav_gone joined02:30
waterbourne joined02:31
waterbourne is there a way to merge a submodule into a parent project such that the commit history of the submodule would be visible intelligibly afterwards?02:33
jdav_gone left02:35
treak007 joined02:36
hobodave joined02:38
ereslibre_laptop left02:41
sivy left02:49
chrischambers left02:51
zxiest joined02:54
cubuanic joined02:54
kpreid joined02:55
rocketeerbkw is there a way to clone a subdir of a repository? I'm on a slow connection and I just want /root/code instead of cloning all /root02:56
tewecske left02:58
sonnym joined03:01
MetaCosm joined03:03
chessguy joined03:04
stringoO joined03:07
tiagobutzke left03:07
pyther joined03:08
pyther Hello maybe someone can help me03:08
I created a new branch, checked it out and have committed my changes to that branch03:08
however when I do a git diff master syslinux it doesn't show the changes with my latest commit03:08
it still shows old commit code03:08
sivy joined03:08
Bombe left03:09
Bombe joined03:09
Bombe pyther, have you tried “git diff master..syslinux”?03:09
pyther Bombe: no, but I just tried and it is showing the same old code (from the syslinux branch)03:10
Bombe pyther, what branch did you commit to?03:11
brosner left03:11
pyther I believe the syslinux branch03:12
Amorphous left03:12
pyther Bombe: is there a command that'll show me the last commit, so I can double check and make sure?03:12
Bombe pyther, does “git checkout” show syslinux as the current branch?03:12
uhm, wait.03:12
“git branch” of course.03:12
pyther Bombe: yes, it has an astrik next to it03:13
Bombe Okay, “git show -p” shows the current commit.03:13
That should be one of your commits.03:13
blaenk hey guys, something that has always confused me: I clone a repository but I wan't to 'run' a branch other than master, how do I do this? say I want to have branch 'apple'03:13
something about remote branches or something, I forget03:13
simplechat joined03:14
blaenk assuming branch apple was pushed to teh repository I cloned03:14
pyther Bombe: git show, shows some of the new stuff I've added03:14
Bombe pyther, okay, then “git diff master” should show the changes you made after you branched from master.03:15
pyther errr... I lied git show, shows only my first commit I made today03:15
blaenk anyone? :)03:16
Bombe pyther, yes, git show only shows the last commit.03:16
pyther, try “git show -p HEAD~1” for the one before that.03:16
blaenk git branch -la shows: remotes/origin/apple03:16
Bombe blaenk, “git checkout -b apple origin/apple”03:16
blaenk thanks Bombe03:16
then if I make a change on my dev machine to that branch and push it, how would I update? just git pull while being on that branch?03:17
pyther Bombe: I guess I somehow never committed my latest change o_o03:17
I could swear I did03:17
pyther shrugs03:17
Bombe pyther, try gitk. Maybe you committed them to some other branch by accident?03:17
rctay joined03:23
pyther Bombe: nope, must just be really "out there" too night03:23
_Vi left03:23
NewtonianB joined03:26
accel joined03:26
Amorphous joined03:26
accel without doing a git -rm, how do I tell git to stop tracking a file?03:26
NewtonianB if i have C:/dir/gitdir and gitdir contains my .git folder and all my source, can i cut everything and paste it in C:/dir without screwing up everything?03:26
saysjonathan left03:26
ki___ joined03:27
accel is there a way to say "git status" relative to the root, rather than "git status" relative to current directory?03:27
ki___ Hello. I have two work stations I use. One is mobile. What is the appropriate method to synchronize local branches I may be working on?03:27
Do I need the git server portion installed on my work stations or can i synchronize my work some other way?03:28
genjix joined03:28
ki___ I have tried copying the files including the .git folder but I had issues getting the files moved set up on the web server ... it was missing some things03:28
jdav_gone joined03:30
sivy left03:33
Elfe_ left03:33
ka1ser joined03:34
accel left03:38
stringoO left03:40
ketas-av joined03:41
treak007 left03:41
Elfe joined03:47
rlb "git checkout FOO -- bar" returns with no message and no error if bar doesn't exist in FOO. Is that intentional?03:58
SethRobertson ki___: The *easiest* way is to set up a remote from each side and "pull" from the new remote when trying to incorporate the changes.04:02
ki___ SethRobertson, on the remote git server ...04:03
SkydiveMike left04:06
SethRobertson While you can use a remote git server for the communication, if you use the public server then everyone else can see the work in progress. Only you can say whether or not this is a good idea.04:09
ki___ what I was suggesting was a way for the workstation and the mobile to directly communicate to avoid the public third party04:10
schambers joined04:11
ki___ SethRobertson, I am new to git. Should I search for "setup remote git branches"?04:11
SethRobertson, or could u kindly refer me to a specific doc if you know what I can read to accomplish this04:12
SethRobertson ki___ man git-remote. Specifically the "git remote add" subcommand04:12
jast the 'git-remote' manpage can be found at http://git.or.cz/man/git-remote [automatic message]04:12
rocketeerbkw is there a way to clone a subdir of a repository? I'm on a slow connection and I just want /root/code instead of cloning all /root04:15
SethRobertson Then once you have the remote set up, when you are done one a particular system you commit your work. When you start up on the other system, you `git pull laptop` or whatever to get the latest changes you committed on the other system04:15
rlb I guess I would have expected the git checkout to return with something like "bar does not exist in FOO"...04:16
SethRobertson rocketeerbkw: You can do shallow clones and sparse checkouts, but you always have the entire contents of the latest revision in the repo at a minimum04:16
rocketeerbkw SethRobertson: thx. doing just a fetch instead of fetch+merge won't save me any bandwidth right?04:20
jast rocketeerbkw: no.04:21
SethRobertson rocketeerbkw: fetch uses the network, merge does not. pull is fetch+merge (or fetch+rebase)04:22
jast rlb: I do get an error message04:22
error: pathspec 'foobar.h' did not match any file(s) known to git.04:22
zorzar_ joined04:23
zorzar left04:26
rlb jast: what git version?04:33
jast rlb: 1.7.3.204:34
NewtonianB left04:34
rchavik joined04:35
rsewill left04:37
genjix left04:39
Fissure 1.7.0.4 has it too... you must be on something pretty old04:41
jast rlb: fwiw, that feature was added in git 1.4.4.1 in november 2006 :)04:43
Fissure O_o04:44
entrosca joined04:44
Fissure rlb: how's your 2.6.0 kernel holding up? :P04:45
jast (I'd like to note that it's pretty amazing that git makes it easy to find out stuff like that)04:45
Fissure jast: what did you use to search for it?04:45
Figaroo joined04:46
Figaroo I need help getting started with git. Anyone have any good beginning tutorials?04:46
jast Fissure: I went through several steps: git log -S"known to git"; git log -S"match any" -M -- builtin/ls-files.c; git log -S"error-unmatch" -- git-checkout.sh04:47
admittedly, I used some prior knowledge, too04:47
Fissure Figaroo: there are many; git comes with man gittutorial04:48
jast Figaroo: the 'gittutorial' manpage can be found at http://git.or.cz/man/gittutorial [automatic message]04:48
Fissure there's also pro git and the git community book if you're looking for something more hefty04:49
jast so here's a complete book for you: http://progit.org/book/04:49
Fissure and "git for computer scientists"/"git from the bottom up" for a more theoretical introduction04:49
though those two are probably a bit dated at this point (but it's moot because the core data structures have stayed the same except for submodules almost since the beginning)04:50
the problem may be that git has /too much/ documentation :)04:51
Figaroo I'm just not exactly sure on what it IS04:51
justin-george joined04:51
orafu left04:52
Fissure Figaroo: it's magic04:52
http://en.wikipedia.org/wiki/Revision_control04:52
Figaroo oh god04:52
jast more triggers: !cs, !bottomup, !book04:52
Fissure "oh god"?04:53
Figaroo: what are you trying to do/how did you get here?04:53
pyther left04:53
orafu joined04:54
Figaroo haha, I want to host my code for free and I heard github was better than google code04:54
jast so you know about subversion?04:56
Fissure i'd say that is quite true04:56
Figaroo hardly04:57
jast uh, what were you doing at google code if you don't know much about subversion in the first place? ;)04:58
Fissure Figaroo: good; you don't have to forget about all the bad things it teaches you04:58
aah joined04:59
Figaroo heh, is git a filesystem, or is that too far of a definition for it?05:03
Fissure git is a version control system built on top of a versioned, content-addressable filesystem05:04
Figaroo is git a program?05:04
sitaram charon: ping...05:04
Fissure yes05:04
jast I think we can safely say that it is :)05:04
Figaroo like it's a program that downloads the files through the git protocol05:05
jast but perhaps it has become conscious while we weren't looking05:05
Figaroo jast, lol05:05
Fissure jast: naw, we gotta wait until aug 29 before that can happen05:05
jast oh?05:05
sitaram oh? from me too05:05
Figaroo so where does it download the files to on my computer?05:06
Fissure is proud to say he shares a birthday with michael jackson and skynet05:06
sitaram what a combo!05:06
Fissure Figaroo: whereever you tell it05:06
jast Figaroo: up to you. I suggest you just play with it a little. perhaps look at the book I mentioned.05:06
if you are actually interested in doing version control, that is05:07
otherwise I don't quite know what exactly you are here for in the first place. :)05:07
Figaroo I want to know how it works so I can use it on github05:07
jast for what?05:07
Figaroo my javascript libraries and stuff05:08
halstead left05:08
jast so, you *are* interested in *version control*? or just in dumping your files somewhere?05:08
Fissure imo, if the thing you're coding is anything other than a shell/perl script that's < 100 lines, you want to be using version control05:09
sitaram < 1005:10
if it's perl, < 505:10
Fissure i was being generous :)05:11
jast depends on your dialect of perl05:11
t0rc left05:12
jast I prefer the non-write-only dialect05:12
Figaroo I want to dump my files somewhere and would like to update newer versions of my libraries, maybe take feedback somehow from users05:12
jast ah well05:13
zombor left05:13
napster_123 joined05:13
jast start with the tutorial, I guess (http://git.or.cz/man/gittutorial)05:14
Fissure sitaram: i'd say the first 5 lines of any perl script should consist of shebang, comments, and use {strict,warnings}05:14
sitaram jast: I was half joking -- perl and shell are the only things I use anyway :-) I prefer to write readable perl also, but for some people "readable" means "dont use perl idioms at all" :-)05:15
jast github has a bunch of guides, too05:15
sitaram Fissure: ^05:15
jast sitaram: ah well, in that case they might as well use BASIC05:15
sitaram COBOL05:15
<evil grin>05:15
jast Fissure: use common::sense;05:15
sitaram jast: I've had people complain that I'm using nested hashes in gitolite, saying that makes it unmaintainable. I basically ignored them!05:16
jast nested hashes? as in $foo->{abc}{def}?05:16
sitaram yup05:16
jast uh, so what?05:16
it's not rocket science05:16
sitaram jast: I don't know; I never bothered to respond and find out what their beef was... I think they tried to make some change, failed to grok the data structure I had built, and were venting05:16
Fissure i can't see myself making a multi-file perl program without moose05:17
jast I can. especially if it uses a framework that doesn't like moose.05:18
such as, perhaps, POE (I haven't actually tested whether they are incompatible)05:19
sitaram or if it has to run on any perl anywhere, like my aim for gitolite is/was/will be05:19
(with no root access or any additional requirements than what git itself needs)05:19
jast anyway, I'm gonna hope for perl6 coming out soon so that I don't have to start seriously using moose at all05:19
(yeah, right)05:19
and then there's my secret project for getting rid of everything that annoys me about programming05:20
(also, not very active project)05:21
Fissure jast: remind me to ask the bookie what the current odds are on perl 6 vs hurd vs duke nukem forever coming out first05:22
jast duke nukem has a release date05:22
kukks left05:22
aah left05:23
aah joined05:23
sitaram jast: that thing we were discussing yesterday, about GIT_PS1_SHOWDIRTYSTATE=ondemand? Won't work -- because it gets called via $(...), it can't maintain state. (I call it via PROMPT_COMMAND)05:27
charon: ^ (if you see this)05:27
jast I'm not really familiar with the bash completion script05:29
not least because I actually use zsh05:29
waterbourne left05:31
SpookyET joined05:32
SpookyET Hello05:32
sitaram jast: aah I see; nvm then05:32
SpookyET Is it possible to use .gitignore not to ignore files, but to ignore certain lines of a file, for example, authentication in dot files?05:32
Fissure SpookyET: no05:33
usually you split things out into a template file without credentials which is kept in the repo, and people copy that and fill it in05:34
SpookyET Fissure, you mean create a censored branch?05:35
Fissure no, you leave the version with the private stuff untracked05:35
just keep the file small and updating it when the template changes isn't an issue05:36
fivetwentysix joined05:40
alezandro left05:41
j4m3s joined05:48
rlb Fissure, jast: thanks; git's 1.7.2.3, kernel's 2.6.32 -- I imagine I was just doing something wrong, but the tree's gone. I'll check more carefully if I notice it again.05:48
j4m3s i'm trying to do a git clone from a git repo and i'm unable to do it over git:// (http:// works)05:49
i've opened tcp 9418 on my cisco access list05:51
jast j4m3s: can you paste the error message to a pastebin?05:52
jfkw left05:52
j4m3s jast: yes thx http://pastebin.ca/203116005:52
slonopotamus joined05:55
Buglouse left05:56
j4m3s jast: and it works if i specify http:// albeit slowly05:56
zombor joined05:57
jast well, either something on your network is still filtering the connection, or routing is broken05:57
justin-george left05:58
justin-george joined05:58
jast if you can't figure out the problem, note that starting from git 1.6.6, HTTP is almost as fast as git:// on servers that support it (that server does)06:00
pheaver joined06:00
ki___ left06:00
j4m3s jast: when i use http it creeps along06:00
_sh3 left06:02
junyongsuh joined06:03
justin-george left06:03
pheaver left06:04
mmc left06:05
jast j4m3s: it's normal for it to take long on forks of linux, no matter the protocol06:06
junyongsuh i have a problem while connecting to git server06:06
it says,06:06
Permission denied (publickey).06:06
fatal: The remote end hung up unexpectedly06:06
it seems like i have to add some public keys or something to connect to git server from my desktop06:06
j4m3s jast: thx06:07
jast junyongsuh: what kind of server? one you manage yourself, or a git hosting provider (if so, which one)?06:07
junyongsuh i'm using git on my local desktop (mac pro) and, i'm going to GitHub for provider06:08
actually, i'm following steps from the book Ruby on Rails Tutorial06:08
jast junyongsuh: http://help.github.com/linux-key-setup/06:09
cubuanic left06:09
jast should be very similar on osx06:09
be careful about deleting existing keys, of course06:10
junyongsuh i've read this page,06:10
but in ~/.ssh,06:10
i only hav know_hosts06:10
then should I make other files by meself?06:10
jast so, look at the section "Generating a key" :)06:10
junyongsuh okay, then it means I don't have any keys in advance so I have to generate one, right?06:11
jast yes06:11
junyongsuh thanks, i'll give it a shot!06:11
veroveroyoon joined06:12
j4m3s left06:15
chessguy left06:17
drl left06:18
zombor left06:19
pheaver joined06:19
albel727 joined06:21
blaenk left06:22
MikhX left06:24
ceej left06:28
drl joined06:30
ki__ joined06:34
Figaroo I'm reading progit.org's book. My question at this point is how does each version of a file get saved?06:34
if I save a file 5 times, does that create 5 different versions of a file?06:34
ki__ SethRobertson, would I need gitosis to host the "remote repository"?06:34
Arrowmaster ki__: gitosis is deprecated06:34
Fissure Figaroo: what do you mean by "save"?06:34
ki__ Arrowmaster, I want to share a LOCAL branch on my desktop with my laptop, then back to my desktop06:35
Fissure writing your editor's internal state to disk has nothing to do with git06:35
robotarmy left06:35
ki__ SethRobertson, suggested adding a remote06:35
Figaroo Fissure, when I modify a file on my machine's HD.06:35
ki__ I am reading the remote-add man page ... it needs a url for the hosted git remote repo06:35
SethRobertson ki___: Several hours ago. I wasn't suggesting adding a remote server, though you could. gitosis is overkill for one person06:35
Just add remote laptop on your workstation and workstation on your laptop, then you can pull from the other checked out remote repository06:36
ki__ SethRobertson, I'm not sure how to get the remote added. It says: fatal: Not a git repository(or any of the parent directories): .git06:36
Figaroo If I checkout a project on github, then modify one of the files within that project 10 times, does that mean that there are 10 versions of that file on my computer somewhere?06:36
Fissure Figaroo: like i said, doing a save in your editor is tangential to any use of git06:37
EvilSushi joined06:37
SethRobertson ki___: Step one: figure out how to ssh to laptop from workstation and from workstation to laptop. If this cannot be done, then setting up a server repo might be the best approach06:37
Fissure you need to invoke git explicitly for a new version to be recorded06:38
mmc joined06:39
Figaroo well if I save a modify a file, shouldn't git keep a copy of it to revert back to?06:39
isn't that the whole point of git?06:39
napster_123 left06:39
Fissure it keeps the last copy you told it to06:39
you could conceivably add a hook in your editor to make a commit whenever you save, but that's not a very good idea06:40
sraue left06:40
dominikh the idea is to be able to revert to *defined* states06:41
Arrowmaster Fissure: read this http://tom.preston-werner.com/2009/05/19/the-git-parable.html06:41
Figaroo So I have to commit changes of a file to the repositoy?06:41
Fissure Arrowmaster: tab completion fail?06:41
Arrowmaster sorry, Figaroo06:41
yes06:41
Fissure Figaroo: yes06:42
Figaroo And the repository is both on my machine and on a centralized server somewhere?06:42
Fissure there are two repositories, and you may send changes between them06:42
Figaroo the two repositories are on my computer and somewhere else?06:43
Arrowmaster Figaroo: read this for a bit of the how and why git works http://tom.preston-werner.com/2009/05/19/the-git-parable.html06:43
ki__ SethRobertson, ssh is set up06:43
blaenk joined06:43
SethRobertson ki____: So on laptop run `ssh workstation ls -d /path/to/repo/.git`06:44
blaenk left06:44
napster_123 joined06:44
SethRobertson ki_: Once that works, the remote URL would be: ssh://workstation/path/to/repo (without the .git)06:45
Fissure Figaroo: yes, one on your computer, one on github's06:45
SethRobertson ki_____: You should be able to add that remote and the fetch it.06:45
Fissure potentially many more elsewhere, if other people have cloned from github06:45
Figaroo So, will people be able to commit to my github repo?06:46
Arrowmaster no, not unless you let them06:46
which i dont think you can do with a free account06:46
slonopotamus left06:47
Fissure i think you could several years ago06:47
we did it somehow06:47
MikhX joined06:47
EvilSushi left06:47
Fissure though that may have just been "add everyone's ssh key to the same account"06:47
i don't think so, though06:47
ki__ left06:49
_sh3 joined06:49
rsewill joined06:50
rsewill left06:51
rsewill joined06:52
sraue joined06:54
Adaptee joined06:55
ki__ joined07:00
ki__ SethRobertson, git remote add test ssh://HOSTNAME/var/www/working-copy07:02
fatal: Not a git repository(or any of the parent directories): .git07:02
ssh HOSTNAME; ## Logs in via ssh07:02
SethRobertson ki___: you are on your eg. laptop in your git repo on the laptop?07:03
ki__ ssh workstation ls -d /path/to/repo/.git returns the path to the .git folder07:03
SethRobertson, well, I haven't created the repo yet ...07:03
normally i would clone from the server07:04
do I need to do that?07:04
SethRobertson Yes, step zero: Create the repo. Go ahead and clone.07:04
from the server07:04
ki__ can i just make a generic git repo?07:04
to test this ..07:05
Fissure yes; clone is basically just init + set some config variables + fetch + checkout07:06
SethRobertson ki____: You can mkdir test-dir; cd test-dir; git init; git add remote ....07:06
ki___: but if you think that is going to be less expensive than the normal clone, you are wrong07:07
RoboTeddy joined07:07
RoboTeddy I've never done it, but it seems easy to overwrite working copy changes with 'git checkout <file>' -- if it were to happen, would there be a way to restore what you had?07:08
(it feels like it should be necessary to apply a force flag or something)07:08
drl left07:10
ki__ SethRobertson, it is cloning now07:11
eletuchy left07:11
monokrome joined07:11
monokrome Hi. I have a file called bin/fix-permissions - but git wont let me add it using this .gitignore: http://paste.pocoo.org/show/310701/07:11
I think that my !bin/fix-permissions isn't working. I've also tried using "bin/" instead of "bin/*", but no success.07:12
ki__ SethRobertson, okay the repository is cloned. I have CD'd into it07:13
Fissure if the number of things you want to keep tracked in bin is low, just add them with -f and ignore the whole directory07:13
SethRobertson ki_: Add the remote and fetch it07:14
ki__ git add remote REMOTE.NAME HOST:/path/to/dir07:14
fatal: pathspec 'remote' did not match any files07:14
crap git remote add07:14
git remote add worked07:15
at least I think it did07:15
Maahes joined07:16
SpookyET left07:16
Maahes this the first time this is ever happened for me, but git is refusing to connect / timing out on an address I can ping just fine. How can I go about determining what the issue might be?07:18
rchavik left07:20
ki__ SethRobertson, I got it to switch to the remote branch!07:20
SethRobertson Glad I could help07:20
ki__ SethRobertson, Now I am updating workstation, ie: committing, and i will use git pull to get the updates?07:20
SethRobertson Yes. Without a tracking relationship, you will need to name who you want to pull from. `git pull workstation master` or perhaps just `git pull workstation`07:22
drl joined07:23
Figaroo left07:25
dc5ala joined07:25
Maahes prefix the repo with git:// and it times out, prefix it with http:// and it just complains about missing info/refs07:26
nevermind, found a working repository07:27
Maahes left07:35
drl left07:38
_Vi joined07:46
guardian joined07:50
drl joined07:51
khmarbaise joined08:01
drl left08:01
napster_123 is there any way to see only the newly added files in previous 10 commits ?08:02
i did git diff HEAD~10 HEAD --name-only but it shows all affected files .... not just "newly added files"08:02
jast napster_123: --diff-filter=A08:08
napster_123 jast: ok trying that08:08
jast do or do not, there is no try... especially since it works ;P08:08
napster_123 trying means experiencing it myself.08:09
thanks for the switch08:09
jast you're welcome, and I'm not really seriously into word acrobatics anyway :)08:10
psankar joined08:17
MikhX left08:21
xtuser joined08:23
MikhX joined08:25
eletuchy joined08:36
blaenk joined08:36
amerine joined08:37
psoo joined08:38
guardian left08:40
blaenk left08:50
amerine left08:51
ExtraSpice joined09:02
Slix`` left09:02
junyongsuh left09:02
Neo|Desktop joined09:05
dr_win joined09:07
xtuser Hi09:09
ExtraSpice left09:09
xtuser I'm trying to find a graphical git client that supports http, but it's not easy09:09
This is for windows workstations09:10
Arrowmaster git-gui?09:10
xtuser Does anybody know of any?09:10
Arrowmaster, I've just taken a look, and for a massive deployment, it looks a big deal09:11
Isn't there a standalone like tortoise (tortoisegit doesn't seem to support http)?09:12
Is it so rare to support https?09:12
ExtraSpice joined09:13
xtuser I support the idea of security through ssh, but not for windozers ;)09:13
hyperair left09:13
Arrowmaster have you tried http in tortoisegit?09:13
hyperair joined09:14
xtuser Arrowmaster, yes, but I've been unable to get it work09:14
Take that I'm starting at this, and I've just created an empty git repo, but I could have failed09:14
I've just done "git init", and the tree has been created09:15
I haven't seen anything else to be done09:15
Am I missing anything?09:15
Of course, I've put that directory under apache and dav according to the info I've found09:15
albel727 left09:16
Arrowmaster might need to make a commit first09:16
psankar left09:18
guardian joined09:19
monokrome left09:19
napster_123 left09:23
nevyn^_ joined09:28
RoboTeddy left09:33
mmw joined09:37
dr_win left09:38
_Vi left09:39
f00li5h hrm09:41
how can I commit and then push and be told that everything is up to date?09:41
Zephyrus joined09:42
doener f00li5h: the commit didn't affect a branch head that is to be pushed09:43
f00li5h how can that be?09:49
ukleinek f00li5h: how did you push?09:50
f00li5h by typing git push09:50
jast "git push" updates all branches that exist on both sides09:51
Seb joined09:51
jast i.e. if you are on a new branch, it does nothing09:51
f00li5h there are no branches ...09:52
I mgiht be pushing to somewhere silly09:52
Seb is there really no way to perform git operations outside of the top-level directory of my project ? For isntance, if ~/foo is that directory (result of a git clone), can't I "git add foo/bar" from ~, insead of having to cd into foo first ?09:53
_ikke_ f00li5h: You always have one brnach09:53
Seb: There are ways09:53
Seb _ikke_: dirty ones ? :)09:53
_ikke_ Seb: Nope09:53
Seb _ikke_: k, I'm listening heh09:54
_ikke_ git --git-dir=~/foo ...09:54
r setting the git_dir environment variable09:54
Seb I see09:54
_Vi joined09:54
Seb not really convenient, but it does answer my question !09:55
jast f00li5h: to push a new branch, git push someremote branchname09:55
Seb i was thinking maybe some config option would have git somehow try a couple of things automatically09:55
but I can settle for that :)09:56
jast nah, git doesn't ever go looking for a repository in subdirectories09:56
Seb all right09:57
jast, _ikke_: thank you guys09:57
tewecske joined10:00
Seb left10:03
tizbac joined10:04
RoboTeddy joined10:04
mmw left10:06
hyperair left10:06
psankar joined10:06
mmw joined10:07
pheaver left10:07
pheaver joined10:16
aah left10:17
psankar left10:20
_Vi left10:22
mmw left10:28
mmw joined10:28
fivetwentysix left10:29
QinGW left10:29
mmw left10:33
mmw joined10:34
veroveroyoon left10:34
pheaver left10:34
tewecske left10:36
petercoulton joined10:37
tewecske joined10:38
refund joined10:43
refund how do i get the uri for this working tree/repository?10:43
so that i can do a clone somewhere else10:43
[Po]lentino joined10:44
codejunky git remote -v10:44
refund thanks10:46
Figaroo joined10:49
Figaroo so why would I get an error saying that I could not lock .git/config: No such file or directory when I try git config user.name "Figaroo"?10:51
cirwin you didn't do it from inside a git repository10:53
you probably wanted git config --globla ?10:54
*global10:54
Figaroo cirwin, yes --global works. So repositories are contained in a folder right?10:55
cirwin yes10:55
Figaroo and .git is the database?10:55
cirwin yup10:56
Figaroo so all the old file versions are stored in .git?10:56
cirwin yes10:56
Figaroo everything out side of .git is the latest version of files?10:57
cirwin indeed — though there are some "special" files, like .gitignore that are used for git configuration. though it's only the latest version of that file too :)10:57
Figaroo where's git installed?10:58
cirwin depends on your computer — wherever applications are normally installed10:58
Figaroo I'm using cygwin10:59
so it's "like" unix10:59
or linux10:59
cirwin it's probably spread around /usr/bin and /usr/lib, not sure10:59
why do you ned to know?11:00
Figaroo linux's FSH is very confusing11:00
cirwin I agree11:00
Figaroo I think macs might have the best FS11:02
cirwin why?11:02
napster_123 joined11:11
Figaroo because they're not affraid to use long names; they don't abbreviate everything11:13
anyway11:15
g2g to bed11:15
night11:15
Figaroo left11:15
ch077179 joined11:16
krosenvold_ left11:16
napster_123 left11:21
Casmoo joined11:22
napster_123 joined11:24
mmw left11:25
wliao left11:30
doener left11:30
doener joined11:30
seutje joined11:30
xtuser How can I clone a https repository, bypassing the certificate check?11:33
nevyn^_ left11:34
seutje I'm going crazy, I added "foo" and even "pee/poo/foo" to my .git/info/exclude, but it's still showing pee/poo/foo in git status, not using a .gitignore file11:36
Bombe seutje, is it modified?11:37
seutje well yea, but I don't want to commit that change11:38
Bombe seutje, then don’t commit it but you can not ignore already tracked files.11:38
Either you want to track them or don’t.11:38
seutje ah boo, so I can't just edit it locally and ignore that change and only commit the rest without explicitly unstaging it every time I "add ." ?11:39
cirwin seutje: unfortunately not11:40
cbreak gitignore does not ignore changes11:40
it ignores files11:40
Bombe seutje, IMO it’s bad to use “git add .”. Only add the files you want to commit.11:40
cbreak and obviously, you can not track and ignore a file at the same time11:40
cirwin that's a bit inconsistent with the rest of git ;)11:40
Bombe Too many stuff might creep in using “add .”.11:40
seutje Bombe: but then I'd have to type crazy long paths all the time11:40
Bombe That’s a subversionism.11:40
seutje I always check the diff before commiting11:40
Bombe seutje, you might use a GUI. Or copy & paste from git status.11:40
cbreak just use git add -p11:41
Bombe Or add -p, right.11:41
cbreak I don't think I ever used git add . after the initial commit11:41
Bombe seutje, or: Create a branch for that change alone, do your development on master, and merge master into your one-change-branch every now and then, compiling/using stuff from that branch to test.11:41
rudi_s Is git's completion able to complete modified files? (I know zsh's completion can do it, but I don't know bashs)11:42
Bombe cbreak, me neither. :)11:42
seutje thanks, now u gave me a headache :P11:42
Bombe I’m always glad to help. :)11:42
I have such a setup for local configuration stuff that is not going in any other repositories.11:42
cbreak anyway, just git rm --cached the file11:42
seutje yea, I'll just alias that11:43
cbreak it won't be tracked anymore, and it'll be deleted from the repository11:43
and it won't show up for you either11:43
seutje I don't wanna delete it from the repo11:43
I'll get lynched by my coworkers11:43
cbreak then don't modify it :)11:43
Bombe :)11:44
Adaptee left11:44
seutje I have to, it asplodes my php with some murky segmentation fault I don't wanna debug11:44
cbreak I bet they are similarly unhappy about a modified version11:44
seutje I don't want to modify it in the repo, I just want to use a modified local version, leaving the one in the repo untouched11:45
cbreak segmentation faults are problematic.11:45
seutje tbh, php is problematic at its core ;)11:45
Bombe Oh yaah.11:45
cbreak when the stuff I develop crashes, I stop all other development until it's fixed11:45
seutje it's just an ini_set, which I've already set to that value in my global php.ini, so I don't even need that it11:46
kwijibo joined11:46
seutje which is why I wanted to remove it and ignore the change, but guess I'll just make an alias to unstage it every time11:46
cbreak don't stage it in the first place11:47
seutje seems easier to stage all and unstage 1, than to stage all one by one11:48
anyway, senks guys/girls/whateveryouliketobeaddressedas <311:51
Elfe left11:53
kwijibo hi does git-svn have to be used with a whole repository ? what I want is to just have a directory in my git repo synched with trunk of an svn repo11:53
Elfe_ joined11:53
sveinse joined11:53
sveinse Hi. I've run "git clone --mirror" from an external git repo. Can I somhow update it incrementally again with git pull or similar?11:54
(In that respect, what's the difference between --bare and --mirror?)11:55
hobodave left11:59
bremner kwijibo: should work fine12:09
kwijibo: just give the right svn url to git svn init12:09
dc5ala left12:10
kwijibo hmm12:11
i get error: Can't use --stdin-paths with --no-filters12:11
then a usage message12:11
then12:11
hash-object -w --stdin-paths --no-filters: command returned error: 12912:11
and12:11
error closing pipe: Bad file descriptor at /usr/local/git/libexec/git-core/git-svn line 012:11
goshawk joined12:11
kwijibo is my installation b0rked ?12:11
bremner what did you type?12:12
chrischambers joined12:15
goshawk left12:17
flo` joined12:17
flo` hi12:17
i'm new to git, and i'd like to put a project under the git system...12:18
MatheusNg joined12:18
flo` can i tell git somehow not to monitor binaries like foo.o or myprog (the ELF-file)?12:18
or must i do a make clean manually each time?12:18
bremner flo`: man gitignore12:18
jast flo`: the 'gitignore' manpage can be found at http://git.or.cz/man/gitignore [automatic message]12:18
MatheusNg left12:18
albel727 joined12:19
flo` thanks12:20
mmc left12:29
goshawk joined12:30
rseifert joined12:32
d0k joined12:36
SkydiveMike joined12:37
goshawk left12:37
nevyn^_ joined12:38
TheFox21 joined12:40
hyperair joined12:40
entrosca left12:41
yorickpeterse joined12:42
yorickpeterse left12:42
Mage left12:43
napster_123 left12:54
napster_123 joined12:56
mmc joined12:56
_Vi joined12:57
entrosca joined12:59
entrosca left13:01
entrosca joined13:01
entrosca left13:02
kwijibo bremen: I typed git-svn clone -s http://moriarty.googlecode.com/svn/trunk moriarty13:03
entrosca joined13:03
gebi joined13:03
TSK joined13:04
charon kwijibo: look at this thread: http://thread.gmane.org/gmane.comp.version-control.git/141468/focus=14146913:06
kwijibo: it sounds like your git-svn already has patch 2/3, but the git installation used to run git-hash-objects does not have patch 1/313:07
hence this can't work13:07
kwijibo ah thanks charon13:07
bremner Is there a git way of extracting the changes from a given commit (which won't cherry-pick) to a given file? Or am I stuck editing diffs?13:12
I suppose I can checkout that commit, and reset.13:14
tiagobutzke joined13:14
tiagobutzke left13:14
rchavik joined13:16
masonkramer left13:16
charon bremner: you mean do a "limited cherry-pick"? try 'git show --format=email -- files | git am'13:16
masonkramer joined13:16
bremner ah, cool13:16
charon er, with a commit argument for show, sorry13:17
bremner understood :)13:17
segher joined13:18
napster_123 left13:20
bremner ah well, no common history, so I ended up needing to use git diff | git apply13:24
TSK left13:27
kpreid left13:29
ben_alman left13:32
NewtonianB joined13:32
_Vi left13:38
charon bremner: how does (lack of) common history affect this?13:39
bremner well to be precise, the patches don't apply with git-am13:40
rns joined13:41
tomaw joined13:42
bremner oh, it looks like one of the patches is creating the file. I guess this is an artifact of cloning an svn branch with git-svn; history seems to have been squashed.13:42
kwijibo left13:45
NewtonianB hey, i have a git bare repository on my server that i push to, then i run a git archive master | tar -x C /mywww/folder/ the problem is it just overwrites or creates new things but if i delete files they dont get deleted13:46
what can I do without having to delete the entire directory everytime because it contains things i need not deleted13:47
mstsirkin joined13:50
wereHamster NewtonianB: rm -rf /mywww/folder; git clone /path/to/the/bare/repo /mywww/folder; and then to update: cd /mywww/folder && git pull13:52
or, you could use a proper deployment tool which does that for you13:52
joel_falcou joined13:53
NewtonianB wereHamster: thanks, whats a proper deployment tool?13:53
joel_falcou hey, how can i retrieve the latest commit SHA-1 to include into a .h ?13:53
wereHamster capistrano, fabric etc13:53
joel_falcou: git describe --always13:54
joel_falcou: and use tags, to make the output form git descrbe meaningful13:54
joel_falcou hmmm ok13:54
git tag i assume13:56
thx wereHamster13:58
NewtonianB left14:03
sivy joined14:03
sivy left14:03
mstsirkin left14:03
selckin joined14:08
tg left14:09
gigamonkey joined14:16
normanrichards left14:22
napster_123 joined14:23
napster_123 left14:23
rolfb joined14:24
rolfb left14:24
rolfb joined14:24
rolfb left14:24
rolfb joined14:24
rsewill left14:26
tizbac left14:30
gebi left14:32
rchavik left14:34
zombor joined14:39
sraue left14:41
aah joined14:43
nevyn^_ left14:50
nevyn^_ joined14:51
normanrichards joined14:51
runvnc joined14:52
t0rc joined14:52
sraue joined14:53
rolfb left14:53
runvnc having trouble transferring a subdirectory. i used git add subdir, git commit, went in and added all the files, the pushed. it keeps saying everything is up to date, but the directory on the other repo is empty after I pull14:54
_Vi joined14:54
goshawk joined14:56
selckin needs more details14:56
wereHamster runvnc: is that subdir a git repo on its own?14:57
runvnc werehamster I hope not.. all I did that I remember is say git add mydir14:57
and then commit and push14:57
maybe it didnt really add it14:57
wereHamster ls subdir/.git; does it list any files?14:58
runvnc although seems like it14:58
one second14:58
crap14:58
there is a .git in the subdir is that bad14:58
wereHamster yes14:59
git addid it as a submodule14:59
runvnc how did I do that14:59
wereHamster git did it14:59
runvnc or nevermind how did I do that.. main thing is I need to transfer the files by pulling14:59
or I could just zip them15:00
how hard is it to fix so it is part of the other repo15:00
bmomjian joined15:00
icwiener joined15:00
wereHamster not at all15:00
runvnc git mergebackintomainmodule mydir15:01
bmomjian Is there a way to use an external diff tool for 'git show' like is possible with 'git diff'? Right now, I can only get git show to show unified diffs15:01
rsewill joined15:02
schambers left15:04
jaeckel runvnc: http://stackoverflow.com/questions/1759587/un-submodule-a-git-submodule15:04
schambers joined15:04
runvnc thanks jaeckel i was just reading that15:04
I dont even know how I made it a submodule in the first place though15:04
wereHamster bmomjian: does git_external_diff not work?15:05
bmomjian wereHamster: no, it works for git diff, but not git show, which seems odd15:05
wereHamster bmomjian: indeed. Send an email to the mailing list15:06
bmomjian ok, which email list?15:06
wereHamster the git mailing list15:06
runvnc except I have no .gitmodules so maybe its a main module15:07
except its not in /home/git/repositories so its not15:07
when i go into the subdir it says On branch master. Your branch is ahead of 'origin/master' by 2 commits15:09
MattDiPasquale joined15:10
bmomjian wereHamster: email sent, thanks15:10
runvnc oh. lol. its slickgrid15:10
i forgot i cloned it from github15:11
then i edited the files15:11
entrosca left15:12
goshawk left15:13
runvnc I'm sorry, how can I tell git that this directory is not related to the github slickgrid and is just full of normal files, so that I can then add it normally to my own repo?15:14
charon bmomjian: note that git-show is essentially git log -p --cc --no-walk, so any proposed solution would have to make sense in the presence of multiple arguments (showing several commits) and options like --walk (which again makes it behave more log-like in that it walks history)15:15
er, --do-walk (why on earth is it not named --walk)15:15
i suspect your average use of git-difftool is not amenable to walking history15:16
runvnc maybe if i just delete the .git15:16
jas4711 left15:16
multigrain left15:17
vezult joined15:17
multigrain joined15:17
kylehayes joined15:18
vezult how do I teach git that it is incorrectly detecting a rename?15:18
charon vezult: you don't, it's all detected after the fact. what context? if it e.g. shows a rename happened in the status report after 'git commit', don't worry, it does not affect the outcome of git-commit in any way15:19
uau vezult: git does not support renames, only some commands have heuristics to guess after the fact15:19
runvnc ok so what I did was I cloned slickgrid, now I need that grid which is showing my client's specific database, to work on the production machine. how can I take the modified slickgrid files from my subdirectory and remove them from the association with the github slickgrid so that I can add them into the repo in the parent folder and then deploy them15:20
I appreciate your help guys15:21
FYLGood joined15:21
int3__ joined15:25
multigrain left15:25
bmomjian charon: understand15:26
Can I use git diff to just show the lines from a single commit? I couldn't figure out the syntax15:26
runvnc nm i am an idiot it is in fact a submodule15:26
ciupicri joined15:27
runvnc even though it was cloned and there is no .gitmodules15:27
charon bmomjian: git diff C^ C15:27
or various other forms, including the sometimes-accidentally-working C^!15:27
FYLGood left15:28
bmomjian charon: yeah, I guess that is the way; kind of odd I have to specify the tag twice, but it works15:28
ceej joined15:28
ciupicri I have branch A and branch B derived from branch A; I've rebased A (squashed some commits) and now I can't rebase B from A15:28
bmomjian charon: I just wrote a script for it15:29
ciupicri I have a conflict that I've solved with git mergetool -t kdiff3 and when I run git rebase --continue it tells me "No changes - did you forget to use 'git add'?"15:29
charon bmomjian: why is that odd? there are two sides to a diff ;)15:29
bmomjian odd I am retyping the same long tag twice for such a common operation15:30
vezult charon, uau: excellent, thanks!15:30
rolfb joined15:31
rolfb left15:31
sonnym left15:32
bcardarella joined15:32
int3__ left15:32
jason237 bmomjian: I use git show to look at a single commit; git log -p -1 would also work15:35
ciupicri: yes, after you resolve the conflict you need to git add the affected files before rebase --continue. or you can just git add .15:36
ciupicri jason237, I've added the file, but it hasn't changed15:36
goshawk joined15:37
jason237 you mean you did git add after merging?15:38
ciupicri jason237, yes15:38
git mergetool -t kdiff3 -y ; git add etc/cobbler/settings15:38
jason237 ah, if there are no changes try rebase --skip15:39
ciupicri jason237, I think it worked; thanks!15:40
segher left15:41
ben_alman joined15:44
ben_alman left15:44
ben_alman joined15:47
seutjefrigginSmoke15:47
Buglouse joined15:48
Buglouse left15:50
ch077179 left15:50
runvnc thanks again15:52
runvnc left15:52
Buglouse joined15:52
bmomjian jason237: git log -p does not use the external diff program, so that does not help me15:53
ciupicri how can I find out what (remote) branch a local branch is tracking?15:53
jason237 bmomjian: it should if you use --ext-diff15:54
bmomjian oh, wow it did, thanks15:55
ah, this works too: git show --ext-diff15:56
nice. I suppose there is no way to default --ext-diff for those commands like there is for git diff15:57
fowlduck joined15:58
mstsirkin joined15:59
primalmotion joined16:02
fr0sty bmomjian: you can create an alias...16:03
frigginSmokeseutje16:03
fr0sty [alias] \n eshow = show --ext-diff16:04
flo` left16:04
fr0sty or something like that...16:04
bmomjian interesting; I was not aware of that ability16:04
jaeckel left16:04
jaeckel joined16:04
fr0sty man gitconfig and look for alias.*16:04
sou_ left16:05
sonnym joined16:06
ziro` joined16:06
ziro` is it possible to work on a submodule and commit to it?16:06
fr0sty ziro`: yes, but.16:06
man git-submodule and look and understand what you are doing first.16:07
jast the 'git-submodule' manpage can be found at http://git.or.cz/man/git-submodule [automatic message]16:07
fr0sty there are a few gotchas:16:08
the submodule is usually on a detached head16:08
committing in the submodule does not automatically update the superproject16:08
committing the superproject doesn't update the subproject16:08
pushing the superporject without first pushing the subproject will break other people's repos16:09
might be some more, too...16:09
fr0sty cues SethRoberson for his pitch re: gitslave16:09
fr0sty ahem, SethRobertson, that is...16:09
SethRobertson wha?16:09
Oh, yes, submodules suck. gitslave great.16:10
gitslave (http://gitslave.sf.net) is useful when you control and develop on the subprojects at more of less the same time as the superproject, and furthermore when you typically want to tag, branch, push, pull, etc all repositories at the same time.16:10
ziro` ok, so how does one commit to a submodule?16:10
SethRobertson git-submodule is better when you do not control the subprojects or wish to fix the subproject at a specific revision even as the subproject changes16:10
ziro` right16:11
ok16:11
fine16:11
fr0sty but, yes you can, and people are doing it every day without issue.16:11
SethRobertson To commit to a submodule just check out the branch, commit, and then update the superproject to the new point16:11
ziro` right, so i can't actually commit to a submodule, i must clone the repo seperately16:12
SethRobertson You already have cloned the repo. that is what the submodule is.;16:12
fr0sty eh? you can commit in the submodule. it works.16:12
ziro` well git status in the submodule is empty16:12
fr0sty this is why you should read the fine manual16:12
SethRobertson Or use gitslave16:13
fr0sty man git submodule init might be helpful...16:13
jast the 'git' manpage can be found at http://git.or.cz/man/git [automatic message]16:13
ziro` git submodule status /path/to/submodule is also empty16:13
fr0sty man git-submodule16:13
jast the 'git-submodule' manpage can be found at http://git.or.cz/man/git-submodule [automatic message]16:13
ziro` git-submodule - Initialize, update or inspect submodules16:13
fr0sty ack! update, not init...16:14
update Update the registered submodules, i.e. clone missing submodules and checkout the commit specified in the index of the containing repository.16:14
WonTu joined16:15
WonTu left16:15
ziro` i'm still not seeing anything that actually refers to COMMITing TO the submodule16:16
fr0sty a submodule is just another repository.16:16
SethRobertson Read my message above or one of the fine submodule tutorials.16:17
Thell joined16:17
crazed joined16:17
fr0sty ziro`: look here: http://book.git-scm.com/5_submodules.html16:18
ziro` *sigh* git status is empty, although I know for a fact a file differs16:21
thanks for your help guys16:21
Textmode left16:22
crazed what are some good options for public git repositories with multiple people committing and a code browser?16:22
mstsirkin left16:23
alezandro joined16:24
ciupicri crazed, github is nice16:24
crazed, FOSS projects are hosted for free, others cost money16:24
crazed i understand github is nice, and the code should be foss, but still looking for a host it myself type solution16:25
what if github is down?16:25
ciupicri crazed, so you want to run your own git hosting service?16:25
crazed no16:26
ciupicri crazed, or you want just a backup solution?16:26
crazed more of a solution that i can use at work16:26
ciupicri crazed, git is a *distributed* VCS, so each checkout (clone) is a backup16:26
refund left16:26
crazed i'm not really worried about backups so much as just hosting our own git repo16:27
ciupicri crazed, if github fails you use git over ssh to fetch or push the code from your colleagues16:27
crazed basically i've setup git-daemon and set guid on the repo to enable commits from anyone in the proper group16:28
ciupicri crazed, there was also another hosting service which happened to use an open source solution, but I can't remember it right now16:28
crazed but i'm looking for the code browsing16:28
Schmallon joined16:28
ciupicri crazed, use Trac or Gitweb16:29
bentob0x joined16:29
ciupicri crazed, http://progit.org/book/ch4-6.html16:29
crazed oh wow16:31
what the hell doesn't git come with16:31
does it send email yet?16:31
ciupicri crazed, yes, I think it does16:32
Bombe crazed, man git-send-email16:32
jast crazed: the 'git-send-email' manpage can be found at http://git.or.cz/man/git-send-email [automatic message]16:32
crazed lol oh god16:33
that was a joke, but awesome16:33
corni joined16:36
ciupicri crazed, be careful what you wish, it might become true :-)16:37
crazed now to get gitweb working with nginx16:37
probably have to reverse proxy unfortunately16:37
ciupicri left16:38
ziro` how do i make a newline in a git commit messagE?16:38
google fails16:38
Bombe git commit -m "First line16:38
second line."16:38
ziro` how do i do *that* in the cli?16:39
Bombe Or omit the message altogether and type it in the editor.16:39
ziro` vim is an abortion16:39
Bombe ziro`, exactly that way. Type that line, press return, type the second line.16:39
tango_ WHAT16:39
crazed WHAT16:39
bremner ziro`: so use some other editor16:39
Bombe bash (and every other shell) will handle that correctly.16:39
ziro`, set your EDITOR to something else, then.16:39
tango_ ziro`: you can configure your preferred editor anyway16:39
Bombe ziro`, you might also use git-gui.16:39
bremner ziro`: anyway, see the -F option in man git-commit16:39
jast ziro`: the 'git-commit' manpage can be found at http://git.or.cz/man/git-commit [automatic message]16:39
tango_ I hear notepad is very strong among programmers16:40
crazed export EDITOR=nano16:40
bremner "git commit -F -" should work even in braindead shells.16:40
ziro` nano is the only editor which actually works as i expect (that i've tried)16:40
seutjefrigginCommute16:40
crazed :/16:40
corni left16:41
Bombe Yes, vi(m) has a learning curve.16:41
It’s worth it, though (IMO).16:41
ziro` omfg16:41
crazed 100% worth it16:41
psoo left16:47
fr0sty crazed: at least that...16:48
aah left16:50
bmomjian left16:51
ziro` sorted it out in the end guys! thanks!16:54
someone needs to make a javascript based vi trainer16:55
rseifert left16:56
Bombe It’s good to have a colleague who knows vi inside-out. :)16:57
I learned most of what I know about vim today from him.16:57
justin-george joined16:59
hobodave joined17:02
Zephyrus left17:03
fowlduck left17:06
pgib joined17:09
Zephyrus joined17:10
NewtonianB joined17:13
segher joined17:14
amerine joined17:16
consumerism ziro`: vimtutor17:17
ziro` nice! thanks!17:17
tiagobutzke joined17:18
xchg joined17:18
xchg Hi. How to push to server if I did "commit --amend" ? It's rejecting me17:18
nevyn^_ left17:19
Bombe xchg, you probably shouldn’t.17:20
ki_ joined17:20
Buglouse left17:21
Bombe xchg, please see the discussion in man git-rebase.17:21
jast xchg: the 'git-rebase' manpage can be found at http://git.or.cz/man/git-rebase [automatic message]17:21
xchg well, I pulled, fixed conflicts, pushed and it works :)17:21
Bombe Great. :)17:22
robotarmy joined17:26
|RicharD| joined17:29
|RicharD| hi i have a problem17:29
when i do git commit -m "message" it say:17:29
nothing to commit (working directory clean)17:29
why ? and it not add files :(17:30
uau xchg: that probably wasn't a good idea17:30
if you pull after amend you'll get history with both the amended AND non-amended versions of the commit17:30
Buglouse joined17:31
uau xchg: if you're willing to change history on the server you're probably better off resetting to the first amended version17:32
and then pushing that to the server too17:32
xchg I just started my project so I can just create new repo17:32
uau well doing "git reset --hard <commit>" to reset local branch state to the first amend commit17:33
and then "git push <remote> +<branchname>" should be enough to fix things17:33
AlexP_ joined17:34
uau the '+' there means to overwrite existing history17:34
Bombe |RicharD|, you need to add files to commit first.17:34
|RicharD| i have do it17:34
with git add .17:34
and git add *17:35
uau |RicharD|: well that message says you haven't added any modifications17:35
and that the working directory is unmodified too, so there are no changes you _could_ add17:36
|RicharD| very strange17:36
i put manualy this files into directory17:37
where i had cloned a git reposity17:37
so now i want add this in my reposity17:37
i had done git add .17:37
and then commit and then push17:37
but not add nothing17:37
steph021_mac joined17:37
uau well i can see 3 possible alternatives:17:37
eno joined17:38
uau 1) there are actually no such files in the directory, 2) they've already been added to the HEAD commit, or 3) the files match ignore rules17:38
jdav_gone left17:38
|RicharD| 1)no17:39
2)no17:39
3) how i can see it ?17:39
uau ignore rules can be specified in a couple of locations17:39
if you just cloned the repo and haven't added anything yourself then they should be in .gitignore only17:40
|RicharD| how i can see17:40
ben_alman left17:40
|RicharD| if there are already in HEAD COMMIT ?17:40
uau 'git log -- <filename>' for example17:41
|RicharD| i see17:41
2 commit17:41
so why it not do push in server ?17:41
jast did 'git commit' give you an error message? if not, the commit was created successfully17:41
if it did, looking at the message will help17:42
|RicharD| git commit is created well17:42
# On branch master nothing to commit (working directory clean)17:42
ben_alman joined17:42
uau how did you try to push the changes to the server?17:43
and what check did you do that made you think they had not been successfully pushed?17:43
jdav_gone joined17:44
|RicharD| why if i cloned17:44
in a different position17:44
is it empty17:44
uau ok, how did you try to push the changes?17:46
|RicharD| git push17:46
uau you should avoid using 'git push' without arguments17:47
try 'git push origin master'17:47
does that produce any output?17:47
(in that command 'origin' identifies the remote to push to, and 'master' is short for 'master:master', meaning to push the local branch 'master' to remote branch 'master')17:48
pheaver joined17:48
|RicharD| Total 925 (delta 327), reused 0 (delta 0)17:49
fatal: The remote end hung up unexpectedly17:49
fatal: expected ok/error, helper said '2004�oRI=�ٻ4�'�%��M��M>�:N��,�$�' �ѯ17:49
�ߴi��~� '17:49
fatal: write error: Broken pipe17:49
uau well something's broken...17:50
alezandro left17:50
|RicharD| lol i see :P17:51
vitor-br joined17:51
aah joined17:52
alezandro joined17:53
|RicharD| any idea ?17:53
sapristisaucisse joined17:54
Plasmastar joined17:59
Plasmastar left18:00
dr_win joined18:00
fr0sty paste the output of 'git remote show origin' to gist.github.com18:00
|RicharD| oky18:02
fr0sty and tell us what the link is.18:02
pheaver left18:03
|RicharD| https://gist.github.com/75749018:03
hobodave hey guys, I don't know what is going on here. I'm trying to cherry-pick a specific revision out of another branch, and it is silently failing18:05
Chadams joined18:05
hobodave I've tried "git cherry-pick 4c5bf18b90625be48c0f7ee407c3a1b542be140f" and "git cherry-pick qa~2"18:06
all I get in output is the equivalent as if I typed "git status"18:06
and nothing is changed, as confirmed by the log18:06
rolfb joined18:06
rolfb left18:07
mmw joined18:07
rolfb joined18:07
rolfb left18:07
hobodave I don't understand what I'm missing, I'm looking at the man page18:07
rolfb joined18:07
rolfb left18:07
rolfb joined18:08
rolfb left18:08
Chadams left18:08
SethRobertson Could that commit already be contained by your branch?18:08
hobodave SethRobertson: definitely not18:08
rolfb joined18:09
hobodave SethRobertson: git log --pretty=oneline | grep 4c5bf18b90625be48c0f7ee407c3a1b542be140f (no output)18:09
SethRobertson Try --full-history after git log, just to be sure18:10
hobodave are you just guessing?18:11
it doesn't have any results either18:11
juangiordana joined18:11
SethRobertson Yes, but failure to use that flag will cause reverted commits to disappear, which can cause cherry-pick to appear to fail18:11
fowlduck joined18:11
SethRobertson Under some circumstances, I mean18:12
SkydiveMike left18:12
fr0sty |RicharD|: I would be very suprised if you could connect to http://infinity@*/airrus.git18:12
SethRobertson hobodave: What version of git are you using?18:12
fr0sty fix that url and things should go more smoothly...18:12
|RicharD| ...18:12
ProLoser|Work joined18:12
Buglouse left18:12
|RicharD| i had edit it :P18:12
hobodave SethRobertson: 1.7.3.218:12
ProLoser|Work i tried removing a submodule but now i get this: No submodule mapping found in .gitmodules for path 'app/plugins/filter'18:12
simplechat left18:12
|RicharD| the connection is oky18:12
Buglouse joined18:12
fr0sty |RicharD|: what happens when you try to push now?18:13
|RicharD| fatal: expected ok/error, helper said '2004��>i?�#��O��*þ�X��0�\�H�M�/�+�E�`18:13
fatal: write error: Broken pipe18:14
fr0sty what did you change the url to? what does 'git fetch origin' do?18:14
hobodave SethRobertson: https://gist.github.com/757504 my active branch is e59cc89 I'm trying to cherry-pick 4c5bf18 into it18:14
does it matter that 4c5bf18 is a submodule update commit?18:15
sapristisaucisse left18:15
sapristisaucisse joined18:16
t0rc left18:16
|RicharD| where i do18:16
git fetch origin ?local or remote ?18:16
hobodave sigh, so frustrating18:17
SethRobertson hobodave, perhaps. I have never tried the combination. You could try picking some non-submodule commit to see if that would work18:17
hobodave it does wrk18:18
so, wtf18:18
I'm confused about what's happening here18:18
oh this makes my head hurt18:19
sapristisaucisse left18:19
SethRobertson Perhaps gitslave would be less confusing than submodules?18:20
hobodave e59cc89 was also a submodule update commit, but it commits a revision that was a child of the 4c5bf18 commit I was trying to cherry-pick18:20
so the changes by 4c5bf18 are already in here, just invisible unless I look at the submodule commit tree18:20
MikhX left18:21
hobodave thanks for the suggestion SethRobertson18:21
rseifert joined18:22
rseifert left18:23
sapristisaucisse joined18:23
guardian left18:25
deek0146 joined18:26
deek0146 Hey18:27
I know that git diff --cached is the difference between the working tree and HEAD18:27
levifig joined18:27
deek0146 What does git diff display?18:27
fr0sty |RicharD|: local18:27
ProLoser|Work i have been failing to remove git submodules using --cached, is there a way i can peruse the -cached to see the other ones i may have left behind?18:27
|RicharD| it not say nothing18:27
bremner deek0146: do you know what the index is?18:27
deek0146 Emm18:27
when i said working treei meant index18:27
bremner ok ;)18:28
deek0146 Index is stuff i've told git about but not commited18:28
fr0sty |RicharD|: can you update the gist with the new 'git remote show origin' information?18:28
'git remote show' would also be useful...18:28
deek0146 Is git diff the difference between the contents of the actual directory and the index?18:29
(with no parameters)18:29
NewtonianB left18:29
t0rc joined18:29
albel727 deek0146: yep. exactly.18:29
NewtonianB joined18:30
disappearedng_ joined18:30
bremner deek0146: see the first case in man git diff18:30
jast deek0146: the 'git' manpage can be found at http://git.or.cz/man/git [automatic message]18:30
foo joined18:30
AMDmi3 joined18:30
albel727 man git-diff18:31
jast the 'git-diff' manpage can be found at http://git.or.cz/man/git-diff [automatic message]18:31
deek0146 It has a list of things git diff shows18:31
t0rc left18:31
foo I did git reset files/here ... I do git commit -a , and then when I do git status I see all the files in files/here/SDKFJSKDJF as untracked... I don't want them tracked... am I doing something wrong?18:31
bremner yeah, and read "This form is to view..."18:31
deek0146 a tree and the working tree, a tree and the index file, or the index file and the working tree18:31
AMDmi3 hi; I'm truing to clone git repo via ssh, however I get "git: 'index-pack' is not a git-command" error; my idea is that that's because client is 1.6.5.7 and server is 1.7.3.318:31
bremner keep reading18:32
deek0146 Theres no blank form :(18:32
AMDmi3 is there a way to work with repo witout updating git?18:32
sapristisaucisse left18:32
bremner deek0146: you know what the [] mean, right?18:33
deek0146 Optional18:33
So its the first one?18:33
bremner yes18:33
deek0146 Hokay18:33
Thell left18:34
deek0146 And 'working tree' is the files in their current state in the directory?18:34
jrmuizel joined18:34
bremner yes18:34
deek0146 Cool18:34
Thanks :)18:34
NewtonianB left18:34
bremner deek0146: see also man gitglossary18:34
jast deek0146: the 'gitglossary' manpage can be found at http://git.or.cz/man/gitglossary [automatic message]18:34
deek0146 Huh cool18:35
ProLoser|Work left18:35
darrint joined18:35
darrint If I have a commit id, how can I tell which tags are it's neighbors in history?18:35
jast "neighbors"?18:36
tty1 joined18:36
darrint jast: Maybe it's clearer if I ask what software release has this commit in it? Which tags have this commit in it's history?18:37
tty1 what is the standard approach in git for handling a repository with large binary files (As part of the source code) that changes frequently and needs to be version tracked (like bitmaps in a video game or something)?18:37
fr0sty tty1: man git tag18:37
jast tty1: the 'git' manpage can be found at http://git.or.cz/man/git [automatic message]18:37
fr0sty look at --contains.18:37
bremner other than checking every file, is there a way to get a list of all of the files having "git svn propget" containing a given property?18:38
darrint ttr1: I think that was meant for me.18:38
tty1: even.18:38
tty1 fr0sty: was that the right man page the bot showed?18:38
fr0sty yeah, darrint, that was for you...18:38
jast tty1: if they're not extremely large, just treat them like any other file. a couple of megabytes should be fine in any case.18:38
tty1 oh18:38
lol18:39
jast (per file per version)18:39
tty1 jast, the resulting repo is approaching gigs already18:39
darrint fr0sty: Is that a new feature? I don't see it. I have 1.5.5.6.18:39
bremner fr0sty: I'm pretty sure you mean to say man git-tag18:40
jast fr0sty: the 'git-tag' manpage can be found at http://git.or.cz/man/git-tag [automatic message]18:40
Angel-SL left18:40
fr0sty darrint: that version is older than dirt.18:40
bremner: you are correct18:40
jast: thanks, again.18:40
tiagobutzke left18:40
fr0sty tty1: if you are trying to store gigabytes of image files you are going to end up with a huge repository.18:41
tiagobutzke joined18:41
tty1 fr0sty exactly and thats a huge problem, wasnt a problem on svn.. maybe ill need to migrate back, if i even can, ive been on git for a while now18:41
fr0sty why it is a huge problem?18:42
deek0146 left18:42
tty1 fr0sty: not all of our devs have the luxury of cloning from a huge repo, they have limited bandwidth18:42
AMDmi3 left18:42
fr0sty you can mail them a DVD18:42
dr_win left18:42
darrint thank you rhel.18:42
fr0sty can't beat sneaker-net for bandwidth...18:42
tiagobutzke left18:42
MikhX joined18:43
tty1 fr0sty: this is open source, we have to consider the everyday user too who might want the repo, etc/18:43
fr0sty except with station-wagon-net ;-)18:43
tty1 lol18:43
fr0sty tty1 linke?18:43
also, how big is the working copy?18:43
NewtonianB joined18:44
tty1 fr0sty: this one is only about 1/4 of a gig so far, but its one example: http://wiki.syncleus.com/index.php/dANN ive been working on splitting it into submodules to make it more reasonable or even splitting out some of the old history.. but thats more of a hack than a real solution18:44
darrint fr0sty: git-tag --contains answered my question. Thanks!18:46
fr0sty tty1: there is always a shallow clone...18:46
tty1 fr0sty: yup i considered that, but they arent fully functional and fairly useless for devs18:47
NewtonianB left18:47
saysjonathan joined18:48
fr0sty tty1 is there any value to the old binary assets?18:48
darrint tty1: Long long ago I solved this problem for version control of linux distros. We had a "repository" for big binary files keyed on sha1sum. We pulled files from there on demand.18:48
tty1 fr0sty the primary value is that it allows you to check out old versions and still have them work (kinda important if someone wants version 1.1 for some legacy app or something)18:48
fr0sty tty1: how would you expect that to work if a dev did not have the full history?18:49
darrint tty1: We used git for the "source" of the distro (which packages you wanted and build scripts) and pulled all the binaries on demand.18:50
fr0sty I like darrint's approach.18:50
tty1 fr0sty: well on svn its easy, the dev doesnt need to pull the entire repo to work with the repo.. they can review full history without pulling down any actual files and then when they want a particular version they pull only that version and nothing more. another words with SVN they download the parts of the repo they need on demand, but with git you pull the whole thing at once18:50
fr0sty the problem with darrint approach is it just skirts the issue. in the case of an application with many bitmaps and other binary files that are source (they need to be tracked and get modified as often as the source) then pulling int he binaries on demand just skirts the issue and you basically need a secondary non-git repo to address the shortcommings of git18:52
seems kind of pointless to have to keep half your files in svn and the other half in git just because git doesnt do something in an elegant way that svn can18:53
besides, i hate svn and would rather not have to resort to it anyway18:53
fr0sty based on the stories I have seen from svn refugees, 'svn' and 'elegant' don't belong in the same sentance ';-)18:53
sonnym left18:54
tty1 fr0sty, no svn isnt elegant at all, ia gree, thats why i moved to git, but in this single, very important area, svn works, git doesnt.18:54
fr0sty darrint's approach doesn't involve svn18:54
darrint tty1: We were willing to do the work to keep big binaries out of our source repositories. We were innoculated really early with the doctrine of no bins in source.18:54
tty1 and id rather find a git solution.. if there is one.. but most of what i find are, at best, third-party additions and not standard git18:54
jast I could imagine a way to make it happen, using git notes18:55
tty1 fr0sty darrint approach essentially involves "some mysterious repo that holds the binaries seperatly".. which if that isnt svn it is some SCM (unless you dont have multiple versions of the binaries, which of course we do, and most projects would)18:55
jast it's clunky, though18:55
bremner git-annex is directed at this.18:55
sveinse left18:56
jast annex seems to require a separate transport mechanism for the large files18:56
darrint tty1: You need some unambiguous way to identify exactly which bins you want and that is in your source. So you do have history of your bins.18:56
rctay left18:56
tty1 darrint, but if you keep binaries out of git they still need to go somewhere, and if the binaries are versioned and change along with each commit in git and they need to be synced up (as most binaries do such as library dependencies or images compiled into your program) then the binaries still need to go in some repo somewhere18:57
darrint, right and at that point it basically comes down to making your own SCM of some sort just to handle larger files18:57
jast actually, upload-archive might help with making my idea less clunky18:58
rolfb left18:58
jast that way the transport part could still be done by git, you just need a wrapper that takes care of associating the large files with git commits18:58
rolfb joined18:58
hacim joined18:59
darrint tty1: That git annex thing looks nice. http://git-annex.branchable.com/18:59
tty1 even if your keeping the large files on an FTP, and pulling it in by script and you organize your binaries on the ftp into folders for each "Version" of the binary that corelates toa vommit or seriesof commits in your software.. at that point your basically doing version control by hand so its still a SCM, just one you maintain manually using a directory structure (sounds hackish to me still and sorta against the point of having a repo int he firs18:59
t place)18:59
hacim why does 'git log -- files/certs/roots/CA.pem' not show any log entries when there was a rename operation that I can find in the git log?19:00
fr0sty hacim: add --follow19:00
hacim fr0sty: aha! thanks!19:00
tty1 darrint, yea ive been looking over git-annex as a possiblity for a few days now.. im nto fully familiar with it yet but by the looks of it it seems to be 1) third party (ie if anyone wants to use the repo they need a special privilaged version of git) 2) requires the server to be configured to have the client as a remote and vice versa 3) doesnt support bare repositories19:01
tiagobutzke joined19:01
jast there is no non-third-party solution, period19:01
goshawk left19:01
tty1 jast, i think that should be a good indication that git needs to be fixed then to provide a non-third-party solution .. but that aside, i dont see a viable third-party solution either (as you can see there were other reasons to reject the annex option besides it just being third party)19:02
fr0sty jast: there are second-party solutions. but they are not conceptually pure19:02
hence unacceptable, it seems...19:02
tizbac joined19:03
fr0sty tty1: how can git be fixed?19:03
jast "fixed" is a very subjective thing here19:03
fr0sty commit and checkout are local-only operations19:03
tiagobutzke left19:03
tty1 fr0sty huh? it has nothing to do with conceptually pure, the fact is, this is a design flaw in git that needs fixing by the sound of it. rather than skirting the issue perhaps its best to figure out how git can be fixed in the future so as to respolve this issue natively19:04
juangiordana left19:04
fr0sty tty1: it is not a design flaw. It was a conscious design decision and a very publicized limitation of git.19:04
jast that is a huge undertaking, it would essentially mean rewriting large parts of git19:04
tizbac left19:05
tty1 fr0sty well my solution would be to make it so git wouldnt need to pull the whole repo in one shot when you git clone (or simple fix --depth so as not to criple the repo).. instead the objects directory shouldnt be populated at all IMO and instead should get populated on demand19:05
tizbac joined19:05
bremner tty1: do you know how to do these things, or is this just a list of wishes?19:05
tty1 i cant speak for the internals of git well enough to know how much of an undertaking it would be.. but seems like something that is major enough, and common enough to be worth the effort even if it is a large effort19:05
fr0sty tty1: that does not work with git's data model.19:06
ExtraSpice left19:06
tizbac left19:06
tty1 bremner if everyone knew every detail as to how to do these things it would be done already. thats why there is a development process for any feature19:06
jrmuizel left19:07
tizbac joined19:07
jast the fetch/push protocol assumes that you have the entire history of a given branch present locally, in order to be able to negotiate a list of objects to be transferred19:07
tty1 fr0sty it seems to me it could be done almost transparently to git with a few tweaks.. froma filesystem perspective if the objects directory files werent populated with data until the object itself is open ont eh filesystem for reading (at which point the appropriate file was fetched when opened) it would work just fine without needed to do much of anything to git internals.. int heory19:08
darrint tty1: I think it's a big deal to get done and these guys didn't win: http://caca.zoy.org/wiki/git-bigfiles19:09
tty1 jast, all it really needs to know is the existing objects and their sha though, the physical contents are only needed for the changed files19:09
jast tty1: and in practice that kind of "lazy fetching" would mean that previously fast operations would now be dog slow even on repositories with much smaller files19:09
tizbac left19:09
jast tty1: the index itself is pretty big already19:09
foo I did git reset files/here ... I do git commit -a , and then when I do git status I see all the files in files/here/SDKFJSKDJF as untracked... I don't want them tracked... am I doing something wrong?19:10
tty1 jast, well im not suggesting lazy fetching be the only option or replace the current approach.. the way i see it the currernt approach of cloning would be fine, but perhaps hdd a git clone --lazy tag that tells it to do it lazy, and while this may slow down some operations (only at first since once the file is fetched it would remain and wouldnt need to be refetched) it would also significantly reduce bandwidth as many of the old files in history a19:10
re never even touched (Atleast their content isnt in most cases just the sha needs to be known)19:11
alezandro left19:11
alezandro joined19:11
jast tty1: at any rate, lazy fetching would mean that you might have to download several megabytes of data for an innocent command like git whatchanged19:12
tty1 long story short, git shouldnt need the full content of files (objects) for things that arent likely to be checked out or modified.. the only thing git really needs is the sha of such files for many operations.19:12
jast, for any operation that turely needs the content of all or most of the objects in the history then git wouldnt need to download anything more than what a full clone would need anyway, so that seems like a moot point to me19:13
rolfb left19:13
jast and then a 'git diff' or 'git merge' has to fetch the files19:13
rolfb joined19:13
rolfb left19:13
jast tty1: the point is that it gets hard to anticipate which commands will result in huge downloads and which won't19:13
rolfb joined19:13
rolfb left19:13
tty1 jast, right, git diff would need to fetch the files, but how often do you need to diff against a file int he repos history that was checked in 10 years ago? probably not much, if ever, yet git clone downloads it everytime anyway19:14
jast right now, virtually all commands work locally and are thus very fast19:14
rolfb joined19:14
jast well, even a simple git diff HEAD~10 might net you a download of 50 megabytes19:14
and that's an extremely generous estimate19:14
tty1 jast, whatever the download might be, it cant possibly be more than the download of a git clone operation anyway, so still seems like a moot point to me19:15
jast you are missing my point19:15
lazy fetching makes it unpredictable *when* the transfer is going to happen19:15
coletg joined19:15
fr0sty tty1: if the history is unimportant just truncate it.19:15
sonnym joined19:15
sveinse joined19:15
jast I think it would be much more worthwhile to try and add limited support for pushing from repositories that used --depth19:16
tty1 fr0sty it isnt unimportant though, it is just underused (99% of people wont need history beyond about the past 10 commits or so, but there is still that 1% that do)19:16
fr0sty tty1 how many of those 99% are incapable of submitting patches?19:16
tty1 fr0sty what does that have to do with it?19:16
necromancer joined19:17
fr0sty you can commit and work in a shallow clone just fine19:17
your limitation is in pushing back from it.19:17
tty1 jast, if --depth was able to push and otherwise not be crippled in any major way id be satisffied, doesnt seem like an ideal solution but it would be good enough for me TBH19:17
jast at any rate, lazy fetching would once again be vastly inferior to subversion in a repository with lots of large files19:17
fr0sty you have to sed patches19:17
s/sed/send19:17
if people are capable of doing that shallow clones are a suitable solution to your 'problem'19:17
jast because you'd probably end up accidentally downloading tons of data anyway19:17
which will not happen in svn19:18
tty1 fr0sty oh right, still seems like an example of how git is broken in this regard though.. because your right, they could jsut submit patches, but why should they have to?19:18
rolfb left19:18
rolfb joined19:19
rolfb left19:19
khmarbaise_ joined19:19
MattDiPasquale left19:19
rolfb joined19:19
rolfb left19:19
tty1 i only remark ont his because i love git, it is a great deal better than svn and cvs is almost every way except for this one glaring problem (Well that and the windows EOL bug no one seems to want to fix).. if git worked in this regard too id be as happy as can be.. but as it stands right now its a huge thorn in my side19:19
rolfb joined19:19
zxiest left19:20
drizzd_ joined19:20
khmarbaise left19:21
khmarbaise_khmarbaise19:21
guardian joined19:21
juangiordana joined19:22
tty1 i have one app, like i said, ic ant even move over to git because of this. it consists of lots of bitmaps and wireframes and similar graphic design elements that sit along side the source code. they need to be versionc ontrolled with the source code as they change as frequencly as the source and the two are closely coupled. moving to git would make the thing be hundreds of gigs in size and since they change so frequencly moving the binaries to a no19:23
n source controlled location isnt viable19:23
so in short with that particular project git simple can not work, which i think says something about the neccesty of finding a solution to this shortcomming19:23
jast well, at any rate, it's not something the usual active developers of git are particularly interested in. if you came up with a sound proposal and contributed patches, I'm sure we'd get it included anyway.19:24
drizzd left19:24
cbreak there are hacks around it19:24
external storage of big files19:25
fr0sty cbreak: save your breath. If it ain't built-in it ain't acceptable...19:26
cbreak why not?19:26
tty1 jast, im not sure why an active developer wouldnt be more concerned about a design flaw in git that essentially prevents it from being able to be even remotely functional for certain types of projects and requires hacks for the vast majority of other projects. it would seem to me to be something that should be a top priority for a fully functional SCM. but i guess that answers my question. as much as id hate to i guess i need to consider moving bac19:26
k to svn then19:26
fr0sty i said nothing of the sort, dont put words in my mouth19:26
fr0sty tty1: then why the hell won't you just use one and quit whining.19:27
tty1 being built0-in is a big plus yes.. but as i said all the third-party solutions ive seen so far have their own problems19:27
MattDiPasquale joined19:27
necromancer is this the right place to ask questions about gitweb?19:27
fr0sty ?19:27
tty1 fr0sty ive went over several of the third party solutions that ive explored and explained why they dont seem able to work for this partiular problem.. not sure why your getting all defensive rather than being constructive19:27
fr0sty I use [ant|make|gnome|firefox|etc], it sucks, but I get on with my life...19:28
jast tty1: well, git contributors are mostly motivated by their own problems, not other people's problems. it's as simple as that. :) you become a contributor by solving a problem that you consider worth solving. that doesn't obligate other contributors to have the same priorities.19:28
necromancer i don't think git requires hacks for the "vast majority" of other projects19:28
because i've been using git for a few years now and still haven't used a hack19:28
tty1 jast, yea thats fair, and im certainly not suggesting the contributors have an obligation to solve or do anything. it just seems to me they might want to address certain known problems is all.19:29
jast I am somewhat interested in it just for the heck of it, but I have many, many other things to do, and I'd have to spent several weeks of time on something like that; time that I just don't have19:29
I'm sure similar things apply to other contributors19:29
tty1 nods19:29
rolfb left19:29
rolfb joined19:30
rolfb left19:30
rolfb joined19:30
rolfb left19:30
tty1 its just frustrating have a SCM that does things so well in almost every regard and to have one major flaw that is stopping me from using it effectivly. Hell id pay a git developer to fix the problem if it would get it into git :) ::stares at jast:: :)19:31
rolfb joined19:31
jast well, I'm pretty expensive :}19:32
tty1 jast and im pretty rich, so sounds like a good match :)19:32
jast, actually my company "donates" regularly to open-source projects in order to get specific features included. we are an open-source oriented company so its a common practice for us19:33
cbreak tty1: what hacks?19:33
jrmuizel joined19:35
sveinse Hi. I've run "git clone --mirror" from an external git repo. Can I somhow update it incrementally again with git pull or similar?19:35
petercoulton left19:35
abetaha joined19:36
jast sveinse: git fetch19:36
cbreak mirroring isn't usually to get something you fetch from19:36
tty1 cbreak, essentially the scenario where you have a project that has large binaries that need to be version controlled along side the rest of the source (another words if on many commits the binaries change as oftena s the rest of the source and the version of the binaries and the rest of the source need to stay in sync). A common example is source that includes libraries that get statically compiled in and are upgraded to the latest version every fe19:36
w weeks, a less common example but more severe is the case of a 3d game where the wireframes and bitmaps exist along side the source and are updated very often.19:36
cbreak it's to create a complete mirror19:37
!!!tty1 I don't see that as common problem19:37
I never had to do any hack19:37
sveinse What is the real difference between --mirror and --bare exactly?19:37
cbreak one creates a mirror, the other one does not19:37
deek0146 joined19:38
deek0146 The git glossary is amusing19:38
cking_nj left19:38
tty1 cbreak, seems common to me, ive worked on half a dozen repos with this problem so far, more than those that dont have the problem (almost any java app still using ant for example will have this problem, and virtually all 3d and 2d games would have this problem)19:38
sveinse Point is, I do want it to be a mirror. I'd hoped I could update the mirror instead of refetching (or more precisely cloning) it all over again19:39
brosner joined19:39
brosner left19:39
jrmuizel left19:39
sveinse jast: git fetch doesn't work, since its not a working tree19:39
vezult left19:39
cbreak tty1: I never had that problem19:40
committing binaries seems dumb to me in any case19:40
there's no way to use that binary in a situation on a different platform for example19:40
jast well, if you have versioned binaries, you have to do *something*19:40
necromancer cbreak: what would you call PSD/EPS/AI files?19:40
cbreak media19:41
ai is text.19:41
jast binary != executable19:41
necromancer well, git thinks they're binary files19:41
deek0146 binary == executable19:41
necromancer and so does svn19:41
and cvs19:41
deek0146 just executable also equals other things19:41
tty1 cbreak, yea but how often have you had to statically compile in other libraries that you keep up to date and modify concurrently? i know nothing about your usage19:41
necromancer which is all the SCMs I've worked with ;)19:41
ExtraSpice joined19:41
brosner joined19:41
jast deek0146: not according to the way 'binary' is used by git as a term19:41
brosner left19:41
deek0146 Oh right19:41
cbreak never19:41
jast 'binary' just means: non-textual data19:42
cbreak libraries get included and as source19:42
deek0146 Sorry of course, came into a conversation halfway through19:42
Yea19:42
tty1 when i say binary im including images, bitmapes, wireframes, etc.. there are lots of things19:42
cbreak and compiled from it19:42
brosner joined19:42
deek0146 Just wondering, does git have capabilities to store any image files not as binary?19:42
Or any other media19:42
Or is it just text19:42
necromancer i mean, i store photoshop/illustrator sources in almost all my repos. if i fuck up and save accidentally i can revert back to the original file that i was given19:42
tty1 deek0146, yea like svg it could handle as text fine19:42
jast deek0146: you can use custom filters. most of the time, simply storing them as-is works fine, though.19:43
deek0146 What about bmps or jpegs19:43
necromancer storing bmps & jpgs as text rather than bin?19:43
deek0146 I know i'm just thinking it'll make the history huge (on disc)19:43
jast sveinse: git fetch works in bare repositories19:43
git pull doesn't19:43
sveinse ah, my bad.19:44
jast also, it doesn't refetch; it reuses existing data19:44
rolfb left19:44
jast so it's exactly what you want, methinks :)19:44
tty1 deek0146, yea thats the very problem im facing, and trying to discuss here (Although i think we exhausted the conversation, loong story short, git doesnt workw ell with it, it will make the repo huge, and pretty much make it unmanagable in time)19:44
sveinse thanks man!19:44
jast the difference between --bare and --mirror is that --mirror includes more refs, e.g. remote branches in refs/remotes in the original repository19:44
deek0146 Yea. So its just best not to tell git about media resources?19:44
tty1 deek0146, well seems the best soltuion is not to include large binaries in git of any kind19:45
jast depends on the size and volatility of yoru media files19:45
gotta step out for a few minutes19:45
tty1 jast, thanks for all your help19:45
fr0sty :jk:q19:46
heh, don't mind me...19:46
deek0146 Kk. Its just I'm working on a game and my artist is a programmer so git won't be tough for him, i thought it would be cool to use git but it occured to me that it could pile up especially if he keeps changing them19:46
necromancer captain vim over there19:46
cbreak deek0146: git stores everything as binary19:46
deek0146 Boo.19:46
ExtraSpice left19:46
tty1 deek0146, thats pretty much the exact same complaint i had.. and there dont seem to be any elegant solutions, those that exist are third party and have their ownshort commings19:47
deek0146 I was thinking third party19:47
Whats wrong with them? :(19:47
cbreak git makes some assumptions about the data it stores19:47
tty1 deek0146, well depends, git annex is one for example, but it seems to require the server to know about the clients (and add them as remotes) and the server cant be a bare repo .. which rules that one out for me19:47
cbreak that assumption does hold for normal source code, but it does not hold for computer generated data in general19:47
deek0146 I suppose it wouldn't work well for compressed image files19:48
cbreak such as image files, computer generated text files or similar19:48
jast oh well19:48
deek0146 It would work with bitmaps19:48
tty1 deek0146, there is also submodules, but that just breaks the problem up into more than one repo, but the overall size isnt reduced if you need it all19:48
deek0146, etc19:48
jast turns out that I'm still pretty good at slamming my forehead into door frames19:48
deek0146 The diff log would look like pixel 24,25 changed to colour 30,60,25519:48
But with compressed images like png's19:48
One change to the image would change the layout of the file hugely19:48
brosner left19:49
deek0146 Ah well19:49
I'll just remove the images from the repository19:49
Bye bye, got 20 minutes battery left ><19:50
ExtraSpice joined19:50
jast now I won't get to any shops in time. I guess that means no food today. :/19:50
deek0146 left19:50
tzaeru joined19:52
fr0sty tty1: what is wrong with a solution like darrint's from earlier?19:52
madewokherd joined19:53
fr0sty aside from being hand-rolled, naturally...19:54
cbreak I would just store big binary files in an external store19:54
ExtraSpice left19:57
fr0sty cbreak: you could do one better and git add a file with filename->sha1 for the current commit.19:57
cbreak problem is that git add adds the file into git19:58
I'd use git hash-file or what ever19:58
steph021_mac left19:58
fr0sty add a pre-commit/post-checkout hook to make sure the files and hashes match up. (store the files in the store by sha1)19:58
ExtraSpice joined20:00
dreiss joined20:00
Mahjongg joined20:00
ziro` guys, i've got a workflow conundrum to discuss. I've got two servers, production (master) and staging (staging). When a new feature is developed (feature1), it needs to be merged with staging for sign off, once signed off it needs to be merged with master for roll out on production20:00
Mahjongg hello, is it possible to clone from a local git repository20:01
ziro` the issue i've got is that some features never make it past staging20:01
Mahjongg how?20:01
ziro` Mahjongg: clone ../my/other/repo ?20:01
Mahjongg cool20:02
jast that even reuses files so it uses less space, at least if your filesystem supports hardlinks20:02
eletuchy left20:02
fr0sty ziro`: if you don't like the feature just reset to before the merge...20:04
or create test-integration branches and release those to the staging server.20:04
ziro` the problem with reseting is that one feature may be signed off before another20:05
fr0sty ziro`: then merge the branches into production individually as they are signed off20:06
ziro` e.g. feature1 > staging ... feature2 > staging > feature2 signoff ... feature1 declined20:06
fr0sty ziro`: how are you 'declining' features?20:06
ziro` e.g. the client changes their mind20:06
fr0sty no, how do you remove them from the staging branch?20:07
krosenvo- joined20:07
ExtraSpice left20:07
vvsh joined20:07
ziro` that's a good question20:07
fr0sty that is where the reset comes in...20:07
in my mind, at least...20:08
_Vi left20:08
_Vi joined20:08
ziro` can you reset individual commits?20:08
Mahjongg left20:09
wereHamster ziro`: what do you mean by 'reset'20:09
?20:09
ch077179 joined20:10
ziro` remove, negate, pretend it never happened20:10
wereHamster ziro`: man git-revert20:10
jast ziro`: the 'git-revert' manpage can be found at http://git.or.cz/man/git-revert [automatic message]20:10
ziro` revert20:10
ExtraSpice joined20:10
mmc left20:11
fr0sty ziro`: that will create a new commit which undoes the previous one.20:11
ziro` ok fine20:11
tty1 fr0sty i dont recall a solution other than saying "put the files in an external locationa nd pull it in via a script" or something to that effect the problem with that is that it works fine for a few binaries.. but if you are updating your binaries every week or so, and the version of the binary needs to be synced with specific commits int he repo (which is common for most cases where this would be needed) then you wind up needing to manually maint20:11
ain an external REPO that does version control much like git does except you cant use git since the files are big. so not really a solution20:11
fr0sty tty1: look up at what jast, cbreak and I said recently...20:12
you would end up with a listing, inside your current repository, detailing what versions of what files were associated with that commit.20:12
Bisu[Shield] joined20:12
jast well, it's not really manual. you can write a program to do it. takes a few hours, tops.20:13
fr0sty a script would go to the external pile of binaries, and copy/link the appropriate ones.20:13
kukks joined20:13
ExtraSpice left20:13
fr0sty the pile of binaries would be labelled by their sha so you sould just need to keep them backed up somewhere, not version controlled.20:13
consumerism is there a way to make git status always pipe to less if output is bigger than a screenful?20:13
fr0sty consumerism: man git-config20:13
jast consumerism: the 'git-config' manpage can be found at http://git.or.cz/man/git-config [automatic message]20:13
necromancernecromancer`bzzy20:14
jast consumerism: not that I know20:14
it's all or nothing20:14
fr0sty look at the pager options. pager.<cmd> might work...20:14
jast you could write your own pager, though, that wraps your favourite real pager20:15
and, in fact, I think some pagers have an option like that20:15
consumerism so - how come git log does this automatically?20:15
jast git log always paginates for me20:15
consumerism jast: me too20:15
but not git status20:15
jast well, you can turn on paging unconditionally for status, making it work the same way as log20:16
consumerism i mean it paginates if the log is bigger than my screen20:16
ExtraSpice joined20:16
jast then that's some pager-specific configuration you've got20:16
consumerism hm, i don't think so - piping ls for instance which is less than a page doesn't act the same20:17
thiago_home joined20:17
fr0sty this might be a function of the arguments given to less.20:17
consumerism fr0sty: how might i learn more about that20:18
jast less has the -F option for this20:18
TheFox21 left20:18
fr0sty git sets LESS to FRSX by default.20:19
according to the git-config manpage, at least.20:19
ExtraSpice left20:20
pgib left20:20
Rickardo1 joined20:21
thiago_homethiago20:22
ExtraSpice joined20:23
jast but only if LESSOPTS is not defined, I think. that would explain why it always paginates for me.20:28
I do have LESSOPTS set.20:29
rseifert joined20:29
rseifert left20:31
ziro` my problem is at work we're using svn. We have a staging branch and 'feature' / 'developer' branches which are merged with the staging branch as needed. Pushing to live is a case of doing manual diff from staging to production over sftp20:31
the deployed version doesn't represent the staging branch very well20:32
the deployed / production code isn't actually SCM'd at all20:32
eletuchy joined20:33
ExtraSpice left20:35
cbreak that sounds dumb20:39
dr_win joined20:40
Unknown[OFF] joined20:42
sapristisaucisse joined20:43
eletuchy left20:45
cbreak why don't you just scp over the whole staging branch?20:46
dr_win left20:46
sapristisaucisse left20:47
WildPikachu in a rebase when one rebases a branch onto another branch (feature onto master, from maint), what would the meaning of the ^ be in this .... git rebase --onto master maint^ feature ?20:48
cbreak WildPikachu: ^ means always the same20:49
"first parent of"20:49
WildPikachu: man git-rev-parse20:49
jast WildPikachu: the 'git-rev-parse' manpage can be found at http://git.or.cz/man/git-rev-parse [automatic message]20:49
thiago left20:51
WildPikachu hrmmmm , so one could just rebase against maint, and leave out the ^ when transplanting the commits onto the other branch?20:51
Kobaz joined20:51
cbreak yeah20:52
try :)20:52
WildPikachu awesome :)20:52
Kobaz so i just did a stash, and then pull, and stash pop... which had some conflicts, which are now fixed...20:52
WildPikachu I'm reading a book :) just making sure I understand this 100%20:52
thanks cbreak20:52
Kobaz so now i do a git status... and i see three modified files... but i do a git diff... and diff shows no changes20:52
thiago joined20:53
fr0sty 'git diff' compares index <-> working copy20:53
Kobaz but then i do a git commit -a -v... and i get a diff20:53
fr0sty 'git diff --cached' compares index <-> HEAD commit20:53
Kobaz how do i get the same diff20:54
oh okay20:54
fr0sty 'git diff HEAD' does working-copy <-> HEAD20:54
Kobaz so what's the index defined as... when doing a straight git diff20:55
`andy joined20:56
tclarke joined20:57
tclarke I'm using git 1.7.3 with a git-svn mirror and I'm having some trouble20:58
working on a subversion branch (corresponding git branch is active)20:58
made some changes to the repo and checked them into the git branch20:58
git svn dcommit20:58
I get "Committing to https://svn.repo/path ...20:59
Kobaz fr0sty: where could i read about the different parts of the commit tree, like index versus cached, vs HEAD20:59
tclarke M path/to/a/modified/file20:59
Incomplete data: Delta source ended unexpectedly at /usr/libexec/git-core/git-svn line 57320:59
cbreak Kobaz: index is staging area. all you have added.20:59
fr0sty Kobaz: the Git Book is good20:59
Pro-Git as well20:59
any book on git will have a decent explanation of that.21:00
Kobaz i've read some pieces of pro git, k21:00
so regular git diff, by itself, will compare the changes made compared to the base files before those changes?21:02
cbreak git diff compares working files with staging area21:05
fr0sty Kobaz: git diff compares working copy to index. if you have changes you have not added (with git add) they will show up.21:05
once you add them they will not show up in 'git diff'21:05
Kobaz oh21:05
fr0sty but you can see the changes which are in the index, but not yet committed by using 'git diff --cached'21:06
Kobaz ooh okay21:06
ziro`lukebarton21:06
guardian i used git-svn to clone some svn repo hosted on code.google.com — looks like it worked but now i would like to update it; when i type "git pull" it says there is no remote repo specified, what should i do please?21:06
fr0sty if you want to ignore the index and see the difference between the working copy and the last commit (HEAD): 'git diff HEAD'21:06
Kobaz k21:07
fr0sty guardian: you probably want git svn [rebase|update]21:07
:q21:07
crap!21:07
guardian fr0sty: oh i thought i could use it as a normal git repo after git svn clone21:08
fr0sty guardian: you can use the repository normally (sort of), but if you want to pull changes from the svn repo you need to use 'git svn' commands.21:09
darrint left21:10
guardian ok21:10
thx21:10
madewokherd left21:16
[Po]lentino left21:16
abetaha left21:16
abetaha joined21:16
lukebarton left21:17
necromancer`bzzynecromancer21:17
jrabbit joined21:21
Zephyrus left21:24
jrabbit left21:26
acalbaza joined21:30
acalbaza im in the middle of resolving conflicts during a rebase, but for some reason, when i run git difftool, i get nothing21:30
no diffs open with a difftool21:31
they just dump to console21:31
any hints?21:31
FYLGood joined21:32
acalbaza nevermind.... mergetool is what i need21:32
dug21:32
duh21:32
FYLGood left21:32
datafirm joined21:32
datafirm Hi21:33
I have some unstaged changes, all of which I'd like to push to a new branch. Is this possible?21:33
Ic an create a stash and apply the stash on a new branch.. that should work.21:34
fr0sty datafirm: will the new branch be based off of your current commit?21:39
datafirm fr0sty: The stash trick worked!21:39
fowlduck left21:39
eletuchy joined21:40
fr0sty if you were starting the new branch from the current commit: 'git checkout -b newbranch' would have worked it.21:41
datafirm fr0sty: I had not made a commit.. I'd modified some files and realized I wanted a new branch with those changes based off master.21:41
fr0sty were you on master?21:42
tclarke getting "Incomplete data: Delta source ended unexpectedly at /usr/libexec/git-core/git-svn line 573" when doing git svn dcommit to a subversion branch21:42
any ideas?21:42
fr0sty tclarke: don't know about git svn, sorry.21:44
thiago left21:47
tclarke left21:47
coletg left21:51
lousygarua joined21:52
lousygarua is there a way to download only a certain revision from a repository so i won't have to download the whole history of the project?21:52
flaguy48 joined21:54
tty1 fr0sty: right thats the solution i will wind up going with. my point is just that it is essentially just a homebrewed SCM your making at that point that is script handled. So while it may be the right solution right now it still feels like a hack to get around a fault in git. so i still feel it should be addressed by git, but thank you for the solution21:54
fr0sty tty1: it is a homebrew backing store, really. git is still managing the file versions, you are just moving the contents out of .git/objects/.21:56
tty1 fr0sty: well i guess thats where annex comes in.. it is intended to do that just in a git native way... which is fine. i guess i just feel annex went about it the wrong way and should be native to git is all.21:57
hunterloftis joined21:57
hunterloftis about 5 commits ago a team member deleted some files he thought we weren't using anymore21:58
Is there a simple way to restore them if I know their path & the commit where they did exist?21:58
ericdc joined21:58
tty1 hunterloftis, just do a revert most likely21:58
fr0sty haven't investigated annex in depth, but it looks like a similar approach.21:58
hunterloftis tty1: you can revert just a single file?21:59
Bombe hunterloftis, git checkout <commit-id> -- <file1> <file2> ... <fileN>21:59
hunterloftis, afterwards git-add & git-commit to your pleasure.21:59
tty1 hunterloftis, if the commit is just a few files you wanna restore but not all of it you can do a checkout of that commit for just those specific files21:59
hunterloftis Bombe: baller, thanks21:59
tty1 then recommit them21:59
fr0sty tty1: home-brew is better in some ways though, because you can distribute it within your repo instead of having to tell people to upgrade their git.21:59
Bombe hunterloftis, reverting that commit might be a cleaner solution.21:59
Unless the commit does more than only deleting those files.22:00
lousygarua left22:00
hunterloftis Bombe: yeah but it was several commits ago22:00
tty1 fr0sty: yea there is that. of course then if you use a shell script you have platform dependence issues to consider too22:00
fr0sty also true...22:01
still boils down to the fact that git doesn't play well with big files....22:01
necromancer left22:01
segher left22:01
Bombe hunterloftis, doesn’t matter. git-revert reverts that specific commit.22:02
Tommy[D] joined22:02
hunterloftis thanks for your help guys22:02
saysjonathan left22:03
tty1 fr0sty yea, i think for the past stuff ill just use submodules and for future stuff im considering a script or other homebrew, maybe annex i dunno22:03
steph021_mac joined22:04
guardian left22:04
guardian joined22:05
tty1 left22:05
sterlo joined22:09
fr0sty tty1: best of luck to you.22:10
datafirm left22:10
fr0sty I gotta jet.22:11
sonnym left22:12
ben_alman left22:12
kylehayes I feel like git ought to be on OS X out of the box22:12
blaenk joined22:15
alezandro left22:15
rgr joined22:15
RoboTeddy left22:18
programmerq joined22:19
ChanServ set mode: +v22:20
wereHamster kylehayes: better to compile yourself, osx tends to be out of date with certain packages22:21
kylehayes gotcha22:22
programmerq Hello. I have a subversion repository that has a non-standard structure that's just awful. I'm trying to get 'git svn clone' to make me a copy, but I'm not sure how. Here is what the directory structure looks like:22:22
trunk branch1 branch2 branches/branch3 tag122:22
"git svn clone -s https://svnserver/path/to/module/" doesn't cut it here. Am I stuck with only partial branch discovery and/or treating a tag like a branch?22:24
or is there some option that can allow me to specify the location of a single branch?22:24
Slix` joined22:28
wereHamster programmerq: don't use -s22:32
Tommy[D] left22:33
realseb joined22:34
programmerq wereHamster: right-- my question is what would be correct to use?22:34
"git svn clone -T trunk --branches / --tags / <url>" doesn't seem to fit either22:35
because at the top level of this module there are branches, tag(s), and trunk all in one directory. Not to mention another directory called branches which isn't a branch, but contains a branch.22:36
sveinse left22:37
programmerq I'm stumped because I figured there'd be an option like --branch that lets me specify a specific branch location (and can specify multiple times for multiple branches)22:37
Bisu[Shield] left22:37
programmerq yet there doesn't seem to be such an option22:37
Tommy[D] joined22:39
programmerq "git svn clone -T trunk --branch branch1 --branch branch2 --branches branches --tag tag1 --tags tags" is basically what I was hoping for, but the manpage, help text, documentation, etc don't seem to have something like --branch, so I was hoping that there would be an equivalent22:39
sraue left22:40
zombor left22:42
Buglouse left22:45
Buglouse joined22:47
khmarbaise left22:50
programmerq well, asking my question made me think more anout my problem, and I've thought of a different way to get what I need. Thanks for letting me monologue!22:51
programmerq left22:51
doener left22:53
sraue joined22:53
guardian left22:54
guardian joined22:55
cbreak not using svn would be a good way :/22:55
or not attempting to do branches with subversion22:55
or at least doing it with some kind of structure :/22:55
Figaroo joined22:59
Figaroo I'm getting an error22:59
wereHamster you can keep it22:59
Figaroo lol23:00
hang on I got to figure out how to copy from my shell23:00
cbreak windows?23:00
if so, good luck! you'll need it23:00
microsoft has it's problem copying copy&paste :/23:00
Figaroo cygwin actually23:01
Mage joined23:02
kylehayes_ joined23:05
kylehayes left23:08
kylehayes_ left23:10
tiagobutzke joined23:10
unreal left23:13
dreiss left23:13
unreal joined23:14
sonnym joined23:15
juangiordana left23:23
tizbac joined23:23
joel_falcou left23:24
tizbac left23:25
acalbaza left23:25
RoboTeddy joined23:26
Figaroo git help remote is giving me "bash: get: command not found", is that normal?23:26
FauxFaux No. It's probably trying to luanch man or your browser.23:27
akoskm joined23:27
Figaroo browser = terminal?23:27
Nikoli left23:27
FauxFaux No, msysgit launches a webbrowser with the html docs.23:27
Tommy[D] left23:28
Figaroo so what do I do?23:28
FauxFaux Panic.23:29
Nikoli joined23:29
Figaroo I'm one step ahead of you there.23:30
FauxFaux Work out what it's trying to do and how it's failing at escaping. Or just run man git-remote if you're on a manny platform.23:30
jast the 'git-remote' manpage can be found at http://git.or.cz/man/git-remote [automatic message]23:30
joel_falcou joined23:30
Buglouse left23:32
Buglouse joined23:34
tzafrir_laptop joined23:39
mmw left23:40
MattDiPasquale left23:41
WildPikachu warning: remote HEAD refers to nonexistent ref, unable to checkout. <= anyone seen that when cloning using rsync?23:42
tzafrir_laptop any RTFM as to converting a SCCS repo to git?23:45
FauxFaux 1) Hunt down whovere decided to use SCCS. 2) Hurt them. 3) ... 4) Profit?23:46
tzafrir_laptop FauxFaux, 3) that guy then gives consulting for maintaining SCCS. 3a) get your share from that23:47
Nikoli left23:48
akoskm left23:49
Nikoli joined23:50
dreiss joined23:54
Figaroo okay why is this happening "$ git push origin master23:56
error: cannot run ssh: No such file or directory23:56
fatal: unable to fork23:56
"?23:56
daed what happens when you type "ssh" in the console23:56
fr0sty Figaroo: 'which ssh' ?23:56
Nikoli left23:56
Figaroo -bash: ssh: command not found23:56
FauxFaux Figaroo: What platform are you on? i.e. which distro?23:56
Figaroo is what happens23:56
mintty on cygwin on windows23:57
fr0sty that might be your problem...23:57
FauxFaux Lolz. Yeah. What he said.23:57
zombor joined23:58
Figaroo aw, what can I do23:58
besides panic?23:58
FauxFaux Uninstall cygwin and use msysgit instead.23:58
fr0sty uh, Don't panic ?23:58
Tommy[D] joined23:59
Figaroo Okay *takes deep breath*23:59
robotarmy left23:59
fr0sty Figaroo: what does 'echo $PATH' give you?23:59
Figaroo /usr/local/bin:/usr/bin:/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program Files (x86)/Common Files/Intuit/QBPOSSDKRuntime:/cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/10.0/DLLShared/:/cygdrive/c/Program Files (x86)/Common Files/Roxio Shar23:59

Logs Search ←Prev date Next date→ Channels Documentation