git mailing list

FromSubjectsort iconDate
Ken.Fuchs
RE: FW: git via http protocol _and_ a proxy using NTLM authe...
Thanks, I just did a similar patch to transport.c: $ diff -u ../git-1.5.4.2/transport.c.orig \ ../git-1.5.4.2/transport.c @@ -456,7 +456,8 @@ if (transport->remote->http_proxy) curl_easy_setopt(slot->curl, CURLOPT_PROXY, transport->remote->http_proxy); - + curl_easy_setopt(slot->curl, CURLOPT_PROXYAUTH, (long)CURLAUTH_NTLM); + curl_easy_setopt(slot->curl, CURLOPT_PROXYUSERPWD, "<user-id&...
Feb 26, 7:46 pm 2008
Jakub Narebski
Google Summer of Code 2008
I have just read (via Linux Today news[*1*]) that GSoC 2008 initiative starts early. Applications for organizations open March 3 and close March 12. Git development community participated in GSoC 2007 with two projects accepted[*2*]: builtinification and libification. What do you think about their results for git? What do you think about participating in this year GSoC? Cc: Shawn Pearce, who was promary contact for GSoC 2007. Footnotes: ========== [1] [ message continues ]
" title="http://blog.internetnews.com/skerner/200...">http://blog.internetnews.com/skerner/200...
Feb 26, 6:56 pm 2008
Johannes Schindelin
Re: Google Summer of Code 2008
Hi, I think that GSoC2007 was quite nice for us. And with what we learnt, we would do even better in 2008. However, I simply do not have the time to serve as primary contact. I am willing to be mentor again, though. As for projects, I imagine that Gitorrent, further builtinification and Windows support would be good candidates. Ciao, Dscho -
Feb 26, 7:39 pm 2008
Daniel Barkalow
[PATCH] Don't use GIT_CONFIG in t5505-remote
For some reason, t5505-remote was setting GIT_CONFIG to .git/config and exporting it. The sole effect of this was to cause the tests to fail if "git clone" obeyed it (which it presumably should). Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> --- Maybe test-lib used to set GIT_CONFIG to something that would interfere? Or the default behavior was wrong? t/t5505-remote.sh | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/t/t5505-remote.sh b/t/t5505-remote...
Feb 26, 6:15 pm 2008
Jeff King
Re: [PATCH] Don't use GIT_CONFIG in t5505-remote
test-lib used to set it to ".git/config" until recently, so this would have been a no-op. As to why it was ever in here, I have no idea. -Peff -
Feb 26, 6:19 pm 2008
Ken.Fuchs
FW: git via http protocol _and_ a proxy using NTLM authentic...
Need help to modify git to work with the http protocol _and_ a proxy using HTLM authentication. -- The following changes were made to http.c (for NTLM authentication): $ diff -c /mnt/nfs/git/git-1.5.4.2/http.c.orig \ /mnt/nfs/git/git-1.5.4.2/http.c --- 215,220 ---- --- 215,223 ---- if (curl_http_proxy) curl_easy_setopt(result, CURLOPT_PROXY, curl_http_proxy); + curl_easy_setopt(result, CURLOPT_PROXYAUTH, (long)CURLAUTH_NTLM); + curl_easy_setopt(re...
Feb 26, 5:43 pm 2008
Daniel Stenberg
Re: FW: git via http protocol _and_ a proxy using NTLM authe...
First, you should rather allow any auth and not just the specific one you want. Then, the userid and password is probably better passed in embedded in the proxy URL as that's given on the command line/environment already. Or as Well, the CURLOPT_PROXY is set in transport.c as well which your patch didn't address. If that's the case, I figure the verbose output should've shown some auth failures with the proxy? -
Feb 26, 6:01 pm 2008
Alex Riesen
t7300 "removal failure" broken on Windows
Just a heads-up. The test is fails because it uses "chmod 0" to enforce an error while deleting files by "git clean -f -d". This does not work on windows, because the directories even without write permission on them can be freely modified (the contained names can be removed). Maybe even the removal of list permission does not mean a thing either to cygwin or windows (that last one being more likely the case: it is more wrong). So git-clean succeeds and the test fails. It probably can be worke...
Feb 26, 4:22 pm 2008
Joshua Williams
git clone/push collision
I'm unsure if this is a "problem" with git but the associated error/warning messages can be concerning to uninitiated users. It occurs when someone starts a clone and someone else does a push while the clone is processing. In 1.5.3.8 we are seeing the following messages after the clone completes (the push was to the b2 branch): ===== jwilliams> git clone /nfs_share/repo.git my_clone.git Initialized empty Git repository in /export/jwilliams/test/my_clone.git/.git/ 5294402 blocks Checking ...
Feb 26, 2:59 pm 2008
Junio C Hamano
Re: [PATCH 2/2] Improve collection of information for format...
"max count"? So you wanted to say that the new code sometimes figures out (with --boundary) what to compare against even when the user does not explicitly specify where the range begins from the command line. Thanks for a clarification. -
Feb 26, 2:46 pm 2008
Junio C Hamano
Re: [RFC] Support TEST_GIT_PATH variable for the path for th...
What I meant to say was we have tried to stick to "test -d" or "test -f" and avoided a newer "test -e" when able. It's not a style but more about courtesy to porters. Majority of platforms I did not mean to imply I was presenting the whole solution; I was trying to hint at a different direction which may or may not work. I did not look at what test_create_repo() actually did when I wrote the message, but you are right. It too needs to be made conditional, and when trying an installed version,...
Feb 26, 2:46 pm 2008
Daniel Barkalow
Re: [RFC] Support TEST_GIT_PATH variable for the path for th...
Does it need to be conditional, or is simply "git init" right (where we've Might be nice to have a "sgitpath" (on the model of sg or su) in t/, since You understood correctly the first time; I was unclear the second time. The problem here is that, in order to run tests, we call "test-absolute-path", "test-genrandom", etc., and we can't use these from the user's $PATH because, being only for testing, they don't get installed there. We need to get git-remote (for example) from $PATH, but ...
Feb 26, 3:16 pm 2008
Junio C Hamano
Re: [RFC] Support TEST_GIT_PATH variable for the path for th...
I suspect "uninstalled" cases (both "here" and "elsewhere") needs to do the template magic, while "installed" case should be I have them in ./+denv and after building if I want to see it work in real repo elsewhere I do: : gitster; sh $ . ./+denv $ cd ../elsewhere.git $ do the real workload trial Yeah, sounds like it. -
Feb 26, 4:22 pm 2008
Daniel Barkalow
Re: [RFC] Support TEST_GIT_PATH variable for the path for th...
Ah, but that doesn't have to be here, since we can (and, AFAICT do) use the GIT_TEMPLATE_DIR environment variable, and can set it as appropriate I was thinking it would be handy to have around t/ in case you want to go step-by-step through a failing test, using the git the test would use. For that purpose, it would also be handy to pick up the environment variables Right. Would it be okay to build those into t/helpers/* or something, instead of into the project root, so that they're just n...
Feb 26, 4:46 pm 2008
Junio C Hamano Feb 26, 5:01 pm 2008
Alex Chiang
stgit - continue rebase after merge conflict?
Hi Catalin, How does one do a stg rebase if there are merge conflicts? I see: ------------------------------------------------------- achiang@blender:~/kernels/linux-2.6$ stg rebase origin Upgraded branch stg-pci-slots to format version 2 Checking for changes in the working directory ... done Popping all applied patches ... done Rebasing to "origin" ... done Pushing patch "0001-Remove-path-attribute-from-sgi_hotplug.patch" ... done Pushing patch "0002-Construct-one-fakephp-slot-per-pci-slot....
Feb 26, 10:57 am 2008
Catalin Marinas
Re: stgit - continue rebase after merge conflict?
Basically, you solve the conflict, refresh the current patch and continue with 'stg push' or 'stg goto <top patch>'. The 'rebase' command does 'pop --all', 'git reset', 'push --all'. In your conflict, the base of the stack was already changed to the latest and hence only push/goto is needed. To fix it: $ vi files # or simply use 'resolved -i' below $ stg resolved -a [-i] $ stg refresh $ stg goto top-patch or (if you want to skip that patch): $ stg push --undo $ stg push next-patch...
Feb 26, 12:56 pm 2008
Alex Chiang
Re: stgit - continue rebase after merge conflict?
How about this? /ac From: Alex Chiang <achiang@hp.com> Enhance rebase help string by providing guidance on merge conflict resolution during a rebase. Based on text suggested by Catalin Marinas. Signed-off-by: Alex Chiang <achiang@hp.com> --- diff --git a/stgit/commands/rebase.py b/stgit/commands/rebase.py index 12faaf8..29d741b 100644 --- a/stgit/commands/rebase.py +++ b/stgit/commands/rebase.py @@ -27,7 +27,19 @@ help = 'move the stack base to another point in histor...
Feb 26, 1:49 pm 2008
John Goerzen
Re: git-email automatic --to detection?
You could always make it work like this: * If an address is given on the command line, use that. * Otherwise, if an address is given in config, use that. * Otherwise, look up the address at the remote repo; if successful, use that. * Otherwise, prompt the user. The advantage of this is that if the submission address changes (but the remote repo URL hasn't), then patches can automatically go to the right place. Of course the disadvantage is that the config is not initialized for off...
Feb 26, 10:07 am 2008
John Goerzen
Re: git-email automatic --to detection?
Actually, both can do both, right? darcs send -o will write the data to send out to a file on disk, and git-send-email will transmit the message. I don't so much care about the default as making it easy for people that do have a local sendmail or smtpd or (ugh) MAPI client to send patches automatically, if I tell them what flags to use. -- John -
Feb 26, 9:59 am 2008
Miklos Vajna
Re: git-email automatic --to detection?
right. afaik no commands read the remote git config atm, but it might be true. what annoyed me is that i needed net access to generate the file, ie i was not able to do a 'darcs send -o file', copy the file to an usb but that's the case for git as well :) you should tell people (for example): use "git format-patch origin"; send the created *.patch files and use "git pull --rebase" to avoid an unnecessary merge. - VMiklos
Feb 26, 1:44 pm 2008
John Goerzen
Re: "Contributors never merge" and preserving history
On 2008-02-25, Linus Torvalds <torvalds@linux-foundation.org> wrote: Hi Linus, Thank you very much for these two informative messages. I think that there were a lot of shades of gray to the kernel workflow that I failed to appreciate before, for whatever reason. I do have a question about the point you make above though. I'm not quite understanding what you're saying here. Technically speaking, the end result of a merge where you pulled from me would be identical to a merge where I ...
Feb 26, 10:04 am 2008
Linus Torvalds
Re: "Contributors never merge" and preserving history
Yes. Except for where the end result is! That's kind of the point. If you're developing a driver, your tree is the "driver tree". But if you keep pulling from me, now it's no longer a It probably depends on the submaintainer. But you're absolutely right that at least early on, most of them will want just emailed patches. And for that, the "fetch + rebase" model is the better one. HOWEVER. What happens with me is that I personally prefer patches from people if - they are "single"...
Feb 26, 12:41 pm 2008
Eric Kidd
git svn: Cannot rebuild rev_map with --rewrite-root
Good morning! I'm trying to understand git svn's --rewrite-root argument, and I'm confused. In the following example, I have a Subversion repo named 'foo-svn', containing a single (empty) project named 'foo'. This project has the usual trunk/branches/tags layout, but no content. When I run the following script: GIT_SVN_ARGS="-s --rewrite-root svn://svn.foo.org/ file://`pwd`/foo-svn/foo" git svn clone $GIT_SVN_ARGS foo1 git clone foo1 foo2 cd foo2 git config --add remote.origin.fe...
Feb 26, 9:47 am 2008
Tim Stoakes
git-svn messing with timezones
Hi all, When I commit to git, the log shows the correct timezone: Date: Tue Feb 26 23:10:24 2008 +1030 However, when I then dcommit this to SVN with git-svn, the timezone gets mangled. If I now 'git log', the same commit shows Date: Tue Feb 26 12:40:24 2008 +0000 The 'svn log' of that same revision shows the correct timezone: r151 | foo | 2008-02-26 23:10:24 +1030 (Tue, 26 Feb 2008) | 2 lines so, I know it's git-svn doing it, not svn itself. The same mangling has happened to commits...
Feb 26, 8:47 am 2008
Jakub Narebski
[PATCH 0/4] Improve gitweb search, and other things
Table of contents: ~~~~~~~~~~~~~~~~~~ [PATCH 1/4] Add '--fixed-strings' option to "git log --grep" and friends [PATCH 2/4] gitweb: Change parse_commits signature to allow for multiple options [PATCH 3/4] gitweb: Simplify fixed string search [PATCH 4/4] gitweb: Clearly distinguish regexp / exact match searches Description of series: ~~~~~~~~~~~~~~~~~~~~~~~ When testing earlier improvements to gitweb commit search (searching commit messages), I have noticed that searching for "don...
Feb 26, 8:22 am 2008
Jakub Narebski
[PATCH 4/4] gitweb: Clearly distinguish regexp / exact match...
From: Petr Baudis <pasky@ucw.cz> This patch does a couple of things: * Makes commit/author/committer search case insensitive To be consistent with the grep search; I see no convincing reason for the search to be case sensitive, and you might get in trouble especially with contributors e.g. from Japan or France where they sometimes like to uppercase their last name. * Makes grep search by default search for fixed strings Since we will have a checkbox. * Introduces 're' check...
Feb 26, 8:22 am 2008
Jakub Narebski
[PATCH 3/4] gitweb: Simplify fixed string search
Use '--fixed-strings' option to git-rev-list to simplify and improve searching commit messages (commit search). It allows to search for example for "don't" successfully. Signed-off-by: Jakub Narebski <jnareb@gmail.com> --- The second part of this chunk follows "correct style in neighborhood of changes" idea. gitweb/gitweb.perl | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 3b4b15a..90cf78e 100755 --- a/git...
Feb 26, 8:22 am 2008
Jakub Narebski
[PATCH 2/4] gitweb: Change parse_commits signature to allow ...
Change order of parameters in parse_commits() to have $filename before @args (extra options), to allow for multiple extra options, for example both '--grep=<pattern>' and '--fixed-strings'. Change all callers to follow new calling convention. This is part of commit b98f0a7c in http://repo.or.cz/git/gitweb.git gitweb: Clearly distinguish regexp / exact match searches by Petr "Pasky" Baudis. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Jakub Narebski <jnareb@gmail.c...
Feb 26, 8:22 am 2008
Jakub Narebski
[PATCH 1/4] Add '--fixed-strings' option to "git log --grep"...
Add support for -F | --fixed-strings option to "git log --grep" and friends: "git log --author", "git log --committer=<pattern>". Code is based on implementation of this option in "git grep". Signed-off-by: Jakub Narebski <jnareb@gmail.com> --- This would simplify ignore-case searching for a fixed string from within gitweb, as gitweb wouldn't then have to deal with differences in quoting and unquoting (if you quote character which doesn't need quoting, would git (grep) unquote it?) bet...
Feb 26, 8:22 am 2008
David Greaves
Correcting timestamps when importing archives to git
Hi I recently converted a set of patches to a git repository. In order to use the correct timestamps my script used a 'faketime' solution I found here: http://www.code-wizards.com/projects/libfaketime/ I used a perl subroutine that takes a time (obtained by stat()ing the original patch or looking in logs) and then the normal 'system()' args. sub faketime_system { my $time=shift; $ENV{"LD_PRELOAD"}="/everything/devel/faketime/libfaketime-0.6/libfaketime.so.1"; $ENV{"FAKETIME_FMT...
Feb 26, 7:45 am 2008
Johannes Schindelin
Re: Correcting timestamps when importing archives to git
Hi, Wow. That is sure one of the most complicated ways to go about it. IMO GIT_AUTHOR_DATE and GIT_COMMITTER_DATE (mentioned in Documentation/git.txt, and described in Documentation/git-commit-tree.txt) would have been the tools to use. Hth, Dscho -
Feb 26, 8:17 am 2008
David Greaves
Re: Correcting timestamps when importing archives to git
Depends. after checking the git pages for time arguments then spoofing the time is (was!) the most obvious way to do it IMO :) Indeed - I forgot all about those - and I wrote the first versions of those files IIRC! The variables are not written about much more and didn't show up when I was googling for managing git timestamps/dates. Maybe they will now. And - the whole point of the email was for the archives - so thanks for the reply and the reminder/better suggestion. David -
Feb 26, 8:55 am 2008
Junio C Hamano
Re: [PATCH 05/10] builtin-fsck: move common object checking ...
Is this series an unadjusted resend or something? This particular one had funny interaction with your own d4fe07f (git-fsck: report missing author/commit line in a commit as an error) that is already in 'master', so I had to munge it by hand. It was not so pleasant (a large chunk of code was moved from builtin-fsck.c to fsck.c), but that is what the maintainer does, so it's Ok. But I'd like you to eyeball the result to see if it looks sane. I'll push it out as part of 'pu'. The tip of your topi...
Feb 26, 5:19 am 2008
Martin Koegler
Re: [PATCH 05/10] builtin-fsck: move common object checking ...
I sent the series directly based on master, as Shawn suggested (21c34 is only changing the prefix in Makefile): 3c5fb6a798a0b686e7818bf1da63791fb94a7b21 receive-pack: use strict mode for unpacking objects 786bf704ce4067c80055a1fa69be242a59880eb0 index-pack: introduce checking mode 1f7ae754550fb6e0509c1498ba9de6b5f4bba438 unpack-objects: prevent writing of inconsistent objects 143aa20e11c70595e4119a3adac0887446524c7f unpack-object: cache for non written objects 997a515fccb3ef200cb96fbb757366eff8a2ee66...
Feb 26, 5:35 pm 2008
Junio C Hamano
Re: [PATCH] Teach git-describe --long to output always the l...
As I think about it more, I think that such a lack of communication is not something "git describe" should even claim to help working around. But a uniform-looking describe output does have certain attractiveness: $ git describe --long 31e0b2c 6c0f869 v1.5.4.3-0-g31e0b2c v1.5.4.3-1-g6c0f869 So I have quite a big problem with your commit log message, even though I am starting to like what it does. Perhaps this would be more to the point. git-describe: --long shows th...
Feb 26, 5:19 am 2008
Santi Béjar
Re: [PATCH] Teach git-describe --long to output always the l...
I call it --long for longformat, maybe --longformat, --always-long, Me too. Santi -
Feb 26, 5:41 am 2008
Junio C Hamano
Re: [PATCH] pack-objects: Print a message describing the num...
Ah, no. But now you mention it, I tend to agree with you. This is primarily of interest for git developers and I do not think the end users would care. Maybe under --verbose or --debug option (but I do not think we have --debug option anywhere). -
Feb 26, 5:19 am 2008
Jeff King
Re: [PATCH] pack-objects: Print a message describing the num...
I wrote up a --verbose patch, but it just seemed silly. Who would actually turn it on? How about this instead? -- >8 -- pack-objects: show "using N threads" only when autodetected Every other case is uninteresting, since either: - it is the default of 1, in which case we are always just printing "using 1 thread" - it is whatever the user set it to, in which case they already know But with --threads=0, they might want to be informed of the number of CPUs detected. --- If...
Feb 26, 5:33 am 2008
Junio C Hamano
Re: [PATCH 2/2] Improve collection of information for format...
This passes all the tests fine isolated, but when merged to 'next' or 'pu' the result seem to barf at test #105 in t4013, complaining that it does not know about --cover-letter. Sorry, but I've run out of time tonight, so 'pu' tonight has this at the tip. -
Feb 26, 5:19 am 2008
Junio C Hamano Feb 26, 5:24 am 2008
Christian Couder
help: add "man.viewer" config var to use "woman" or "konquer...
This patch makes it possible to view man pages using other tools than the "man" program. It also implements support for emacs' "woman" and konqueror with the man KIO slave to view man pages. Note that "emacsclient" is used with option "-e" to launch "woman" on emacs and this works only on versions >= 22. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> --- help.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 79 insertions(+), 1 delet...
Feb 26, 2:06 am 2008
Jay Soffian
[PATCH] rev-parse: fix potential bus error with --parseopt o...
A non-empty line containing no spaces should be treated by --parseopt as an option group header, but was causing a bus error. Also added a test script for rev-parse --parseopt. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> --- e.g. % printf "foo\n--\noption-group-header\n" | git rev-parse --parseopt -- -h Bus error Wasn't sure whether to add the --parseopt test to t0040-parse-options.sh or t1500-rev-parse.sh. I ended up creating a new test script. Hopefully calling it out will increa...
Feb 26, 12:07 am 2008
Johannes Schindelin
Re: [PATCH] rev-parse: fix potential bus error with --parseo...
Hi, Looks obviously correct, but I would have expected a SIGSEGV, not a SIGBUS. Ciao, Dscho -
Feb 26, 7:26 am 2008
Jay Soffian
Re: [PATCH] rev-parse: fix potential bus error with --parseo...
On Tue, Feb 26, 2008 at 6:26 AM, Johannes Schindelin For your entertainment only, the OS X crash log. [Please don't make fun of me for using tcsh, I'm been meaning to switch to bash for about 10 years now. :-) ] Process: git [86324] Path: /opt/git/bin/git Identifier: git Version: ??? (???) Code Type: X86 (Native) Parent Process: tcsh [80929] Date/Time: 2008-02-25 23:05:42.717 -0500 OS Version: Mac OS X 10.5.2 (9C31) Report Version: 6 Ex...
Feb 26, 10:45 am 2008
Caio Marcelo de Oliv...
[PATCH] filter-branch documentation: non-zero exit status in...
Since commit 8c1ce0f46b85d40f215084eed7313896300082df filter-branch fails when a <command> has a non-zero exit status. This commit makes it clear in the documentation and also fixes the parent-filter example, that was incorrectly returning non-zero when the commit being tested wasn't the one to be rewritten. Signed-off-by: Caio Marcelo de Oliveira Filho <cmarcelo@gmail.com> --- Documentation/git-filter-branch.txt | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) d...
Feb 25, 10:14 pm 2008
Johannes Schindelin
Re: [PATCH] filter-branch documentation: non-zero exit statu...
Hi, I thought that we had that already in the man page, but you're right: we Yes, makes sense. Ciao, Dscho -
Feb 26, 7:18 am 2008
Steven Drake
[PATCH] timezone_names[]: fixed the tz offset for New Zealand.
--- date.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/date.c b/date.c index 8f70500..a74ed86 100644 --- a/date.c +++ b/date.c @@ -213,9 +213,9 @@ static const struct { { "EAST", +10, 0, }, /* Eastern Australian Standard */ { "EADT", +10, 1, }, /* Eastern Australian Daylight */ { "GST", +10, 0, }, /* Guam Standard, USSR Zone 9 */ - { "NZT", +11, 0, }, /* New Zealand */ - { "NZST", +11, 0, }, /* New Zealand Standard */ - { "NZDT", +11, 1, }, /* New Zea...
Feb 25, 8:45 pm 2008
Junio C Hamano Feb 25, 8:07 pm 2008
Daniel Barkalow
Re: [PATCH 2/2] Improve collection of information for format...
That last line, yes. I need a checkpatch for new uses of stderr or something. -Daniel *This .sig left intentionally blank* -
Feb 26, 12:27 pm 2008
previous daytodaynext day
February 25, 2008February 26, 2008February 27, 2008