git mailing list

Fromsort iconSubjectDate
Matthieu Moy
Re: git commands
Except that "git-clone" doesn't work with Git >= 1.6. If you ask the question, I suspect you have a rather old version of Git and you're a beginner. Git's user-friendlyness to newbies greatly improved over the last versions, so I'd suggest upgrading. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ --
Aug 20, 12:57 am 2010
Matthieu Moy
[PATCH] xmalloc: include size in the failure message
Out-of-memory errors can either be actual lack of memory, or bugs (like code trying to call xmalloc(-1) by mistake). A little more information may help tracking bugs reported by users. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> --- This kind of thing may help for cases like Subject: Out of memory error during git push http://thread.gmane.org/gmane.comp.version-control.git/153988 wrapper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/wrapper.c ...
Aug 20, 6:01 am 2010
Matthieu Moy
[PATCH] xmalloc: include size in the failure message
Out-of-memory errors can either be actual lack of memory, or bugs (like code trying to call xmalloc(-1) by mistake). A little more information may help tracking bugs reported by users. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> --- I don't promise miracle ;-). But at least, the diagnosis allows one to distinguish small allocations, huge ones, and silly errors like small Sounds good. Not sure why we don't basically use the %lu version everywhere though. wrapper.c | 3 ++- ...
Aug 20, 8:09 am 2010
Ramkumar Ramachandra
[PATCH v2 3/4] fmt-merge-msg: Remove deprecated --summar ...
Remove the deprecated --summary option that served as a syonym to the --log option. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Cc: Johannes Sixt <j.sixt@viscovery.net> Cc: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/git-fmt-merge-msg.txt | 4 ---- builtin/fmt-merge-msg.c | 13 ++----------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/Documentation/git-fmt-merge-msg.txt b/Documentation/git-fmt-merge-msg.txt index 302f56b..78c8a6d ...
Aug 20, 9:54 am 2010
Ramkumar Ramachandra
Re: [PATCH] builtin/checkout: Fix message when switching ...
Hi Tay, Ah yes. It looks like I missed this earlier. Sorry for the noise. -- Ram --
Aug 20, 10:49 am 2010
Ramkumar Ramachandra
[PATCH] builtin/checkout: Fix message when switching to ...
Fix "Switched to a new branch <name>" to read "Switched to branch <name>" when <name> corresponds to an existing branch. This bug was introduced in 02ac983 while introducing the `-B` switch. Cc: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> --- builtin/checkout.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/builtin/checkout.c b/builtin/checkout.c index 156900d..ff5ac1e 100644 --- a/builtin/checkout.c +++ ...
Aug 20, 10:41 am 2010
Ramkumar Ramachandra
Re: Tags, Grafts, and Clones, oh my!
Hi Stephen, Thanks for the testcase! Offhand, it definitely looks like a bug. I'm investigating to figure out which part of the chain is at fault. -- Ram --
Aug 20, 6:39 am 2010
Ramkumar Ramachandra
Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and ...
Hi, Yeah, that was sort of intended- Is this undesired? I noticed that the command-line parsing framework has only OPT_BOOLEAN and OPT_INTEGER, but no OPT_BOOLEAN_OR_INTEGER. -- Ram --
Aug 20, 6:12 am 2010
Ramkumar Ramachandra
Re: wishlist bugreport: make limit configurable for do_f ...
Hi Johannes, Ah, just when I was about to post the series. Excellent idea! I'll drop Jonathan's patch and fixup the series to do this in a few I'll use git_config_bool_or_int for this -- we've traded off the ability to say "infinite" though. -- Ram --
Aug 20, 2:19 am 2010
Ramkumar Ramachandra
Re: Tags, Grafts, and Clones, oh my!
Hi Stephen, It seems too vague to me. Can you submit your testcase? Perhaps we can work from there? -- Ram --
Aug 19, 11:15 pm 2010
Ramkumar Ramachandra
[PATCH 0/4] fmt-merge-msg improvements
Hi, The first three parts make `merge.log` and `--log` an integer. While at it, drop the deprecated `--summary` option: blame tells me that it was marked deprecated back in 2008. The series is based on pu for no good reason. Thanks to Johannes and Jonathan for their inputs. -- Ram Ramkumar Ramachandra (4): fmt-merge-msg: Make the number of log entries in commit message configurable fmt-merge-msg: Update command line options to sync with config options fmt-merge-msg: ...
Aug 20, 5:23 am 2010
Ramkumar Ramachandra
Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and ...
Hi, Minor mistake: This patch removes the --summary option from the documentation before removing it from the code. Swapping this patch with part 4 will fix the issue. -- Ram --
Aug 20, 5:39 am 2010
Ramkumar Ramachandra
Re: [PATCH v2 4/4] fmt-merge-msg: Update fmt-merge-msg a ...
Hi Jakub, Hm, I think I found a bug in the option parser. Currently writing a patch. $ git fmt-merge-msg --log < .git/FETCH_HEAD error: option `log' requires a value $ git fmt-merge-msg --log= < .git/FETCH_HEAD $ # Works -- Ram --
Aug 20, 11:06 am 2010
Ramkumar Ramachandra
Re: [PATCH v3 1/5] parse-options: Allow PARSE_OPT_NOARG ...
Hi Junio, Oh, does it mean that? I might have interpreted the description in `parse-options.h` too literally: "says that this option takes no argument". So I'm handling the case when an integer option is That case is already handled. The condition (opt->flags & PARSE_OPT_OPTARG && Okay, let me explain. Let's say I want to have an option that takes an integer argument, say `foo`. To set it to the integer argument 42, I can say `--foo=42`. To set it to its default value, I could ...
Aug 20, 1:01 pm 2010
Ramkumar Ramachandra
Re: wishlist bugreport: make limit configurable for do_f ...
Hi Jonathan, Oops. I forgot about the new policy: when a patch isn't ready for inclusion, I must say that explicitly and sign off so others can base their work on my patch, right? Looks good- since you're interested in this too, I'll include your patch, test it and post a series to the list. Thanks. -- Ram --
Aug 20, 1:36 am 2010
Ramkumar Ramachandra
[PATCH 1/4] fmt-merge-msg: Make the number of log entrie ...
Make the `merge.log` option either an integer or boolean instead of just a boolean. The integer can be used to specify how many merged commits to summarize (at maximum) in the merge message. Let true mean 20. Default to false. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Reported-by: Yaroslav Halchenko <debian@onerussian.com> Cc: Johannes Sixt <j.sixt@viscovery.net> Cc: Jonathan Nieder <jrnieder@gmail.com> --- builtin/fmt-merge-msg.c | 23 +++++++++++++++-------- 1 files ...
Aug 20, 5:23 am 2010
Ramkumar Ramachandra
Re: wishlist bugreport: make limit configurable for do_f ...
Hi Yaroslav, You're perhpas looking for something like this? Warning: Untested. -- 8< -- commit 86c34c682345843d9138882a85ba36faf10e0d95 Author: Ramkumar Ramachandra <artagnon@gmail.com> Date: Fri Aug 20 12:12:59 2010 +0530 fmt-merge-msg: Make the number of log entries in shortlog configurable Introduce a new configuration option called merge.logLimit to limit the number of log entries displayed in the shortlog of a merge commit configurable. Set the default ...
Aug 19, 11:47 pm 2010
Ramkumar Ramachandra
Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and ...
Hi Jonathan, Thanks, I'll re-roll with this fix. -- Ram --
Aug 20, 8:00 am 2010
Ramkumar Ramachandra
[PATCH v3 0/5] fmt-merge-msg improvements
Hi, There's now a new patch in the series; thanks to Jakub for poking me hard enough :) -- Ram Ramkumar Ramachandra (5): parse-options: Allow PARSE_OPT_NOARG in integer arguments fmt-merge-msg: Make the number of log entries in commit message configurable fmt-merge-msg: Update command line options to sync with config options fmt-merge-msg: Remove deprecated --summary option fmt-merge-msg: Update fmt-merge-msg and merge-config documentation ...
Aug 20, 12:14 pm 2010
Ramkumar Ramachandra
Re: [PATCH 3/3] {fetch,upload}-pack: allow --depth=0 to ...
Hi Jakub, Just outdated by a few seconds. Johannes suggested that we reuse merge.log, making it a bool_or_int option. I What about using -1 to mean infinity and reserving 0 for false instead? -- Ram --
Aug 20, 2:28 am 2010
Ramkumar Ramachandra Aug 20, 5:28 am 2010
Ramkumar Ramachandra
[PATCH v2 4/4] fmt-merge-msg: Update fmt-merge-msg and m ...
Update the documentation of fmt-merge-msg and merge-config to reflect the fact that `merge.log` can either be a boolean or integer option now, instead of just a boolean. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> --- Documentation/git-fmt-merge-msg.txt | 20 +++++++++----------- Documentation/merge-config.txt | 8 ++++++-- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Documentation/git-fmt-merge-msg.txt b/Documentation/git-fmt-merge-msg.txt index ...
Aug 20, 9:54 am 2010
Ramkumar Ramachandra
[PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and merg ...
Update the documentation of fmt-merge-msg and merge-config to reflect the fact that `merge.log` can either be a boolean or integer option now, instead of just a boolean. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Cc: Johannes Sixt <j.sixt@viscovery.net> Cc: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/git-fmt-merge-msg.txt | 24 +++++++++--------------- Documentation/merge-config.txt | 8 ++++++-- 2 files changed, 15 insertions(+), 17 deletions(-) diff ...
Aug 20, 5:24 am 2010
Ramkumar Ramachandra
Re: [PATCH] shell: Rewrite documentation and improve err ...
Hi, Quick fixup: -- 8< -- diff --git a/Documentation/git-receive-pack.txt b/Documentation/git-receive-pack.txt index 2b07e44..2790eeb 100644 --- a/Documentation/git-receive-pack.txt +++ b/Documentation/git-receive-pack.txt @@ -8,7 +8,7 @@ git-receive-pack - Receive what is pushed into the repository SYNOPSIS -------- -'git receive-pack' <directory> +'git-receive-pack' <directory> DESCRIPTION ----------- --
Aug 20, 12:51 pm 2010
Ramkumar Ramachandra
[PATCH 2/4] fmt-merge-msg: Update command line options t ...
Update the `--log` and `--summary` command line options to be integers and have the same effect as the `merge.log` and `merge.summary` configuration options. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Cc: Johannes Sixt <j.sixt@viscovery.net> Cc: Jonathan Nieder <jrnieder@gmail.com> --- builtin/fmt-merge-msg.c | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/builtin/fmt-merge-msg.c b/builtin/fmt-merge-msg.c index 66b1cbd..67f24f8 ...
Aug 20, 5:23 am 2010
Ramkumar Ramachandra
[PATCH v3 4/5] fmt-merge-msg: Remove deprecated --summar ...
Remove the deprecated --summary option that served as a syonym to the --log option. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> --- Documentation/git-fmt-merge-msg.txt | 4 ---- builtin/fmt-merge-msg.c | 13 ++----------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/Documentation/git-fmt-merge-msg.txt b/Documentation/git-fmt-merge-msg.txt index 302f56b..78c8a6d 100644 --- a/Documentation/git-fmt-merge-msg.txt +++ ...
Aug 20, 12:15 pm 2010
Ramkumar Ramachandra
[PATCH v3 5/5] fmt-merge-msg: Update fmt-merge-msg and m ...
Update the documentation of fmt-merge-msg and merge-config to reflect the fact that `merge.log` can either be a boolean or integer option now, instead of just a boolean. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> --- Documentation/git-fmt-merge-msg.txt | 20 +++++++++----------- Documentation/merge-config.txt | 8 ++++++-- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Documentation/git-fmt-merge-msg.txt b/Documentation/git-fmt-merge-msg.txt index ...
Aug 20, 12:15 pm 2010
Ramkumar Ramachandra
[PATCH 4/4] fmt-merge-msg: Remove deprecated --summary option
Remove the deprecated --summary option that served as a syonym to the --log option. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> --- Documentation/git-fmt-merge-msg.txt | 4 ---- builtin/fmt-merge-msg.c | 13 ++----------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/Documentation/git-fmt-merge-msg.txt b/Documentation/git-fmt-merge-msg.txt index a930eeb..e3be3a3 100644 --- a/Documentation/git-fmt-merge-msg.txt +++ ...
Aug 20, 5:24 am 2010
Ramkumar Ramachandra
[PATCH] shell: Rewrite documentation and improve error message
Update the documentation of 'git shell' to mention the interactive mode and COMMAND_DIR. Also provide a hint when interactive mode is not available in the shell. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Cc: Greg Brockman <gdb@MIT.EDU> Cc: Petr Baudis <pasky@suse.cz> --- Documentation/git-receive-pack.txt | 2 +- Documentation/git-shell.txt | 27 ++++++++++++++++----------- shell.c | 7 +++++-- 3 files changed, 22 insertions(+), 14 ...
Aug 20, 12:44 pm 2010
Ramkumar Ramachandra
[PATCH v2 2/4] fmt-merge-msg: Update command line option ...
Update the `--log` and `--summary` command line options to be integers and have the same effect as the `merge.log` and `merge.summary` configuration options. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Cc: Johannes Sixt <j.sixt@viscovery.net> Cc: Jonathan Nieder <jrnieder@gmail.com> --- builtin/fmt-merge-msg.c | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/builtin/fmt-merge-msg.c b/builtin/fmt-merge-msg.c index e967a05..b10658b ...
Aug 20, 9:54 am 2010
Ramkumar Ramachandra
[PATCH v2 1/4] fmt-merge-msg: Make the number of log ent ...
Make the `merge.log` option either an integer or boolean instead of just a boolean. The integer can be used to specify how many merged commits to summarize (at maximum) in the merge message. Let true mean 20. Default to false. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Reported-by: Yaroslav Halchenko <debian@onerussian.com> Thanks-to: Johannes Sixt <j.sixt@viscovery.net> Thanks-to: Jonathan Nieder <jrnieder@gmail.com> --- builtin/fmt-merge-msg.c | 23 +++++++++++++++-------- ...
Aug 20, 9:54 am 2010
Ramkumar Ramachandra
[PATCH v3 2/5] fmt-merge-msg: Make the number of log ent ...
Make the `merge.log` option either an integer or boolean instead of just a boolean. The integer can be used to specify how many merged commits to summarize (at maximum) in the merge message. Let true mean 20. Default to false. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Reported-by: Yaroslav Halchenko <debian@onerussian.com> Thanks-to: Johannes Sixt <j.sixt@viscovery.net> Thanks-to: Jonathan Nieder <jrnieder@gmail.com> --- builtin/fmt-merge-msg.c | 23 +++++++++++++++-------- ...
Aug 20, 12:14 pm 2010
Ramkumar Ramachandra
[PATCH v3 3/5] fmt-merge-msg: Update command line option ...
Update the `--log` and `--summary` command line options to be integers and have the same effect as the `merge.log` and `merge.summary` configuration options. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Cc: Johannes Sixt <j.sixt@viscovery.net> Cc: Jonathan Nieder <jrnieder@gmail.com> --- builtin/fmt-merge-msg.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/builtin/fmt-merge-msg.c b/builtin/fmt-merge-msg.c index ...
Aug 20, 12:15 pm 2010
Ramkumar Ramachandra
[PATCH v2 0/4] fmt-merge-msg improvements
What changed since last time: Brought `--no-log` option back. Ramkumar Ramachandra (4): fmt-merge-msg: Make the number of log entries in commit message configurable fmt-merge-msg: Update command line options to sync with config options fmt-merge-msg: Remove deprecated --summary option fmt-merge-msg: Update fmt-merge-msg and merge-config documentation Documentation/git-fmt-merge-msg.txt | 24 +++++++------------ Documentation/merge-config.txt | 8 +++++- ...
Aug 20, 9:54 am 2010
Ramkumar Ramachandra
Re: [PATCH] grep -A/-B/-Cinfinity to get full context
Hi Jonathan, Elegant. OPT_INTEGER for integers without the ability to represent infinity, and OPT_INT_INF for integers with definite representation Nice. You're making the caller pass the `inf_val` argument - this way, each caller can figure out some integer that's outside its sane range Okay, you've used the same character "n" for OPT_INTEGER and OPT_INT_INF. Thanks for the pleasant reading. -- Ram --
Aug 20, 6:32 am 2010
Ævar Arnfjörð Bjarmason
Re: [PATCH] compat/regex: get rid of old-style definition
CC-ing Aharon Robbins, perhaps this is something upstream gawk/glibc It fails for your Make script because you define --
Aug 20, 12:47 am 2010
Ævar Arnfjörð Bjarmason
Re: [PATCH] tests: fix syntax error in "Use advise() for ...
I must say, you guys have an odd sense of aesthetics :) --
Aug 20, 7:22 am 2010
Ævar Arnfjörð Bjarmason
Re: t7610-mergetool.sh -q isn't quiet
On Fri, Aug 20, 2010 at 06:50, Brian Gernhardt That should also use test_cmp. --
Aug 20, 2:03 pm 2010
Stephen Bash
Re: Tags, Grafts, and Clones, oh my!
No problem. I was very happily to isolate it outside the large repo I was working with... Contrary to my first e-mail, 'git checkout -b branchFoo tagFoo' doesn't solve the problem... My guess is I got lazy and did a "normal" local clone (no file URL) when I was testing. Data from further testing: - doing a "normal" local clone doesn't emit the error - a remote clone over ssh does emit the error (so it's not just file:///) - in a brand new repo (init'ed, not cloned) 'git fetch ../foo ...
Aug 20, 7:40 am 2010
Stephen Bash
Tags, Grafts, and Clones, oh my!
Hi all- I'm currently working on migrating my company's SVN repository to git. Based on a conversation with Ram at the beginning of the summer, I'm using svn-fe plus a couple of my own scripts. To create the git branches and tags from the svn-fe generated repo I clone a bunch of "mini-repos", which I subdirectory-filter, then git fetch the branches/tags from the mini-repos into a "fusion" repo where I graft everything back together, and finally one last filter-branch to permanently commit the ...
Aug 19, 5:54 pm 2010
Stephen Bash
refs/original breaks git-clone for tags (was Re: Tags, G ...
After a lot of guess and check, it appears the issue is somehow related to the refs/original directory created by filter-branch. If that directory is moved out of refs/ or deleted the clone succeeds. Digging further, a simple rename of refs/original/refs/tags/tagFoo to anything else also fixes the problem. A simplified test case is: git init foo cd foo echo A >> foo.txt git add foo.txt git commit -m "Created foo" git tag -am "Tagging foo" tagFoo git filter-branch --env-filter 'export ...
Aug 20, 12:08 pm 2010
Stephen Bash
Re: Tags, Grafts, and Clones, oh my!
Sure: mkdir gitTagBug cd gitTagBug git init foo cd foo echo A >> foo.txt git add foo.txt git commit -m "Created foo" GRAFT_PARENT=`git rev-parse master` echo B >> foo.txt git commit -am "Added B" cd .. git init bar cd bar echo A >> foo.txt echo C >> foo.txt git add foo.txt git commit -m "Added C" GRAFT_CHILD=`git rev-parse master` git tag -am "Tagging foo C" tagFoo $GRAFT_CHILD cd .. cd foo git fetch ../bar refs/tags/tagFoo:refs/tags/tagFoo echo "$GRAFT_CHILD ...
Aug 20, 6:00 am 2010
Brian Gernhardt
t7610-mergetool.sh -q isn't quiet
I'm just posting this to the list because I should really already be in bed... Running t7610-mergetool with -q isn't quiet. This is also noticeable when running the full test suite in a TAP harness (e.g. prove). $ ./t7610-mergetool.sh -q Normal merge conflict for 'file1': {local}: modified {remote}: modified Normal merge conflict for 'file2': {local}: created {remote}: created Normal merge conflict for 'subdir/file3': {local}: modified {remote}: modified # passed all 7 ...
Aug 19, 11:50 pm 2010
Charles Bailey
Re: [PATCH] mergetool: Skip autoresolved paths
Actually, it's been like this since c4b4a5af which is when mergetool was introduced. (b0169d84 didn't change this line, 0eea3451 but made only whitespace changes, it comes from the original mergetool code.) When you say "drop it" what are you proposing to replace it with? We're in the middle of a shell pipe which has replaced stdin and merge_file needs access to the human on it's stdin; hence the </dev/tty. Strictly. I believe that the >/dev/tty isn't needed. Is there some way of ...
Aug 20, 2:57 am 2010
Charles Bailey
Re: [PATCH] mergetool: Remove explicit references to /dev/tty
No special reason, I just thought it was more natural to save it at the ... but given that this approach is evidently less portable your way is Thanks, I'll re-roll in a bit at squash your fixes in, if that's OK? Charles. --
Aug 20, 6:50 am 2010
Charles Bailey
[PATCH] mergetool: Remove explicit references to /dev/tty
mergetool used /dev/tty to switch back to receiving input from the user via inside a block with a redirected stdin. This harms testability, so change mergetool to save its original stdin to an alternative fd in this block and restore it for those sub-commands that need the original stdin. Signed-off-by: Charles Bailey <charles@hashpling.org> --- This works on my fedora 12 box with bash. The redirects should be standard but this could do with some testing on other bourne ...
Aug 20, 4:17 am 2010
Charles Bailey
[PATCH v2] mergetool: Remove explicit references to /dev/tty
mergetool used /dev/tty to switch back to receiving input from the user via inside a block with a redirected stdin. This harms testability, so change mergetool to save its original stdin to an alternative fd in this block and restore it for those sub-commands that need the original stdin. Includes additional compatibility fix from Jonathan Nieder. Tested-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Charles Bailey <charles@hashpling.org> --- Now works on ksh as well as bash ...
Aug 20, 8:25 am 2010
Charles Brossollet
git diff shows no output
Hello, I'm a new user of git, and I meet a very strange behaviour with the git diff command. I have modified stuff in a file, with changes both in the index and the working tree. "git diff" shows nothing, while "git diff | cat" shows the diff, as well as "git diff>output.txt" puts diff in output.txt. Quite Weird I'm on Mac OS X 10.6.4, using git 1.7.2.1, installed via macports. Best, -- Charles --
Aug 20, 6:02 am 2010
Christian Couder
Re: [RFC/PATCH 1/2] commit: add parse_commit_repl() to r ...
Ok so please apply Duy's patch perhaps with an improved commit message. Thanks, Christian. --
Aug 19, 9:04 pm 2010
David Aguilar
Re: [PATCH] mergetool: Skip autoresolved paths
git-mergetool lines 295-307: files_to_merge | while IFS= read i do if test $last_status -ne 0; then prompt_after_failed_merge < /dev/tty || exit 1 fi printf "\n" merge_file "$i" < /dev/tty > /dev/tty last_status=$? if test $last_status -ne 0; then rollup_status=1 fi done The reason the test fails without a tty is that we've never exercised this code in the past. This commit did not introduce the "< /dev/tty > /dev/tty" idiom. It was ...
Aug 19, 8:52 pm 2010
Yaroslav Halchenko
wishlist bugreport: make limit configurable for do_fmt_m ...
Hi Git Developers, Shame on me but couldn't figure out if there is any official bug tracker for git -- previously I just complained here, so keeping the tradition: merge.log (or merge.summary) enables a really nice feature of including a list of commits involved in the merge. Unfortunately it is limited to 20 entries and only includes total number of included commits if that is larger than 20. Looking at the source code (if I got it right) static int do_fmt_merge_msg(int merge_title, ...
Aug 19, 7:01 pm 2010
Clemens Buchacher
Re: [PATCH] optionally disable overwriting of ignored files
Thanks. I am just waiting for some kind of feedback. I'm not going to write documentation for something that won't get accepted. Clemens
Aug 20, 11:48 am 2010
Felipe Contreras
Re: Proposal for new Git Wiki admin
On Wed, Aug 11, 2010 at 5:24 PM, Ramkumar Ramachandra Why hasn't this been done? Also, Johannes can give admin rights too. -- Felipe Contreras --
Aug 20, 4:12 am 2010
Junio C Hamano
Re: [PATCH] builtin/checkout: Fix message when switching ...
Hmm, I somehow find this version easier to read. --
Aug 20, 11:17 am 2010
Junio C Hamano
Re: [PATCH] optionally disable overwriting of ignored files
What is this patch based on? I don't see a branch that has these two --
Aug 20, 1:46 pm 2010
Junio C Hamano
Re: [PATCH] xmalloc: include size in the failure message
Unless a single allocation try to grab unreasonably amount of memory, probably a failure from a specific single failure may not help much. Perhaps use %lu format with cast to ulong? I see (conditional) use of %zu in alloc.c only for a debugging codepath nobody exercises, which does this: #ifdef NO_C99_FORMAT #define SZ_FMT "%u" #else #define SZ_FMT "%zu" #endif static void report(const char *name, unsigned int count, size_t size) ...
Aug 20, 7:47 am 2010
Junio C Hamano
Re: [PATCH] optionally disable overwriting of ignored files
If (and this may be a big IF) it is reasonable to add paths to .gitignore that you do not want to lose, then you would want to have three classes of untracked paths: "precious but ignored", "trashable" (and by definition ignored), and "unignored" (and by definition is not ignored and is precious). As I already pointed out, we don't support the "precious but ignored" class. So an obvious alternate solution to your particular case is not to add such a path to the gitignore mechanism. I have a ...
Aug 20, 1:35 pm 2010
Junio C Hamano
Re: [PATCH] tests: fix syntax error in "Use advise() for ...
I'd have to agree. If I were writing this I would probably use '\'' myself but that is not because it looks good (it does not) but in my experience it tends to be the least error prone. But your original is just fine. --
Aug 20, 10:51 am 2010
Junio C Hamano
Re: [PATCH v3 1/5] parse-options: Allow PARSE_OPT_NOARG ...
Sorry but why? Doesn't NOARG mean "Do not take an argument, if you give me an argument that is an error"? I would understand if this were OPT_OPTARG, though. --
Aug 20, 12:49 pm 2010
Junio C Hamano
Re: [PATCH] xmalloc: include size in the failure message
I have been wondering about the same thing, but perhaps because we won't have to worry too much about size_t needing to be unsigned long long on older platforms where %z is not supported, while we expect %z will be available on larger where using %lu may become an issue? --
Aug 20, 9:31 am 2010
Raja R Harinath
Re: [PATCH] tests: fix syntax error in "Use advise() for ...
There's also the slightly longer but somewhat prettier '"'"'. - Hari --
Aug 20, 3:13 am 2010
Johannes Sixt
Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and ...
Not only that: It also removes --no-log, and makes the argument to --log mandatory, doesn't it? -- Hannes --
Aug 20, 5:44 am 2010
Johannes Sixt
Re: wishlist bugreport: make limit configurable for do_f ...
I don't miss it. But can we still write in the config file [merge] log as a short-hand for [merge] log = true ? If *that* were not possible anymore, it would be a regression. -- Hannes --
Aug 20, 2:29 am 2010
Johannes Sixt
Re: wishlist bugreport: make limit configurable for do_f ...
Do we need --log-limit? Why not just --log=42 and --no-log equals --log=0? Ditto for the config option: merge.log=42 merge.log=0 and for backwards compatibility: merge.log=false === merge.log=0 merge.log=true === merge.log=20 -- Hannes --
Aug 20, 2:10 am 2010
Thomas Jampen
Out of memory error during git push
Hi all I'm experiencing the following error while pushing a git repo (home directory) to my QNAP TS-210: user@mypc:~$ git push origin master Counting objects: 12532, done. Delta compression using up to 2 threads. Compressing objects: 100% (8974/8974), done. fatal: Out of memory, malloc failed, 986.06 MiB | 1.65 MiB/s error: pack-objects died of signal 13 error: pack-objects died with strange error error: failed to push some refs ...
Aug 20, 2:11 am 2010
Thomas Jampen
Re: Out of memory error during git push
I set the value on both (Laptop and NAS) and got the following error: Counting objects: 13051, done. Delta compression using up to 2 threads. warning: suboptimal pack - out of memory Compressing objects: 100% (9848/9848), done. error: index-pack died of signal 9), 1.27 GiB | 308 KiB/s error: pack-objects died of signal 13 error: pack-objects died with strange error error: failed to push some refs to 'ssh://...' Any ideas? Tom --
Aug 20, 9:01 am 2010
Thomas Jampen
Re: Out of memory error during git push
I'm using git version 1.7.0.4 on my Kubuntu 10.04 Laptop and git version 1.7.1.1 on my QNAP NAS. On my Laptop and on the NAS, when I execute: sudo sysctl vm.overcommit_memory I get: vm.overcommit_memory = 0 Do you propose to set this to '2' in order to disable overcommitting? If yes, where (on the Laptop and/or on the NAS)? Thanks, Tom --
Aug 20, 7:26 am 2010
Thomas Jampen
Re: Out of memory error during git push
My NAS has 256MB RAM. While the push is running, there is between 20-50MB RAM available according to MemFree reported by 'head /proc/meminfo'. The harddrive space should not be an issue, its about 2TB. --
Aug 20, 2:21 pm 2010
Joshua Jensen
Re: [PATCH] optionally disable overwriting of ignored files
----- Original Message ----- From: Clemens Buchacher I like the idea... :) My vote doesn't count, though... Josh --
Aug 20, 12:01 pm 2010
Joshua Juran
Re: git commands
They're the same command. You should use the first form to actually run the command and the hyphenated form for consulting the manual: git clone git://git.kernel.org/pub/scm/git/git.git man git-clone You may get speedier responses to easy questions on IRC, in #git. Cheers, Josh --
Aug 20, 12:32 am 2010
Jakub Narebski
Re: [PATCH 3/3] {fetch,upload}-pack: allow --depth=0 to ...
Perhaps --depth=0 should also work as if --tags were specified on command line? BTW. shouldn't git fetch tags that point to commits If there were more options that use <n> == 0 to actually mean unlimited (infinity), perhaps it would be better to extend parseopt to provide for such situation, e.g. OPT_INT_INF or something. This way we would avoid code duplication. ... oh, wait, the newly introduced[1] git-merge `--log-limit' option uses --log-limit=0 to mean unlimited. [1] ...
Aug 20, 2:22 am 2010
Jakub Narebski
Re: [PATCH 3/3] {fetch,upload}-pack: allow --depth=0 for ...
It should probably be 'Specify 0 or "inf" for infinite (unlimited) depth', It's very good that you included test of making repository non-shallow. -- Jakub Narebski Poland --
Aug 20, 3:11 pm 2010
Jakub Narebski
Re: [PATCH v2 4/4] fmt-merge-msg: Update fmt-merge-msg a ...
Shouldn't it be +'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] -F <file> i.e. isn't <n> in '--log' optional? -- Jakub Narebski Poland ShadeHawk on #git --
Aug 20, 10:36 am 2010
Jonathan Nieder
[PATCH 01/17] Documentation: tweak description of log.date
The markup "'git log'\'s" produces a stray backslash in the produced man page. Removing the backslash fixes it. While at it, tweak the surrounding description for readability. Reported-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/config.txt | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/config.txt b/Documentation/config.txt index f81fb91..72cb2c9 100644 --- ...
Aug 20, 3:20 am 2010
Jonathan Nieder
Re: Out of memory error during git push
(+cc: Nicolas, who knows the packing code pretty well) Hi, What version of git are you using? Do you have overcommit accounting enabled? I am not sure this is the problem you are running into, but pack-objects like many other parts of git uses mmap() to read packfiles, which can I don't know --- this is out of my depth. :) Good luck, Jonathan --
Aug 20, 5:51 am 2010
Jonathan Nieder
[PATCH 11/17] Documentation: remove backslash before ~ i ...
Use the {tilde} entity to get a literal tilde without fuss. With \~, asciidoc 8.5.2 (and probably earlier versions) keeps the backslash in the output. Reported-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/git-fast-export.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/git-fast-export.txt b/Documentation/git-fast-export.txt index 98ec6b5..cbc31c1 100644 --- ...
Aug 20, 3:34 am 2010
Jonathan Nieder
Re: Out of memory error during git push
It might be interesting to try echo 1 >/proc/sys/vm/overcommit_memory but 0 is generally the only sane setting. --
Aug 20, 7:50 am 2010
Jonathan Nieder
Re: git commands
By the way, when documentation points to the latter (and is not pointing to some man page like git-clone(1)), please feel free to let us know, preferrably with a patch. :) There is a history that might have left some of the documentation inconsistent. Regards, Jonathan --
Aug 20, 12:51 am 2010
Jonathan Nieder Aug 19, 11:26 pm 2010
Jonathan Nieder
Re: [PATCH] mergetool: Remove explicit references to /dev/tty
Yeah, that's okay. :) Thanks for your work. --
Aug 20, 7:19 am 2010
Jonathan Nieder
[PATCH 02/17] Documentation: quoting trouble in "git rm" ...
The current output (with Asciidoc 8.5.2) seems a bit broken: given two directories ‘d` and d2, there is a difference between using git rm 'd*’ and ‘git rm 'd/\*\’`, as the former will also remove all of directory d2. In other words, the markup parses as given two directories << d` and _d2_, there is a difference between using _git rm 'd* >>_ and << git rm 'd/\*\ >> `. I suspect there is an asciidoc bug involved (why is ' a candidate closing-quote mark when it is preceded by a ...
Aug 20, 3:21 am 2010
Jonathan Nieder
Re: [PATCH] mergetool: Skip autoresolved paths
You can duplicate important fds, like so: exec 3<&0 foo | ( bar baz quuz <&3 It's standard, luckily. See http://unix.org/2008edition/ Hope that helps. --
Aug 20, 3:09 am 2010
Jonathan Nieder
[PATCH 04/17] Documentation: clarify quoting in "git add ...
The intended text looks like this: · Adds content from all *.txt files under Documentation directory and its subdirectories: $ git add Documentation/\*.txt Note that the asterisk * is quoted from the shell in this example; this lets the command include the files from subdirectories of Documentation/ directory. The current asciidoc 8.5.2 output has a backslash before _every_ asterisk, which is more confusing than it needs to be. Reported-by: Frédéric Brière ...
Aug 20, 3:26 am 2010
Jonathan Nieder
Re: git diff shows no output
Hi! "git diff" paginates its output by default. Perhaps your $LESS contains -F but not -X? Hope that helps, Jonathan --
Aug 20, 6:38 am 2010
Jonathan Nieder
[PATCH 13/17] Documentation: remove stray backslash in s ...
Because there is no unescaped apostrophe to pair it with, asciidoc does not consider this apostrophe a candidate for escaping and the backslash passes through. Reported-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/git-show-branch.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/git-show-branch.txt b/Documentation/git-show-branch.txt index 81ba296..01fc157 100644 --- ...
Aug 20, 3:37 am 2010
Jonathan Nieder
Re: user-manual.html invalid HTML
Hi, Sorry for the long silence. It looks like the HTML for user-manual.html (unlike the reference manual and other articles) is not generated by asciidoc after all; instead, the rule in Documentation/Makefile uses xsltproc directly to convert the asciidoc-generated XML to HTML. Apparently the caller is supposed to set the chunker.output.doctype-public parameter. http://www.sagehill.net/docbookxsl/Chunking.html#OutputDoctype Maybe something as simple as this would work. -- 8< ...
Aug 19, 10:04 pm 2010
Jonathan Nieder
[PATCH 17/17] Documentation: remove stray backslashes fr ...
The intended text is "it's O(N * T) vs O(N * T * M)". Asciidoc notices the spaces around the asterisks so there is no need to escape them (and if you try, it passes the backslashes through). Cc: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- That's the end of the series. Thanks for reading. Documentation/git-bisect-lk2009.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/git-bisect-lk2009.txt ...
Aug 20, 3:40 am 2010
Jonathan Nieder
[PATCH 12/17] Documentation: remove stray backslashes in ...
Use the {asterisk} entity instead of \* or * to avoid both stray backslashes in output and suppression of asterisks misinterpreted as a bold-text delimiter. Reported-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/git-rev-parse.txt | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index be4c053..341ca90 100644 --- ...
Aug 20, 3:35 am 2010
Jonathan Nieder
[PATCH 15/17] Documentation: avoid stray backslash in us ...
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/user-manual.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index 22aee34..fecc4eb 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt @@ -4251,9 +4251,9 @@ Two things are interesting here: negative numbers in case of different errors--and 0 on success. - the variable `sha1` in the function ...
Aug 20, 3:38 am 2010
Jonathan Nieder
[PATCH 10/17] Documentation: remove stray backslash from ...
In v1.6.2.2~6^2~4 (Documentation: minor grammatical fixes and rewording in git-bundle.txt, 2009-03-22), backslashes were introduced before ~ to avoid introducing unintentional superscripts. In one paragraph there is only one ~, though, making that not a candidate for quoting, and asciidoc 8.5.8 passes the backslash through so the man page says "\~10..master". Maybe there is an asciidoc behavior change involved. In any case, we should replace tildes with a {tilde} entity which means the same ...
Aug 20, 3:33 am 2010
Jonathan Nieder
Re: [PATCH] mergetool: Remove explicit references to /dev/tty
Part of the run_merge_tool codepath. The only place this is called with TOOL_MODE=merge is by merge_file which has stdin redirected, I would think this should work, but it doesn't feel idiomatic. Why not save stdin a little earlier, so the reader does not have to track down whether it has been redirected? The test quietly passes for me with dash but fails with ksh: /home/jrn/src/git4/git-mergetool: line 303: 3: cannot open [Bad file descriptor] With the patch below on top, it ...
Aug 20, 5:27 am 2010
Jonathan Nieder
[PATCH 07/17] Documentation: clarify quoting in gitignore docs
An asterisk in "Documentation/*.txt" quoted with \ to avoid bold text is being output as \* because asciidoc does not consider it a candidate for escaping (there is no matching * to pair it with). So the manual looks like it is saying that one should write "Documentation/\*.txt" in the .gitignore file. Reported-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/gitignore.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 ...
Aug 20, 3:30 am 2010
Jonathan Nieder
[PATCH 16/17] Documentation: do not convert ... operator ...
The symmetric difference or merge-base operator ... as used by rev-list and diff is actually three period characters. If it gets replaced by an ellipsis glyph in the manual, that would stop readers from copying and pasting it. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/git-checkout.txt | 2 +- Documentation/git-push.txt | 2 +- Documentation/git-rebase.txt | 2 +- Documentation/rev-list-options.txt | 2 +- 4 files changed, 4 ...
Aug 20, 3:39 am 2010
Jonathan Nieder
[PATCH 05/17] Documentation: add missing quotes to "git ...
Without an indication to the contrary, Asciidoc puts 'quoted text' in italics, making the output look like this: git grep time_t -- *.[ch] Looks for time_t in all tracked .c and .h files in the working directory and its subdirectories. git grep -e '#define\' --and \( -e MAX_PATH -e PATH_MAX \) Looks for a line that has #define and either MAX_PATH or PATH_MAX. In the first example, the *.[ch] argument needs to be protected from the shell, or else it will only match ...
Aug 20, 3:28 am 2010
Jonathan Nieder
[PATCH 06/17] Documentation: clarify quoting in "git rm" ...
Intended output: git rm Documentation/\*.txt Removes all *.txt files from the index that are under the Documentation directory and any of its subdirectories. Note that the asterisk * is quoted from the shell in this example; this lets git, and not the shell, expand the pathnames of files and subdirectories under the Documentation/ directory. Without this change, there are too many backslashes output. Tested with asciidoc 8.5.2. Reported-by: Frédéric Brière ...
Aug 20, 3:30 am 2010
Jonathan Nieder
[RFC/PATCH 00/17] unexpected backslashes in man pages
(cc: interested parties and documentation experts) Hi, This series is longer than I would like, and I am not happy to impose the review burden. So if something does not look obviously correct at a glance, please let me know and I'll try to simplify it. The topic: as Frédéric Brière noticed in <http://bugs.debian.org/540001>, various man pages have collected backslashes where they don't belong. Maybe we should forbid backslashes outside of -------- literal -------- sections. ...
Aug 20, 3:19 am 2010
Jonathan Nieder
[PATCH 09/17] Documentation/technical: avoid stray backs ...
Due to some unpleasant interaction between the `quote', 'italics', and `monospace` rules, a certain paragraph ends up rendered like so: ‘short` is a character for the short option (e.g. <tt>'e\’</tt> for <tt>-e</tt>, use <tt>0</tt> to omit), Use the {apostrophe} to avoid this. While at it, escape "->" strings: they are meant as a literal two-character C operator, not a right-pointing arrow. Reported-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: Jonathan Nieder ...
Aug 20, 3:32 am 2010
Jonathan Nieder
[PATCH 14/17] Documentation: avoid stray backslashes in ...
While at it: - remove some single-quotes that were being rendered as ’\n\'; - do not escape ellipses (...) when they do not represent the literal three characters "...". We may want to ensure the manpages render these as three ASCII periods to make the manual pages easier to search, but that would be a global output generation setting, not a context-specific thing; Reported-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- ...
Aug 20, 3:37 am 2010
Jonathan Nieder
[PATCH] grep -A/-B/-Cinfinity to get full context
Just a proof of concept. Cc: René Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Something like this, maybe. Documentation/technical/api-parse-options.txt | 6 ++++++ builtin/grep.c | 8 ++++++-- grep.c | 8 +++++--- grep.h | 4 ++-- parse-options.c | 21 +++++++++++++++++++++ ...
Aug 20, 4:55 am 2010
Jonathan Nieder
Re: wishlist bugreport: make limit configurable for do_f ...
Maybe something like the following would be good on top (or maybe not; you decide). -- 8< -- Subject: fmt-merge-msg --log-limit to override merge.loglimit configuration Yes, one can already use "git -c merge.loglimit=n fmt-merge-msg", but maybe providing an option name makes it more obvious that this can be overridden on the command-line. This also provides --log-limit=0 / "[merge] loglimit = 0" to not limit the number of commits summarized at all, which I would expect to be the most ...
Aug 20, 1:16 am 2010
Jonathan Nieder
Re: git-filter-branch : LANG / LC_ALL = C breaks UTF-8 a ...
Yep, someone else recently sent a report about such a sed version, too. It is breaking our fragile minds; we ought to find some way to deal with it, but we haven't yet. Jonathan --
Aug 20, 6:32 am 2010
Jonathan Nieder
[PATCH 03/17] Documentation: unbreak regex in show-ref manual
I am not sure why, but the regular expression "(?:\^\{\})" gets rendered by asciidoc as "(?:\{})". The intent seems to be a regex matching the literal string "^{}", so this rewrites the markup to produce "(?:\^{})" as output. Cc: Julian Phillips <julian@quantumfyre.co.uk> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/asciidoc.conf | 1 + Documentation/git-show-ref.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git ...
Aug 20, 3:23 am 2010
Jonathan Nieder
[PATCH 08/17] Documentation: remove backslashes in manpa ...
For some reason, various manual pages have an asterisk escaped with \ in the synopsis. Since there is no other asterisk to pair it with, Asciidoc does not consider this asterisk escapable, so it passes the backslash through. Each page either uses [verse] or has only one asterisk, so it is safe to drop the backslashes (checked with asciidoc 8.5.2). Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Documentation/git-checkout-index.txt | 2 +- Documentation/git-commit-tree.txt | ...
Aug 20, 3:31 am 2010
Jonathan Nieder
Re: [PATCH 3/4] fmt-merge-msg: Update fmt-merge-msg and ...
Hi Ram, --no-<foo> works already with OPT_INTEGER. But for --<foo>, one needs the { OPTION_INTEGER, short, long, &var, "n", description, PARSE_OPT_OPTARG, NULL, 20 }, form. --
Aug 20, 7:10 am 2010
Chris Packham
Re: stgit: command to remove file from patch
What do you mean by remove? If you want to undo changes that are in the current patch you can do something like: git checkout HEAD~1 filename stg refresh If you want to retain the changes but move them to another patch: git reset HEAD filename stg refresh -i I regularly use the first method, the second method I _think_ will work but haven't tried it. --
Aug 19, 5:27 pm 2010
Elijah Newren
[PATCH] merge-recursive: Avoid excessive output for and ...
In 5a2580d (merge_recursive: Fix renames across paths below D/F conflicts 2010-07-09) and ae74548 (merge-recursive: Fix multiple file rename across D/F conflict 2010-08-17), renames across D/F conflicts were fixed by making process_renames() consider as unprocessed renames whose dst_entry "still" had higher stage entries. The assumption was that those higher stage entries would have been cleared out of dst_entry by that point in cases where the conflict could be resolved (normal renames with no ...
Aug 20, 5:55 am 2010
Elijah Newren
Re: [PATCH 2/2] merge-recursive: Fix multiple file renam ...
Ick. Interestingly, the new paths I added for additional output are not being triggered here. Rather, "normal" renames are being considered unprocessed (I had a faulty assumption in the previous patch that a clean merge would have cleared out the higher stage entries in dst_entry as a side effect). Because of this, normal renames are needlessly re-processed in process_entry(), and trigger extra output as a side-effect. One could work around this by the following patch, though it'd be ...
Aug 20, 5:47 am 2010
Nicolas Pitre
Re: Out of memory error during git push
Don't know the meaning for specific values, but you definitively don't want to turn off memory overcommit. Nicolas --
Aug 20, 10:26 am 2010
Nicolas Pitre
Re: Out of memory error during git push
How much memory is there on the machine where the pushed data is going? Nicolas --
Aug 20, 1:59 pm 2010
=?UTF-8?q?Nguy=E1=BB ...
[PATCH 2/3] fetch-pack: use args.shallow to detect shall ...
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> --- builtin/fetch-pack.c | 17 ++++++++++------- fetch-pack.h | 3 ++- transport.c | 9 +++++++-- transport.h | 1 + 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/builtin/fetch-pack.c b/builtin/fetch-pack.c index dbd8b7b..45d1824 100644 --- a/builtin/fetch-pack.c +++ b/builtin/fetch-pack.c @@ -167,7 +167,7 @@ enum ack_type { static void consume_shallow_list(int fd) ...
Aug 19, 6:51 pm 2010
=?UTF-8?q?Nguy=E1=BB ...
[PATCH 1/3] clone: do not accept --depth on local clones
clone_local() function disregards --depth. Make it more apparent. Also hint users that file:// works with --depth. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> --- builtin/clone.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/builtin/clone.c b/builtin/clone.c index efb1e6f..e787cf2 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -361,7 +361,7 @@ static void write_remote_refs(const struct ref *local_refs) int cmd_clone(int argc, const ...
Aug 19, 6:51 pm 2010
=?UTF-8?q?Nguy=E1=BB ...
[PATCH 3/3] {fetch,upload}-pack: allow --depth=0 for inf ...
Users can do --depth=2147483648 for infinite depth now. It just looks ugly. So make "0" special (i.e. infinite depth) at plumbing/protocol level. To make it even more user friendly, "git fetch" accepts --depth=inf as an alternative to --depth=0. "git clone" also can. It just does not make much sense for doing "git clone --depth=inf" Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> --- Documentation/fetch-options.txt | 3 ++- Documentation/git-fetch-pack.txt | 1 + ...
Aug 19, 6:51 pm 2010
Tay Ray Chuan
Re: [PATCH] builtin/checkout: Fix message when switching ...
On Sat, Aug 21, 2010 at 1:41 AM, Ramkumar Ramachandra Please see <AANLkTi=3z9gJdT8LL3NANFyppUjvOVcrszjf5J5zAKPe@mail.gmail.com> -- Cheers, Ray Chuan --
Aug 20, 10:46 am 2010
Richard MICHAEL
Re: git-filter-branch : LANG / LC_ALL = C breaks UTF-8 a ...
Jonathan, thanks for your reply. What about special casing the bad sed (or whitelisting good sed)? Surely a hack, but would those of us with GNU or BSD would be happy. Which was the troublesome sed? That opposed to figuring out the problem, reading about unicode, and re-cloning and re-filtering 5,000 commits. :-) Unfortunately, it doesn't "die" well either; the 'export' shell var fails but it keeps processing commits. (If I hadn't investigated and changed the LANG, would I have ...
Aug 20, 6:44 am 2010
Richard MICHAEL
git-filter-branch : LANG / LC_ALL = C breaks UTF-8 autho ...
Hello all, I am filtering our repo with git-filter-branch, but as the sed script runs with LANG=C LC_ALL=C (7 bit US ASCII), it dies on commits authored by our team members with accented names. Why are the locales "C"? For compatibility with older sed? I've changed to LANG=en_US.UTF-8, will my change will cause other git-breakage? git-filter-branch 95: LANG=C LC_ALL=C sed -ne "$pick_id_script" 95: LANG=en_US.UTF-8 sed -ne "$pick_id_script" Regards, Richard --
Aug 20, 6:20 am 2010
sandy2010
Re: git commands
Yeah.. Actually, we were using git-15.6 and the command we used was 'git-clone'. Later, I upgraded to git-1.7.1 and I found that in the installation directory, there was only 4 binaries including git. I was wondering were are the rest commands like git-clone, etc? Hence, I asked this question. Thanks all for your response. Correct way is to use 'git clone'. -- View this message in context: http://git.661346.n2.nabble.com/git-commands-tp5443370p5443609.html Sent from the git mailing list ...
Aug 20, 1:49 am 2010
sandy2010
git commands
I'm new to git and I wonder what is the difference between two commands: "git clone" and "git-clone" and which one should be use? -- View this message in context: http://git.661346.n2.nabble.com/git-commands-tp5443370p5443370.html Sent from the git mailing list archive at Nabble.com. --
Aug 20, 12:17 am 2010
Bo Yang
Wrap up of Line Level History Browser
Hi, Today is the last day of GSoC, here is a wrap up of the whole work of this summer from Line Level History Browser. Generally, the goal of this project is to: 1. 'git log -L' to trace multiple ranges from multiple files; 2. move/copy detect when we reach the end of some lines(where lines are added from scratch). And now, we have supports in detail: 1. 'git log -L' can trace multiple ranges from multiple files; 2. we support the same syntax with 'git blame' '-L' options; 3. we ...
Aug 20, 6:51 am 2010
previous daytodaynext day
August 19, 2010August 20, 2010August 21, 2010