git mailing list

FromSubjectsort iconDate
Joyce
Good day.
[Empty message]
Mar 20, 4:58 pm 2010
R. Tyler Ballance
[PATCH] Correct references to /usr/bin/python which may ...
FreeBSD for example does not ship with a /usr/bin/python such that Python installed from ports will be located by default in /usr/local/bin --- Makefile | 2 +- contrib/fast-import/import-zips.py | 2 +- contrib/hg-to-git/hg-to-git.py | 2 +- contrib/p4import/git-p4import.py | 2 +- git_remote_helpers/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3a6c6ea..2b248b4 100644 --- ...
Mar 20, 4:51 pm 2010
R. Tyler Ballance
[PATCH] Correct references to /usr/bin/python which may ...
FreeBSD for example does not ship with a /usr/bin/python such that Python installed from ports will be located by default in /usr/local/bin --- Makefile | 2 +- contrib/fast-import/import-zips.py | 2 +- contrib/hg-to-git/hg-to-git.py | 2 +- contrib/p4import/git-p4import.py | 2 +- git_remote_helpers/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3a6c6ea..2b248b4 100644 --- ...
Mar 20, 4:02 pm 2010
=?utf-8?q?K=C4=81rli ...
Open Wallet Business invented
People, let me point your attention to a new kind of business, which has this far been impossible because of lack of adequate technological solutions and the related attitudes to it along with lacking knowledge. In fact, numerous big software projects, which do/should collect their money from many sources are operational already, just like there are many small developments like some dedicated blogs, which should receive support from many sources. As I see it, currently a great deal of ...
Mar 20, 2:24 pm 2010
Junio C Hamano
What's cooking in git.git (Mar 2010, #05; Sat, 20)
Here are the topics that have been cooking. Commits prefixed with '-' are only in 'pu' while commits prefixed with '+' are in 'next'. The ones marked with '.' do not appear in any of the integration branches, but I am still holding onto them. -------------------------------------------------- [Graduated to "master"] * jk/maint-add-ignored-dir (2010-02-28) 3 commits (merged to 'next' on 2010-03-13 at df91e32) + tests for "git add ignored-dir/file" without -f + dir: fix COLLECT_IGNORED ...
Mar 20, 2:00 pm 2010
Erick Mattos
[PATCH v2] git checkout: create unparented branch by --orphan
Similar to -b, --orphan creates a new branch, but it starts without any commit. After running "git checkout --orphan newbranch", you are on a new branch "newbranch", and the first commit you create from this state will start a new history without any ancestry. "git checkout --orphan" keeps the index and the working tree files intact in order to make it convenient for creating a new history whose trees resemble the ones from the original branch. When creating a branch whose trees have no ...
Mar 20, 1:05 pm 2010
Reporter
Shocking Celebs Clips !
Entirely free SHOKING video clips collected and posted from users all over the Net. Katie Gill, Chelsea Handler, Lanre Idewu, and more! http://ho.io/celebs --
Mar 20, 12:33 pm 2010
Erik Faye-Lund Mar 20, 11:55 am 2010
Erik Faye-Lund
[PATCH v2 2/3] ls: remove redundant logic
find_unique_abbrev() already returns the full SHA-1 if abbrev = 0, so we can remove the logic that avoids the call. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> --- builtin/ls-files.c | 7 ++----- builtin/ls-tree.c | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/builtin/ls-files.c b/builtin/ls-files.c index b065061..c0fbcdc 100644 --- a/builtin/ls-files.c +++ b/builtin/ls-files.c @@ -153,8 +153,7 @@ static void show_ce_entry(const char *tag, struct ...
Mar 20, 11:55 am 2010
Erik Faye-Lund
[PATCH v2 1/3] cherry: support --abbrev option
Switch to parse-options API while we're at it. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> --- builtin/log.c | 39 +++++++++++++++++++++------------------ 1 files changed, 21 insertions(+), 18 deletions(-) diff --git a/builtin/log.c b/builtin/log.c index b70d0f7..fd8d18c 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -1286,8 +1286,11 @@ static int add_pending_commit(const char *arg, struct rev_info *revs, int flags) return -1; } -static const char cherry_usage[] ...
Mar 20, 11:55 am 2010
Erik Faye-Lund
[PATCH v2 3/3] find_unique_abbrev: early out without a memcpy
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> --- sha1_name.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sha1_name.c b/sha1_name.c index bf92417..2b1be58 100644 --- a/sha1_name.c +++ b/sha1_name.c @@ -196,10 +196,10 @@ const char *find_unique_abbrev(const unsigned char *sha1, int len) int status, exists; static char hex[41]; + if (len == 40 || !len) + return sha1_to_hex(sha1); exists = has_sha1_file(sha1); memcpy(hex, sha1_to_hex(sha1), ...
Mar 20, 11:55 am 2010
Mark Rada
[PATCHv4] gitweb: fill in missing parts of minify support
JavaScript minification was added to the git build system, but it was a hidden away feature that did not play by all the rules and broke instaweb when minifying was enabled. This patch fixes instaweb support and adds rules to the build system to take care of minified files; this includes an autoconfigure option so that users do not need to edit the makefiles directly, as well as documentation updates related to gitweb.js and optional minify support. This patch also adds support to minify ...
Mar 20, 11:26 am 2010
Erik Faye-Lund
[PATCH/RFC] rev-list: fix --pretty=oneline with empty message
55246aa (Dont use "<unknown>" for placeholders and suppress printing of empty user formats) introduced a check to prevent empty user-formats from being printed. This test didn't take empty commit messages into account, and prevented the line-termination from being output. This lead to multiple commits on a single line. Correct it by guarding with a check for user-format. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> --- This is a fix for the issue I posted about with rebase ...
Mar 20, 11:20 am 2010
Thomas Koch
rethinking patch management with GIT / topgit
Hi, I'd like to argue, that topgit (tg) fails to fullfill it's task and propose a different approach to the problem of patch management on top of git. IMHO tg fails due to the following reasons: - it's to complicate - AFAIK nobody has solved the problem of managing different patchsets with tg - it pollutes the patch branches with metadata (.topmsg, .topdeps) - even after 1 1/2 years topgit isn't feature complete and development seems to stagnate - there also aren't best practices ...
Mar 20, 10:02 am 2010
Petr Baudis
Re: rethinking patch management with GIT / topgit
Hi! I'd like to single this out - this is a very arbitrary decision and has its distinct pros and cons compared to alternative approaches, and was not taken lightly. It wouldn't be that difficult to go in a different Why not just manage them in separate repositories? If you want to pick I agree that topgit really sucks in many areas. :) While it is usable in practice if you know what you are doing, in some aspects it never got But how is this different from TopGit's approach? ...
Mar 20, 10:47 am 2010
Thomas Koch
Re: rethinking patch management with GIT / topgit
You mean having multiple local working directories per project? That's not nice. If you also work on the project with an IDE, it'd most probably mean Maybe I didn't make clear that the commits on the patchset branch should not necessarily contain the merged content of all patches. The role of the merges is solely to keep pointers to the commits making up the patch branches. Now that you're asking there may however be a similarity to topgit in that you can have one topgit controlled branch ...
Mar 20, 11:53 am 2010
Alex Riesen
[PATCH, resend] Allow passing of configuration parameter ...
The values passed this way will override whatever is defined in the config files. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> --- Documentation/git.txt | 7 +++++ builtin/config.c | 6 +++- cache.h | 2 + config.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ git.c | 9 ++++++ t/t1300-repo-config.sh | 7 +++++ 6 files changed, 101 insertions(+), 1 deletions(-) diff --git a/Documentation/git.txt ...
Mar 20, 9:05 am 2010
Ben Walton
[PATCH 0/2] Template cleanups
Hi All, I noticed that the template sample hooks were a) using shell conventions that may not work under /bin/sh on all platforms and b) using the old git-foo calling conventions in some, but not all, cases. The following two patches rectify this. The build system will now substitute SHELL_PATH and PERL_PATH into files under templates/ so that the templates use the same tools as the rest of git. Ben Walton (2): Make templates honour SHELL_PATH and PERL_PATH Modernize git calling ...
Mar 20, 7:48 am 2010
Ben Walton
[PATCH 2/2] Modernize git calling conventions in hook te ...
The hook templates were still using/referencing 'git-foo' instead of 'git foo.' This patch updates the sample hooks to use the modern conventions instead. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca> --- templates/hooks--commit-msg.sample | 2 +- templates/hooks--post-update.sample | 2 +- templates/hooks--pre-commit.sample | 4 ++-- templates/hooks--pre-rebase.sample | 18 +++++++++--------- templates/hooks--prepare-commit-msg.sample | ...
Mar 20, 7:48 am 2010
Ben Walton
[PATCH 1/2] Make templates honour SHELL_PATH and PERL_PATH
The hook script templates were hard coded to use /bin/sh and perl. This patch ensures that they use the same tools specified for the rest of the suite. The impetus for the change was noticing that, as shipped, some of the hooks used shell constructs that wouldn't work under Solaris' /bin/sh (eg: $(cmd...) substitutions). Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca> --- Makefile | 2 +- templates/Makefile | 17 ...
Mar 20, 7:48 am 2010
Bo Yang
[PATCH] commit: use the generic "sha1_pos" function to l ...
Replace different binary search function with a generic one. Signed-off-by: Bo Yang <struggleyb.nku@gmail.com> --- commit.c | 24 +++++++++--------------- 1 files changed, 9 insertions(+), 15 deletions(-) diff --git a/commit.c b/commit.c index 731191e..dba67d5 100644 --- a/commit.c +++ b/commit.c @@ -6,6 +6,7 @@ #include "diff.h" #include "revision.h" #include "notes.h" +#include "sha1-lookup.h" int save_commit_buffer = 1; @@ -79,23 +80,16 @@ static unsigned long ...
Mar 20, 2:51 am 2010
Bo Yang
GSoC draft proposal: Line-level history browser
Hi, I am very interested in the project 'Line-level history browser', after some days consideration, now I made up a draft of my proposal, I think it is helpful to send it to the list before submitting it. Could you please give me some advise? ----------------------------------------------- Draft proposal: Line-level History Browser =====Purpose of this project===== "git blame" can tell us who is responsible for a line of code, but it can't help if we want to get the detail of how the ...
Mar 20, 2:18 am 2010
Johannes Schindelin
Re: GSoC draft proposal: Line-level history browser
Hi, I like it very much already! You obviously put in a substantial amount of time to learn intricate details about the way Git operates, and what is already available. And you also provided a patch (unrelated to line-level history browser), so you proved that you actually cloned Git, and that you can actually patch it and use Git itself to send a patch to this list. Very good. I think that that might be good for starters, but one could imagine that an integration into "git ...
Mar 20, 4:30 am 2010
Bo Yang
Re: GSoC draft proposal: Line-level history browser
Hi Johannes, That's really a good idea. So, when the program reach the end of the history thread of some changes of line range, it should not stop immediately. It then should make a harder code search and try to find whether the new add lines of code is moved to there or just copied from other place to there. And these kind of search should use fuzzy matching instead of exact string matching. But notice that, detect code movement in one commit is much efficient than detecting code ...
Mar 20, 6:10 am 2010
Junio C Hamano
Re: GSoC draft proposal: Line-level history browser
If you are hooking into "git log", it already has "-M / -C / -C -C" as a notion to express "different levels of digging" to find code movement and copies, and so does "git blame". You probably will save a lot of time if you studied the current blame implementation thouroughly before designing or coding. Two things that you need to think about carefully is why "blame" stops at the commits it shows, and if you could "peel" these lines in its output to peek what are behind the lines, what you ...
Mar 20, 6:30 am 2010
Johannes Schindelin
Re: GSoC draft proposal: Line-level history browser
Hi, [please do not cull the Cc: list] Yes, I think that this should be the target for the user interface. However, the logic should be different enough to merit a completely new Yes, it is much more difficult, and it is more expensive. So: there are several steps in the project (you could also call them "milestones"), and fuzzy matching end lines would come later than simple code movement. And Yes, I think that the performance is alright there, it works well enough for ...
Mar 20, 6:36 am 2010
Alex Riesen
Re: GSoC draft proposal: Line-level history browser
You might want to reconsider the line range syntax. Exactly the same syntax is already used to specify a commit range, so reusing it may lead to confusion. --
Mar 20, 1:35 pm 2010
Junio C Hamano
Re: GSoC draft proposal: Line-level history browser
I would actually recommend you take a look at -L option from blame. What I use most often and find very handy myself is this pattern: blame -L '/^void some_function()/,/^}/' -- path as I do not have to count the line numbers. There also was a discussion on allowing more than one -L to blame, which I think is applicable to this feature. Check the list archive for the past few months. --
Mar 20, 1:57 pm 2010
A Large Angry SCM
Re: GSoC draft proposal: Line-level history browser
I, actually, think the proposed line range syntax works because it uses the same _range_ notation. The issue is how to differentiate the _line_ range(s) from the _commit_ range(s); and, yes, I would like multiple ranges of each type as well as multiple files. --
Mar 20, 2:58 pm 2010
Junio C Hamano
Re: [PATCH] Use test_expect_success for test setups
Nice. Should the one in 4103 be three separate tests? They seem to be preparing the set of test input files and are not expected to fail (unless of course you are futzing with diff-tree, but for that we have t4013). --
Mar 20, 8:42 am 2010
Brian Gernhardt
[PATCH] Use test_expect_success for test setups
Several tests did not use test_expect_success for their setup commands. Putting these start commands into the testing framework means both that errors during setup will be caught quickly and that non-error text will be suppressed without -v. Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com> --- Noticed some extra output when updating my server's copy of git from source. Tested on OS X using bash and dash. t/t3020-ls-files-error-unmatch.sh | 8 ++- ...
Mar 20, 1:29 am 2010
Brian Gernhardt
Re: [PATCH] Use test_expect_success for test setups
I don't think they need to be. t4103 was the first one I did and I did it as three tests since it was three separate "blocks". I had also tried moving the diff-trees closer to where their result is used until I saw how much they were reused. ~~ Brian--
Mar 20, 8:58 am 2010
Brian Gernhardt
[PATCH v2] Use test_expect_success for test setups
Several tests did not use test_expect_success for their setup commands. Putting these start commands into the testing framework means both that errors during setup will be caught quickly and that non-error text will be suppressed without -v. Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com> --- Updated to only have one setup test in t4103, which also includes the initial set of cat commands just in case. t/t3020-ls-files-error-unmatch.sh | 8 ++- t/t3800-mktag.sh ...
Mar 20, 9:03 am 2010
Jonathan Nieder
[PATCH/RFC 0/5] libify verify_tag()
Hi, I noticed that ‘git tag -v’ runs git-verify-tag (dashed form), and while fixing that, I thought, why not make cmd_tag() run verify_tag() directly? Here is what that would look like. The performance impact is pretty negligible: t/t7004-tag.sh is about 2% faster after the change here (with hot or cold cache, it doesn’t matter). What do you think? Jonathan Nieder (5): tag: Run ‘git verify-tag’ using its undashed name verify-tag: use sigchain library to block SIGPIPE Expose ...
Mar 19, 10:09 pm 2010
Jonathan Nieder
[PATCH 4/5] tag -v: Do not spawn a separate process for ...
Aside from handling of SIGPIPE, there was no reason for verify-tag to run in a separate process. Not much advantage to this I can see. It just simplifies things a little. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- builtin/tag.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c index d56c882..d138e0c 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -147,11 +147,7 @@ static int delete_tag(const char *name, const ...
Mar 19, 10:14 pm 2010
Jonathan Nieder
[PATCH 3/5] Expose verify_tag()
Expose the verify_tag() function so ‘git tag -v’ can use it directly in the future. verify_tag() already frees all the memory it allocates and does not call any functions that can exit, so this should be safe. The function is renamed to verify_tag_signature() for clarity and to avoid conflicting with builtin/tag.c and builtin/mktag.c’s unrelated verify_tag(). Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Makefile | 1 + builtin/verify-tag.c ...
Mar 19, 10:13 pm 2010
Jonathan Nieder
[PATCH 1/5] tag -v: use ‘git verify-tag’ without dash
There is not much reason to avoid dashed command names here except setting a good example, but setting a good example is reason enough. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- builtin/tag.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c index 4ef1c4f..d56c882 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -147,9 +147,9 @@ static int delete_tag(const char *name, const char *ref, static int verify_tag(const char ...
Mar 19, 10:11 pm 2010
Jonathan Nieder
[PATCH 2/5] verify-tag: use sigchain library to block SIGPIPE
Without this change, callers cannot use verify_tag() safely without blocking SIGPIPE themselves. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- builtin/verify-tag.c | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/builtin/verify-tag.c b/builtin/verify-tag.c index 9f482c2..91dd1c1 100644 --- a/builtin/verify-tag.c +++ b/builtin/verify-tag.c @@ -10,6 +10,7 @@ #include "tag.h" #include "run-command.h" #include <signal.h> +#include ...
Mar 19, 10:12 pm 2010
Jonathan Nieder
[PATCH 5/5] verify_tag_signature(): let caller look up t ...
Avoid an unnecessary get_sha1() call in cmd_tag(). Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- builtin/tag.c | 2 +- builtin/verify-tag.c | 16 ++++++++++++++-- tag.h | 3 ++- verify-tag.c | 6 +----- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c index d138e0c..df94a8c 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -147,7 +147,7 @@ static int delete_tag(const char *name, const char ...
Mar 19, 10:14 pm 2010
Johannes Sixt
Re: [PATCH 1/5] tag -v: use ‘git verify-tag’ without dash
This should rather be changed to run_command_v_opt(..., RUN_GIT_CMD). See other examples in the code. Oh, you remove this in a later patch. Then why have this patch at all? -- Hannes --
Mar 20, 9:01 am 2010
Jonathan Nieder
Re: [PATCH 1/5] tag -v: use ‘git verify-tag’ without dash
If the rest of the patches go in the right direction, this one should be dropped. I should presented it as two alternative series instead: one that follows the appropriate calling convention here, and one that libifies verify_tag. In other words, no good reason at all; thanks for pointing it out. I’ll send a version of patch 4/5 that doesn’t depend on this one in a moment. Jonathan --
Mar 20, 2:29 pm 2010
Jonathan Nieder
[PATCH 4/5 v2] tag -v: Do not spawn a separate process f ...
Aside from handling of SIGPIPE, there was no reason for verify-tag to run in a separate process. Not much advantage to this I can see. It just simplifies things a little. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Rebased to remove the churn from patch 1, as suggested by Johannes. Thanks. The new series has only 4 patches: [PATCH 2/5] verify-tag: use sigchain library to block SIGPIPE [PATCH 3/5] Expose verify_tag() [PATCH 4/5 v2] tag -v: Do not spawn a separate ...
Mar 20, 3:14 pm 2010
Junio C Hamano
Re: [PATCHv3] gitweb: fill in missing parts of JavaScrip ...
Patch does not apply; no version of Makefile I have has this line in it. --
Mar 20, 8:37 am 2010
Mark Rada
[PATCHv3] gitweb: fill in missing parts of JavaScript mi ...
JavaScript minification was added to the git build system, but it was a hidden away feature that did not play by all the rules. This patch adds an ignore and clean rule to take care of minified files belonging to gitweb. It also updates the gitweb INSTALL file to mention the JavaScript usage and optional minification. To make minification more accessible, a configure option is added to enable minification without making the user edit the Makefiles directly. Signed-off-by: Mark Rada ...
Mar 19, 9:29 pm 2010
Jonathan Nieder
[PATCH] Makefile: Fix occasional GIT-CFLAGS breakage
GNU make’s target-specific variables facility has one weird facet: any variables set for a given target apply to all of its dependencies, too. For example, when running “make exec_cmd.o”, since exec_cmd.o depends on GIT-CFLAGS, the variable assignment in exec_cmd.s exec_cmd.o: ALL_CFLAGS += \ '-DGIT_EXEC_PATH="$(gitexecdir_SQ)"' \ '-DBINDIR="$(bindir_relative_SQ)"' \ '-DPREFIX="$(prefix_SQ)"' applies when refreshing GIT-CFLAGS, and the extra options get included in the tracked ...
Mar 19, 8:20 pm 2010
Jon Seymour
Thoughtworks VCS survey - git rates well...
Readers of this list might be interested in the following two articles: http://martinfowler.com/bliki/VcsSurvey.html http://www.infoq.com/news/2010/03/Review-Version-Control-Systems Not surprisingly (to this observer at least), git won the popularity contest... Regards, jon. --
Mar 19, 7:33 pm 2010
imre.deak
[PATCH] daemon: parse_host_and_port SIGSEGV if port is s ...
From: Imre Deak <imre.deak@gmail.com> This typo will lead to git-daemon dying any time the connect string includes a port after the host= attribute. This can lead for example to one of the following error messages on the client side when someone tries git clone git://...:<port>. When the daemon is running on localhost: fatal: The remote end hung up unexpectedly or when the daemon is connected through an ssh tunnel: fatal: protocol error: bad line length character: erro In the latter ...
Mar 19, 7:23 pm 2010
Junio C Hamano
Re: [PATCH] daemon: parse_host_and_port SIGSEGV if port ...
I wonder why I have this feeling that I've seen this patch before... --
Mar 20, 8:49 am 2010
Benjamin C Meyer
[PATCH 3/4] rebase: use --quiet rather than 2>/dev/null
Signed-off-by: Benjamin C Meyer <bmeyer@rim.com> --- git-rebase.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-rebase.sh b/git-rebase.sh index fb4fef7..bf93019 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -101,7 +101,7 @@ call_merge () { cmt="$(cat "$dotest/cmt.$1")" echo "$cmt" > "$dotest/current" hd=$(git rev-parse --verify HEAD) - cmt_name=$(git symbolic-ref HEAD 2> /dev/null || echo HEAD) + cmt_name=$(git symbolic-ref --quiet HEAD || echo ...
Mar 19, 7:18 pm 2010
Benjamin C Meyer
[PATCH 4/4] rebase-interactive: use --quiet rather than ...
Signed-off-by: Benjamin C Meyer <bmeyer@rim.com> --- git-rebase--interactive.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index 3e4fd14..6f6748c 100755 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@ -793,7 +793,7 @@ first and then run 'git rebase --continue' again." mkdir "$DOTEST" || die "Could not create temporary $DOTEST" : > "$DOTEST"/interactive || die "Could not mark ...
Mar 19, 7:18 pm 2010
Benjamin C Meyer
[PATCH 2/4] pull: use --quiet rather than 2>/dev/null
Signed-off-by: Benjamin C Meyer <bmeyer@rim.com> --- git-pull.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-pull.sh b/git-pull.sh index d45b50c..08dac0a 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -206,7 +206,7 @@ test true = "$rebase" && { . git-parse-remote && remoteref="$(get_remote_merge_branch "$@" 2>/dev/null)" && oldremoteref="$(git rev-parse -q --verify "$remoteref")" && - for reflog in $(git rev-list -g $remoteref 2>/dev/null) + for ...
Mar 19, 7:18 pm 2010
Benjamin C Meyer
[PATCH 1/4] stash: use --quiet rather than using 2>/dev/null
Signed-off-by: Benjamin C Meyer <bmeyer@rim.com> --- git-stash.sh | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/git-stash.sh b/git-stash.sh index aa47e54..2533185 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -39,7 +39,7 @@ clear_stash () { then die "git stash clear with parameters is unimplemented" fi - if current=$(git rev-parse --verify $ref_stash 2>/dev/null) + if current=$(git rev-parse --quiet --verify $ref_stash) then git ...
Mar 19, 7:18 pm 2010
Jonathan Nieder
Re: [PATCH 2/4] pull: use --quiet rather than 2>/dev/null
Are you sure? My local copy of git-rev-list.1 says --quiet Don’t print anything to standard output. This form is primarily meant to allow the caller to test the exit status to see if a range of objects is fully connected (or not). It is faster than redirecting stdout to /dev/null as the output does not have to be formatted. A similar question applies to the other patches in this series: are you sure they suppress the right output? (I haven’t ...
Mar 20, 5:35 am 2010
Benjamin Meyer
Re: [PATCH 2/4] pull: use --quiet rather than 2>/dev/null
Thanks for reviewing the change Yah looks like I made a mistake there, rev-list --quiet suppresses everything and not just stderr. When going through this janitor task I noticed that the --quiet is very inconsistent among git commands. Some suppress error messages, some suppress all messages. This might be something to improve in the future as even though I kept referring to the documentation this error slipped in. That looks like it would speed up that bit of code, but I am still figuring ...
Mar 20, 11:59 am 2010
Andre Ferreira
SoC line-level history browser question
I would like to know how the interface (the command line arguments passed to the program) and output should look like (a rough example would be fine). I'm very interested in participating in Google Summer of Code, but living in the Southern Hemisphere means that I would have to do it in parallel with my university classes, therefore limiting the scope of projects that I can handle. The line-level history browser appears to be well within my reach. André Ferreira --
Mar 19, 7:13 pm 2010
Johannes Schindelin
Re: SoC line-level history browser question
Hi Andre, Basically, this is up to you. If you are interested in the project, you are likely having an idea what you want to use it for, and thus already I do not want to discourage you, but I had very bad experience with somebody who wanted to do GSoC in parallel to something else. Besides, there is no "half-a-GSoC". Also, if you want to participate in GSoC, have a look at Bo Yang's application, which is very well researched and shows some initiative. Ciao, Johannes --
Mar 20, 10:33 am 2010
tsuna
[PATCH] Auto-correct git pull -ff to git pull --ff.
Hi there, I attached a trivial patch that auto-corrects a frequent typo does not trigger any error with git pull. I find it useful so I hope others will too. -- Benoit "tsuna" Sigoure
Mar 19, 6:59 pm 2010
Ian Ward Comfort
[PATCH/RFC v2] RPM spec: optionally include bash complet ...
Include the bash completion routines from contrib/ in our core RPM, in the standard system-wide location, when our spec is built "--with completion". The completion routines are not packaged by default. --- git.spec.in | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/git.spec.in b/git.spec.in index ee74a5e..65a0db8 100644 --- a/git.spec.in +++ b/git.spec.in @@ -1,4 +1,5 @@ # Pass --without docs to rpmbuild if you don't want the documentation +# Pass --with ...
Mar 19, 5:32 pm 2010
Ben Walton
[PATCH] Add a git-completion rpm subpackage to the spec
Make the rpm spec file create a git-completion subpackage that contains the bash completion support from the contrib/ directory. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca> --- This is the alternate method for shipping the bash completion support. I think I personally prefer this method, but I'd be happy to see either solution ship as part of the .spec file so that I don't need to continue handling it separately. git.spec.in | 17 +++++++++++++++++ 1 files changed, 17 ...
Mar 20, 11:18 am 2010
Junio C Hamano
Re: [PATCH] Add a git-completion rpm subpackage to the spec
As long as %{_sysconfdir}/bash_completion.d/ is the appropriate place for *all* RPM based distros, which I don't knonw, the patch looks sensible. May I ask for what distribution you are "handling it"? The last thing I want to do is to get in the way of distro packagers. I looked for "gitcompletion" or "git-completion" in rpmfind.net, but didn't find anything, which may actually be a good sign that whatever we do here won't stomp on whatever distro package maintainers would do. --
Mar 20, 1:12 pm 2010
Ian Ward Comfort Mar 20, 2:01 pm 2010
Ben Walton
Re: [PATCH] Add a git-completion rpm subpackage to the spec
I can't say it's _the_ global definition for RPM based distros, but I suspect the redhat derived ones would use this location. I'm working against RHEL5. The info that Ian provides seems to corroborate this hypothesis. HTH. -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 --
Mar 20, 2:14 pm 2010
Ian Ward Comfort Mar 19, 5:31 pm 2010
Brandon Casey
[PATCH 3/3 resend] t/t5505-remote.sh: escape * to preven ...
From: Brandon Casey <drafnel@gmail.com> This test is supposed to check that git-remote correctly refuses to delete all URLS for the specified remote which match the '.*' regular expression. Since the '*' was not protected, it was interpreted by the shell as a file glob and expanded before being passed to git-remote. The call to git-remote still exited non-zero in this case, and the overall test still passed, but it exited non-zero because git-remote was passed the incorrect number of ...
Mar 19, 5:10 pm 2010
Junio C Hamano Mar 20, 8:23 am 2010
Paul Mackerras
Re: [gitk PATCH] gitk: Disable log.decorate config
We'll need to make that conditional on the git version, since we want gitk to continue to work on older git installations. Paul. --
Mar 19, 10:10 pm 2010
Jeff King
Re: [gitk PATCH] gitk: Disable log.decorate config
log.decorate is still in "next". My understanding was that it was not going to graduate to "master" until this issue had been resolved, and that the current plan was to disable config decoration for --pretty=raw. That would solve the issue without any effort on the part of gitk. -Peff --
Mar 19, 10:34 pm 2010
=?ISO-8859-1?Q?Santi ...
Re: [gitk PATCH] gitk: Disable log.decorate config
I see. I didn't find a version check for the --no-color (I know it is much older, but still), so I did the same. But as Jeff said it will be solved within git itself. Santi --
Mar 20, 4:39 am 2010
Jonathan Nieder
[PATCH v2] Makefile: Fix CDPATH problem
If CDPATH is set, "cd" prints its destination to stdout, causing the common (cd a && tar cf - .) | (cd b && tar xf -) idiom to fail. For example: make -C templates DESTDIR='' install make[1]: Entering directory `/users/e477610/exptool/src/git-1.7.0.2/templates' install -d -m 755 '/home/e477610/exptool/share/git-core/templates' (cd blt && gtar cf - .) | \ (cd '/home/e477610/exptool/share/git-core/templates' && umask 022 && gtar xof -) gtar: This does not look like a tar archive Most ...
Mar 19, 5:06 pm 2010
Mark Rada
Re: [PATCHv2] Add ignore and clean rules for gitweb.min.js
Junio, I went and added some other things that should probably be squashed into this commit, unless it is too late. Updating documentation for jsmin and adding autoconfigure support for it. -- Mark Rada (ferrous26) marada@uwaterloo.ca --
Mar 19, 8:05 pm 2010
Ramkumar Ramachandra
Re: native-git-svn: A Summer of Code 2010 proposal
As Sverre pointed out, this is not the goal of the project. The proposal is not to rewrite git-svn. You're probably right to assume that any such endeavor would be unsuccessful in one summer. The proposal is to create an application that will natively support SVN repositories in Git. I'm simply pointing out the limitations of git-svn as a motivation for this project. As I've mentioned in my proposal, good SVN exporters already exist, and creating an SVN client can be fairly elementary. The ...
Mar 20, 2:19 am 2010
Johannes Schindelin
Re: native-git-svn: A Summer of Code 2010 proposal
Hi, How about reading it? It's on the Wiki. Ciao, Dscho --
Mar 20, 3:48 am 2010
Ramkumar Ramachandra
Re: native-git-svn: A Summer of Code 2010 proposal
Hi, I just prepared another revision of my proposal- I've tried to be clearer about the objective, and included a timeline this time. Note that I've also changed the name from native-git-svn to git-remote-svn, as recommended by Sverre. ====================================== Project Proposal: git-remote-svn | Native SVN support in Git == The Outline == The objective of git-remote-svn is to allow native interaction with SVN repositories in Git. The motivation for writing this comes ...
Mar 20, 1:34 pm 2010
Ramkumar Ramachandra
Re: native-git-svn: A Summer of Code 2010 proposal
Correction: This functionality is already present. I'll just continue working on my SVN client for this period. Regards, Ramkumar --
Mar 20, 1:55 pm 2010
Jonathan Nieder
Re: native-git-svn: A Summer of Code 2010 proposal
Hi, The one thing I worry about is that you are proposing to wait a while before submitting your changes upstream. I would suggest pushing whatever pieces work to contrib/ early on to get more feedback from reviewers and testers. (I am saying this selfishly, as a potential In particular, this seems like very little time to get the code into shape for git.git. Hope that helps. Cheers, Jonathan --
Mar 20, 2:04 pm 2010
Daniel Barkalow
Re: native-git-svn: A Summer of Code 2010 proposal
The structure for remote helpers should be that each foreign system has a single helper which git can call with instructions on what to do (both for foreign-to-git and for git-to-foreign operations). So 3 and 4 have to be functions of the same program, and it's probably best for 2 and 5 and maybe 1 to also be part of this program. The structure is that git will essentially call you in a pipeline like: commands | you | git-fast-import or: git-fast-export | you | ...
Mar 20, 2:58 pm 2010
Ramkumar Ramachandra
Re: native-git-svn: A Summer of Code 2010 proposal
Right. I only split it up for the purposes of illustration. 3 and 4 will be merged into a program called `git-remote-svn` that will automatically be invoked when Git encounters an SVN remote. 2 and 5 will be merged into another program `svn-export-import` which can be thought of as the fusion of svn-fast-export and svn-fast-import. `git-remote-svn` will invoke it when necessary. And yeah, I don't know if I want to write the SVN client into `svn-export-import` or leave it Thanks. I'll have ...
Mar 20, 3:19 pm 2010
Junio C Hamano
Re: [PATCH] Allow passing of configuration parameters in ...
You sent MIME multipart-mixed and I am getting a broken patch. How could this be... If I cannot expect to reliably get a non-linewrapped patch, there doesn't seem to be much point in you and I taking extra time to bother with MIME. Very unhappy (not with you, Alex, but with MIME and whatever tool that wrapped your lines). --
Mar 20, 9:00 am 2010
Nguyen Thai Ngoc Duy
Re: [PATCH] Allow passing of configuration parameters in ...
To me it looks like another config file to the config stack. No thing can go worse (except that if you have core.worktree in $GIT_DIR/config, now also specify -c core.worktree=foo, then core.worktree code would be called twice). However, specifying "-c foo=relativepath" may surprise users. Current working directory may have been moved when that config is used. -- Duy --
Mar 20, 2:09 am 2010
Alex Riesen
Re: [PATCH] Allow passing of configuration parameters in ...
Yes, that's why I said the whole thing is not very friendly. To an experienced user it will be expected, though. --
Mar 20, 2:17 am 2010
Alex Riesen
Re: [PATCH] Allow passing of configuration parameters in ...
That's gmail, again. There must be an attachment with a normal patch, but I'll resend. --
Mar 20, 9:03 am 2010
Junio C Hamano
Re: [PATCH] Allow passing of configuration parameters in ...
I think it was coming from duplicates. The attachment was fine, but the normal part was wrapped. Applied with a manual fix. But thanks anyway. --
Mar 20, 9:20 am 2010
Junio C Hamano
Re: [PATCH] .mailmap: Entries for Alex Bennée, Deskin Mi ...
Thanks for doing the gruntwork; very much appreciated. I'll backburner this and wait until the people who are described by these entries say they want these entries in the .mailmap file. If they do not like the variant that your patch suggested, and if they care, then we will get updates that should be applied. Otherwise they themselves don't care, so why should we ;-)? --
Mar 20, 8:15 am 2010
Sverre Rabbelier
Re: [PATCH] .mailmap: Entries for Alex Bennée, Deskin Mi ...
Heya, [+those who are affected by this] On Fri, Mar 19, 2010 at 12:02, Michael J Gruber --
Mar 20, 10:47 am 2010
Nicolas Pitre
Re: [PATCH] .mailmap: Entries for Alex Bennée, Deskin Mi ...
I think at least one person (Michael) cared, so if the people described by those entries don't provide feedback then that means they don't care and you shouldn't wait after them to apply the patch including those entries. Nicolas --
Mar 20, 11:10 am 2010
Eli Barzilay
Re: Problem with contrib/hooks/post-receive-email
Well, one thing that sounded obvious to me is to expicitly say something about it. The "danger" that I see in this is a central repository setup and people relying on knowing everything that happens by reading through these emails -- then get a bad surprise when something sneaks in past those emails. As for a proper solution, I first thought along the lines of what Brandon suggested -- but I considered doing that with a hash table Yeah, my conclusion was similar... But after considering ...
Mar 19, 8:21 pm 2010
Junio C Hamano
Re: [PATCH] git checkout: create unparented branch by --orphan
You are giving me too much credit. I just made a suggestion, you had the choice to agree to or disagree with it, and I am hoping that you made the final decision to rewrite the patch to match what I suggested not because you wanted a "commit count" in the project with any form of a change, but because you thought the suggested approach made much more sense than the earlier iterations. And in that case, the final decision to submit the patch in this form was due to _you_. Don't give me undue ...
Mar 20, 8:13 am 2010
Erick Mattos
Re: [PATCH] git checkout: create unparented branch by --orphan
Hi, If I was going to look for a commit count I would do spelling/grammar corrections. :-) This is the second feature I am trying to add to git. Both changes of mine are features I use my own. On my compiled and customized version of git. I thought they were good and tried to share following the best free software spirit (I have been always feeling guilty of just using free software). I am not a new developer trying to be known. I am not even "new"... :-) Anyway I think you will ...
Mar 20, 12:06 pm 2010
Junio C Hamano
Re: [PATCH] git checkout: create unparented branch by --orphan
I think you misunderstood the point of having tests. It is not about demonstrating that you did a good job implementing the new feature, or your implementation works as advertised in the submitted form. That is the job of the review process before patch acceptance. Tests are to pretect what you perfected during the patch acceptance review from getting broken by other people in the future, while you are not closely monitoring the mailing list traffic. Many people, me included, tend to ...
Mar 20, 1:30 pm 2010
Erick Mattos
Re: [PATCH] git checkout: create unparented branch by --orphan
All right then. I am going to check it too. But in this particular case, the track is being ignored completely. So to break this behavior people will need to add code to --orphan. That's not a break, it's a linkage! :-) --
Mar 20, 1:36 pm 2010
Junio C Hamano
Re: [PATCH] git checkout: create unparented branch by --orphan
I hope I am not giving you undue burden, but here is what I would add. One thing that I am not sure about is what to do with "-l --orhpan". --- t/t2017-checkout-orphan.sh | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 42 insertions(+), 1 deletions(-) diff --git a/t/t2017-checkout-orphan.sh b/t/t2017-checkout-orphan.sh index 5a9a3fa..e80e167 100755 --- a/t/t2017-checkout-orphan.sh +++ b/t/t2017-checkout-orphan.sh @@ -44,7 +44,48 @@ test_expect_success '--orphan ...
Mar 20, 1:54 pm 2010
Erick Mattos
Re: [PATCH] git checkout: create unparented branch by --orphan
No problem. I also like to do things right. And you have made it light with your attached tests. About -l well... you tell. --
Mar 20, 2:37 pm 2010
Jakub Narebski
Re: What's in a name? Let's use a (uuid,name,email) triplet
It is not true. From the git-config(1) manpage, the description (meaning) of user.name and user.email is: user.email:: Your email address to be recorded in any newly created commits. Can be overridden by the 'GIT_AUTHOR_EMAIL', 'GIT_COMMITTER_EMAIL', and 'EMAIL' environment variables. See linkgit:git-commit-tree[1]. user.name:: Your full name to be recorded in any newly created commits. Can be overridden by the 'GIT_AUTHOR_NAME' and ...
Mar 19, 5:21 pm 2010
Jonathan Nieder
Re: [PATCH 01/16] xdl_merge(): add optional ancestor lab ...
Not so clear to me: $ git grep -e '\* const' origin/master | wc -l 90 $ git grep -e '\*const' origin/master | wc -l 23 Thanks for looking it over. I’ll be sending a rebased version in a moment including your ack; I hope that’s okay. Jonathan --
Mar 20, 3:47 pm 2010
Junio C Hamano
Re: cc/cherry-pick-ff (Re: What's cooking in git.git (Ma ...
That doesn't make any sense to me. Think why you are saying A..B, with an explicit "A". It is because you know it is different from HEAD; otherwise you would have done "git merge B"---slurp all changes between HEAD..B, which would be equivalent to "cherry-pick --ff HEAD..B". As an ingredient for use of scripts that do not want to check (even if they could) if it is dealing with a corner case in which the commit a change is being applied to happens to be the commit the change in ...
Mar 20, 7:20 am 2010
Jonathan Nieder
Re: cc/cherry-pick-ff
In a project that is deeply dedicated to a linear history, the workflow might be something like this: contributor: hack hack hack git commit ... git pull --rebase upstream; # Rebase for submission upstream. git push +HEAD:topic upstream: git pull --cherry-pick contributor1 topic git pull --cherry-pick contributor2 other-topic ... run tests git push master Here, “git pull --cherry-pick remote branch” is shorthand for “git fetch remote branch && git cherry-pick --ff ...
Mar 20, 3:09 pm 2010
Jonathan Nieder
Re: [PATCH] gitk: Skip over AUTHOR/COMMIT_DATE when sear ...
Reviewed-and-tested-by: Jonathan Nieder <jrnieder@gmail.com> There’s a follow-up patch to remove the duplicated code this touches (no functional changes) at <http://bugs.debian.org/465776>. Thanks again. Jonathan --
Mar 19, 11:42 pm 2010
Fredrik Kuivinen Mar 20, 4:21 am 2010
Jonathan Nieder
[PATCH] gitk: Fix display of copyright symbol in non-utf ...
Unless the ‘-encoding’ option is supplied, wish interprets source files using the default system encoding, which depends on locale. This can cause the copyright symbol to display incorrectly in gitk’s about dialog. The -encoding option was added to tcl in version 8.1. Reported-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Hi, When I tried applying your patch, running “make update-po” seemed to undo its effect on translations. ...
Mar 19, 11:14 pm 2010
Jonathan Nieder
[PATCH squash] gitk: Update makefile to keep -encoding o ...
This should be squashed in to fix LANG=de_DE@euro ./gitk-wish, too. Sorry for the trouble. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index e1b6045..1cc922c 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ clean:: gitk-wish: gitk $(QUIET_GEN)$(RM) $@ $@+ && \ - sed -e '1,3s|^exec .* "$$0"|exec $(subst |,'\|',$(TCLTK_PATH_SQ)) "$$0"|' <gitk >$@+ && \ + sed -e ...
Mar 19, 11:24 pm 2010
Jonathan Nieder
Re: [PATCH 1/3] gitk: Avoid calling tk_setPalette on Windows
Do you know whether the situation described by the comment has been addressed for Tk? Maybe gitk could check for an appropriate Tk version to avoid this workaround on all platforms. --
Mar 19, 11:32 pm 2010
Nguyen Thai Ngoc Duy
Re: [PATCH 04/16] worktree setup: call set_git_dir explicitly
Hmm.. I did not notice I did not sent this to git@vger. -- Duy --
Mar 20, 1:10 am 2010
Junio C Hamano
Re: [PATCH] Fix indentation problem in git-ls-files(1)
It could be version differences of AsciiDoc-to-xmlto toolchain. I think I've listed the versions I use (and the ones currently used to format the copies people get from k.org) elsewhere in this thread. If you are using anything newer, perhaps we are seeing an issue waiting to materialize and you are being a useful coalmine canary. If the output you showed is the best we could achieve without using constructs that break the versions that are older than what you used but are still in use ...
Mar 20, 7:01 am 2010
Markus Elfring
Re: [PATCH] Clarification for the command "git checkout ...
> Commits cost almost exactly zero. The storage costs are negligible. I am more concerned about unwanted work flow The specified message is not independent from a language. I see also a potential for typos by this approach which will make it harder to distinguish non-temporary commits from the real ones. Regards, Markus --
Mar 19, 11:00 pm 2010
previous daytodaynext day
March 19, 2010March 20, 2010March 21, 2010