git mailing list

Fromsort iconSubjectDate
Alex Riesen
cygwin, 44k files: how to commit only index?
I have a kind of awkward project to work with (~44k files, many binaries). The normal "git commit", which seem to be more than enough for anything and anyone else, is a really annoying procedure in my context. It spend too much time refreshing index and generating list of the files for the commit message. At first I stopped using git commit -a (doing only update-index), now I'm about to start using write-tree/commit-tree/update-ref directly. It helps, but sometimes I really miss -F/-C. It's also ...
Dec 7, 10:27 am 2006
Alex Riesen
Re: Commit f84871 breaks build on OS X
Does the attached patch help? I highly suspect the perl.mak generated by MakeMaker. diff --git a/perl/Makefile b/perl/Makefile index bd483b0..b936e0d 100644 --- a/perl/Makefile +++ b/perl/Makefile @@ -29,6 +29,8 @@ $(makfile): ../GIT-CFLAGS Makefile echo ' echo $(instdir_SQ)' >> $@ else $(makfile): Makefile.PL ../GIT-CFLAGS + $(RM) $(makfile) + $(RM) $(makfile).old '$(PERL_PATH_SQ)' $< FIRST_MAKEFILE='$@' PREFIX='$(prefix_SQ)' endif
Dec 7, 11:42 am 2006
Alex Riesen
Re: Commit f84871 breaks build on OS X
Strange. You seem to have the old, generated Makefile you perl/ directory. Haven't your pull failed? If so, I suspect that rm perl/Makefile git reset --hard git pull git... should fix it. -
Dec 7, 10:33 am 2006
Alex Riesen
Re: cygwin, 44k files: how to commit only index?
incredibly slow. That and the matter of having 44000 files to process If that is core.ignoreState you mean, than maybe this is what I mean. I haven't tried it yet (now I wonder myself why I haven't tried it). But (I'm repeating myself, in <81b0412b0612060235l5d5f93d0hd1aaf34924f7783@mail.gmail.com>) I do not really understand how it _can_ help: "I ask because it does not ignore stat info, as the name implies. Because if it would, there'd be no point of calling lstat at all, wouldn't it?" Tha...
Dec 7, 6:15 pm 2006
Alexandre Julliard
Re: What's cooking in git.git (topics)
I'm not sure what reaction you expect, but this is something a lot of our occasional Wine users are requesting. The Wine full history is 80Mb, and that's a big download if you just want to try a quick patch. Now of course you won't see these users around here hacking on shallow clone, most likely they just went and downloaded Wine from the CVS mirror instead. But it's a shame to have to maintain a CVS mirror just for that purpose... -- Alexandre Julliard julliard@winehq.org -
Dec 7, 5:03 am 2006
Alexandre Julliard
Re: shallow clones, was Re: What's cooking in git.git (topics)
No, I'm afraid not. Unfortunately, using it requires an upgraded server, and I'm reluctant to put an experimental release on the main Wine server, so I was kind of waiting for it to graduate to master. Of course that's a bit of a chicken and egg problem... -- Alexandre Julliard julliard@winehq.org -
Dec 7, 12:44 pm 2006
Andreas Ericsson
Remote 'master' not updated, but works somehow
Having for a long time been thoroughly annoyed by our strict umasks, I decided to write a little program to deal with it, and naturally I put it in a git repo. After the initial commit (c0fa1db09bad112f7271378d907bf33d74c06f6b) I published it to my git space on our development server and cloned it out again (to get the nifty remotes things set up for free). Then I noticed I had rushed it, as I usually do with hacks involving a total of less than 200 lines of code, so I had to make a couple of...
Dec 7, 7:31 am 2006
Andreas Ericsson
Re: Commit f84871 breaks build on OS X
I had to do the same. Somewhere, there's a "mv" that tries to move perl.mak out of the way and doesn't properly detect the fact that it isn't there. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -
Dec 7, 11:23 am 2006
Andreas Ericsson
Re: Remote 'master' not updated, but works somehow
scratch this. I just noticed I had somehow managed to get the directory setup like this: devel:softpub/mkpub.git <-- a real repo devel:softpub/mkpub.git/.git <-- the repo that got pushed to -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -
Dec 7, 7:35 am 2006
Andreas Ericsson
Re: Fast access git-rev-list output: some OS knowledge requi...
Why not just fork() + exec() and read from the filedescriptor? You can up the output buffer of the forked program to something suitable, which means the OS will cache it for you until you copy it to a buffer in qgit (i.e., read from the descriptor). -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -
Dec 7, 9:25 am 2006
Andreas Ericsson
Re: Fast access git-rev-list output: some OS knowledge requi...
You wrote: --%<--%<--%<-- Because, depending on what you do, the revision machinery is not reentrable. For example, if you filter by filename, the history is rewritten in-memory to simulate a history where just that filename was tracked, and nothing else. These changes are not cleaned up after calling the internal revision machinery. --%<--%<--%<-- When I wrote the above suggestion, I hadn't read the posts following the email where I cut this text from (where Linus said "we ...
Dec 7, 11:28 am 2006
Andreas Ericsson
Re: bug: git-sh-setup should not be in $PATH
This part should have been in the commit message, possibly without the "among others ... (examples)" and possibly with an added "This patch makes it so by letting fnurg create them through smurfing the frotz". -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -
Dec 7, 9:36 am 2006
Andy Parkins
Re: What's cooking in git.git (topics)
Don't be too downhearted. I am certainly looking forward to using shallow clones; but by their very nature they are going to be used on big established projects (otherwise why would one need a shallow clone?), so until those projects upgrade their servers the news will be quiet Also; it's probably going to be casual developers that find shallow clones useful, as the main developers will clone the whole repository. This might also mean that they aren't going to be around on the git mailing l...
Dec 7, 1:49 pm 2006
Andy Parkins
Re: Topic descriptions
It wasn't so much the what's current - as you say that would be fairly ridiculous as it's so fluid. It was more a description of the topic. I've got tonnes of branches where I have quickly thought of an idea and started work on it, only to get bored and move on. Describing a topic in such a short space as "ap/short-name" is hard. The actual place it's stored isn't really relevant, more that I could see a use for it. If it's going in the config I suppose all it needs is a magic "and so i...
Dec 7, 4:37 am 2006
Aneesh Kumar K.V Dec 7, 2:36 am 2006
Aneesh Kumar K.V
Re: [PATCH] Explicitly add the default "git pull" behaviour ...
I liked this. This avoid lot of confusion and the "magic" master update. -aneesh -
Dec 7, 2:49 am 2006
Aneesh Kumar K.V
Re: git pull and merging.
This is most confusing part. What merge indicate is not about refs/heads/devel should track refs/remotes/origin/devel. That is specfied in the remote config option. What merge indicate is that when in a local branch ( not the tracking one under remotes/origin) I guess we need to have a standard way of saying the branches. May be we want to document it in repo-config. local branch on which changes can be made <branch-name> local tracking branch refs/remotes/<remote-name&...
Dec 7, 2:46 am 2006
Baurzhan Ismagulov
(No subject)
subscribe git -
Dec 7, 6:47 pm 2006
Brian Gernhardt
Commit f84871 breaks build on OS X
When I pulled the most recent changes for git (de51faf), `make` began failing with the following messages: make -C perl PERL_PATH='/usr/bin/perl' prefix='/usr/local/stow/git' all Makefile out-of-date with respect to Makefile.PL /System/Library/Perl/ 5.8.6/darwin-thread-multi-2level/Config.pm /System/Library/Perl/5.8.6/ darwin-thread-multi-2level/CORE/config.h Cleaning current config before rebuilding Makefile... mv: rename perl.mak to perl.mak.old: No such file or directory make[1]: *** [perl....
Dec 7, 9:54 am 2006
Brian Gernhardt
Re: Commit f84871 breaks build on OS X
No, it doesn't. In fact, it looks like perl/Makefile is simply getting overwritten by MakeMaker. I'm guessing MakeMaker is supposed to be outputting to "perl.mak" instead? perl version: 5.8.6 (from perl -v) MakeMaker version: 6.18 (from /System/Library/Perl/5.8.6/ExtUtils/ MakeMaker.pm) ~~ Brian -
Dec 7, 12:04 pm 2006
Brian Gernhardt
Re: Commit f84871 breaks build on OS X
My pull didn't fail, and your suggested list of commands tells me "Already up-to-date." I've pulled, reset, and removed perl/Makefile repeatedly when I was trying to use git-bisect. Primarily because of merge conflicts in perl/Makefile that running make causes. Indeed, the following sequence works: git reset --hard touch perl/perl.mak make But this one doesn't: git reset --hard make touch perl/perl.mak make That one fails with "make[2]: *** No rule to make target `instl...
Dec 7, 11:29 am 2006
Christian MICHON
Re: cygwin, 44k files: how to commit only index?
before buying any new hardware, you could easily imagine the following scenario (I'm also "stuck" with windows, so it's an idea I've been toying around for a week or so). There're virtualizers around, on which networking capabilities can be activated. And we could easily create a vm with linux+git inside, using ext2/ext3/ext4 fs virtual disks (you'd benefit from windows cache actually...) example: YTech_Subversion_Appliance_v1.1 (ubuntu + subversion). I've no prototype yet, but I've 2 scenar...
Dec 7, 5:26 pm 2006
Dana
Most popular software bundles including Microsoft Office 200...
With the appreciation of your friendship our Group would like to represent a new special offer created for all the customers who prefer to use our services. Needless to say that we're trying to help you with your choices, because we offer a quality software at lowest prices on the web. Make your choice, don't miss a chance. We're always at your service. The following special offer will operate within next 7 days only http://gigazoyd.com Every effort has been made to ensure the accuracy of all information ...
Dec 7, 3:49 pm 2006
Daniel Drake
git-svnimport breakage as of git-1.4.4
Hi, git-svnimport broken between git-1.4.3.5 and git-1.4.4 I have found that commit 83936a29e275bc0c04f60d3333e4951a9e16b1fc is the cause of this. I am using git-svnimport to work with a repo with this layout: https://server/repo/trunk https://server/repo/tags/x.y.z https://server/repo/branches/somebranch Starting a fresh import: # git-svnimport -v -i -C repo -r https://server repo Fetching from 1 to 10707 ... Tree ID 4b825dc642cb6eb9a060e54bf8d69288fbee4904 Committed change 1:/ 20...
Dec 7, 11:26 am 2006
Dongsheng Song Dec 7, 9:31 am 2006
Eric Wong
Re: [PATCH 5/5] git-svn: re-map repository URLs and UUIDs on...
For the git-svn in master using the delta fetcher; there's no additional overhead to fetch properties. I want to ditch the old non-delta fetching code (it's only a mild performance benefit when using local repositories) if I could get do_switch() working correctly. -- Eric Wong -
Dec 7, 4:02 pm 2006
Eric Wong Dec 7, 3:59 pm 2006
H. Peter Anvin
Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
What it could do better is it could prevent multiple identical queries from being launched in parallel. That's the real problem we see; under high load, Apache times out so the git query never gets into the cache; but in the meantime, the common queries might easily have been launched 20 times in parallel. Unfortunately, the most common queries are also extremely expensive. -hpa -
Dec 7, 3:16 pm 2006
H. Peter Anvin
Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
That's correct. I can transfer that directory to you if you want; I can't realistically track gitweb well enough to do this myself (in fact, it was pretty much a condition of having it up there that Kay would keep How do you want to handle it? -hpa -
Dec 7, 4:09 pm 2006
H. Peter Anvin
Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
You certainly can be smarter about it when you know the nature of the query, though. I do that with the patch viewer scripts. -hpa -
Dec 7, 3:58 pm 2006
H. Peter Anvin
Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
The front page, summary page of each project, and the RSS feed for each project. -hpa -
Dec 7, 3:57 pm 2006
H. Peter Anvin
Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
There are a lot of things which "could be done" given the proper cache infrastructure and gitweb support. -hpa -
Dec 7, 7:56 pm 2006
J. Bruce Fields
Re: [PATCH] Documentation: reorganize cvs-migration.txt
Thanks for the comments! Patch, incremental against the previous one, I do like the idea of anything that gets rid of the ugly find|xargs chmod. Result included below (untested). Is that what you were I'm ignoring this for now. We can add it later if someone says they've run into it. (But honestly it's partly just laziness on my part--no objection if you want to make the patch.) It's too bad about that option-name conflict. It'd be nice just to be able to do the whole thing with one c...
Dec 7, 1:43 pm 2006
J. Bruce Fields
Re: [PATCH] Documentation: reorganize cvs-migration.txt
Of course--for some reason I didn't think of doing init-db with --bare. Thanks again. --b. From 22e5bdd9de398f29dfb11125a0921bb4529e2ab7 Mon Sep 17 00:00:00 2001 From: J. Bruce Fields <bfields@citi.umich.edu> Date: Thu, 7 Dec 2006 22:32:28 -0500 Subject: [PATCH] Documentation: simpler shared repository creation Take Johannes Schindelin's suggestion for a further simplification of the shared repository creation using git --bare init-db --shared. Also fix a mistake from the previous p...
Dec 7, 11:34 pm 2006
J. Bruce Fields Dec 7, 11:21 am 2006
J. Bruce Fields
Re: [PATCH 1/2] Allow users to require source branch on git-...
That makes the default behavior more complicated to explain. Is there really sufficient evidence that this a serious problem? --b. -
Dec 7, 5:40 pm 2006
J. Bruce Fields
Re: [PATCH 1/2] Allow users to require source branch on git-...
Well, it's true that "git branch" is the first thing I type whenever I sit down, just to remember where I am.... But my main complaint is just that I wouldn't want to see the behavior of defaulting to HEAD--behavior which is simple, easy to explain, and shared by most other git commands--by something significantly more complicated. That's more a complaint about Junio's suggestion than yours, though. --b. -
Dec 8, 12:45 am 2006
Johannes Schindelin
Re: Commit f84871 breaks build on OS X
Hi, I found the same, but could not reproduce it. But a "touch perl/perl.mak" fixes at least compilation. Ciao, Dscho -
Dec 7, 10:55 am 2006
Johannes Schindelin
Re: Bug in merge-recursive in virtual commit corner case
Hi, I think there is something else wrong. If you have three merge bases, I do not see how you could get into that particular code path. Any possibility for me to have a private look at your repo? Ciao, Dscho -
Dec 7, 11:38 am 2006
Johannes Schindelin
Re: Locked down (but still shared) repositories
Hi, How about just one such user? After all, you already have this user: the repo owner. Of course, people have to push via ssh, even on the same machine. Ciao, Dscho -
Dec 7, 11:42 am 2006
Johannes Schindelin
Re: Bug in merge-recursive in virtual commit corner case
Hi, can you send me at least the output of $ git-rev-list --parents branch1 branch2 preferrably packed? There is nothing you can do legally wrong, since you are not sending any data, only metadata. Ciao, Dscho -
Dec 7, 11:03 pm 2006
Johannes Schindelin
Re: [PATCH] Explicitly add the default "git pull" behaviour ...
Hi, Yes. And I should back off from my strong language: I think this git-clone the most obvious program to set branch.master.merge. It should make life easier for new Git users. Ciao, Dscho -
Dec 7, 10:13 am 2006
Johannes Schindelin
Re: [PATCH] Documentation: reorganize cvs-migration.txt
Hi, This is a laudable goal, and the order makes sense (put first that what most people are interested in). A few comments: - just skimming the patch, I found "commiting" (needs another "t"), and "-bare" (needs another "-"). - It might make more sense to "git init-db --shared" and fetch the initial revision into it, rather than clone it and then fix. You might also want to mention that the "--shared" of -clone is different in meaning from that of -init-db (make just a footnote...
Dec 7, 10:28 am 2006
Johannes Schindelin
Re: [PATCH] Documentation: reorganize cvs-migration.txt
Hi, Even easier: $ mkdir /pub/my-repo.git $ cd /pub/my-repo.git $ git --bare init-db --shared $ git --bare fetch /home/alice/myproject master:master (Totally untested, of course.) Ciao, Dscho -
Dec 7, 1:50 pm 2006
Johannes Schindelin
shallow clones, was Re: What's cooking in git.git (topics)
Hi, Sorry, I was just mumbling about the fact that I would _like_ to hear back about successes and failures. If there are problems I want to fix them. So, do you actually know of people who _used_ (as opposed to "tested") shallow clones? Ciao, Dscho -
Dec 7, 10:59 am 2006
Johannes Schindelin
Re: Fast access git-rev-list output: some OS knowledge requi...
Hi, Could somebody remind me why different processes are needed? I thought that the revision machinery should be used directly, by linking to libgit.a... Ciao, Dscho -
Dec 7, 10:53 am 2006
Johannes Schindelin
Re: Fast access git-rev-list output: some OS knowledge requi...
Hi, Yes. The reset thingie is already in place: clear_commit_marks(). It would have to be enhanced a little, though: 1) the function rewrite_parents(), should add another flag, HALFORPHANED, and 2) clear_commit_marks() should unset the "parsed" flag of the commits for which HALFORPHANED is reset. -- snip -- diff --git a/commit.c b/commit.c index d5103cd..fd225c8 100644 --- a/commit.c +++ b/commit.c @@ -431,6 +431,10 @@ void clear_commit_marks(struct commit *commit, unsigned int ...
Dec 7, 12:01 pm 2006
Josef Weidendorfer
Re: [PATCH] Explicitly add the default "git pull" behaviour ...
Oh, no problem ;-) I myself used quite strong words. And I fully agree that it makes life easier for users. And it is way easier to do it in git-clone because (1) in git-clone we _know_ that we branch of a tracking branch; in git-branch, we first have to check if we want the configuration set. (2) git-branch is more difficult to change because it's written in C :-) However, as discussed in another thread, branch.*.merge currently has quite a strange semantic [*1*], and without changing, users hav...
Dec 7, 10:44 am 2006
Josef Weidendorfer
Re: [PATCH] Explicitly add the default "git pull" behaviour ...
We could setup the branch.*.remote option for every tracking branch git-clone is fetching (and git-fetch with the wildcard refspec). And git-branch sets branch.*.remote/merge for the new branch whenever it sees that a remote is set for the branch we are I see. But I hope with my suggestion above, this can be looked up then in the branch."remotes/origin/for-public".remote option. Josef -
Dec 7, 10:52 am 2006
Josef Weidendorfer
Re: git pull and merging.
No. The merging part actually is the easiest, because everything about what to merge with what is already decided in "git pull" 's fetch phase: * git fetch leaves the branches fetched _and_ what to merge of them in .git/FETCH_HEAD. Example for "git pull" it git.git's master(shorted): de51fa... branch 'master' of git://.../git/git 49ed2b... not-for-merge branch 'maint' of git://.../git/git b772ef... not-for-merge branch 'next' of git://.../git/git Which means: Already in the fetch phase,...
Dec 7, 7:27 am 2006
previous daytodaynext day
December 6, 2006December 7, 2006December 8, 2006