Re: Failing svn imports from apache.org

2012-09-15 Thread Enrico Weigelt
> > Does anyone have an idea, what might be wrong here / how to fix it > > ? > > Here: git svn --version > git-svn version 1.7.12.592.g41e7905 (svn 1.6.18) > > What's yours? 1.7.9.5 (ubuntu precise) > I'm getting > > Initialized empty Git repository in /tmp/discovery/.git/ > Using higher lev

Re: What's cooking in git.git (Sep 2012, #05; Fri, 14)

2012-09-15 Thread Joachim Schmitz
Junio C Hamano wrote: I think we can start thinking about feature freeze once the topics in 'next' that are scheduled to graduate to 'master' already are fully cooked. For any late-coming topic, there always is the next cycle ;-) I've not hear anything about my poll patches and I'd really like

Re: [PATCH] git-gui: Fix semi-working shortcuts for unstage and revert

2012-09-15 Thread Bert Wesarg
On Sat, Sep 15, 2012 at 1:36 AM, wrote: > From: Vitaly _Vi Shukela > > Make Ctrl+U for unstaging and Ctrl+J for reverting selection behave > more like Ctrl+T for adding. > > They were working only when one area was focused (diff or commit message), > now they should work everywhere. > > Signed-o

[PATCH 0/5] Support matching "**" in .gitattributes and .gitignore

2012-09-15 Thread Nguyễn Thái Ngọc Duy
A while back I posted a proof of concept using wildmatch() from rsync. Back then the obstacle was case-insensitive matching support. I did not realize that there was iwildmatch() that does exactly that. So here again a series that is probably ready for consumption. Now patterns that contain slashe

[PATCH 1/5] Import wildmatch from rsync

2012-09-15 Thread Nguyễn Thái Ngọc Duy
These files are from rsync.git commit d51a3adb4fca3e6b1b046c6e570828f3bca8fe36. The commit is GPL-3. However wildmatch.[ch] have not changed since rsync turned to GPL-3. rsync.git -> git.git lib/wildmatch.[ch] compat/wildmatch.[ch] wildtest.c test-wildmatch.c wildtest.

[PATCH 2/5] compat/wildmatch: remove static variable force_lower_case

2012-09-15 Thread Nguyễn Thái Ngọc Duy
One place less to worry about thread safety Signed-off-by: Nguyễn Thái Ngọc Duy --- compat/wildmatch.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/compat/wildmatch.c b/compat/wildmatch.c index f3a1731..e824eb2 100644 --- a/compat/wildmatch.c +++ b/compa

[PATCH 3/5] compat/wildmatch: fix case-insensitive matching

2012-09-15 Thread Nguyễn Thái Ngọc Duy
dowild() does case insensitive matching by lower-casing the text. That means lower case letters in patterns imply case-insensitive matching, but upper case means exact matching. We do not want that subtlety. Lower case pattern too so iwildmatch() always does what we expect it to do. Signed-off-by

[PATCH 4/5] Integrate wildmatch to git

2012-09-15 Thread Nguyễn Thái Ngọc Duy
This makes wildmatch.c part of libgit.a and builds test-wildmatch Signed-off-by: Nguyễn Thái Ngọc Duy --- Makefile | 6 ++ compat/wildmatch.c | 8 +++- t/t3070-wildmatch.sh | 27 +++ test-wildmatch.c | 8 +++- 4 files changed, 47 insertion

[PATCH 5/5] Support "**" in .gitignore and .gitattributes patterns using wildmatch()

2012-09-15 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/gitignore.txt | 3 +++ attr.c | 4 +++- dir.c | 5 - 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt index c1f692a..eb81d

Using git-replace in place of grafts -- and publishing .git/refs/replace between repos?

2012-09-15 Thread David Chanters
Hi, Earlier this month I asked how best to handle two branches without a common ancestor to sync changes from one branch to another. Initially I did this via the grafts mechanism, but this wasn't a "shared" solution, in that the graft was local to my checkout of the repository and no one else's.

How do I pronounce "blob"?

2012-09-15 Thread Yi, EungJun
"bee-lob" or "bla:b"? I guess "bee-lob" is correct if it means binary large object. But I'm not sure because gitglossary does not tell me about that. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: How do I pronounce "blob"?

2012-09-15 Thread Jan Engelhardt
On Saturday 2012-09-15 15:24, Yi, EungJun wrote: >"bee-lob" or "bla:b"? http://en.wiktionary.org/wiki/blob BLOB as a Binary Large OBject reeks of a retronym. >I guess "bee-lob" is correct if it means binary large object. But I'm >not sure because gitglossary does not tell me about that. -- To u

How to create the " [PATCH 0/5]" first email?

2012-09-15 Thread Philip Oakley
The git format-patch allows numbered patches to be created, however I'm not sure how folk generate the initial "0/n" patch. Which of the various options should I be using? Also, being on windows, the various 'mbox' and 'MUA' discussions are new to me, so the format-patch step where :- "Typically

Re: How do I pronounce "blob"?

2012-09-15 Thread Yi, EungJun
Thanks for your help, Jan! On Sat, Sep 15, 2012 at 10:26 PM, Jan Engelhardt wrote: > On Saturday 2012-09-15 15:24, Yi, EungJun wrote: > >>"bee-lob" or "bla:b"? > > http://en.wiktionary.org/wiki/blob > > BLOB as a Binary Large OBject reeks of a retronym. > >>I guess "bee-lob" is correct if it mean

Re: What's cooking in git.git (Sep 2012, #05; Fri, 14)

2012-09-15 Thread Junio C Hamano
"Joachim Schmitz" writes: > Junio C Hamano wrote: >> I think we can start thinking about feature freeze once the topics >> in 'next' that are scheduled to graduate to 'master' already are >> fully cooked. For any late-coming topic, there always is the next >> cycle ;-) > > I've not hear anything

Re: How to create the " [PATCH 0/5]" first email?

2012-09-15 Thread Junio C Hamano
"Philip Oakley" writes: > "Typically it will be placed in a MUA’s drafts folder, edited to add > timely commentary that should not go in the changelog after the three > dashes, and then sent as a message whose body, in our example, starts > with "arch/arm config files were…". On the receiving end

RE: What's cooking in git.git (Sep 2012, #05; Fri, 14)

2012-09-15 Thread Joachim Schmitz
> From: Junio C Hamano [mailto:gits...@pobox.com] > Sent: Saturday, September 15, 2012 7:01 PM > To: Joachim Schmitz > Cc: git@vger.kernel.org > Subject: Re: What's cooking in git.git (Sep 2012, #05; Fri, 14) > > "Joachim Schmitz" writes: > > > Junio C Hamano wrote: > >> I think we can start thi

Re: How do I pronounce "blob"?

2012-09-15 Thread Martin Langhoff
On Sat, Sep 15, 2012 at 9:24 AM, Yi, EungJun wrote: > "bee-lob" or "bla:b"? Like Bob, add an L in there. m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.la

Re: Using git-replace in place of grafts -- and publishing .git/refs/replace between repos?

2012-09-15 Thread Junio C Hamano
David Chanters writes: > 1. I thought the replace data in .git/refs/replace was published when > I did "git push" so that others could use this information as a > base-point, yet it seems not to be the case. How do I publish this? If you don't tell it what to push, the command will just update

[PATCH] test-generation.c: Fix a compiler warning

2012-09-15 Thread Ramsay Jones
gcc complains as follows: CC test-generation.o test-generation.c: In function `main': test-generation.c:105: warning: control reaches end of \ non-void function In order to suppress the warning, we simply add a suitable return statement to main(). Signed-off-by: Ramsay J

[PATCH] test-string-list.c: Fix some sparse warnings

2012-09-15 Thread Ramsay Jones
In particular, sparse complains as follows: SP test-string-list.c test-string-list.c:10:6: warning: symbol 'parse_string_list' was not \ declared. Should it be static? test-string-list.c:18:6: warning: symbol 'write_list' was not \ declared. Should it be static?

Re: [PATCH] test-string-list.c: Fix some sparse warnings

2012-09-15 Thread Junio C Hamano
Queued. Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 0/3] rebase -i: Teach "--edit-todo"

2012-09-15 Thread Andrew Wong
The flag will allow the user to edit the todo file while they're in the middle of an interactive rebase. It simply invoke the editor and do nothing else. More discussions here: http://thread.gmane.org/gmane.comp.version-control.git/205133/focus=205182 Andrew Wong (3): rebase -i: Refactor he

[PATCH 1/3] rebase -i: Refactor help messages for todo file

2012-09-15 Thread Andrew Wong
Signed-off-by: Andrew Wong --- git-rebase--interactive.sh | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index a09e842..4d57e50 100644 --- a/git-rebase--interactive.sh +++ b/git-rebase--

[PATCH 2/3] rebase -i: Teach "--edit-todo" action

2012-09-15 Thread Andrew Wong
This allows users to edit the todo file while they're stopped in the middle of an interactive rebase. When this action is executed, all comments from the original todo file are stripped, and new help messages are appended to the end. Signed-off-by: Andrew Wong --- Documentation/git-rebase.txt |

[PATCH 3/3] rebase -i: Add tests for "--edit-todo"

2012-09-15 Thread Andrew Wong
Signed-off-by: Andrew Wong --- t/t3404-rebase-interactive.sh | 16 1 file changed, 16 insertions(+) diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh index 7304b66..a194c97 100755 --- a/t/t3404-rebase-interactive.sh +++ b/t/t3404-rebase-interactive.sh @@

[PATCH 1/7] builtin/notes.c: mark file-scope functions as static

2012-09-15 Thread Junio C Hamano
Signed-off-by: Junio C Hamano --- builtin.h | 2 -- builtin/notes.c | 7 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/builtin.h b/builtin.h index 8e37752..95116b8 100644 --- a/builtin.h +++ b/builtin.h @@ -21,7 +21,6 @@ struct fmt_merge_msg_opts { extern int fmt

[PATCH 2/7] commit.c: mark file-scope functions as static

2012-09-15 Thread Junio C Hamano
Signed-off-by: Junio C Hamano --- commit.c | 7 +-- commit.h | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/commit.c b/commit.c index 0ea441d..0246767 100644 --- a/commit.c +++ b/commit.c @@ -9,6 +9,8 @@ #include "gpg-interface.h" #include "mergesort.h" +static stru

[PATCH 3/7] diff.c: mark private file-scope symbols as static

2012-09-15 Thread Junio C Hamano
--- diff.c | 2 +- diff.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/diff.c b/diff.c index 32142db..35d3f07 100644 --- a/diff.c +++ b/diff.c @@ -25,7 +25,7 @@ static int diff_detect_rename_default; static int diff_rename_limit_default = 400; static int diff_suppress_bl

[PATCH 4/7] graph.c: mark private file-scope symbols as static

2012-09-15 Thread Junio C Hamano
Signed-off-by: Junio C Hamano --- graph.c | 32 ++-- graph.h | 27 --- 2 files changed, 30 insertions(+), 29 deletions(-) diff --git a/graph.c b/graph.c index 7e0a099..e864fe2 100644 --- a/graph.c +++ b/graph.c @@ -8,6 +8,34 @@ /* Internal API

[PATCH 5/7] grep.c: mark private file-scope symbols as static

2012-09-15 Thread Junio C Hamano
Signed-off-by: Junio C Hamano --- grep.c | 6 +- grep.h | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/grep.c b/grep.c index 925aa92..c7f8a47 100644 --- a/grep.c +++ b/grep.c @@ -3,6 +3,10 @@ #include "userdiff.h" #include "xdiff-interface.h" +static int grep_sour

[PATCH 7/7] notes.c: mark private file-scope symbols as static

2012-09-15 Thread Junio C Hamano
Signed-off-by: Junio C Hamano --- notes.c | 14 -- notes.h | 14 -- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/notes.c b/notes.c index 93e9868..bc454e1 100644 --- a/notes.c +++ b/notes.c @@ -1196,8 +1196,18 @@ void free_notes(struct notes_tree *t)

[PATCH 6/7] rerere.c: mark private file-scope symbols as static

2012-09-15 Thread Junio C Hamano
Signed-off-by: Junio C Hamano --- rerere.c | 2 +- rerere.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rerere.c b/rerere.c index b57a34d..a6a5cd5 100644 --- a/rerere.c +++ b/rerere.c @@ -25,7 +25,7 @@ const char *rerere_path(const char *hex, const char *file) ret

Re: [PATCHv2 01/12] git p4 test: remove bash-ism of combined export/assignment

2012-09-15 Thread Luke Diamand
Looks good to me, ack. On 09/09/12 21:16, Pete Wyckoff wrote: Signed-off-by: Pete Wyckoff --- t/lib-git-p4.sh | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/t/lib-git-p4.sh b/t/lib-git-p4.sh index 2d753ab..482eeac 100644 --- a/t/lib-git-p4.sh +++ b/t/lib-git-p4.sh

Re: [PATCHv2 02/12] git p4: gracefully fail if some commits could not be applied

2012-09-15 Thread Luke Diamand
I've only played around with this a bit, but it looks to be doing the right thing. In practice, I think the normal workflow tends to be 'rebase, submit' and so this code path will only be taken in the case where a conflicting change is submitted to p4 in the window between rebasing and submitt

Re: Using git-replace in place of grafts -- and publishing .git/refs/replace between repos?

2012-09-15 Thread David Chanters
Hi, On 15 September 2012 18:21, Junio C Hamano wrote: > David Chanters writes: >> 2. If I do publish it, are there any caveats with that? i.e., >> because the replace data will likely point to a repo which in my >> working checkout I added with "git-remote", is that going to be a >> problem? >

Re: [PATCHv2 03/12] git p4: remove submit failure options [a]pply and [w]rite

2012-09-15 Thread Luke Diamand
git-p4 won't be quite the same without these completely misleading and confusing messages :-) Ack. On 09/09/12 21:16, Pete Wyckoff wrote: When a patch failed to apply, these interactive options offered to: 1) apply the patch anyway, leaving reject (.rej) files around, or, 2) write

Re: [PATCHv2 04/12] git p4: move conflict prompt into run, add [q]uit input

2012-09-15 Thread Luke Diamand
I'll need to supply a followup patch to ensure that a config option can override the prompt. Ack. On 09/09/12 21:16, Pete Wyckoff wrote: When applying a commit to the p4 workspace fails, a prompt asks what to do next. This belongs up in run() instead of in applyCommit(), where run() can not

Re: [PATCHv2 05/12] git p4: standardize submit cancel due to unchanged template

2012-09-15 Thread Luke Diamand
Ack. On 09/09/12 21:16, Pete Wyckoff wrote: When editing the submit template, if no change was made to it, git p4 offers a prompt "Submit anyway?". Answering "no" cancels the submit. Previously, a "no" answer behaves like a "[s]kip" answer to the failed-patch prompt, in that it proceeded to tr

Re: [ANNOUNCE] tig-1.0

2012-09-15 Thread Jonas Fonseca
On Tue, Sep 11, 2012 at 3:24 PM, Jean-Baptiste Quenot wrote: > 2012/9/7 Jonas Fonseca : >> [snip] I suggest to support something like the following: >> >> tig --no-walk --stdin < tmp-file >> >> Would that cover your use case? > > That would be great! I would then feed tig with all commits I w

Re: Using git-replace in place of grafts -- and publishing .git/refs/replace between repos?

2012-09-15 Thread Christian Couder
Hi, On Sat, Sep 15, 2012 at 11:49 PM, David Chanters wrote: > Hi, > > On 15 September 2012 18:21, Junio C Hamano wrote: > >> Assuming that they do, pushing the replacement ref makes the >> replacing object available in the pushed-into repository, so >> they will *not* rely on your repository. >

Unable to clone GIT project

2012-09-15 Thread Ankush_Aggarwal
I have created a GIT repository on Linux 64 bit machine. When I tried to clone GIT repository on windows 7 machine then I am getting below error. Error: git-upload-pack: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory fatal: The re

[PATCH] Add userdiff patterns for Ada

2012-09-15 Thread Adrian Johnson
Add Ada xfuncname and wordRegex patterns to the list of builtin patterns. Signed-off-by: Adrian Johnson --- Documentation/gitattributes.txt | 2 ++ t/t4018-diff-funcname.sh| 2 +- t/t4034-diff-words.sh | 1 + t/t4034/ada/expect | 27 +++

Re: Using git-replace in place of grafts -- and publishing .git/refs/replace between repos?

2012-09-15 Thread Junio C Hamano
David Chanters writes: > I've tried: > > [remote "origin"] > fetch = > +refs/replace/*:+refs/heads/*:refs/remotes/origin/*:refs/replace/* Read the documentation and learn about instead of blindly guessing. [remote "origin"] fetch = +refs/heads/*:refs/remotes/ori

Re: [PATCHv2 01/12] git p4 test: remove bash-ism of combined export/assignment

2012-09-15 Thread Junio C Hamano
Luke Diamand writes: > Looks good to me, ack. Thanks; is this an ack for the entire series, or are you expecting further back-and-forth with Pete before the whole thing is ready? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.o

Re: [PATCH] Add userdiff patterns for Ada

2012-09-15 Thread Junio C Hamano
Adrian Johnson writes: > Add Ada xfuncname and wordRegex patterns to the list of builtin > patterns. > > Signed-off-by: Adrian Johnson > --- Interesting. I do not read Ada, but in this "expect" file,... > diff --git a/t/t4034/ada/expect b/t/t4034/ada/expect > new file mode 100644 > index

Re: [PATCH 1/5] Import wildmatch from rsync

2012-09-15 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > These files are from rsync.git commit > d51a3adb4fca3e6b1b046c6e570828f3bca8fe36. The commit is GPL-3. However > wildmatch.[ch] have not changed since rsync turned to GPL-3. I'd like see the last version of rsync that was GPLv2 hunted down and the copy from that v

Re: [PATCH 2/3] rebase -i: Teach "--edit-todo" action

2012-09-15 Thread Junio C Hamano
Andrew Wong writes: > This allows users to edit the todo file while they're stopped in the > middle of an interactive rebase. When this action is executed, all > comments from the original todo file are stripped, and new help messages > are appended to the end. > > Signed-off-by: Andrew Wong > -

Re: [PATCH 3/3] rebase -i: Add tests for "--edit-todo"

2012-09-15 Thread Junio C Hamano
Andrew Wong writes: > Signed-off-by: Andrew Wong > --- > t/t3404-rebase-interactive.sh | 16 > 1 file changed, 16 insertions(+) > > diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh > index 7304b66..a194c97 100755 > --- a/t/t3404-rebase-interactive.sh >