IRCloggy #git 2008-02-17

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2008-02-17

fultilt joined00:05
aazar hey guys, newbie question. Why does git tell me that it "cannot rebase: your index is not up-to-date". How do I make my index up to date?00:08
madewokherd left00:09
jdempsey left00:09
jdempsey joined00:10
tpope aazar: commit your changes, or stash them00:11
aazar tpope: so git stash, git rebase, then git stash --apply?00:11
tjafk2 left00:11
tpope git stash apply, yeah00:12
aazar tpope: thanks. Will git overwrite the new versions of the files when I do git stash apply? or merge?00:13
tpope merge00:13
aazar thanks, appreciate the help00:13
tpope: actually another question, why doesn't git rebase do that automatically?00:14
tpope because nobody's implemented it?00:15
aazar ok. I was wondering if there was any more profound reason behind it.00:15
tpope I don't know00:16
robinr it maybe hard for stash to apply (hard conflicts) after rebase so the user better be alerted there is a potential problem00:18
mtcx joined00:18
aazar robinr: why would it be any harder to rebase what's in the stash than any other commit?00:20
glommer left00:23
mtcx left00:23
trapni_ left00:29
\ask left00:31
jdempsey_ joined00:38
jdempsey left00:38
antirobotrobot joined00:39
pete__c joined00:39
antirobotrobot hi, i just made some changes to my master branch, but they're getting a little intense. i'd like to commit my change instead to a new experiemental branch. i've already created one - how do i switch to it without losing my changes :/00:40
robinr if the new branch is on top of your head just checkout it00:47
antirobotrobot i haven't commited yet00:47
robinr if not checkout -m will perform a threeway merge that will hopefully succeed00:47
antirobotrobot if i checkout it will switch to my previous version00:48
robinr it won't destroy your changes unless you force it to00:49
just git checkout otherbranch to start with00:50
antirobotrobot i'm pretty sure this overwrites all of my files00:50
oh, no okay00:51
SuttoL left00:52
robinr checkout safe, checkout -m mostly safe but merge may create conflicts, checkout -f destroys uncommitted changes00:53
antirobotrobot okay - thanks00:53
xyzzy42 is there a way to grep across revisions? For instance tell me what in what commit a given regex first appeared in?00:55
jdempsey_ left00:57
context log supports that i think00:58
langenberg joined00:59
context yes00:59
xyzzy42: you can do that with git-log00:59
robinr sort of -S detects when the number of occurrences of a fixed string changes00:59
a.k.a pick-axe00:59
context man git-log read the very first couple lines of text, then read man git-rev-list01:00
Yuuhi left01:02
jdempsey joined01:02
Leonidas left01:03
toxx_ left01:07
jdempsey left01:09
antirobotrobot i want to get one file from a branch into my master01:16
it exists in master but has no local changes01:16
janm_ joined01:17
samgranieri joined01:18
kelvie left01:19
thorat joined01:19
AtharHameed left01:20
CareBear\ joined01:20
CareBear\ hello! How can I tell which commit contains a given source line?01:21
capisce git annotate01:22
CareBear\ Nice! Thanks! Is there a gitweb trick as well?01:23
guess not - now to git clone Linux. :p01:25
janm left01:28
langenberg left01:29
fdr- left01:30
reval left01:31
jdempsey joined01:31
jdempsey left01:31
jdempsey joined01:32
robfitz_ joined01:32
bryanl joined01:33
fdr- joined01:35
Ramblurr joined01:38
kelvie joined01:39
moya left01:40
robfitz left01:49
robinr left01:53
bobesponja hi01:56
can I create hooks in perl or ruby? and how do I tell git if they are post or pre (etc) commit hooks?01:57
gitster They have defined names and semantics. See Documentation/hooks.txt. Any executable would be usable as a hook --- you could even do one in C.01:59
bobesponja gitster: ok thanks, yes I read hooks.txt but what's the semantic? post-commit-<my hook>?02:01
or do I put all my post commit hooks in post-commit? I guess that must be it02:02
kukks left02:09
Ademan left02:21
ry_ joined02:30
Ademan joined02:36
lord_sauron joined02:41
jdempsey left02:42
antirobotrobot left02:46
pete__c left02:51
deitarion left02:52
moya joined02:57
sNov joined02:57
sNov left02:58
pete__c joined03:02
FunkeeMonk joined03:07
bobesponja left03:36
moya left03:39
zed_ left03:40
patnakajima joined03:45
patnakajima left03:46
patnakajima joined03:47
bobwhoops joined03:47
patnakajima left03:49
thorat left03:50
lord_sauron left03:51
samgranieri left03:56
jdempsey joined03:58
jbms joined03:59
moya joined04:03
lamont left04:10
FunkeeMonk left04:33
doener joined04:37
mithro left04:49
doener_ left04:55
lamont joined05:00
srid joined05:01
eternaleye left05:05
jdempsey left05:18
xyzzy42 left05:23
unreal_ joined05:33
unreal left05:33
unreal_unreal05:34
eternaleye joined05:36
Ingmar left05:48
Ingmar joined05:49
CareBear\ thanks for the help! bye.05:51
CareBear\ left05:51
CareBear\ joined06:09
CareBear\ back for more :)06:09
Can anyone explain that a commit to linux-2.6.git dated before the Linux v2.6.15 commit isn't included in the -2.6.15 tarball?06:09
DrNick it was merged after v2.6.1506:10
CareBear\ merge != commit ?06:11
Hm. I see.06:11
DrNick well, no, merges are just commits with multiple parents06:11
CareBear\ The commit date is from when it was committed the first time - not when it was pulled into Linus' tree?06:12
DrNick the point I was making is that this predated commit was actually committed at that date prior to the v2.6.15 tag06:12
however it wasn't merged into linux.git's master until after the v2.6.15 tag06:12
CareBear\ *nods*06:12
How can I find out when it was merged?06:12
(Ideally which was the next release, but I'll settle for a date. :)06:13
paakku possibly you could use git describe --contains06:14
CareBear\ Excellent.06:15
2.6.16-rc106:15
(followed by noise?)06:15
v2.6.16-rc1~169^2~16^2~25^2~606:16
FunkeeMonk joined06:16
paakku it shows the ancestry path from v2.6.16-rc1 to the commit you asked for06:17
doener CareBear\: so you're looking for platform_device_del()? ;-)06:17
CareBear\ doener : Correct. :)06:17
paakku the syntax is documented at git-rev-parse06:17
CareBear\ paakku : Ok!06:18
loops CareBear\, the ancestry info actually specifies the exact commit.. so if you say git show "v2.6.16-rc1~169^2~16^2~25^2~6", you will see the [PATCH] Driver Core: Add platform_device_del() commit.06:21
DrNick v2.6.16-rc1~169 is 169 commits before v2.6.16-rc1, and v2.6.16-rc1~169^2 is the second parent of that commit (i.e. 2.6.16-rc1~169 is a merge)06:22
and then it goes from there06:22
loops and even though that example is rather ugly.. sometimes it's a friendly way to talk about commits in email etc..06:23
DrNick 93ce3061be212f6280e7ccafa9a7f698a95c6d75 (or 93ce306) is much easier to talk about06:24
loops in this case there's no doubt bout that DrNick06:25
CareBear\ I knew the id, just new to this distributed thing. :)06:26
I really like git though.06:26
patnakajima joined06:33
spearce joined06:33
patnakajima left06:34
patnakajima joined06:34
[RIT]Rawn027 joined06:40
patnakajima left06:41
patnakajima joined06:41
ry_ left06:43
cwillu left06:45
gitster I wonder how you would pronounce ~169^2~16^2~25^2~6 in English ;-)06:48
spearce "damn old"06:49
gitster Heh.06:49
I am committed to rewind and rebase "next", by the way.06:49
spearce yea, i saw that. go for it.06:49
gitster I need to update MaintNotes, as 1.5.4.2 builds...06:49
[RIT]Rawn027 left06:51
DrNick sixth ancestor of the second parent of the 25th ancestor of the second parent of the 16th ancestor of the second parent of the 169th ancestor of v2.6.1507:00
patnakajima left07:00
patnakajima joined07:00
spearce aka "damn old"07:00
gitster Gaah. Can you recite it with your eyes closed?07:00
DrNick actually, ^2~ is probably a common enough idiom that it might deserve it's own syntax07:00
loops yeah.. replace ^2~ with "m" for merge07:01
spearce please don't07:01
loops heh07:01
okay.. damn old it is07:01
gitster v2.6.12~4mmmmmmmmmm4?07:01
spearce as it is we have a line-noise revision syntax07:01
loops gitster, no.. you'd only replace ^2~07:02
DrNick should ask the Perl people for advice07:02
spearce yea, then people would want v2.6.12~4m{32}~4 or something. :)07:02
DrNick v2.6.15~169m16m25m607:02
loops DrNick, right.. that's what i was thinking07:02
spearce then we'd need 169m = 2h. :)07:02
DrNick ITYM 120m07:02
tarbo_ joined07:03
spearce sorry, 169m = 2h49m.07:03
yet another long day at day-job.07:03
Cerebon left07:06
Ilari spearce: I have seen git-gui crash on startup with some (sane-looking) LC_ALL values.07:06
spearce Ilari: that's never good.07:07
i basically run with no LC_* stuff set, so i'm picking up C/stupidamerican locale. :)07:07
any backtraces from the crash? or is it just disappearing on you?07:08
any specific LC_ALL values that i can try to test here?07:08
Ilari spearce: I need to build the newest version...07:08
Mikachu is there anything to build?07:11
spearce sure, there are many open source programs available. :)07:12
Mikachu i meant for git-gui :)07:12
samgranieri joined07:12
spearce it does a short transform that it does to generate the tclIndex and embed its install location into the main script.07:12
on the mac it does a bit more as it creates a full .app bundle to get the icon in the menu bar and dock right.07:12
Mikachu ah07:12
spearce but yea, given that its pure tcl/tk there isn't much to "build"07:13
although future git-gui's may have more. i have a pet project that translates C to Tcl.07:13
tarbo left07:13
Mikachu that sounds a little bit crazy07:13
Ilari spearce: "Error in startup script: Error: No word lists can be found for the language "fi_FI".".07:15
spearce aaah, aspell freaked07:15
and git-gui didn't handle it gracefully by disabling aspell.07:15
yup, got that failure here.07:16
i'll try to fix it before i go to bed this morning. thanks Ilari.07:16
workaround would be to set gui.spellingdictionary = none in your .git/config or ~/.gitconfig to disable aspell too. or set it to a dictionary that aspell does support on your system.07:17
Ilari If i replace Aspell by Tmispell-voikko, it crashes with 'error in startup script'.07:18
Mikachu is there anyone here who enjoys sending typo fix patches to the list? http://git.mika.l3ib.org/?p=git.git;a=commitdiff;h=0d9aa2307:18
spearce what is Tmispell-voikko ?07:18
Mikachu sounds finnish07:19
adante left07:19
Mikachu ah, fi_FI, not surprising then :)07:19
Mikachu s/.*//07:19
spearce git-gui is right now assuming aspell, and nothing else, so it may be crashing because its passing aspell specific command line options or something retarded like that.07:19
Ilari spearce: Ah. Aspell --version prints: "@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.5)".07:20
spearce i think i may be able to back off on the aspell specific stuff and try to disable them except for when it really is aspell. probably take me a bit longer than just not crashing. :)07:21
patnakajima left07:25
tommorris_ joined07:26
Ilari spearce: Spell checking is such a mess of programs...07:26
spearce yea. but its already saved me a good bit of typos in my commit messages. then again, i only use english, which is rather well supported.07:27
tommorris__ joined07:37
tommorris left07:41
jeff2 joined07:43
tommorris_ left07:44
jeff2 I ran git-instaweb from my repository directory, but when my browser opens it says "403 Forbidden - No projects found". I do have a project there, how can I make git-instaweb find it?07:44
CareBear\ left08:05
nkallen left08:06
nkallen joined08:08
pagenoare joined08:18
pagenoare hi08:18
i am new in git08:18
i register my project on repo.or.cz, add my user, and mod user, go to /home/user/projekt08:19
git init08:19
tommorris__ left08:19
pagenoare git checkout adress08:19
git add .08:19
git commit -m 'test'08:19
annd what now ?08:20
aunes joined08:21
Ademan left08:22
spearce `git remote add origin [email@hidden.address]08:22
that will tell your local repository about the one that you have on repo.or.cz.08:22
glommer joined08:22
spearce then you can publish your changes to repo.or.cz with git push: `git push origin master` would publish the current contents and history of your branch master to the repository you called origin, in its own branch called master.08:23
pagenoare hmm, access denied08:24
password is 100% correct08:24
spearce repo.or.cz doesn't use passwords, it uses only ssh keys.08:24
pagenoare so, i paste incorrect ssh key?08:25
can i change it?08:25
Ilari pagenoare: You need to authorize the user to push. Admin authorization does not imply authority to push.08:25
spearce or your ssh client doesn't know to use that ssh key with repo.or.cz. i had to add an entry to my ~/.ssh/config file for repo.or.cz to make it use the proper key file.08:25
pagenoare spearce: i havent ~/.ssh/config08:26
pagenoare @ macos lori ls ~/.ssh08:26
id_rsa id_rsa.pub known_hosts08:26
spearce hmm, only one key, so not too likely the problem. i have like 10, and that's 7 more than most servers will allow my client to attempt before tossing it off. :)08:27
gitster says "we are at 304 stacks"08:27
pagenoare spearce: i paste incorrect in registration ;(08:28
Mikachu gitster: i just read that git reset -- paths description, and i think it's a bit confusing about what will happen when the file already exists in the previous commit08:28
samgranieri left08:29
Mikachu ie, it says "remove the file from the index" which implies the next commit will actually remove the file08:29
Ilari Wonder why repo.or.cz doesn't even try running the pasted keys though ssh-keygen to check some really blatant errors... Probably because of laziness...08:29
gitster yeah, that is called duct-tape ;-)08:29
vbgunz left08:30
Mikachu you can run keys through ssh-keygen? /me reads manpage08:30
gitster but it is surprising that the site has gathered so many projects.08:30
pagenoare spearce: Permission denied, please try again.08:30
Mikachu that's not a helpful suggestion, it's not very likely to not be denied the next time :)08:31
samgranieri joined08:31
spearce that's like the message i got today from a micro$oft product: "administrator is busy. please contact the administrator and tell them they are busy."08:31
pagenoare eh, what now08:32
spearce open a new user account with the correct ssh key, or email pasky and ask him to fix your key, or both. :)08:32
pagenoare cat ~/.ssh/id_rsa.pub08:33
it's my key, yea?08:33
spearce right08:33
kumbayo joined08:34
pagenoare spearce: with sshrsa?08:34
on top i have ssh-rsa08:34
spearce yea, the ssh-rsa part is part of the key line.08:35
Ilari pagenoare: Paste the entiere thing. ssh-rsa or whatever included.08:35
AtharHameed joined08:36
pagenoare Ilari: ok, but i have other login in bash, and in repo.or.cz08:37
how to i must login?08:37
Ilari pagenoare: '<useraccount>@repo.or.cz' as host to connect to?08:39
pagenoare: Or make an hostalias (they can specify user to connect as too).08:39
gitster Or use "User me" in "Host repo.or.cz" section in .ssh/config08:40
Ademan joined08:40
Sho_ left08:40
pagenoare yea, works, thanks all08:42
gitster too many ways to skin the cat...08:44
spearce left08:45
pagenoare how to add the dictonary into git repo?08:45
Ilari pagenoare: 'dictonary'?08:46
pagenoare folder08:47
sorry, i don't know how to write in english08:47
Ilari pagenoare: Add some file in it (or in its subdirectory).08:48
gitster we do not track directories. if you have an interesting contents (files) in a directory, just add that file.08:48
The containing directory comes for free ;-)08:48
dsaxena left08:49
Mikachu hm, can you manually add that empty tree sha1 to a tree if you wanted to? would git create the empty dir on checkout then? only asking out of academic interest of course :)08:49
pagenoare yea, sorry :D08:49
gitster No.08:49
pagenoare it works08:50
Mikachu kay08:50
gitster Yeah, standard answer to "empty directory" question is "to have .gitignore that covers everything, as obviously you do not want to have anything tracked in that directory" ;-)08:50
jeff2 left09:00
asdx left09:05
pombreda joined09:07
lukass joined09:07
eternaleye left09:08
eternaleye joined09:08
russell^84 joined09:20
russell^84 is it possible to push to an newly created git repository on a webserver(apache) via webdav? i keep getting "Could not LOCK" from apache, due to the /refs/heads/master file not existing09:23
bschindler joined09:28
Ademan left09:31
robfitz_robfitz09:33
Tv russell^84: DAV push is probably the most unreliable push method right now, encountering silly bugs is just about expected09:33
russell^84: if you can, use ssh, that's the one most of us use09:34
russell^84 ah ok09:34
neosun joined09:34
russell^84 cool thanks09:34
pagenoare left09:34
Tv russell^84: and, as usual, let me point to http://eagain.net/gitweb/?p=gitosis.git;a=blob;f=README.rst ;)09:35
samgranieri left09:35
tommorris joined09:35
russell^84 yeah, the only reason i wanted dav support was because most of my coworkers are used to svn. Hey i also noticed there is ftp support, how useful/stable is it?09:38
pergesu left09:39
Tv russell^84: ssh is the thing, git-daemon uses same protocol so works well (but is anonymous)09:39
honestly, i always use svn+ssh with svn09:39
i've never actually tried ftp push09:39
aazar Hey guys, is there a way with git diff to get a diff between my version of a file and the one residing on my remote origin?09:39
Tv aazar: git fetch && git diff remotes/origin/master -- path/to/file09:40
aazar Tv: thanks, I'll try it out.09:40
russell^84 Tv: thanks for the help09:42
robinr joined09:45
Tv ftp is one of those protocols i wish would die away fast09:46
it's a pain for firewalls and nats09:46
for just about everything i've ever used it for, http or sftp are better09:46
trochala joined09:47
Tv or rsync09:47
Eludias joined09:48
russell^84 yeah, i know how you feel. But GSIFtp is really popular in the grid(globus) computing world and one of the reasons i'm playing around with git is to see if it can act as a scientific/research data store09:52
dash__ joined09:58
tommorris left09:59
FunkeeMonk left10:01
Leonidas joined10:02
Tv russell^84: unlikely for any real data10:03
russell^84: i put my digicam pics in git just to seek, and push/pull/pack are horribly slow with large files10:03
s/seek/see/10:04
janm joined10:09
up_the_irons Tv: oh hey Tv, how's it hangin10:10
Tv up_the_irons: the usual10:10
thinking if i spend the sunday cleaning my desk, i might see more than 30% of it on monday10:10
up_the_irons haha10:11
TuxCM- joined10:12
up_the_irons Tv: i'm shopping for a thinkpad. thinking i'll make my budget 1.5K and get what I can with that10:12
Tv mmm thinkpads10:13
i wish they still make them (as well) when i wanna switch to something smaller again10:13
up_the_irons Tv: so have you been pretty happy with your T61?10:14
Tv yeah10:14
i mean, it's big and clumsy10:14
but the kbd is the usual thinkpad quality, the screen is big & bright, and there's plenty of cpu power10:14
up_the_irons yeah, that's pretty much what i'm after10:15
tommorris joined10:15
Tv and the 2GB disk cache certainly helps10:15
;)10:15
up_the_irons i don't like the weight (little heavier than my MBP), but i'll just have to reason i'm not lifting it much, usually on the desk10:16
Tv yeah i carry it between desk and sofa, mostly10:16
up_the_irons yeah i bet that disk cache is nice ;)10:16
Tv the 12" was so much nicer to take to events10:16
up_the_irons yeah i bet10:16
Tv but the screen on this thing is big enough that i don't even want dual screen10:17
(because i'd never have the dual screen on the sofa anyway)10:17
up_the_irons yup10:19
ChanServ set mode: +o10:19
up_the_irons i feel that way about my mbp, at 15", i don't need another monitor. I use profont anyway10:19
Mikachu changed the topic to: 1.5.4.2 | Homepage http://git.or.cz/ | Everyone asleep or clueless? Try [email@hidden.address] | Channel log http://colabti.org/irclogger/irclogger_log/git | Mailing list archives: http://marc.info/?l=git | Gits on git: http://tinyurl.com/2xq3ke | You want $ID?: http://tinyurl.com/yqpgv9 | Need to paste something?: http://git.pastebin.com10:19
Mikachu set mode: -o10:19
up_the_irons what the, the X61 now is energy start 4.0 compliant10:19
it wasn't before...10:19
mmm..10:19
Tv: is your screen type the LED backlit kind?10:21
Tv don't think so10:21
generation too old10:21
janm_ left10:21
Tv it's brighter than any earlier thinkpad i've seen10:21
every time i've switched to a new one, the difference has been huge10:21
up_the_irons gotcha10:23
Tv haven't used it outside much yet, though, because it's so clumsy10:23
up_the_irons mm.. the x61s goes up to 1.8GHz only10:23
Tv yeah, power savings..10:23
up_the_irons yeah10:23
Tv then again, fast disk + plenty of ram >> cpu10:23
up_the_irons i don't think i've ever used my mbp outside either.. not much point10:23
yeah, for sure10:24
Tv i think my 12" was 1.8GHz10:24
it felt fast enough to do compiles etc10:24
difference between 1.8 and 2.2 is way less in reality than on paper10:24
up_the_irons yeah10:25
i'd agree10:26
TGEN_ joined10:26
Tv and for compiles etc, plenty of ram helps a lot more10:26
up_the_irons mm.. the T61 *does* have a 14" model.. perhaps a compromise in size/weight10:26
Tv don't want to be disk bound10:26
aazar left10:26
up_the_irons right10:26
Tv up_the_irons: yeah, but check the pixels10:26
up_the_irons uhoh, pixels10:27
Tv up_the_irons: at least when i looked at that, it had horrible dpi10:27
context when it comes to laptops now10:27
Tv well ppi10:27
context its all about desktop realestate10:27
tommorris left10:27
up_the_irons the high end has 200 nit10:27
Tv context: i went from 12" to 17", and will likely go back next ;)10:27
context you realize 12-17 is just about the entire laptop range10:27
Tv nit is brightness10:27
context: there's plenty of things below 1210:28
context ...10:28
Tv oh damn not 17", i'm on crack10:28
15.4"10:28
context i bought a 15" mbp10:28
TuxCM left10:28
context it replaced my desktop10:28
13" is to small10:28
17" is to big to carry around10:29
up_the_irons Tv: ok, then for some reason the pdf doesn't have the ppi10:29
context 15" is the happy medium10:29
Tv 12" with thinkpad kbd is just lovely10:29
just wanted more pixels than they could manufacture10:29
up_the_irons: oh they never do.. calculate it10:29
up_the_irons Tv: lol10:29
up_the_irons grabs a calculator10:29
context tv: call and pay them enough and you can get anything ;)10:29
Tv up_the_irons: i'm just saying the 14" i saw was like 1024x76810:30
context from my understanding thinkpads are garbage since ibm sold it10:30
Tv context: oh in this case not really, not without waiting10:30
context which was honestly the only pc laptop model i ever cared about10:30
Tv context: the high ppi display panels aren't really available in 12" sizes10:30
context: it's on the product list but you not available10:30
up_the_irons Tv: oh ok, the WXGA+ on 14.1" model does 1440x900, which isn't bad i don't think10:30
context 12" is tiny anyway10:30
Tv context: 12" is physically enough if it was 1400x105010:31
context asside from being completely portable10:31
Tv up_the_irons: that sounds workable10:31
context its just to small for me10:31
Tv up_the_irons: i think that just wasn't available when i was buying, and i couldn't wait10:31
context: full size thinkpad kbd etc10:31
up_the_irons Tv: right10:31
Tv though i do have good eyes, i'm sure if you don't you'll disagree about 12" screens being physically big enough10:32
other than that, the 12" has identical feel for use as any other thinkpad10:33
up_the_irons Tv: do you have the Intel 4965AGN card?10:34
Tv 03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)10:34
up_the_irons: intel really did fine work with that one10:35
up_the_irons: open source goodness10:35
up_the_irons Tv: cool10:35
Tv: well, a nicely configured x61s is $1644; oh the hell with budgets. ;) Now let's see what that'll get me in a t6110:36
janm_ joined10:39
up_the_irons Tv: would you think the difference between a 3MB and 4MB proc L2 cache would be noticable?10:43
Tv not as badly as 2MB would be10:43
but depending on what you do with it, it will definitely have some effect10:44
maybe even almost as much as the 1.8GHz vs 2.2GHz thing10:44
that's more a question of are you pushing 7200rpm disks yadda yadda10:44
oh let me never again suffer from 5400rpm laptop disks..10:46
up_the_irons lol10:46
sure wish i didn't have to pay for a winblows license with this purchase10:47
cehteh use a SSD :)10:47
Tv up_the_irons: right now you sort of need windows to set up the bios fingerprint protection :(10:47
up_the_irons: though honestly i haven't played with the reader any more than that10:48
up_the_irons Tv: i wasn't really thinking of using the reader10:48
Tv: just more candy10:48
Tv up_the_irons: i'm not using it really except on poweron10:48
don't have it set up in linux10:48
mithro joined10:48
up_the_irons Tv: oh man, there's a 6MB L2 cache proc in the list. 6MB!!10:48
Tv but i kinda like my non-server computers not to start up without me10:48
hehe10:48
russell^84 left10:49
up_the_irons Tv: yeah that's true10:49
janm left10:51
drizzd joined10:52
up_the_irons Tv: interestingly, i'm using 1440x900 on my 15" MBP. That means, if I got a 14" T61, I'd have greater ppi. sweet10:52
janm joined10:56
Ademan joined10:57
moya left10:58
moya joined10:59
adante joined11:07
adante left11:08
janm_ left11:10
ferdy joined11:17
Leonidas_ joined11:21
Leonidas left11:21
Leonidas_Leonidas11:21
drizzd If I do git push origin :test I get "error: remote 'refs/heads/test' is not an ancestor of local '(delete)'"11:26
What's going on?11:26
HG` joined11:26
SuttoL joined11:31
drizzd Hmm, appears to be yet another problem with git-http-push.11:31
Yuuhi joined11:32
Beket joined11:37
fultilt left11:38
capisce left11:41
capisce joined11:41
context push over ssh, its more secure ...11:41
reuss left11:47
Sho_ joined12:04
thresh_ joined12:05
thresh left12:06
Tv and is the one 99.99% of the community uses, so has less bugs12:09
paakku how large is the community?12:09
drizzd context: I would if I could12:11
Tv at least thousands of people, but nobody knows12:11
not like they'd be buying licenses from a single corporation12:12
drizzd in any case, -f should not be required, even for push over ssh. right?12:13
paakku are there statistics on people visiting #git or posting to the mailing list?12:14
Tv paakku: archives are public, feel free to make (up) some12:14
drizzd: to delete branches? no12:14
up_the_irons Tv: did you get your T61 using the cpp? I'm in it now and it gives 15% discount, pretty nice :)12:19
Tv up_the_irons: cpp?12:19
up_the_irons Tv: lenovo.com/cpp (contractor purchase program)12:19
thresh_thresh12:19
Tv #define THINKPAD "T61"12:19
up_the_irons: nope, i'm registered with them as a reseller but only in EMEA12:20
up_the_irons Tv: the passcode is 556655, if ya ever wanna buy some accessories :)12:20
Tv: gotcha12:20
Tv one secret?12:20
whoa, stoopid12:21
up_the_irons yup12:21
Tv and they don't check anything?12:21
that's just silly12:21
up_the_irons i hear they don't check12:21
ppl on slickdeals.net were able to purchase through it12:21
it's probably one of those things they don't want you to find, but kinda do12:22
Tv: you have 4GB RAM right?12:22
Tv heck most local b2b resellers won't let you even see their prices without logging in12:22
up_the_irons: yup, maxed out12:22
up_the_irons Tv: nice12:22
Tv: i'm gonna max this puppy out too12:22
Tv: now let me say that "Executive Class" thinkpad is silly12:23
Tv: waaaaay ugly12:23
neosun left12:23
Tv yeah i hope lenovo doesn't screw up the whole series, one by one12:23
up_the_irons hehe yeah12:25
Tv: does the 4-in-1 media card slot read SD and stuff?12:26
Tv i think my scanner will work a lot better if i plug it in first12:26
up_the_irons: no linux drivers afaik12:26
up_the_irons roger12:26
Tv SDIO was somehow DRM-infested, or something12:26
http://www.linuxdevices.com/articles/AT6640645071.html12:27
"You really can't offer an SD or SDIO stack in open-source form and meet the licensing requirements currently in effect for these devices."12:28
aka "wait for the next gen hardware and try again"12:29
up_the_irons ouch12:29
Fullmoon left12:29
Tv personally, i've never moved data on sd/mmc cards from one device to another12:29
not even when i'd be in an environment with working sd readers12:29
"Secure Digital (SD) is a proprietary flash memory card format, including Content Protection for Recordable Media (CPRM) encryption hardware, based on the MultiMediaCard (MMC) format."12:32
(at http://www.olpcnews.com/hardware/peripherals/secure_digital_isnt.html)12:33
that's the DRM i remember12:33
DeepB left12:33
up_the_irons Tv: gotcha12:34
Tv mmm OLPC might be trying to create open-source-compatible SD hardware12:34
Leonidas up_the_irons: I think my SD reader does work12:34
Yeah, it most certainly works.12:35
Tv Leonidas: binary only proprietary kernel module much?12:35
up_the_irons Leonidas: neato, what model do u have?12:35
Tv https://opensource.motorola.com/sf/projects/sd-mmc12:35
motorola and olpc seem to be working on it12:35
note that that's "simplified spec"12:35
Leonidas Tv: nope, no special modules. Just plain gentoo-sources. I was surprised that it worked out of the box.12:35
Tv so don't expect all the sdio devices to work with it, either12:35
Leonidas: anyway, it's still patented, so selling software with support is risky12:36
clean room implementations don't get around patents12:36
octopod joined12:37
Tv http://en.wikipedia.org/wiki/Secure_Digital_card#Openness_of_standards12:37
Leonidas up_the_irons: hmm. Hard to say. lspci and lsusb do not say anything about it.12:37
up_the_irons Leonidas: i meant model of computer :)12:38
Tv: if you could have your laptop w/ 14" and 1440x900, would you do it?12:39
Leonidas up_the_irons: It's a Samsung R60plus notebook. But I cannot recommend it really, since I killed my Fn-keys via bios-update.12:39
up_the_irons Tv: oh, and do you know the nit of your screen?12:39
Tv up_the_irons: maybe12:39
up_the_irons Leonidas: lol, ok12:39
Tv up_the_irons: i'd have to dig up the nits via lenovo.com i guess12:39
up_the_irons: might be 220?12:39
up_the_irons Tv: ok don't worry about it then12:40
Tv: i can't find it in the pdf, that's why i ask12:40
Tv: i think i'll go w/ 14" unless the 15" has superior brightness, etc..12:40
Tv up_the_irons: you have the ubersekr1t sales pdf i found back then?12:40
Leonidas up_the_irons: there was a bug with MMCONFIG and I tried updating the BIOS which does only work unter windows. So I booted a windows live cd and it worked. Just my Fn-keys are dead now and I cannot make the display darker or anything.12:40
up_the_irons Tv: i only have the one off their site12:40
Tv up_the_irons: is it like at least 20 pages of actual tech specs?12:41
up_the_irons: each model listed separately, etc12:41
up_the_irons Leonidas: ouch12:41
Tv: no, like 4 pages12:41
Tv up_the_irons: then you don't have the ubersekr1t one12:41
up_the_irons looks around12:41
Tv up_the_irons: the public web site has furiating little on specs12:41
up_the_irons Tv: do u think u could email me the ubersekr1t one? ;)12:42
Leonidas up_the_irons: maybe they start working once I update the BIOS on a properly installed vista, but I'd need a harddisk for that - argh, everything sucks.12:42
Tv not sure if i have it anymore12:42
i google reverse engineered the url12:42
up_the_irons Leonidas: ouch12:42
reverse engineer!12:42
"Hi, yes, I'm a reverse engineer. I designed the reverse gear in transmissions"12:43
Tv it's basically only meant for their resellers12:44
but is way more useful than most of their website12:44
just not user friendly12:44
ftp://ftp.software.ibm.com/pc/pcinstitute/psref/tabook.pdf12:45
that's probably it12:45
http://www.thinkwiki.org/wiki/Hardware_Specifications12:45
up_the_irons Tv: oh jesus that's slick12:46
Tv: there's even linux models?!12:46
Tv heh12:46
up_the_irons man, where do i get one of those12:46
Tv they're not top of the line, though12:47
you can just call them and order anything in there12:47
even if the website doesn't show it12:47
if they have it in store12:47
s/e$/age/12:47
up_the_irons oh ok12:47
well if it's not top of the line...12:48
moya left12:48
Tv at least at one point the linux models were of the R line12:48
and in general, in the "business value" spirit12:48
pick intel chips yourself and you're just about better off, though paying the windows tax12:49
and if you do call them, make damn sure you get the right wlan chips etc12:49
up_the_irons yeah, that makes me nervous about calling; at least online i can double check everything, albeit i pay the windows tax12:50
tip: 15" models have integrated 4-in-1 reader, on 14" it would take up the express card slot12:50
Tv i had to call due to payment details12:50
up_the_irons: that's just case size, i think12:51
up_the_irons yup i'm sure12:51
Tv though the 12" had a 4-in-1 reader and a cdma modem in the express card slot12:52
my current express card slot has an extra flash in it.. maybe some day it'll work nicely in linux12:53
up_the_irons oh the 15" has a smart card reader built in?12:53
the spec says so12:53
Tv huh12:53
i don't see anything that size on this 15.4" T6112:54
unless it's hidden with the pc card slot12:54
up_the_irons Tv: page 35 of the uber secret pdf12:54
Tv yeah just trying to figure if that changed12:54
up_the_irons ah12:55
or, maybe it means its a compatible add on12:55
oh, it's true, just diff. config12:56
"PC Card Slot & Smart Card Slot [add $21.25]"12:56
Tv: ^^12:57
Tv ah so it is hidden in that thing12:57
not sure if i got that one, though12:57
up_the_irons yeah it's not the default12:57
default is express card slot12:57
Tv anyway, that's sort of silly because you can get smart card readers as pc cards12:58
if it takes the slot space anyway12:58
might as well have it changeable12:58
yeah i have two identical big empty slots12:58
with dog hair in them12:59
up_the_irons lol12:59
yeah i agree, no need to go with "fixed" configuration on the smart card.. when the form factor changes of the SC, i'd be screwed12:59
Tv: did u get a big drive in yours? (160GB+)13:00
Tv that waswn't available then13:00
i have the biggest 7200rpm that was available then, 100GB13:00
and over a terabyte of external storage ;)13:01
up_the_irons hehe cool13:01
it's $80 extra for 160GB (from 100GB), wondering if it's worth it. For a little over $1.20 for each extra gig, i suppose it is13:02
Tv: did you get anything above the base warranty?13:03
Tv no13:04
up_the_irons cool13:04
Tv up_the_irons: i'm outside the US, having a US warranty wouldn't have done much good for me13:04
up_the_irons oh yeah, duh13:04
destruct_ joined13:06
up_the_irons Tv: decisions, decisions... identically configured (as close as possible): 15" - $1550, 14" - $150013:07
so it's basically do i want 14 or 15 inches..13:07
Tv wide/non-wide?13:07
up_the_irons both wide13:07
kukks joined13:09
rubydiamond joined13:12
destruct left13:16
destruct_destruct13:18
TGEN_TGEN13:20
bschindl joined13:23
bschindler left13:25
bschindler joined13:27
up_the_irons Tv: interesting, the contrast ratio on 14" is 300:1, on 15" it's 500:1. I like my contrast...13:35
Tv up_the_irons: yeah, and the sucky thing is those details change fast13:35
up_the_irons Tv: yeah13:36
nessundorma joined13:36
Tv up_the_irons: display panel manufacturing is a tight business13:36
heavy competition but almost everything bought off them immediately13:37
that's why i cursed that much when i was trying to find that 12" with a good ppi13:37
up_the_irons Tv: hehe, i c13:37
Tv displays with that ppi are apparently better business at slightly bigger sizes13:37
up_the_irons ah13:38
bschindl left13:42
reuss joined13:45
up_the_irons Tv: well, your secret pdf does say Jan 08, so it's probably pretty up-to-date13:46
Tv not for availability but yeah13:46
availability can change almost daily13:46
up_the_irons Tv: i think i gotta assume 300:1 CR on the 14". same CR as the 15" R series; so now i'm thinkin the 14" screen is a little "cheap"13:46
Tv: true true13:47
Tv iirc the guy on the phone said two weeks is the normal time they can stock things, at most13:47
up_the_irons yup13:47
Tv 14" screen being cheap sounds perfectly believable13:47
up_the_irons Tv: oh crap, ya know what.. it's 300:1 on the 15" too if it's GMA. they only give 500:1 to NVIDIA models. ggggggrrrrrrrrrrrr13:48
up_the_irons throws a brick13:48
Tv oh huh13:49
different panels for different controllers, sounds weird13:49
up_the_irons very13:49
Tv i understood the connector is standard etc13:49
maybe its more about manufacturing just a few combinations13:49
up_the_irons or they figure the nvidia customers are gamers and want better colors13:50
Tv which is pretty much the same thing i said ;)13:50
not wanting to provide the extra combinations13:50
up_the_irons yeah13:50
:)13:50
Tv: think i figured it out. The WSXGA+ (plus is the key) is the 500:1 CR. The pdf doesn't show these w/o NVIDIA, but obviously you can get them w/ GMA13:56
Tv: so there's hope13:56
Tv heh13:56
AtharHameed left13:56
Tv remember my rant about that "+"13:56
up_the_irons i do in fact13:56
actually, the "S" is important too13:56
IRSeekBot left13:57
Tv it explicitly says "more than", but two "FOOGA+"s don't need to match13:57
up_the_irons WXGA+ on 14" is 300:1, so gotta have the "S" too13:57
Tv oh the S adds a lot of pixels13:57
XGA wasn't that much, IIRC, so more than XGA ain't much either13:57
up_the_irons yup13:57
Tv heck, XGA means 800x600@16bit or 1024x768@8bit13:58
up_the_irons lol13:58
doener for my T43, I had to talk to the dealer in terms of the 3-letter codes...13:59
Tv WCGA+13:59
doener: 3-letter?13:59
the product codes were 5 number and/or digits iirc13:59
doener do I want the 2668-WUM or maybe the 2668-WAM? or 2668-FOO?!13:59
Tv oh yeah, 7 letter13:59
2668WUM is the product code, then13:59
the prefix ain't always constant either14:00
doener 2668 being the series IIRC14:00
Tv 2668WUM can be almost identical to FE68XAM14:00
doener and the last three the specific components14:00
AtharHameed joined14:00
Tv i went through the parts list chip by chip on the phone when i ordered, just to make sure contents & prices match14:01
IRSeekBot joined14:01
doener I had a misunderstanding in one email, which made me order the wrong one.14:02
Fortunately, I could stil cancel it. The shop had offered me an almost identical model, just 10% cheaper and with a different product code14:02
I just lost track of which code was what stuff14:03
Ilari Yeah. Sometimes some clowns even change chipsets wthout changing model names... Buying craputers is easy, but buying good stuff is not trivial...14:11
shafty joined14:13
simmel That's why you make so you only have one choice and let the company choose for you. Go Mac! ; P14:13
SuttoL left14:14
simmel </flame'n'rant>14:14
Tv one size fits steve jobs fanboys?14:15
simmel (Y)14:16
kumbayo left14:17
ferdy left14:22
priidu joined14:25
tokkee left14:27
up_the_irons Tv: do u know what kind of batter life you get w/ your 9 cell?14:42
Tv up_the_irons: haven't really measured, but ...14:42
wlan on full brightness etc acpi estimate is 3h45min14:42
shutting down drivers is supposed to get at least an hour extra14:43
up_the_irons Tv: ok cool, tnx14:43
kumbayo joined14:43
langenberg joined14:46
up_the_irons k14:46
zhangkai joined14:50
langenberg left15:04
tommorris joined15:05
rubydiamond left15:08
aunes left15:10
SuttoL joined15:17
zapnap joined15:20
aunes joined15:20
chris2 joined15:20
G_SabinoMullane joined15:27
raggi Tv / up_the_irons : not sure exactly what model you were talking about, but i've had 6 hours out of a macbook whilst on a plane (everything external disabled, and screen down on a night flight)15:29
G_SabinoMullane left15:29
raggi which is enough for a trans-atlantic :)15:29
priidu left15:29
priidu joined15:32
tommorris left15:34
tommorris joined15:34
harinath left15:39
harinath joined15:40
FunkeeMonk joined15:42
sverrej left15:56
ferdy joined16:01
FunkeeMonk left16:07
srid left16:13
ghtdak left16:13
Beket left16:17
Beket joined16:18
vbgunz joined16:19
Beket Can git expand sccs keywords?16:23
thiago_home not the way you want16:23
Beket Thank you thiago_home16:23
Morphous joined16:24
thiago_home see http://git.or.cz/gitwiki/GitFaq#head-4a0afe71a2bb7734777a8b0b345e0308aefdbd4016:24
jaalto left16:27
Amorphous left16:40
bobesponja joined16:42
bschindler left16:43
Beket left16:46
Beket joined16:50
sverrej joined16:51
priidu left16:51
drizzd left16:55
nessundorma left17:01
IRSeekBot left17:02
IRSeekBot joined17:05
MorphousAmorphous17:10
shaftyy joined17:17
Beket left17:22
Beket joined17:27
sinkorswim joined17:35
shafty left17:35
shafty joined17:35
sinkorswim http://uszla.me.uk/space/blog/2007/09/20 - on that page, the author uses git pull to merge a branch, can someone explain the difference between merge and pull pls17:35
Mikachu pull is fetch+merge17:36
pull . == merge17:36
Ilari As sidenote 'pull .' is at least informally deprecated.17:37
sinkorswim thanks17:38
Tv learning about git from people who are scrambling to learn it themselves doesn't always get you the best results ;)17:38
harinath left17:38
sinkorswim learning about git from the git manual alone gets you unintended results :)17:40
kevwil joined17:40
zapnap left17:42
zhangkai left17:42
a-priori joined17:43
a-priori left17:46
eikonos left17:46
eikonos joined17:47
a-priori joined17:48
shaftyy left17:52
pietia joined17:56
dsaxena joined17:57
toxx_ joined17:58
tommorris left17:58
pengwn joined18:03
Beket left18:05
pengwn left18:05
pengwn joined18:06
langenberg joined18:10
shaftyy joined18:11
alley_cat joined18:17
Ramblurr i'm doing 'git diff' on a directory and my terminal.. goes blank18:19
until I C-z it18:19
tvachon joined18:21
loops Ramblurr, sounds like a pager issue.. try git --no-pager diff18:24
Ramblurr hm yea that did it18:25
loops you can choose a different pager with GIT_PAGER environment variable, or setting core.pager in your ~/.gitconfig18:26
Ramblurr loops: Oh. Haha.18:26
It was piping the output into less18:26
but there were no changes18:26
So less was blank.18:27
loops Ramblurr, ah, i think if you set your environment variable LESS=-RSX that situation ends up looking a bit better (not sure)18:27
export LESS=-RSX that is18:28
Ramblurr thanks18:28
that did it18:28
Tv Ramblurr: by "blank" you mean only had text on the last line, right?18:29
loops Tv, without the environment variable set, less will clear the screen before displaying anything on some terminals.18:29
shafty left18:30
Tv loops: sure but it should still show the status line at the bottom18:30
loops it's the -X that helps18:30
samgranieri joined18:30
gitte joined18:31
loops Tv, yeah, i'm surprised less wouldn't at least show "(END)" or something like it18:32
Tv i'd claim it probably did, but that was missed18:32
Ramblurr nope18:34
the status line wasn't there18:34
LESS was = -R -M --shift 518:35
gitte thinks that those git-svn tests are really slooow18:35
tpope wow what's with the wave of people who set $LESS lately18:36
gitte Doesn't OpenSUSE set it by default?18:36
loops some distros have it set by default18:36
gitte (Forgetting -X...)18:36
tpope yeah, I just mean this is like the third time in 24 hours18:36
and I've hardly watched the channel the full 24 hours18:36
gitte Heh.18:37
Problems tend to have that "clustering phenomenon"18:37
I also remember that this stupid "I want my files to have the date of the last commit touching them" issue came in clusters.18:37
Mikachu gentoo seems to set what Ramblurr has by default18:40
Ramblurr yup. that would be it18:43
aazar joined18:47
kevwil left18:50
janm left18:51
cypromis joined18:56
cypromis is there any solution to do something like svn externals in git ?18:56
ad18:56
is there a netbeans plugin for git ?18:57
Mikachu look at git-submodule18:57
(but don't ask me about it :)18:57
gitte There's a nice howto on the wiki AFAIR18:57
cypromis I am curious if I can take a svn repo we use18:57
gitte Netbeans plugin: no.18:57
cypromis and let people use git & svn in parallel18:57
ok will check that18:57
tpope I saw someone speak on netbeans about a month ago and he noted that git support was currently absent in netbeans18:58
gitte I have no idea how much jgit is along... but if it is far enough, it should be relatively easy to make a Netbeans plugin, too.18:59
paakku is there some sort of git plugin for Apple's Xcode?18:59
gitte wonders if people will ask for a git plugin for their toaster, too.19:00
paakku hey I wanted it before but didn't remember to ask.19:01
Mikachu gitte: that would be great, start toasting in the kitchen, then clone it to the dining room and finish toasting it there19:01
gitster is toaster now a Porcelain?19:01
And when plumbing is not flushing, it backflows into your toaster? No thanks.19:02
gitte I saw some made from porcelain... does that count?19:02
Mikachu oh is that where "porcelain" comes from?19:03
gitte Yep.19:03
;-)19:03
gitster "git wrapper" was originally called "git potty". Eeek. go fiture.19:03
s/t/g/19:04
gitte IIRC it was Andreas' idea... maybe his child was in potty training, then?19:04
gitster Yeah, Linus began his original "intro/tutorial" with something like "this talks about plumbing, you may not usually be interested in how it works, because you would be using Porcelain, but when the plumbing is not flushing...". It was funny.19:05
gitte Yes, I like Linus' humour.19:06
gitster I am wondering what's the easiest way to help people who built on 'next'. I am thinking of pushing out a branch old-next that builds on the original 'next' before rewinding whose tree matches the rebased 'next'. And people can say "git rebase --onto origin/next old-next my-fork".19:08
Would that be sensible?19:08
s/rewinding whose/rewinding, whose/;19:08
Cerebon joined19:08
gitte I wonder if not most people switched to rebasing now.19:08
Mikachu you mean pull --rebase?19:09
gitte (I think I was one of the last resistance)19:09
gitster Mikachu: I mean fetch && rebase, but I presume they amount to the same thing.19:09
gitte Oh, I see!19:09
There is a subtle difference.19:09
Mikachu if you fetch first, you have to note the output or use the reflog19:09
pull --rebase automatically does the --onto bit for you with the old head as the base19:10
gitte Namely, if you use "git pull --rebase", you benefit from the recent fix, that it rebases --onto the new one, but using the old revision of the remote branch as base.19:10
Mikachu: yep, that's what I meant.19:10
gitte is being slow today, like git-svn unit tests.19:10
gitster I am wondering how well/badly it interacts with the totally rebased case and that is where I thought old-next might help.19:11
priidu joined19:12
gitte Sure.19:12
You might also tell people that you expect to delete that branch in the mid-term future.19:13
jkp joined19:13
Mikachu it's not that hard to look at the history and see when it stops having your name, and grab the next sha1, in a pinch19:13
jkp hello all...looking for some advice on running Git on top of a perforce repo?19:13
gitster Now 'next' is about 182 commits ahead of 1.5.4.2, instead of 1323.19:14
jkp we use Perforce at work, but i was hoping to experiment using a local Git repo to do my own experimental work on the code19:14
so..i see there are several scripts for doing this...does anyone have any thoughts on which is "best"?19:14
and also, just in general, is there a methodology / best practice to follow in terms of keeping the two in sync? should master always be rebased on the perforce repo? or do i rebase my branches?19:15
im assuming the same best practice applies to those using Git on top of svn or other SCM systems so it must be fairly well known by now19:15
(btw this is my first day looking at Git...just got through watching a couple of nice Google tech talks that do a very good job of selling it)19:16
gitster I do not work with P4 but generally if your project considers foreign SCM "the authoritative" copy, it is easier to make your git side follow them by rebasing, and not have any central copy on your git side.19:16
gitte Mikachu: yes, it is relatively easy, but I saw some people who did not have the idea to "git rebase --abort" and start over again... Better tell them beforehand.19:16
Mikachu do many people base their work on next?19:16
gitte Mikachu: I do.19:17
Mikachu but then gitster has to rebase it to merge into master?19:17
Pieter most do, I'd guess19:17
gitte Mikachu: but then, I _run_ next+patches. And AFAICT so do other people, like Randal, Linus, ...19:17
Mikachu curretly i run maint+patches, i'm not feeling adventurous19:17
gitster I had an impression that mostly they are master+patches.19:17
jkp gitster: ok, but do i have master rebased and use other branches for experimenting...then merge downstream to my branches from master to keep everythin in check?19:17
gitte jkp: I have _zero_ experience with Perforce, but we have "git-p4" in our contrib/. Maybe that is something for you?19:18
jkp gitte: there are a couple of options...aparantly thats not being maintained any more19:18
there is a python script which im leaning towards since i hate perl :p19:18
gitte jkp: it is updated in irregular intervals, mainly by Simon Hausmann.19:18
jkp which that script?19:18
TL_CLD joined19:18
jkp ahhhh, yes19:19
gitte jkp: git-p419:19
jkp ok: http://git.or.cz/gitwiki/InterfacesFrontendsAndTools?highlight=%28perforce%29#head-bb56c0cc211da9af16917d005ac59179224373f319:19
yeah, it does say that, sorry misread19:19
ok...ill look at that19:19
im just more trying to get a feel for the whole way of working19:19
gitster jkp: I do not do P4, but what I do is keep one branch (master) follow the "authoritative" foreign SCM, build any topics on top of it, and rebase topics on 'master' (after you make 'master' follow the foreign SCM which would likely to involve rebases).19:20
jkp the idea is this: i have a project in perforce which i want to make heavy changes to. so i want to keep pulling from perforce and keeping my master up to date....but it sems that Git will be very good since it tracks content not files19:20
gitster: right19:20
thats kinda what i thought19:20
gitster In a sense, I do not work on 'master' in git for that project.19:20
paakku In git-rev-list, do "foo..bar baz" and "foo..baz bar" always mean the same?19:20
jkp gitster: right19:20
gitster So updating 'master' from foreign SCM always fast forwards.19:20
jkp again, yes, this is what i thought19:20
then my topics would need to be rebased on master19:21
paakku the same set of commits, I mean, disregarding order19:21
jkp and eventually ill have things in a state where i can push back to master, and in turn hopefuly to perforce19:21
gitster Yup. And experiment inside git and when things are really good, feed that change to foreign SCM.19:21
jkp gitster: does that sound about right?19:21
right...good :)19:21
i like the sound of this a *lot*19:22
gitster The next "update from foreign SCM" will then kick your changes back to your 'master'.19:22
jkp sorry, you lost me there!19:22
if i update from the foreign SCM surely that just brings master in sync19:22
(to foreign SCM)19:22
my topics need to then take this into acount...right?19:22
gitster by "kick back", I didn't mean "rejecting".19:23
jkp and thats the one thing i didnt get form the talk i watched: when you rebase it changes the SHA1...how does this affect derived topics?19:23
Mikachu they are completely unaffected, which is not what you want usually :)19:23
ie, they will have the old pre-rebase branch in their history still19:24
jkp so what do you do to resolve this?19:24
gitster So when my changes I made in my topics mature, I feed them to foreign SCM, (I'd use git-cvsexportcommit if the foreign one is CVS, and perhaps git-svn dcommit if it is SVN). Then foreign side will have19:24
Mikachu usually you wouldn't rebase something with topics on top, but you can rebase them along too19:24
gitster change I made on my topic.19:24
The next update from foreign will have them in 'master'.19:25
Now, these changes will have different commit object name on 'master' and my topic.19:25
When you rebase my topic onto my updated 'master' that already has the changes, rebase notices them, not by comparing the commit object names, but by comparing the changes each commit introduces.19:25
jkp gitster: ok, so i thought it would work like this Perforce == authorative master - > my Git master - > my topics19:26
gitster Yes. That is correct.19:26
Then the changes are fed not to git master from your my topics directly.19:26
jkp so then i would be periodically rebasing master while my topics are incomplete19:26
pietia left19:26
jkp (rebasing on the perforce repo)19:26
which is why i asked what do i then do to keep the topics in step?19:26
pietia joined19:27
Mikachu rebase them19:27
jkp assume for now im not pushing anything back to perforce, this is highly experimental work19:27
gitster rebase on master?19:27
jkp ok19:27
understood, and do i loose anything doing this?19:27
i was under the impression you loose things when you rebase19:27
(in terms of history)19:27
gitster But you are not publishing your git side history anywhere, so there is nothing lost.19:28
In your project, P4 side is the authoritative one everybody else looks at.19:28
jkp right, but i dont loose any commit history? say i wanted to rollback something ive done, or go back in time in my local Git repo19:28
Mikachu rebase -i loses a bit of history depending on what you do, but not a normal rebase that just updates to a newer upstream19:29
jkp ok...i guess im just gonna have to try it :)19:29
im very excited about the idea of being able to do this though...perforce is a nightmare for me. i work offline a lot an i also do experimental work19:29
i hate the whole connectedness of perforce19:30
doing this means i should be able to work my way in safety wherever i am, then push back when im done19:30
tvachon left19:31
careo I'm setting up a central shared repository for some coworkers as they move to git from svn. Am I correct that git-daemon, gitosis, and friends aren't really applicable if I only want 4 or 5 people to have read an commit access, with no other public/anonymous access of any sort? So just the plain vanilla setup is perfect?19:32
Mikachu they need a bit of ssh access, but i guess that's implied by saying gitosis19:33
oh right you said not gitosis19:33
careo Mikachu: right, but in this case everyone already has shell accounts. so gitosis doesn't seem particularly necessary19:34
Mikachu then they need ssh access for committing19:34
right right19:34
then it should be fine19:34
assuming you all cooperate :)19:34
careo ok. cool. just wanted to be sure I wasn't missing something obvious :)19:34
bdiego joined19:35
Ilari careo: You just need to set up the permissions so that everybody having commit access can write to that repo. There's 'shared flag' that causes git to do some permission manipulation to make things easier.19:35
careo Ilari: ok. so put everyone in the 'git' group, have the repo owned by that group too, and everything's cool assuming no one has a stupid umask?19:36
Ilari careo: Make all directories in repo setgid and set the shared flag (it will override group permissions for created files).19:37
jkp wow: git can mirror my entire perforce repo!!!19:37
Mikachu wasn't that the point?19:37
careo Ilari: okay. thanks.19:37
paakku jkp: how's the space consumption vs. perforce?19:38
jkp paakku: im about to find out :)19:38
tvachon joined19:38
jkp this is exciting stuff!19:38
schelcj joined19:38
jkp i love the idea of gettig Gits advantages for my whole repo...locally19:38
gitte Heh.19:39
Mikachu jkp: did you think you would just get the last commit?19:39
Ilari careo: Well, stupid umasks can still be somewhat of a problem, but now more in 'allows access that shouldn't be allowed' direction.19:39
jkp Mikachu: i didnt imagine id get the whole repo19:39
gitte I remember how excited I was the first time I imported a repository with git-cvsimport, and worked on it locally...19:39
jkp question though ebfore i go any further19:39
Mikachu heh19:39
jkp im looking at taking my whole main branch from Perforce19:39
what is considered a reasonable Git project size?19:40
schelcj could someone enlighten me as to how you setup a remote repos with the content and not just a bare repo?19:40
jkp i saw in the talk that it should be split up19:40
careo Ilari: that's ok in this case. the server it's on is just a development machine with nothing open but ssh and some http servers on occasion19:40
jkp now each component in our system might have say a couple of hundred files19:40
Ilari schelcj: Ususally not a good idea. If you must, setup hooks to update the checked out copy on push.19:40
jkp that doesnt seem massive...could i cope with say, 10000 files in one hit?19:40
jkp checks the size of the main branch19:40
Mikachu jkp: linux is just under 200MB for the .git dir, and quite a lot of files :)19:41
schelcj Ilari: ok, if i setup a bare remote repo, what is the prefered method for getting the contents of the repo to another dev?19:41
jdq left19:41
Ilari schelcj: fetch it?19:42
jdq joined19:42
jkp the only thing is lots of the stuff in there isnt really relevant to me19:42
gitte gitster: if you saw what we have to cope with on Windows, you would not call git.git "our mess" ;-)19:42
schelcj Ilari: guess i am missing something basic here, but if the remote repo is bare, where does another dev get the contents?19:42
jkp its for other platforms...im going to be working on OSX and a load of the stuff is just windows related19:42
schelcj Ilari: do i just provide it via ftp/rsync/tarball?19:43
jkp 25k files19:43
is that too many?19:43
Ilari schelcj: The recommended methods for fetching are dedicated git:// protocol for anonymous access and ssh for autheticated access.19:43
jkp wonders if he should do seperate repos for each component he is interested in19:43
Mikachu jkp: linux is 23771 files19:43
jkp: i think the splitting up argument is about things like the kde repo where every kde program/lib is in the same repo19:44
jkp it would be easiest for me to just grab it all...but as i say a shit load is not relevant19:44
for example we have a windows Python install in the repo so that people can checkout and it just builds correctly19:44
schelcj Ilari: i am still cornfused...19:44
jkp and a whole load of third party windows stuff in there19:44
schelcj Ilari: what i have read about setting up a git-deamon still means i do a git clone --bare19:46
Ilari: i am lost about the contents of the repo when you do a --bare19:46
Ilari schelcj: I would make the bare repo by 'git --bare init' and then pushing what one wants there.19:46
schelcj Ilari: oh, so start empty then push into it?19:47
Ilari schelcj: Yes.19:47
schelcj Ilari: ok, guess i can go that route19:47
Ilari schelcj: Watch out. It's 'git --bare init', not 'git init --bare'!19:47
schelcj Ilari: ok thanks19:48
Ilari schelcj: Also see git remote. It can be used to register nicknames for remote repos.19:49
Mikachu git has quite a lot of "historical artifacts" for its age :)19:49
schelcj Ilari: oh, i thought i had to edit a config for that19:50
Ilari: nice, thanks19:50
dash_ joined19:53
aggieben_aggieben20:01
pengwn has any one worked with collaborating with git and clearcase?20:02
would like some pointers links to that .20:02
dash__ left20:04
johan-s_ joined20:05
jkp does this make any sense to anyone?20:07
"A useful setup may be that you have a periodically updated git repository20:07
somewhere that contains a complete import of a Perforce project. That git20:07
repository can be used to clone the working repository from and one would20:07
import from Perforce directly after cloning using git-p4"20:07
hipertracker joined20:07
jkp thats sounds to me like you use your initial full clone as a master for other clones20:07
paakku yes it does20:08
jkp so you keep your initial clone updated from the source, then you clone that to your own local Git repos20:08
i dont understand the wording though...maybe the author wasnt english20:08
"and one would20:09
import from Perforce directly after cloning using git-p"20:09
paakku import from Perforce (directly after cloning) using git-p20:09
jkp into thid master clone?20:09
bdiego left20:09
jkp and then what, use that as the master for your real repos (the ones where you do the work)?20:09
paakku it seems to mean that you clone the master to a new repository, then pull from perforce to that new repository20:10
jkp that seems odd20:10
Tv oh wow20:10
$ git --version20:10
git version 1.0.020:10
jkp by master are you referring to Perforce or the master Git repo paakku ?20:10
paakku git20:11
Ilari Tv: Just how old is that?20:11
jkp that seems odd20:11
paakku I don't know perforce though20:11
Tv -rwxr-xr-x 1 root root 7824 Dec 21 2005 /usr/bin/git20:11
jkp so i would do PErforcec - > Git Master clone - > other clonse20:11
Ilari Tv: Built on the day it was released...20:11
jkp and the from other clone use git-p4 directly?20:11
paakku I guess it would be faster than running git-p4 on an empty git repository20:12
Tv damn that thing has been hosting repos all this time20:12
paakku plus maybe it's more likely to generate the same SHA1s in all git clones20:12
jkp hrm20:12
this is what im doing now...im cloning the entire repo to a local Git repo20:12
so lets call this my Git master20:13
bdiego joined20:13
jkp according to that...what would i do next?20:13
Ilari Tv: Isn't that bit equivalent to those 'server physically lost' legends? :_)20:15
*:-)20:15
loops left20:15
Tv Ilari: oh i have some war stories20:15
paakku you would clone your Git master to another Git repository, I suppose. But I don't know why the instructions are that way. Why not just use the Git master? Unless perhaps if the idea is that multiple people are cloning the same Git master.20:15
Tv Ilari: did an inside-company expert gig setting up a postfix cluster20:15
Ilari: they took the machines into the data center, and some months later had lost them20:16
Ilari: i made them beep until they found them20:16
Ilari: then they didn't know which one was which20:16
Ilari: so i ran find / on one and they looked at the hard drive leds20:16
jkp paakku: i think thats it20:16
to my mind it makes most sense to make a branch to work on in the same repo20:16
do stuff there, then periodically rebase master20:16
but i guess his way you can keep the mirrior repo set to master and do nothing except rebase that and pull and push to it20:17
just seems like an extra layer i maybe dont need though20:17
sverrej left20:21
loops joined20:22
hipertracker_ left20:23
fujin left20:25
fujin joined20:26
moya joined20:27
jengelh joined20:30
a-priori left20:30
fujin left20:31
careo "error: bad graft data" is such a helpful message :/20:32
gitte Probably your graft data _is_ bad.20:32
How many grafts have you put in there?20:33
careo oh, I know it was bad. my script didn't actually flush the *entire* line to the file20:33
that was more of a mild venting than anything.20:33
the real culprit lay in ruby's puts method.20:34
gitte thinks that it's always ruby's fault when ruby's involved.20:36
careo heh20:37
most likely20:37
but at least this script worked(ish), unlike the shell script that was trying to do the same ;)20:37
(of course, that was more my fault than bash's)20:38
gitte likes bashing20:38
careo I have to admit, bash scripts are growing on me since I started using git20:39
Tv careo: write to temp files, rename into place?20:40
careo Tv: forcing it to flush the entire line worked. but man, that took forever to debug :/20:41
sverrej joined20:42
amf left20:42
docelic joined20:43
nsdk joined20:48
fultilt joined20:56
gitster takes offence20:58
gitte At what?20:58
nsdk left20:58
gitster somebody talking as if the scripts we ship are bash scripts.20:58
gitte Heh. No, no, we went through _pains_ to make sure that they work with other shells, too.20:59
gitte remembers that dash peculiarity.20:59
pombreda left20:59
a-priori joined21:00
gitte BTW my theory is not correct, about that tag auto-fetching21:00
I just fetched next and master, and only had to fetch _one_ object for the v1.5.4.2 tag.21:00
cehteh mhm21:00
is there a function to get the tree sha1 from a commit object in simple way21:02
gitte I'd look into how ":" is resolved in get_sha1_<whatever>()21:02
Oh, no! *slapsherhead*21:03
I read your question again. Just parse the commit (parse_commit(commit)) to make sure that it is parsed, and then access commit->tree.21:03
(Or for the sha1: commit->tree.object.sha1)21:04
cehteh yes, just wondered if there is some ad-hoc function for that21:04
gitte Why a function?21:04
cehteh libgit is a bitch :P21:04
gitte You do not need a function when the data is right there.21:04
cehteh ok not because of that21:04
gitte s/data/datum/21:05
cehteh yep parsing commit21:05
pengwn left21:05
lukass left21:09
HG` left21:13
tvachon left21:15
tvachon joined21:18
tvachon left21:20
TL_CLD left21:23
fujin joined21:23
wvl_ joined21:23
DeepB joined21:30
mithro left21:32
bdiego left21:34
kampasky joined21:34
mithro joined21:41
Ryback_ joined21:42
Eludias left21:48
SuperX joined21:52
robbyonrails joined21:54
SuperX left21:54
robbyonrails hello all, i'm trying to import a svn repos into git and need to pass my svn username/password somehow21:55
am using git svnimport, is there a way to pass user/pass?21:55
gitte Note: svnimport is deprecated.21:55
Eridius use git-svn21:56
robbyonrails ah, i was following this: http://daniel.collectiveidea.com/blog/2008/2/9/on-git-github21:56
Eridius huh, wonder why he used git-svnimport21:56
robbyonrails its what shows up on the GitHub docs21:56
Eridius huh21:57
robbyonrails http://github.com/guides/import-from-subversion21:57
Eridius just heard about github today through tobias lütke's blog21:57
robbyonrails trying: git-svn clone http://path/to/svn/repos -A /path/to/author/file22:00
gitte gives up on Len's problem for today.22:01
octopod left22:04
a-priori left22:09
fujin I just initiated a bare, shared repository (for publishing) and am now trying to push stuff into it with git push --all git://localhost/puppet.git22:13
and it's giving me No refs in common and none specified; doing nothing.22:14
Ilari fujin: Try moving that --all into end of command?22:14
Eridius Ilari: docs actually show it first, as a flag22:15
fujin: you could try an initial git push git://localhost/puppet.git master22:15
gitte No, no, I think the problem is git://22:15
Eridius or you could try --mirror22:15
Mikachu fujin: git://localhost seems pretty stupid, just give the direct path to the repo22:15
Eridius since --mirror is explicitly documented as pushing new refs22:15
fujin uhm22:17
http://rafb.net/p/NLfEru78.html22:17
I don't have --mirror afaict22:18
what version has that?22:18
Mikachu fujin: did you try with the local path and --all?22:18
fujin: do you have local commits?22:18
kumbayo left22:18
Mikachu are you sure the bare repo is inited correctly?22:19
fujin Mikachu: http://rafb.net/p/XnQa3v95.html22:19
I believe so, git --bare init --shared22:19
Eridius what's the (branch: master) in your prompt?22:19
Mikachu are you using a sane git version? ie 1.5 or newer?22:19
fujin oh god22:19
the branch: master in my prompt is __git_prompt22:19
Mikachu: yeah 1.5.222:19
I'm an idiot22:19
no local commits22:19
forgot I nuked .git before22:19
Mikachu ^_~22:19
fujin working now22:20
Mikachu it's good to have this list of default questions sometimes22:20
Eridius git prompt??22:20
Mikachu Eridius: is there an echo? :)22:20
fujin Eridius: yes, it's a git prompt22:20
shows current branch22:20
ls22:20
mt22:20
Mikachu Eridius: it comes with git22:20
Eridius where? i don't see a git-prompt, nor do I see anything in contrib22:20
fujin export PS1="\u@\h \$(__git_ps1 '(branch: %s) ')\w"'\[\033k\033\\\]\$ '22:20
Mikachu Eridius: ls completion22:21
fujin sorry - the \033k\033 is so that Screen shows my current running app as the app title in screen22:21
the important stuff is the \$(__git_ps1 stuff.22:21
you need the git bash completion stuff loaded22:21
Eridius you're still missing the problem here: I don't know of any bash support for git. Where is this stuff?22:22
Eridius runs, will be back in a bit22:22
Mikachu Eridius: cd contrib/completion; ls22:22
fujin In magical debian land22:22
gitte fujin: what does "git rev-parse --verify master" say?22:22
fujin oh, it actually comes with git? cool22:22
Mikachu gitte: we covered that already22:22
:)22:22
fujin gitte: it's working now, d21ac29be5d8519fef1619799809c8bf0dd4c32422:22
gitte Ah, okay.22:23
gitte is always late22:23
Mikachu gittardy22:23
tvachon joined22:23
fujin ugh, brb22:25
fujin left22:25
pietia left22:26
alley_cat left22:27
bschindler joined22:29
fujin joined22:29
eternaleye_ joined22:34
docelic left22:42
johan-s left22:44
johan-s_johan-s22:44
Leonidas left22:45
a-priori joined22:47
langenberg left22:50
bobesponja hi22:56
eternaleye left22:56
technoweenie joined22:56
bobesponja can I make "git log -1" only output the commit message of the latest commit?22:56
thiago_home git show22:56
git log HEAD^!22:57
bobesponja thiago_home: that also shows the commit hash, author name, email etc, I just want to see the commit message, I guess I need to do some parsing22:59
loops bobesponja, git log -1 ?23:00
oh..23:00
bobesponja :)23:00
loops bobesponja, git log -1 --pretty=format:%s%b is close23:01
Pieter git log --pretty=format:"%s%b" HEAD^!23:02
technoweenie left23:02
bobesponja loops, Pieter thanks23:02
loops bobesponja, %s%n%b is better :o)23:04
bobesponja loops: I don't see the difference but I'm gonna trust you and use it :)23:05
Pieter newline between subject and body23:05
hmm23:08
what does "git checkout" without any arguments do?23:08
loops Pieter, it would seem, nothing useful ;o)23:11
thiago_home it prints the same output as git-diff --name-status, but slower23:12
Mikachu no23:13
if you git-add the changed files, git checkout still prints them, but git diff --name-status doesn't23:14
:)23:14
thiago_home ok, then it's the same as git-diff --name-status HEAD23:14
but also slower23:16
Pieter :)23:16
thiago_home git-diff --name-status is almost instantaneous for me23:16
Pieter it's a kinda weird feature23:16
thiago_home with the HEAD argument, there's a slight but noticeable delay23:16
git checkout has a longer delay23:17
ferdy left23:19
gitte Are you talking about the builtin checkout, or the shell script one?23:19
loops Pieter, don't think checkout was ever meant to be used without parameters.. so its behavior is just coincidental23:19
bschindler left23:24
ebzzry_ebzzry23:27
kevwil joined23:29
sinkorswim left23:29
gitte left23:30
priidu left23:32
Pieter loops: yeah, might be.. just wanted to see what it does :)23:37
I'd thought maybe it'd do the same as git checkout . , which was what I wanted to do23:37
shaftyy left23:44
tjafk2 joined23:55
chris2 left23:56
codeunderload left23:59
trochala left23:59

Logs Search ←Prev date Next date→ Channels Documentation