Re: git-svn performance

2014-10-25 Thread Eric Wong
Hin-Tak Leung wrote: > the old didn't missing a revision - just a revision 'message' - blank > instead of 3 words, above the git svn id. I supppse it is possible > some power problem or etc caused this. I'll check the other branches > as well, and possibly clone again to be sure. ( The new clone d

[PATCH] git-svn: remove unnecessary DESTROY override

2014-10-25 Thread Eric Wong
This override was probably never necessary, but most likely a no-op as it does not appear to do anything in SVN::Ra itself. Signed-off-by: Eric Wong --- perl/Git/SVN/Ra.pm | 4 1 file changed, 4 deletions(-) diff --git a/perl/Git/SVN/Ra.pm b/perl/Git/SVN/Ra.pm index 1828519..e326849 100644

[PATCH] git-svn: save a little memory as fetch progresses

2014-10-25 Thread Eric Wong
There is no reason to keep entries in the %revs hash after we're done processing a revision, so allow entries become freed as processing continues. Signed-off-by: Eric Wong --- perl/Git/SVN/Ra.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl/Git/SVN/Ra.pm b/perl/Git/SV

Re: [PATCH v3] git-svn: memoize _rev_list and rebuild

2014-10-25 Thread Eric Wong
manjian2...@gmail.com wrote: > From: lin zuojian > > According to profile data, _rev_list and rebuild consume a large > portion of time. Memoize the results of _rev_list and memoize > rebuild internals to avoid subprocess invocation. Hi, I am considering reverting _rev_list memoization because

Re: Anomaly with the new code - Re: git-svn performance

2014-10-25 Thread Eric Wong
Hin-Tak Leung wrote: > On Sat, Oct 25, 2014 00:34 BST Eric Wong wrote: > >Hin-Tak Leung wrote: > >> 0006-git-svn-clear-global-SVN-pool-between-get_log-invoca.patch > > > >0006 is insufficient and incompatible with older SVN. > >I pushed "git-svn: reload RA every log-window-size" > >(commit dfa

flatten-merge history

2014-10-25 Thread Henning Moll
Hi, suppose the following history P - - - Q - - - - - R <-extern A -- - B - - - C - D - - - E <-master \ \ M ... \ <-b1 \ W ... <-b2 Note that master and extern do not have a common parent.

Re: git-svn performance

2014-10-25 Thread Eric Wong
Hin-Tak Leung wrote: > btw, git svn seems to disallow single word commit messages (or is it a > svn config?). i found that i could not do git svn dcommit, when i had > merely did git commit -m 'typos', for example, for an svn repo i have > write access to. (I don't have them many such things, so i

Please reply

2014-10-25 Thread Jose Calvache
Dear Sir/Madam, Here is a pdf attachment of my proposal to you. Please read and reply I would be grateful. Jose Calvache -- 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-

Re: Fatal: is corrupted can be caused by wrong permissions

2014-10-25 Thread Jeff King
On Fri, Oct 24, 2014 at 04:05:24PM +0200, Matthieu Moy wrote: > I can reproduce with Git 1.7.10 by doing a chmod 0 on some object files, > but recent Git's produce > > Checking object directories: 100% (256/256), done. > fatal: failed to read object ab2e06e74d922268fbff8d219dad9eee63786947: > Pe

Re: [PATCH v2] part1: l10n: de.po: use imperative form for command options

2014-10-25 Thread phillip
Hi, > #: builtin/blame.c:2514 > msgid "Show author email instead of name (Default: off)" >-msgstr "Zeigt anstatt des Namens die Email-Adresse des Autors >(Standard: aus)" >+msgstr "Anstatt des Namens die Email-Adresse des Autors anzeigen >(Standard: aus)" > +msgstr "Anstatt des Namens die E-Mail

Quit git difftool on error code

2014-10-25 Thread Adri Farr
Hello!, Pardon my ignorance, but I haven't found the solution anywhere. Is there a way to make git difftool quit when it receives an error code? I have vim as my difftool, and if I quit with an error (:cq) when there are pending files to be diffed, git difftool doesn't quit and keeps pushing me fi

single-word commit messages - Re: git-svn performance

2014-10-25 Thread Hin-Tak Leung
On Sat, 25/10/14, Eric Wong wrote: > Probably an SVN hook preventing it.  git-svn test cases such as t/t9118-git-svn-funky-branch-names.sh do single word commits. Thanks - I see indeed - at least that clears that up. -- To unsubscribe from this

Re: [PATCH 1/2] Documentation/technical: signature formats

2014-10-25 Thread Jakub Narębski
W dniu 2014-10-22 21:02, Junio C Hamano pisze: A mergetag is not fundamentally a "signature" in the above sense, though. It is just a dump of the object content in a regular object header field (hence indented by one SP), and its contents having PGP SIGNATURE is merely a natural consequence of

Re: git-svn performance

2014-10-25 Thread Hin-Tak Leung
-- On Sat, Oct 25, 2014 01:02 BST Eric Wong wrote: >Hin-Tak Leung wrote: >> Comparing trunk of old and new, I see one difference - One short >> commit message is missing in the *old* (the "Add checkPoFiles etc." part) >> and so all the sha1 afterwards differed. Is t

Re: Anomaly with the new code - Re: git-svn performance

2014-10-25 Thread Hin-Tak Leung
-- On Sat, Oct 25, 2014 00:34 BST Eric Wong wrote: >Hin-Tak Leung wrote: >> I keep tabs of a particular svn repository over many years >> and run "git svn fetch --all" every few days. So that's the old clone. >> Since this discussion started, I made a new one with

Re: git-svn performance

2014-10-25 Thread Hin-Tak Leung
-- On Sat, Oct 25, 2014 06:32 BST Eric Wong wrote: >Hin-Tak Leung wrote: >> the old didn't missing a revision - just a revision 'message' - blank >> instead of 3 words, above the git svn id. I supppse it is possible >> some power problem or etc caused this. I'll chec

Feature Proposal: Track all branches from a given remote

2014-10-25 Thread Scott Johnson
Hello git experts: Recently, I've encountered the problem where I would like to set my local repository copy to track all branches on a given remote. There does not appear to be a switch for this in the git-branch command currently, however, I will admit that my somewhat limited understanding of t

Re: Feature Proposal: Track all branches from a given remote

2014-10-25 Thread brian m. carlson
On Sat, Oct 25, 2014 at 04:34:30PM -0700, Scott Johnson wrote: > Hello git experts: > > Recently, I've encountered the problem where I would like to set my > local repository copy to track all branches on a given remote. There > does not appear to be a switch for this in the git-branch command > c

[PATCH] difftool: add support for --trust-exit-code

2014-10-25 Thread David Aguilar
Teach difftool to exit when a diff tool returns a non-zero exit code when either --trust-exit-code is specified or difftool.trustExitCode is true. Forward exit codes from invoked diff tools to the caller when --trust-exit-code is used. Suggested-by: Adri Farr <14farr...@gmail.com> Signed-off-by:

[PATCH v2] difftool: add support for --trust-exit-code

2014-10-25 Thread David Aguilar
Teach difftool to exit when a diff tool returns a non-zero exit code when either --trust-exit-code is specified or difftool.trustExitCode is true. Forward exit codes from invoked diff tools to the caller when --trust-exit-code is used. Suggested-by: Adri Farr <14farr...@gmail.com> Signed-off-by:

Re: flatten-merge history

2014-10-25 Thread Christian Couder
Hi, On Sat, Oct 25, 2014 at 2:31 PM, Henning Moll wrote: > Hi, > > suppose the following history > > P - - - Q - - - - - R <-extern > > A -- - B - - - C - D - - - E <-master > \ \ > M ... \ <-b1 > \ >