git mailing list

FromSubjectsort iconDate
Shawn O. Pearce
Re: git log of remote repositories.
git fetch git log ..origin -- Shawn. --
Apr 13, 4:27 pm 2010
Aghiles
git log of remote repositories.
Hello, I have a local branch that is a tracking a remote branch. I want to see what are the modifications upstream, _before_ I pull. I tried 'git log origin' but that's only the point from where I pulled last. Is there a way to do that? I see a --remote option in recent git versions, does it have something to do with I want to achieve? Thank you, -- aghiles --
Apr 13, 4:25 pm 2010
Will Palmer
[PATCH] make description of "core.autocrlf" less ambiguous
The description for core.autocrlf refers to reads from / writes to the "filesystem". While the term is used elsewhere in the config documentation to refer to the filesystem git is hosted on, it is not only less clear from context in the case of core.autocrlf, but can also be plain inaccurate in many cases. To make more clear the direction of removal / addition of CR when core.crlf is set, as well as to account for the usage of low-level commands such as hash-object or cat-file, we change ...
Apr 13, 4:23 pm 2010
Jay Soffian
Re: TODO: git should be able to init a remote repo
On Tue, Apr 13, 2010 at 3:58 PM, Ilari Liusvaara Of course it is. It's not meant to cover every scenario, just what I Huh? Obviously this only works if you've got remote shell access, and that's the only scenario it's intended to cover. As I said, it just And this isn't for that scenario. j. --
Apr 13, 2:42 pm 2010
Jay Soffian
TODO: git should be able to init a remote repo
[Mostly I'm sending this so I can add a "TODO" label to it in my gmail.] :-) With modern git, setting up a remote bare repo that you can push to is finally down to a reasonable number of commands: $ ssh remote git init --bare myproject.git $ git remote add -m master origin remote:myproject.git $ git push -u origin master But we can do better. I was thinking something like: $ git remote init [--push] [--mirror] <name> <ssh_url> This would perform all of the steps above, except for the ...
Apr 13, 10:30 am 2010
Ilari Liusvaara
Re: TODO: git should be able to init a remote repo
Couple of concerns: - That seems awfully ssh-specific[1]... - How remote end could deny the operation, modify paths and/or get post-creation notification? - How to handle systems that would autocreate the repository anyway if push was attempted? [1] Well, its not like one would want to do that with gits:// anyway, since there's probably gitolite install on other end anyway... -Ilari --
Apr 13, 12:58 pm 2010
Jay Soffian
[PATCH] Documentation/config.txt: default gc.aggressiveW ...
The default for gc.aggressiveWindow has been 250 since 1c192f3 (gc --aggressive: make it really aggressive, 2007-12-06). Signed-off-by: Jay Soffian <jaysoffian@gmail.com> --- Documentation/config.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/config.txt b/Documentation/config.txt index 06b2f82..aa5411e 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -914,7 +914,7 @@ format.signoff:: gc.aggressiveWindow:: The window ...
Apr 13, 9:52 am 2010
Daniel Lidström
Error doing git svn rebase
Hello, I have cloned our subversion repository using git svn clone. Then I have made a few changes and committed a few times. Now I would like to do git svn rebase before I continue, to be sure I don't get too much out-of-sync with the subversion repository. However, git-svn fails like this: luna:/home/daniel/projects/UMC3D-9.1.git(master)> git svn rebase First, rewinding head to replay your work on top of it... Applying: - Doxygen fixes. Applying: - Code cleanups. Applying: - Logging ...
Apr 13, 5:54 am 2010
Miklos Vajna
Re: Removing alternates -- but how?
What git version are you using? It seems to work for me: $ mkdir s $ cd s $ git init $ echo a > a $ git add a $ git commit -m i $ cd .. $ git clone -s s c $ cd c $ git repack -a $ mv .git/objects/info/alternates .git/objects/info/alternates.orig $ git branch * master
Apr 13, 8:58 am 2010
Thomas Schwinge
Removing alternates -- but how?
Hello! According to ``information on the web'', it should be fine to do ``git repack -a && rm .git/objects/info/alternates'', however that doesn't work for me: $ cat .git/objects/info/alternates ../../../glibc/.git/objects ../../../../O/work.new/.git/objects $ git repack -a Counting objects: 18670, done. Compressing objects: 100% (7655/7655), done. Writing objects: 100% (18670/18670), done. Total 18670 (delta 10218), reused 18670 (delta 10218) $ mv ...
Apr 13, 5:57 am 2010
Ping Yin
Re: [EXPERIMENTAL PATCH] S-expression structured output ...
On Tue, Apr 13, 2010 at 6:23 PM, Ilari Liusvaara I think it's better to put all output-* files in a separate directory. --
Apr 13, 3:29 am 2010
Ilari Liusvaara
[EXPERIMENTAL PATCH] S-expression structured output backend
Add structured output mode 'sexp' that prints out canonical form S-expressions. Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi> --- Makefile | 1 + output-sexp.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ output.c | 9 ++++++- output.h | 3 +- 4 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 output-sexp.c diff --git a/Makefile b/Makefile index d32a334..8b0fc21 100644 --- a/Makefile +++ b/Makefile @@ ...
Apr 13, 3:23 am 2010
Mike Hommey
git rebase -i slow for a reason ?
Hi, Most of the time, I run git rebase with -i, so while it is slow, I always assumed there was somehow a reason. For some reason, today, I was running some git rebase without -i, and then the same rebases with -i, but without changing the pick list. While the git rebase without -i were almost instant, git rebase -i was as slow as usual, which is very far from instant. Has anyone else seen such behaviour ? Mike --
Apr 13, 3:04 am 2010
cdossantos
Replication of shared repositories
Hello, I would like to replicate the contents of my GIT shared repository to another server, a sort of mirror, but i didn't find any references about that. I know that hook scripts run locally. However, could i have a post commit script that after a local commit, not only starts a push to the shared repository but starts as well a push from the shared repository to another server ? Thanks in advance, Santos -- View this message in context: ...
Apr 13, 12:45 am 2010
Richard Dallaway
SVN bridge for multiple SVN modules
Hello We've run into something we'd like to do with "git svn clone" that looks like it should work, but doesn't appear to. The task: we have an SVN repository with 38 modules in it (each with their own branches, tags, and trunk) and we'd like to pull just two of the modules into a single git repository -- but maintain the ability to perform git svn rebase/fetch/dcommit as the SVN repository is remaining active for some developers. It looks like we should be able to point at the parent of ...
Apr 13, 12:34 am 2010
Sverre Rabbelier
Re: Update on SoC proposal: git-remote-svn
Heya, I think we can safely say that "git clone svn://example.com/myrepo" only has to work for svn repositories that have a 'sane' layout. If you want a non-standard layout you can do 'git init && git configure .... && git fetch', where you configure everything the way you want before fetching. We could perhaps even provide a tool to aid with configuring things; or perhaps a mode to not do any rewriting (just import the data into git as-is) and then have a tool that examines the history and ...
Apr 13, 9:01 am 2010
Sam Vilain
Re: Update on SoC proposal: git-remote-svn
Right, that will be why :-). No problem, apologies for not catching the earlier discussion. It's good to hear that you have collectively reached a very similar design to the one indicated from my perforce importer experiment (SVN is of course, a poor imitation of Perforce in No problem at all. I will watch the development of this project with interest. All the best, Sam --
Apr 13, 1:34 am 2010
Ramkumar Ramachandra
Update on SoC proposal: git-remote-svn
Hi, Sam Vilain commented on my SoC proposal using Google's SoC interface, and requested me to CC my response to the mailing list. His original comment is also quoted below. ----------------------->8----------------------<8------------------- There's been a lot of discussion, some on the list, and some more off Yes. I've studied the SVN API, and I agree with you- it's quite horrible. Instead of providing a API that's transparently backward-compatible, they've provided different methods ...
Apr 12, 10:29 pm 2010
Kevin Menard
Getting the latest branches/tags with git svn?
Hi, How do I go about getting the latest list of branches and tags with git svn? My list seems to basically stay at the same state as when I initially created the repo. Subsequent git svn rebase and git svn fetch operations seem to just be fetching changes to trunk. Thanks, Kevin --
Apr 12, 7:25 pm 2010
Jonathan Nieder
[PATCH 1/9] t7006: GIT_DIR/config should be honored in s ...
When git is passed the --paginate option, starting up a pager requires deciding what pager to start, which requires access to the core.pager configuration. Unfortunately, the --paginate option is handled before git has a chance to search for a git directory. The effect is that with --paginate and only with --paginate, a repository-local core.pager setting does not take effect [*]. [*] unless the git directory is simply .git in the cwd or GIT_DIR or GIT_CONFIG was set explicitly. Add a ...
Apr 12, 7:13 pm 2010
Nguyen Thai Ngoc Duy
Re: [PATCH 8/9] builtin: check pager.<cmd> configuration ...
On the second look, there's another case, when RUN_SETUP_GENTLY is set, but no repository is found. git_config() will pick $(cwd)/.git/config if it exists. I guess it's OK for this series because the true fix will require more changes. -- Duy --
Apr 13, 3:12 am 2010
Jonathan Nieder
[PATCH 8/9] builtin: check pager.<cmd> configuration if ...
Eventually, all git commands should check their configuration at start-up. For now, reading configuration before repository discovery is dangerous because it could cause a pager.<cmd> setting from the current repository to be neglected. But for commands with RUN_SETUP or RUN_SETUP_GENTLY set, it is safe. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- git.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git.c b/git.c index 20e9bfc..56e93cf 100644 --- ...
Apr 12, 7:30 pm 2010
Nguyen Thai Ngoc Duy
Re: [PATCH 8/9] builtin: check pager.<cmd> configuration ...
This still leaves a chance of going wrong: when user explicitly gives "--paginate", use_pager will be 1, but commands like "git init" does not have RUN_SETUP*. So when setup_pager is called later on, it will mess things up. This could be solved completely (indeed I have a patch under testing), but it would require unset_git_directory(), making this series a bit longer :( -- Duy --
Apr 12, 10:29 pm 2010
Johannes Sixt
Re: [PATCH 2/9] t7006: test pager configuration for seve ...
This shell script is simple enough that you can use '#!/bin/sh' and avoid The intents of the test cases would be much easier to follow and to review if this were written as, for example: test_default_pager 'git log' test_PAGER_overrides 'git log' test_core_pager_overrides 'git log' test_core_pager_subdir 'git log' test_GIT_PAGER_overrides 'git log' test_default_pager 'git -p log' test_PAGER_overrides 'git -p log' test_core_pager_overrides 'git -p ...
Apr 12, 11:34 pm 2010
Jonathan Nieder
[PATCH/RFC 0/9] Setup cleanup, chapter one
These patches are designed to make people who want the pager.<cmd> configuration to be more reliable a little happier. More importantly, they bring the setup procedure closer to doing the Right Thing™. More precisely: The pager configuration procedure does not always do as much as one would like: A. Unless one runs check_pager_config() first, the pager.<cmd> configuration is ignored. The setup procedure does not run check_pager_config() for commands that do not use RUN_SETUP. B. ...
Apr 12, 7:11 pm 2010
Jonathan Nieder
[PATCH 2/9] t7006: test pager configuration for several ...
Test choice of pager at several stages of repository setup. This way we can have some (admittedly uninteresting) examples in mind when considering future changes to the setup procedure. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- t/t7006-pager.sh | 151 ++++++++++++++++++++++++++++------------------------- 1 files changed, 80 insertions(+), 71 deletions(-) diff --git a/t/t7006-pager.sh b/t/t7006-pager.sh index 4f804ed..403c260 100755 --- a/t/t7006-pager.sh +++ ...
Apr 12, 7:17 pm 2010
Jonathan Nieder
[PATCH 3/9] builtins: do not commit pager choice early
From: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> If git is passed the --paginate option, committing the pager choice will require setting up a pager, which requires access to repository for the core.pager configuration. After handle_options() is called, the repository has not been searched for yet. Unless GIT_DIR or GIT_CONFIG is set, attempting to access the configuration at this point results in git_dir being set to .git, which is almost certainly not what was wanted. If a git command ...
Apr 12, 7:24 pm 2010
Jonathan Nieder
[PATCH 4/9] t7006: test pager.<cmd> configuration
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt; --- t/t7006-pager.sh | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/t/t7006-pager.sh b/t/t7006-pager.sh index 944e830..237a689 100755 --- a/t/t7006-pager.sh +++ b/t/t7006-pager.sh @@ -71,6 +71,22 @@ test_expect_success TTY 'git --paginate rev-list uses a pager' ' test -e paginated.out ' +rm -f paginated.out +test_expect_success TTY 'git rev-list uses a pager if configured to' ' + git ...
Apr 12, 7:25 pm 2010
Jonathan Nieder
[PATCH 5/9] builtin: introduce startup_info struct
From: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt; The startup_info struct will collect information managed by the git setup code, such as the prefix for relative paths passed on the command line (i.e., path to the starting cwd from the toplevel of the work tree) and whether a git repository has been found. In other words, startup_info is intended to be a collection of global variables representing results that were previously returned from setup functions. Letting these values persist means ...
Apr 12, 7:27 pm 2010
Jonathan Nieder
[PATCH 6/9] builtin: remember whether repository was found
From: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt; Attempts to access gitdir are everywhere, even before cmd_*() is called (in particular for alias handling, pager configuration, work tree, and other core configuration). Because the repository has not been found, repository-specific information (GIT_DIR/config) can not be read. This can lead to obscure bugs. The sooner we set up gitdir, the less trouble we may have to deal with. Currently, the cmd_*() functions learn whether a repository ...
Apr 12, 7:28 pm 2010
Jonathan Nieder
[PATCH 7/9] builtin: Support RUN_SETUP_GENTLY to set up ...
From: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt; Attempts to access gitdir are everywhere, even before cmd_*() is called (examples: alias handling, pager configuration, work tree). Because the repository has not been found, repository-specific information (i.e., $GIT_DIR/config) can not be read. This leads to obscure bugs. So the sooner we setup gitdir, the less trouble we may have to deal with. This patch sets up the infrastructure. Later patches will teach particular commands to use it ...
Apr 12, 7:29 pm 2010
Jonathan Nieder
[PATCH 9/9] config: run setup before commiting pager choice
From: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt; For the pager choice (and the choice to paginate in the first place) to reflect the current repository configuration, the repository needs to be searched for first. Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt; Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt; Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt; --- That’s the end of the mini-series. I hope you enjoyed reading it as much as I did adapting it. Looking forward to ...
Apr 12, 7:31 pm 2010
Jonathan Nieder
[RFC/PATCH 00/46] nd/setup remainder for convenient reference
I was thinking of sending the remainder of nd/setup after this to save others the trouble of rebasing, but I fear the traffic would be too disruptive. So I am putting it up by git. Caveats: maybe these patches make no sense. After I last rebased them, I walked away without looking. Still, maybe they can save you some time. Good night, Jonathan The following changes since commit e0cc2322c409c6cfa897f395f6feb058e2d53d4a: Nguyễn Thái Ngọc Duy (1): config: run setup before ...
Apr 12, 8:08 pm 2010
Jonathan Nieder
Re: [PATCH 2/9] t7006: test pager configuration for seve ...
[...] Good idea. This would also make the expected result much easier to change test-by-test. Will do, thanks. Jonathan --
Apr 13, 3:07 pm 2010
Julian Phillips
Re: [RFC/PATCH v2 1/4] output: Add a new library for plu ...
On Tue, 13 Apr 2010 12:43:51 +0300, Ilari Liusvaara Yes. I intend to revist the header and documentation, as they were mostly I think that it probably makes sense to have explicit calls into the backend for start and end rather than assuming that wrapping everything in an object is appropriate, an XML backend for example could then use those callbacks to do XML headers and the outmost element tags etc. -- Julian --
Apr 13, 4:46 am 2010
Ilari Liusvaara
Re: [RFC/PATCH v2 1/4] output: Add a new library for plu ...
On Mon, Apr 12, 2010 at 12:21:14AM +0100, Julian Phillips wrote: I'm writing S-Expression output backend as experiment (not yet even sendable as WIP) and hit an issue in general framework... List? Above says types are 'object', 'array' and 'value'. Then it defines Maybe add extra note about these. When one sees output_token used in code outputting stuff, one can get puzzled until one realizes that token output This is AFAIK really inapporiate for canonical S-Expression output. Point ...
Apr 13, 2:43 am 2010
Eugene Sajine
Re: [BUG] - git rebase -i performs rebase when it shouldn't?
IMHO this &quot;noop&quot; behavior seems to be identical to &quot;git reset --hard master&quot; - the result is the same. Frankly, I don't understand what is useful in such thing being HIDDEN in &quot;incorrect call&quot; of interactive rebase... Thanks, Eugene --
Apr 13, 9:30 am 2010
David Aguilar
Re: More git status --porcelain lossage
Here's a fairly popular stream parser: http://lloyd.github.com/yajl/ Yet Another JSON Library. YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator. YAJL is released under the BSD license. The license is BSD-with-advertising-clause. Perhaps the author did not know about modified BSD. -- David --
Apr 12, 10:02 pm 2010
Jari Aalto
[PATCH] git-send-email.perl: Add sub maildomain_sanitize
Move duplicate maildomain checks to a single subroutine. Require that a FQDN contains at least one period. Signed-off-by: Jari Aalto &lt;jari.aalto@cante.net&gt; --- git-send-email.perl | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) Here is improved version. -- Jari &gt;Re: [PATCH 1/3] send-email: Don't use FQDNs without a '.' &gt;Junio C Hamano &lt;gitster@pobox.com&gt; writes: &gt;&gt; Brian Gernhardt &lt;brian@gernhardtsoftware.com&gt; writes: &gt; &gt;&gt; ...
Apr 13, 1:43 am 2010
Jari Aalto
[PATCH] git-send-email.perl: add maildomain_sanitize()
Move duplicate maildomain checks to a single subroutine. Require that a FQDN contains at least one period. Signed-off-by: Jari Aalto &lt;jari.aalto@cante.net&gt; --- git-send-email.perl | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) Here is improved version 2 (use &quot;tab&quot; for indentation). -- Jari &gt;Re: [PATCH 1/3] send-email: Don't use FQDNs without a '.' &gt;Junio C Hamano &lt;gitster@pobox.com&gt; writes: &gt;&gt; Brian Gernhardt ...
Apr 13, 4:35 am 2010
Jeff King
Re: [PATCHv3] pretty: Initialize notes if %N is used
Ugh. I didn't even know we had such a thing. Those look like the only ones that should be a problem, though. I'm glad to have factored out the Should this perhaps be: if (*placeholder == '+' || *placeholder == '-') placeholder++; switch (*placeholder) { case 'N': w-&gt;notes = 1; break; } so that it will extend naturally if other placeholder lookups are needed (since those ones also could have + or - markers). Also, I just noticed that your case is missing a 'break'. Not ...
Apr 13, 4:07 am 2010
Johannes Gilger
Re: [PATCHv2] pretty: Initialize notes if %N is used
Hm, I still found one mistake: Using %+N or %-N without --show-notes doesn't work. I'll have a look at how to fix this. If Junio want's to go ahead this can also be done in a second patch. Greetings, Jojo -- Johannes Gilger &lt;heipei@hackvalue.de&gt; http://heipei.net GPG-Key: 0xD47A7FFC GPG-Fingerprint: 5441 D425 6D4A BD33 B580 618C 3CDC C4D0 D47A 7FFC --
Apr 13, 3:36 am 2010
Jeff King
Re: [PATCHv2] pretty: Initialize notes if %N is used
This version looks good to me. 1. Style, no whitespace between arguments. 2. That function name also sucks. I doubt it is worth spending more time on, though. -Peff --
Apr 13, 3:03 am 2010
Johannes Gilger
[PATCHv2] pretty: Initialize notes if %N is used
When using git log --pretty='%N' without an explicit --show-notes, git would segfault. This patches fixes this behaviour by loading the needed notes datastructures if --pretty is used and the format contains %N. When --pretty='%N' is used together with --no-notes, %N won't be expanded. This is an extension to a proposed patch by Jeff King. Signed-off-by: Johannes Gilger &lt;heipei@hackvalue.de&gt; --- Thanks for the feedback Jeff. I've put your suggestions into my patch and tried to come up with ...
Apr 13, 1:59 am 2010
y
[PATCHv3] pretty: Initialize notes if %N is used
From: Johannes Gilger &lt;heipei@hackvalue.de&gt; When using git log --pretty='%N' without an explicit --show-notes, git would segfault. This patches fixes this behaviour by loading the needed notes datastructures if --pretty is used and the format contains %N. When --pretty='%N' is used together with --no-notes, %N won't be expanded. This is an extension to a proposed patch by Jeff King. Signed-off-by: Johannes Gilger &lt;heipei@hackvalue.de&gt; --- Introduced space when calling ...
Apr 13, 3:57 am 2010
Johannes Gilger
[PATCHv3] pretty: Initialize notes if %N is used
When using git log --pretty='%N' without an explicit --show-notes, git would segfault. This patches fixes this behaviour by loading the needed notes datastructures if --pretty is used and the format contains %N. When --pretty='%N' is used together with --no-notes, %N won't be expanded. This is an extension to a proposed patch by Jeff King. Signed-off-by: Johannes Gilger &lt;heipei@hackvalue.de&gt; --- Introduced space when calling userformat_find_requirements and dealt with %+N and %-N during the ...
Apr 13, 4:01 am 2010
Johannes Gilger
[PATCHv4] pretty: Initialize notes if %N is used
When using git log --pretty='%N' without an explicit --show-notes, git would segfault. This patches fixes this behaviour by loading the needed notes datastructures if --pretty is used and the format contains %N. When --pretty='%N' is used together with --no-notes, %N won't be expanded. This is an extension to a proposed patch by Jeff King. Signed-off-by: Johannes Gilger &lt;heipei@hackvalue.de&gt; --- Simpler checking of character after %+ and %- for 'N'. Reindentation of 'case' below 'switch' to ...
Apr 13, 4:26 am 2010
Junio C Hamano
Re: [PATCHv4] pretty: Initialize notes if %N is used
It does not matter for the current set of callers, but it might make sense to make it the responsibility of the caller to clear *w instead of unconditionally clearing what have been accumulated in there by previous calls to this function. It is not entirely implausible for a new caller to have more than one user formats, it uses one or more on the same commit depending on the context, and wants to find all the requirements by feeding the possible formats upfront to this function to fill a ...
Apr 13, 1:01 pm 2010
Johannes Gilger
[PATCHv5] pretty: Initialize notes if %N is used
When using git log --pretty='%N' without an explicit --show-notes, git would segfault. This patches fixes this behaviour by loading the needed notes datastructures if --pretty is used and the format contains %N. When --pretty='%N' is used together with --no-notes, %N won't be expanded. This is an extension to a proposed patch by Jeff King. Signed-off-by: Johannes Gilger &lt;heipei@hackvalue.de&gt; --- Shifted responsibility for zeroing the userformat_want struct to the caller after Junio ...
Apr 13, 1:31 pm 2010
Chris Webb
Re: [PATCH v2] Replace hard-coded path with one from <paths.h>
Sorry for the slow follow up. Replacement patch in follow-up that tries this only on Linux, *BSD and GNU where it's known to work. Should be completely safe now! Best wishes, Chris. --
Apr 13, 2:06 am 2010
Chris Webb
[PATCH v3] Replace hard-coded path with one from <paths.h>
In exec_cmd.c, git hard-codes a default path of /usr/local/bin:/usr/bin:/bin. Get an appropriate value for the system from &lt;paths.h&gt; if possible instead. We only try to include &lt;paths.h&gt; on Linux, FreeBSD, NetBSD, OpenBSD and GNU where it is known to exist. Signed-off-by: Chris Webb &lt;chris@arachsys.com&gt; --- Makefile | 10 ++++++++++ exec_cmd.c | 2 +- git-compat-util.h | 6 ++++++ 3 files changed, 17 insertions(+), 1 deletions(-) diff --git a/Makefile ...
Apr 13, 2:07 am 2010
Junio C Hamano
Re: [PATCH v3] Replace hard-coded path with one from <paths.h>
Ok. Somebody else may want to add an autoconf support on top of this, but this is good as-is, I think. Thanks. --
Apr 13, 1:01 pm 2010
Thomas Rast
Re: [PATCH v3 1/3] diff: add --word-diff option that gen ...
Perhaps. OTOH I just noticed I could also drop the NULL (and let the implicit 0-padding take over) which makes every style fit on a single No, thanks for catching this. -- Thomas Rast trast@{inf,student}.ethz.ch --
Apr 13, 2:27 am 2010
Shawn O. Pearce
Re: [PATCH v2 5/5] describe: Break annotated tag ties by ...
Whoops. Old commit message from v1. I skim read it knowing I needed to adjust something in the message before reusing it, but didn't see anything, so sent it as-is. Junio, it might make sense to drop the part Thomas quoted above before you apply this. -- Shawn. --
Apr 13, 7:08 am 2010
Andreas Ericsson
Re: [PATCH v2 5/5] describe: Break annotated tag ties by ...
We use this patch-series in our buildsystem, where we just now tagged about 14 projects as stable (on top of an earlier beta tag). Everything's working just fine, so... Tested-By: Andreas Ericsson &lt;ae@op5.se&gt; Thanks a lot, Shawn. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should ...
Apr 13, 2:27 am 2010
Shawn O. Pearce
Re: [PATCH v2 5/5] describe: Break annotated tag ties by ...
The 1-second in the original patch had nothing to do about giving one tag an edge over another tag. The meaning of date in the original patch was: date = 0: we haven't yet looked up the date date = 1: we looked it up, but there is no tagger present date &gt; 0: &quot;valid&quot; date, we can sort with it So date = 1 was just about getting ourselves out of the !date case so that we didn't keep parsing a tag which has no tagger field present. In the new version this is handled by the standard ...
Apr 13, 12:46 pm 2010
Junio C Hamano
Re: [PATCH v2 5/5] describe: Break annotated tag ties by ...
Surely I can, but I am curious as to the motivation behind '1 second' in the original patch. If you wanted to give these '1 second' ones slight preference over the ones with 'date stamp at the UNIX epoch', that logic is not there anymore in the re-rolled series, no? --
Apr 13, 12:26 pm 2010
Thomas Rast
Re: [PATCH v2 5/5] describe: Break annotated tag ties by ...
This patch doesn't seem to actually set this, but as a minor nit: the '1 second' contradicts the 0 mentioned in the last patch. (The effect is the same for all practical purposes.) -- Thomas Rast trast@{inf,student}.ethz.ch --
Apr 13, 2:32 am 2010
Jakub Narebski
Re: [PATCHv5 2/6] Gitweb: add support for minifying gitweb.css
Thanks a lot for noticing this bug. GITWEB_JS and GITWEB_CSS were originally meant to be URI to file with gitweb JavaScript code and default gitweb stylesheet,... but during work on minification of JavaScript code and CSS file it somehow got confused to mean source path. If I remember correctly the original patch, before adding required support for minified gitweb.js and gitweb.css to git-instaweb script, and before support for CSS minification had ifdef JSMIN gitweb.cgi: ...
Apr 13, 3:30 pm 2010
Charles Bailey
Re: [PATCHv5 2/6] Gitweb: add support for minifying gitweb.css
I have a question about this last line of the patch. Are GITWEB_JS and GITWEB_CSS supposed to be a source path or a URI? The documentation for install (and my previous assumption) was that they represented the path on the target web server. I'm used to overriding them so that gitweb.cgi can live in my /cgi-bin directory, but the static files are served from /gitweb which is readable but not executable. After this patch I had to removed $(GITWEB_JS) and $(GITWEB_CSS) from the list of ...
Apr 13, 1:28 pm 2010
Dave Abrahams
Re: [PATCH] Switch receive.denyCurrentBranch to &amp;quot;re ...
I would prefer if Git would simply &quot;not refuse,&quot; but barring that, a more verbose error would be helpful. I knew what I was doing in http://github.com/jelmer/dulwich/issues/issue/17, but it took me a long time to even notice git's message. --
Apr 13, 9:42 am 2010
Junio C Hamano
Re: [PATCH] Switch receive.denyCurrentBranch to "refuse"
Of course you are correct, but there are two _right ways_ that are completely different, depending on how the repository you are pushing into is meant to be used: - If you are using it as a shared central repository, a distribution point, or a back-up location, you don't need a working tree, and as you say, the &quot;checked out branch&quot; condition will not trigger, if you made it a bare one. - People do wish a way to keep a repository with a checkout, and that is often the reason ...
Apr 13, 10:57 am 2010
previous daytodaynext day
April 12, 2010April 13, 2010April 14, 2010