| 2006-09-21 |
|
gitster
| Yup. Looks much more obvious. | 00:00 |
|
pasky
| shall I resend the patch? the tweak is trivial | 00:00 |
|
gitster
| No, I did not realize you added the missing link to root. Sorry for the noise. | 00:00 |
|
pasky
| I've almost set up full-fledged git project hosting using DAV at repo.or.cz today, and did another really cool thing I wanna keep as a surprise, but it'll have to wait until tomorrow or so | 00:01 |
|
gitster
| Something I can pull from repo.or.cz would be nicer (I am feeling lazy ;-). | 00:01 |
|
pasky
| but with current gitweb feature set there, I'm almost pondering mirroring Linus' tree at repo.or.cz as well ;) | 00:01 |
|
gitster
| I am fine with the new "link to root" link. Some people with weaker eyesight and/or not-so-good hand-eye coordination might find a single slash hard to click, though. | 00:02 |
|
pasky
| gitster: I'll just send you some funny produced-by-not-properly-set-up-stgit patch from repo.or.cz... the repo has some local modifications and such mixed in and I don't have time to set up anything proper now | 00:02 |
|
gitster
| "[root]/ src/ util/ tree.c" might be a way to alleviate the problem. | 00:03 |
|
pasky
| Current directory: [glibc] / libc | 00:03 |
|
| is how cvsweb shows it | 00:03 |
|
gitster
| nice. | 00:03 |
|
pasky
| yes | 00:03 |
|
| it should've occured to me to just look at how others do it :) | 00:03 |
|
gitster
| so "[hed.git]/ util/ tree.c"? | 00:03 |
|
pasky
| I think " / " looks nicer than "/ " | 00:05 |
|
| sent another iteration of the patch | 00:05 |
|
gitster
| I am easy either way (that's pretty much bikeshed); you decide. | 00:06 |
|
pasky
| the patch I sent has " / " | 00:06 |
|
gitster
| that's good. | 00:06 |
|
| will take a look. | 00:07 |
|
pasky
| I should setup my stgit on repo.or.cz properly once it's not another night where I have 6 (night) hours before an exam and I didn't even look at it yet | 00:07 |
| → GeertB joined | 00:18 |
| → DrNick joined | 01:13 |
| → benlau joined | 01:52 |
| → Gitzilla joined | 03:14 |
| → yashi joined | 03:47 |
| → yashi joined | 04:08 |
| → yashi joined | 04:10 |
|
mfischer
| anyone tried git diff --color somefile | less | 04:47 |
|
| and watched the ugliness? | 04:48 |
|
mugwump
| try less -R ;) | 05:12 |
| → devogon joined | 05:29 |
| → spuk- joined | 05:55 |
| → robinr joined | 06:54 |
|
kampasky
| or cg diff -c somefile ;) | 07:11 |
| → polyonymous joined | 09:18 |
| → benlau joined | 10:03 |
| dwmw2_gone → dwmw2 | 10:18 |
| → GeertB joined | 10:40 |
| → thi joined | 10:49 |
| → chris2 joined | 11:09 |
| → cyrillos joined | 11:28 |
| ← cyrillos left | 11:34 |
| → GyrosGeier joined | 11:40 |
|
fonseca
| or tig diff somefile ;)) | 11:44 |
| → cyrillos joined | 11:45 |
| ← cyrillos left | 11:58 |
| → GeertB joined | 12:08 |
| → dwmw2 joined | 12:28 |
| → timlarson_ joined | 12:38 |
| → cyrillos joined | 13:02 |
| → GeertB joined | 13:26 |
| ← cyrillos left | 13:57 |
| → cyrillos joined | 13:57 |
| ← cyrillos left | 13:57 |
| → cyrillos joined | 13:57 |
| ← cyrillos left | 13:57 |
| → cyrill joined | 13:57 |
| cyrill → cyrillos | 13:58 |
| → cyrillos joined | 13:59 |
| → aggieben joined | 14:15 |
|
aggieben
| what is the '100' that gets inserted before the mode part of the header of a tree object? | 14:16 |
|
GyrosGeier
| aggieben, it's a full mode spec | 14:16 |
|
| aggieben, that includes file type (reg, dir, link, ...) | 14:17 |
|
| aggieben, and suid bits | 14:17 |
|
| aggieben, although they are never used in git AFAIK | 14:17 |
|
aggieben
| GyrosGeier: ok, setuid bits are set in the 4th most significant byte. what's in the other two? dir and link? | 14:18 |
|
GyrosGeier
| aggieben, these are not bytes | 14:25 |
|
| aggieben, these are octal digits | 14:25 |
| → robinr joined | 14:26 |
|
GyrosGeier
| aggieben, I think the first two digits are file type, because there can be more than 8 types | 14:26 |
|
aggieben
| yes, yes, not bytes. Digits. Anyway, ok. Thanks. | 14:30 |
| → coywolf joined | 14:35 |
| → agile joined | 14:53 |
| → mfischer_ joined | 14:57 |
| dwmw2 → dwmw2_gone | 15:14 |
| → spearce joined | 15:25 |
| → apw joined | 15:35 |
| → benlau joined | 15:58 |
| → coywolf joined | 16:00 |
| → agorf_ joined | 16:46 |
|
agorf_
| hello. is there svn-git comparison? im happy with svn and was wondering if there are any advantages for switching/using git | 16:46 |
|
| there a* | 16:46 |
|
spearce
| I've sort of written one in an email to someone. I can go dig it up if you are interested. | 16:47 |
|
agorf_
| i'd appreciate it :) | 16:47 |
|
spearce
| Acutally I should do that no matter what and put it on the GitWiki. | 16:47 |
|
| gimme 15 minutes. | 16:47 |
|
agorf_
| sure, thanks | 16:47 |
|
spearce
| So I've posted the bulk of the message here: http://git.or.cz/gitwiki/GitSvnComparsion | 16:53 |
|
| I need to clean it up however. There's additional detail that I should go ahead and spend time on. | 16:54 |
|
agorf_
| cool; thanks :) | 16:54 |
| → anholt_ joined | 17:05 |
|
robinr
| spearce: I don't understand one thing about SVN in the page. I made a branch i SVN and browsing the history showed the whole history a file in the branch | 17:14 |
|
spearce
| did that history include the history before the branch? | 17:14 |
|
robinr
| yes | 17:14 |
|
spearce
| hmm; last time I used svn (ok, over a year ago) the tools I was using didn't show that unless you added some obscure option to the command. | 17:15 |
|
robinr
| just svn copy | 17:15 |
|
| using the BDB backend I think | 17:16 |
|
| not sure that's relevent though | 17:16 |
|
spearce
| i don't think the backend would matter. i've made a note about your comment in the page so i don't forget about it. i want the page to be accurate not my fuzzy memory. :-) | 17:16 |
|
robinr
| not that SVN is in anyway better than GIT ofcourse | 17:16 |
|
| I've seen other make the claim too | 17:18 |
|
spearce
| what claim, that svn is better than git? | 17:18 |
|
robinr
| the copy without history. | 17:25 |
|
spearce
| I think it was an old bug and people who remember that bug have it burned into the mind. :) | 17:25 |
|
robinr
| btw, I just checked it. the history before copy apears in the copy too | 17:25 |
|
spearce
| likely than that the SVN folks fixed the bug between when I last used SVN and now. Not surprising as I know they are still actively developing the tool. :) | 17:26 |
|
robinr
| still that's strange because that feature was claimed long before svn became 1.0 | 17:27 |
|
spearce
| iirc somewhere around the 1.0 timeframe you needed an option to view the history before the copy. having the history available was a feature from day 1, it just wasn't immediately available in the UI level of the tool. | 17:28 |
|
robinr
| creating a repo in SVN is simple too. svnadmin create somepath | 17:28 |
|
spearce
| i think people found the option awkward and the default behavior changed. | 17:29 |
|
robinr
| ok | 17:29 |
|
spearce
| robinr: I know about svnadmin create and agree its easy, but you then need to do a checkout to a working directory. in git its the same. :) | 17:29 |
|
| (sorry, I meant to say "its the same directory") | 17:29 |
|
robinr
| agreed, that's one step less | 17:30 |
|
spearce
| but its a minor detail. | 17:30 |
|
agorf_
| yeah i hate the additional checkout | 17:30 |
| agorf_ → agorf | 17:30 |
|
robinr
| the BIG thing with git is the marvelous support for branches | 17:30 |
|
| the hard part, i.e. merging | 17:31 |
|
spearce
| agreed. | 17:31 |
|
robinr
| and speed | 17:31 |
|
spearce
| if you read the outline on http://git.or.cz/gitwiki/GitSvnComparsion i've got those in the top 4 git features. :) | 17:32 |
|
robinr
| a bad thing is, assumes everybody uses the same charset | 17:33 |
|
spearce
| yes. | 17:33 |
|
robinr
| only subversion and (maybe cvnt nowadays) handle that. | 17:33 |
|
spearce
| that's ok, there's only US-ASCII (says the dumb American) | 17:34 |
|
agorf
| it doesn't support utf8? | 17:34 |
|
robinr
| no, eight bit works | 17:34 |
|
spearce
| Right, most Git users work in UTF-8 for the files they store. | 17:34 |
|
robinr
| but most people here use ISO-8859-1/15 | 17:34 |
|
spearce
| Commit messages and filenames should be in UTF-8. | 17:35 |
|
robinr
| windows here (cygwin), use Windows-1252 (close to 8859-1) | 17:35 |
| → alley_cat joined | 17:38 |
| → monkeydiver joined | 17:52 |
| ← thi left | 17:53 |
| → spearce joined | 18:03 |
| → krh joined | 18:21 |
| → ynezz joined | 18:29 |
| ← ynezz left | 18:53 |
| → GeertB joined | 19:14 |
| → spearce joined | 19:32 |
| → lyakh joined | 19:45 |
| → xjjk joined | 19:58 |
| → two-face joined | 19:59 |
|
aggieben
| does anyone know of a way to get pmake to do target-specific variable assignments? From what I can tell, it can't do them directly. | 20:03 |
|
spearce
| no clue | 20:04 |
|
two-face
| Hi | 20:04 |
|
| Is there anyway to clone a given branch only of a given repository? | 20:05 |
|
spearce
| you can clone it without doing a checkout, then checkout that specific branch. but by default clone takes all branches into the new repository and there's no way to stop that. | 20:06 |
|
two-face
| ah ok | 20:06 |
|
| thanks | 20:06 |
|
kampasky
| two-face: add '#branchname' to the url | 20:13 |
|
two-face
| huh? Reallly? | 20:13 |
|
kampasky
| (when giving it to clone) | 20:13 |
|
two-face
| is it documented somewhere? | 20:14 |
|
kampasky
| hmm | 20:15 |
|
| actually, I'm not sure it works with plain git | 20:15 |
|
| give it a try | 20:15 |
|
spearce
| kampasky: I'm looking at the git-clone.sh code and unless its buried down in the low level fetch code I'm not seeing how it could work. | 20:16 |
|
two-face
| git clone git://git.kernel.org/pub/scm/git/git.git#next | 20:16 |
|
| fatal: unexpected EOF | 20:16 |
|
| fetch-pack from 'git://git.kernel.org/pub/scm/git/git.git#next' failed. | 20:16 |
|
spearce
| must be a cogito extension... | 20:17 |
|
two-face
| kampasky: I suspect there's an ongoing implementation from you :-) | 20:17 |
|
kampasky
| ok, so git can't do it | 20:17 |
|
| hmm, that's a bit unfortunate | 20:17 |
|
| well... :) | 20:18 |
|
two-face
| porting to git? | 20:18 |
|
spearce
| at 419 lines of ugly shell code, git-clone could use some help. | 20:18 |
|
kampasky
| two-face: cogito can do it | 20:18 |
|
| two-face: otoh cogito can't clone more than one branch at once currently | 20:18 |
|
two-face
| kampasky: ah | 20:19 |
|
| spearce wonders if Cogito userbase is getting smaller. | 20:26 |
|
two-face
| why using cogito? | 20:27 |
|
| robinr wonders too | 20:27 |
|
spearce
| I used to be a Cogito user. I stopped being one in Jan. | 20:27 |
|
two-face
| git is now a scm :) | 20:28 |
|
| porcelain commands that is | 20:28 |
|
robinr
| stgit is cool though | 20:29 |
|
spearce
| True, but there are a number of cool things in Cogito that aren't in Git. And yes, StGit is also quite cool for change development. | 20:29 |
|
two-face
| not pg? :) | 20:30 |
|
spearce
| I've got a Perl script named `tb` sitting around here that I've been trying to work on to help manage things like `pu` but commit back to the topic branch. | 20:30 |
|
robinr
| haven't tried pg | 20:30 |
|
spearce
| I'm probably going to stop developing pg. In favor of core Git and `tb`. | 20:30 |
|
| Actually tb is probably ready aside from it saying "cowardly refusing to perform a 3 way commit" if more than one topic branch has modified the file you are trying to commit to from your temporary branch. | 20:31 |
|
| I actually haven't used pg myself in about 3-4 months now. :) | 20:31 |
|
two-face
| stgit is said not to be well integrated with git | 20:32 |
|
spearce
| it is and it isn't; there's things that stgit does that play alongside of git but that git doesn't understand or handle gracefully. | 20:32 |
|
two-face
| too bad | 20:32 |
|
robinr
| there are some things you shouldn't do with git commands when using stgit | 20:33 |
|
| e.g. git pull is bad | 20:33 |
|
spearce
| tb is my attempt to replace both pg and stgit with something that plays better with git, has cleaner history of a "patch" and uses more native git concepts for that history. | 20:33 |
|
two-face
| good | 20:33 |
|
| GeertB What files have the canonical definitions of various git file formats (tree, blob, commit)? | 20:33 |
|
spearce
| but that 3-way commit problem has me stuck at the moment, which is why i haven't announced it. | 20:34 |
|
robinr
| 3-way commit? | 20:34 |
|
spearce
| GeertB: Did you read Documentation/core-tutorial.txt ? | 20:34 |
|
robinr
| spearce: time to ask for help then :) | 20:34 |
|
spearce
| robinr: If you attempt to commit changes to a topic branch from a file which has been altered by a different branch that was merged on top of the branch you are about to commit to things are a little "weird". | 20:35 |
|
GeertB
| spearce: yes, but it indeed really is more of a tutorial with some details thrown in. | 20:37 |
|
| spearce: maybe I should gather the info from various places and add some docs in technical/ ? | 20:37 |
|
spearce
| Yes. :-) That's AFAIK the only documentation on it. Everything else is folklore and source code that ain't so clear. | 20:38 |
|
GeertB
| OK, before trying to write something up, I wanted to be sure I didn't miss something obvious... | 20:38 |
|
spearce
| Although ``A Large Angry SCM`` tried to write something up and posted it to the mailing list a while back (around July?) but it never got accepted into the tree. | 20:39 |
|
| His document was the most detailed anyone had written thus far and also covered the pack file format. | 20:39 |
|
robinr
| spearce: export the change to a file, drop it and apply at the head of your topic branch (if I understand correctly what you want to do...) | 20:40 |
|
spearce
| robinr: Yes, its just code. ;-) I just haven't written it yet. Where it gets ugly is when it doesn't apply cleanly. Then you probably need to switch the user to the topic branch by itself and have them fix up the change. | 20:40 |
|
Gitzilla
| GeertB: Check www.git.rsbx.net in a few minutes and the current state of my Git file formats document will be there. | 21:06 |
| → ShadeHawk joined | 21:07 |
|
ShadeHawk
| Is there any way for lost form of magic open "-|" to redirect standard output to /dev/null | 21:08 |
|
| open my $fd, "-|", "git", "cat-file", '-t', $hash or return; | 21:08 |
|
spearce
| uh, stdout is tied to $fd; stderr is tied to your stderr. and no way to redirect stderr to /dev/null, which is i think what you mean... | 21:08 |
|
segher
| put the whole command line in just one string and you can use shell redirection | 21:09 |
|
GeertB
| Gitzilla: Great, thanks in advance! | 21:10 |
|
segher
| so, open my $fd, "| git cat-file -t $hash 2>/dev/null" or .... | 21:10 |
|
ShadeHawk
| rather | 21:11 |
|
| open my $fd, "git cat-file -t $hash 2>/dev/null |" or return | 21:12 |
|
spearce
| of course that's only safe if $hash is safe. :) | 21:12 |
|
| and your forking twice. | 21:12 |
|
ShadeHawk
| but then lose advantages oflist form ($hash safety, and shell forking) | 21:12 |
|
Gitzilla
| GeertB: It should be there now. Keep in mind that it's a work in progress and I'm _still_ finding inaccuracies. | 21:12 |
|
spearce
| Gitzilla: TAG_CONTENTS is missing 'tagger'. | 21:14 |
|
| [spearce@d13-70 git]$ git cat-file tag v1.4.2.1 | grep tagger | 21:14 |
|
| tagger Junio C Hamano [email@hidden.address] 1158138501 -0700 | 21:14 |
|
| but otherwise this document is quite complete and very clear. | 21:15 |
|
Gitzilla
| spearce: Thanks! I'll look into it later. | 21:16 |
|
spearce
| also Nico just added a new method of storing deltas in packs. Junio hasn't merged it yet but its probably coming in soon. | 21:16 |
|
Gitzilla
| spearce: I saw. I haven't looked at it in detail yet. I'm waiting for it to cook in next for a bit. | 21:18 |
|
spearce
| probably wise. just wanted to make sure you were aware of it. :) | 21:18 |
|
GeertB
| Gitzilla: that's really great info! Could you submit this to be included with git? | 21:19 |
| → ShadeHawk joined | 21:31 |
| → spearce joined | 21:31 |
| → GeertB joined | 21:31 |
| → krh joined | 21:31 |
| → alley_cat joined | 21:31 |
| → anholt_ joined | 21:31 |
| → agorf joined | 21:31 |
| → apw joined | 21:31 |
| → mfischer_ joined | 21:31 |
| → robinr joined | 21:31 |
| → aggieben joined | 21:31 |
| → dwmw2_gone joined | 21:31 |
| → GyrosGeier joined | 21:31 |
| → polyonymous joined | 21:31 |
| → spuk- joined | 21:31 |
| → devogon joined | 21:31 |
| → Gitzilla joined | 21:31 |
| → segher joined | 21:31 |
| → robfitz joined | 21:31 |
| → Tv joined | 21:31 |
| → flz joined | 21:31 |
| → moh joined | 21:31 |
| → CIA-21 joined | 21:31 |
| → dmlb2000 joined | 21:31 |
| → anders_ joined | 21:31 |
| → matled joined | 21:31 |
| → pasky joined | 21:31 |
| → shy joined | 21:31 |
| → beu joined | 21:31 |
| → njs joined | 21:31 |
| → auke joined | 21:31 |
| → MadCoder joined | 21:31 |
| → makx joined | 21:31 |
| → lu_zero joined | 21:31 |
| → neuralis joined | 21:31 |
| → ruskie joined | 21:31 |
| → cworth joined | 21:31 |
| → Alex joined | 21:31 |
| → emrys joined | 21:31 |
| → normalperson joined | 21:31 |
| → kampasky joined | 21:31 |
| → Newsome joined | 21:31 |
| → bartman joined | 21:31 |
| → Thumper_ joined | 21:31 |
| → philips joined | 21:31 |
| → vlajos joined | 21:31 |
| → afrayedknot joined | 21:31 |
| → PugMajere joined | 21:31 |
| → BearPerson joined | 21:31 |
| → kreaturr joined | 21:31 |
| → tonyj joined | 21:31 |
| → kblin joined | 21:31 |
| → nickh joined | 21:31 |
| → fonseca joined | 21:31 |
|
pasky
| what about just maintaining it in the wiki"? | 21:34 |
|
Gitzilla
| I find that Wikis to be quite painful for very structured documents. | 21:37 |
| → mfischer_ joined | 22:14 |
| → robfitz joined | 22:14 |
| → Beber` joined | 22:34 |
|
pasky
| gitster: resent the patch, turns like I didn't stg refresh before sending it tomorrow | 23:27 |
|
| and now I'll finally setup the stgit there :) | 23:27 |
|
agorf
| mm question. in git, you checkout all of the repository? not just a directory? | 23:28 |
|
pasky
| yes | 23:33 |
|
ShadeHawk
| yes, by default you checkout whole directory tree. You can even now do partial checkout, but it is not supported by high-level UI (meaning you have to use low-level commands for that) | 23:33 |
|
agorf
| okie thanks | 23:34 |
| → Gitzilla_ joined | 23:38 |
| → DrNick joined | 23:39 |
|
Gitzilla_
| /msg nickserv link Gitzilla rsbxgitirc | 23:41 |
|
spearce
| damn spacebar :) | 23:41 |
|
agorf
| lol | 23:47 |
|
Gitzilla_
| /msg nickserv link Gitzilla rsbxgitirc | 23:47 |
|
agorf
| dude, drop the whitespace | 23:48 |
| → segher joined | 23:50 |
|
Gitzilla_
| Sorry, bad CnP | 23:50 |
| → Gitzilla joined | 23:53 |
| → Gitzilla joined | 23:56 |