Re: congif spec in GIT

2012-07-07 Thread Robin Rosenberg
Radu Manea skrev 2012-07-06 13.46: Hi, Thank you for the detailed presentation posted on git.or.cz site. One question: is there any equivalent config spec file for GIT as is in ClearCase today? Repo (http://source.android.com/source/version-control.html) is perhaps the tool that is most simi

Re: Egit/Jgit support for relocated .git directories

2012-07-07 Thread Robin Rosenberg
Chris Packham skrev 2012-06-26 10.18: Hi, This is a bit of a secondhand bug report/query so sorry if the details are a bit sketchy. Since git 1.7.8: ``When populating a new submodule directory with "git submodule init", the $GIT_DIR metainformation directory for submodules is created inside $G

Re: [GSoC] Designing a faster index format - Progress report week 13

2012-07-22 Thread Robin Rosenberg
A note on how JGit would work here. Java has none of the fields that constitute statcrc. I guess we would write zero here when creating new entries. Git could recognize that when checking status and simply assume "clean" unless mtime or st_size says otherwise. For existing entries JGit could e

Re: [GSoC] Designing a faster index format - Progress report week 13

2012-07-23 Thread Robin Rosenberg
Junio C Hamano skrev 2012-07-22 23.08: Thomas Rast writes: Hum, I'm a bit lost now. What is the status quo? I take it JGit does not have any of ctime, dev, ino etc., and either leaves the existing value or puts a 0 an argument in favor of splitting stat_crc into its fields again? A dif

Re: [PATCH V4] git on Mac OS and precomposed unicode

2012-07-25 Thread Robin Rosenberg
Torsten Bögershausen skrev 2012-06-24 17.47: Do we have a motivation for pushing a solution that ignores the unicode composition ? I say we do. I tried your patch and it worked fine. I'll send a V5 version with hopefully a better motivation -- robin -- To unsubscribe from this list: send

Re: [PATCH v9] git on Mac OS and precomposed unicode

2012-07-26 Thread Robin Rosenberg
Just a couple of nitpicks. Torsten Bögershausen skrev 2012-07-08 15.50: diff --git a/compat/precompose_utf8.c b/compat/precompose_utf8.c [...] +static size_t has_utf8(const char *s, size_t maxlen, size_t *strlen_c) +{ + const uint8_t *utf8p = (const uint8_t*) s; + size_t strlen_cha

Re: [PATCH 2/2] Add index-v5

2012-08-07 Thread Robin Rosenberg
Nguyễn Thái Ngọc Duy skrev 2012-08-06 16.36: +++ b/read-cache-v5.c @@ -0,0 +1,1170 @@ +#include "cache.h" +#include "read-cache.h" +#include "resolve-undo.h" +#include "cache-tree.h" + +struct cache_header_v5 { + unsigned int hdr_ndir; + unsigned int hdr_nfile; + unsigned int h

[PATCH] cleanup precompose_utf8

2012-08-17 Thread Robin Rosenberg
Remove extraneous parentheses and braces Remove redundant NUL-termination Check result of unlink when probing for decomposed file names Signed-off-by: Robin Rosenberg --- compat/precompose_utf8.c | 11 --- 1 fil ändrad, 4 tillägg(+), 7 borttagningar(-) diff --git a/compat

Re: BUG Report. Why GIT commit need 30GB of memory for a commit?

2012-08-19 Thread Robin Rosenberg
Jose Nobile skrev 2012-08-20 07.12: I have a big repository, around 80GB git --version #git version 1.7.12 git init . #Initialized empty Git repository in /reponame/.git/ git add -A . git commmit -m "Backup 2012-08-19 03:43:44" #fatal: Out of memory, malloc failed (tried to allocate 32220431361

Re: [RFC] i18n.pathencoding

2012-09-02 Thread Robin Rosenberg
Torsten Bögershausen skrev 2012-09-01 08.11:> Allow path names to be encoded in UTF-8 in the repository > and checkout out as e.g. ISO-8859-1 in the working tree. Ack for attempting this. Did it myself if 2007, but times weren't ripe then, I guess. > +i18n.pathEncoding:: > + This option is on

Re: Odd issue - The Diffs That WILL NOT DIE.

2012-09-05 Thread Robin Rosenberg
Jeff King skrev 2011-12-08 00.06: On Wed, Dec 07, 2011 at 11:58:27PM +0100, Carlos Martín Nieto wrote: If you want to use OSX to develop this project, you'll have to either rename one of those files or set your filesystem to be case-sensitive (and unset core.ignorecase afterwards). From what I'

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-12 Thread Robin Rosenberg
- Ursprungligt meddelande - > Robin Rosenberg venit, vidit, dixit 06.12.2012 02:23: > > > > > > - Ursprungligt meddelande - > >> Robin Rosenberg writes: > >> > >>> If core.symlinks is set to copy then symbolic links in a git &

Re: Using Eclipse git plugin

2012-12-25 Thread Robin Rosenberg
- Ursprungligt meddelande - > This may be more of an Eclipse question than a git question but > hopefully someone on this list knows both. I now have a working git > central repository (on Linux) and a local repository clone (on > Windows). > I can see and edit my files in Eclipse, commit

Re: Push Windows to Linux Repository Problem

2012-12-27 Thread Robin Rosenberg
- Ursprungligt meddelande - > Hi Andreas, > > Thanks for the reply and no, I could not. However, you put me on the > right track. Since I was only pushing/pulling from Windows to/from my > Linux repository, I did not realize that an SSH session from the > Linux > back to Windows would ev

[PATCH v2] Make git selectively and conditionally ignore certain stat fields

2013-01-14 Thread Robin Rosenberg
they are set to zero in the index. This change introduces a core.ignorezerostat config option where the user can list the fields to ignore using the names above. Signed-off-by: Robin Rosenberg --- Documentation/config.txt | 9 + cache.h | 8 config.c

Re: [PATCH v2] Make git selectively and conditionally ignore certain stat fields

2013-01-14 Thread Robin Rosenberg
- Ursprungligt meddelande - > Robin Rosenberg writes: > > > diff --git a/read-cache.c b/read-cache.c > > index fda78bc..f7fe15d 100644 > > --- a/read-cache.c > > +++ b/read-cache.c > > @@ -197,8 +197,9 @@ static int ce_match_stat_basic(struct

[PATCH v3] Make git selectively and conditionally ignore certain stat fields

2013-01-14 Thread Robin Rosenberg
they are set to zero in the index. This change introduces a core.ignorezerostat config option where the user can list the fields to ignore using the names above. Signed-off-by: Robin Rosenberg --- Documentation/config.txt | 9 + cache.h | 8 config.c

Re: [PATCH v2] Make git selectively and conditionally ignore certain stat fields

2013-01-14 Thread Robin Rosenberg
> Is this "the user edits in eclipse and then runs 'git status' from > the > terminal" problem? Yes. Of course not just status, but any command that validates the index. On Unix this is usually bearable, though slow, but on Windows I often see git status take minutes (yes large files...). -- rob

Re: [PATCH v2] Make git selectively and conditionally ignore certain stat fields

2013-01-14 Thread Robin Rosenberg
- Ursprungligt meddelande - > Robin Rosenberg writes: > > > Semantically they're somewhat different. My flags are for ignoring > > a value when it's not used as indicated by the value zero, while > > trustctime is for ignoring untrustworthy, non-zero,

Re: [PATCH v2] Make git selectively and conditionally ignore certain stat fields

2013-01-20 Thread Robin Rosenberg
- Ursprungligt meddelande - > That configurability is a slipperly slope to drag us into giving > users > more complexity that does not help them very much, I suspect. > > Earlier somebody mentioned "size and mtime is often enough", so I > think a single option core.looseStatInfo (substi

Re: [RFC/PATCH] add: warn when -u or -A is used without filepattern

2013-01-21 Thread Robin Rosenberg
- Ursprungligt meddelande - > Most git commands that can be used with our without a filepattern are > tree-wide by default, the filepattern being used to restrict their > scope. > A few exceptions are: 'git grep', 'git clean', 'git add -u' and 'git > add -A'. > > The inconsistancy of 'gi

Re: [RFC/PATCH] add: warn when -u or -A is used without filepattern

2013-01-21 Thread Robin Rosenberg
- Ursprungligt meddelande - > > git diff > > #looks good > > git add -u > > That's indeed the kind of mistake I'd like to avoid. In your example, > "git diff" is tree-wide, and "git add -u" is limited to ., so in > general > "git add -u" won't stage the same thing as "git diff" just sho

[PATCH v3] Enable minimal stat checking

2013-01-21 Thread Robin Rosenberg
all fields (default), or just size and the whole second part of mtime (minimal). Signed-off-by: Robin Rosenberg --- Documentation/config.txt | 6 ++ cache.h | 1 + config.c | 8 environment.c| 1 + read-cache.c | 28

Re: [PATCH v3] Enable minimal stat checking

2013-01-22 Thread Robin Rosenberg
- Ursprungligt meddelande - > Also, even though we settled on "default/minimal", we may regret in > the future if old implementations died on an unrecognized value, as > that will forbid users from using an old Git and a new Git on the > same repository at the same time, so I'd suggest r

Behavior of stash apply vs merge

2013-01-27 Thread Robin Rosenberg
Hi, What good reason is it that 'git stash apply' gives hairy conflict markers, while 'git merge stash' does not. No renames involved. -- robin -- 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://v

Re: Behavior of stash apply vs merge

2013-01-27 Thread Robin Rosenberg
Thanks. Feeling a bit studid now. I was actually thinking about using merge to implement stash apply in JGit. What we have is broken so I tried using merge to implement it and them compared to git merge --no-commit.. FAIL. The main difference is of course that I set the merge base to stash^1, whi

Re: Behavior of stash apply vs merge

2013-01-27 Thread Robin Rosenberg
- Ursprungligt meddelande - > Robin Rosenberg writes: > > > Thanks. Feeling a bit studid now. > > > > I was actually thinking about using merge to implement stash apply > > in JGit. What we have is broken so I tried using merge to implement > > it

Re: [PATCH 6/9] pretty: two phase conversion for non utf-8 commits

2012-09-23 Thread Robin Rosenberg
A few nitpicks - Ursprungligt meddelande - > Always assume format_commit_item() takes an utf-8 string for > simplicity. If commit message is in non-utf8, or output encoding is > not, then the commit is first converted to utf-8, processed, then > output converted to output encoding. > > T

[PATCH] Perform minimal stat comparison when some stat fields are not set

2012-12-05 Thread Robin Rosenberg
igned-off-by: Robin Rosenberg --- read-cache.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/read-cache.c b/read-cache.c index fda78bc..6f13a22 100644 --- a/read-cache.c +++ b/read-cache.c @@ -197,21 +197,26 @@ static int ce_match_stat_basic(s

[PATCH] RFC Optionally handle symbolic links as copies

2012-12-05 Thread Robin Rosenberg
nk old '%s' (%s)", path, strerror(errno)); + } + } + } } else if (state->not_new) return 0; create_directories(path, len, state); diff --git a/environment.c b/environment.c index 71e438c..

Re: Millisecond precision in timestamps?

2012-12-05 Thread Robin Rosenberg
- Ursprungligt meddelande - > On Tue, Nov 27, 2012 at 11:58 PM, Eric S. Raymond > wrote: > > Junio C Hamano : > >> Roundtrip conversions may benefit from sub-second timestamps, but > >> personally I think negative timestamps are more interesting and of > >> practical use. > > > > You mea

Re: Stitching histories of several repositories

2012-12-05 Thread Robin Rosenberg
- Ursprungligt meddelande - > Hi, > > I've written a tool to stitch the first-parent histories of several > git repositories. To illustrate, consider that we have a toplevel > git > repository inside which the other repositories reside. > [...] > > I'd like to know whether the tool wo

Re: [PATCH] Perform minimal stat comparison when some stat fields are not set

2012-12-05 Thread Robin Rosenberg
- Ursprungligt meddelande - > Robin Rosenberg writes: > > > At least JGit does sets uid, gid, ctime, ino and dev fields to zero > > on update. To Git this looks like the stat data does not match and > > a full file compare will be forced even it size and mtime m

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-05 Thread Robin Rosenberg
- Ursprungligt meddelande - > Robin Rosenberg writes: > > > If core.symlinks is set to copy then symbolic links in a git > > repository > > will be checked out as copies of the file it points to. > > That all sounds nice on surface when the primary thin

Re: [PATCH] Perform minimal stat comparison when some stat fields are not set

2012-12-06 Thread Robin Rosenberg
- Ursprungligt meddelande - > Am 12/6/2012 2:09, schrieb Robin Rosenberg: > >> Robin Rosenberg writes: > >>> At least JGit does sets uid, gid, ctime, ino and dev fields to > >>> zero > >>> on update. To Git this looks like the stat data do

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-06 Thread Robin Rosenberg
- Ursprungligt meddelande - > Am 12/5/2012 23:46, schrieb Robin Rosenberg: > > - git status - when do we report a diff. > > - After checkout we should probably not > > Are you saying that it should be ignored that the index records a > symbolic > link,

[PATCH] bash: teach __git_ps1 about REVERT_HEAD

2013-03-30 Thread Robin Rosenberg
Signed-off-by: Robin Rosenberg --- contrib/completion/git-prompt.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh index 341422a..756a951 100644 --- a/contrib/completion/git-prompt.sh +++ b/contrib/completion/git

Re: [PATCH] Fix: wrong offset for CET timezone

2014-06-26 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "Alan Franzoni" > Till: git@vger.kernel.org > Kopia: "Alan Franzoni" > Skickat: torsdag, 26 jun 2014 15:53:32 > Ämne: [PATCH] Fix: wrong offset for CET timezone > > From: Alan Franzoni > > Signed-off-by: Alan Franzoni > --- > Documentation/date-f

Re: [PATCH] Fix: wrong offset for CET timezone

2014-06-27 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "Alan Franzoni" > Till: "Robin Rosenberg" > Kopia: git@vger.kernel.org, "Alan Franzoni" , > sch...@linux-m68k.org > Skickat: fredag, 27 jun 2014 10:24:23 > Ämne: Re: [PATCH] Fix: wrong offset for CE

Re: move detection doesnt take filename into account

2014-07-01 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "Elliot Wolk" > Till: git@vger.kernel.org > Skickat: måndag, 30 jun 2014 8:38:18 > Ämne: move detection doesnt take filename into account > > if you move two identical {e.g.: empty} files to two new locations in a > single commit, the move detection p

Re: Recording the current branch on each commit?

2014-04-27 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "Jeremy Morton" > Till: git@vger.kernel.org > Skickat: söndag, 27 apr 2014 1:56:47 > Ämne: Recording the current branch on each commit? > > Currently, git records a checksum, author, commit date/time, and commit > message with every commit (as get be

Re: Recording the current branch on each commit?

2014-04-29 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "Felipe Contreras" > Till: "James Denholm" , "Felipe Contreras" > > Kopia: "David Kastrup" , "Jeremy Morton" > , "Johan Herland" , > "Git mailing list" > Skickat: tisdag, 29 apr 2014 5:32:29 > Ämne: Re: Recording the current branch on each commit?

Re: Cannot run cmd command lines from GIT bash

2014-08-18 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "Alex Dickson" > Till: git@vger.kernel.org > Skickat: måndag, 18 aug 2014 13:07:46 > Ämne: Cannot run cmd command lines from GIT bash > > HI, > I have just installed GIT from Git-1.9.4-preview20140815.exe having > previously been using Git-1.9.2-previ

[PATCH] Allow the user to change the temporary file name for mergetool

2014-08-19 Thread Robin Rosenberg
h does not cause confusion. Signed-off-by: Robin Rosenberg --- Documentation/git-mergetool.txt | 7 +++ git-mergetool.sh| 10 ++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Documentation/git-mergetool.txt b/Documentation/git-mergetool.txt ind

[PATCH v2] Allow the user to change the temporary file name for mergetool

2014-08-19 Thread Robin Rosenberg
h does not cause confusion. Signed-off-by: Robin Rosenberg --- Documentation/git-mergetool.txt | 7 +++ git-mergetool.sh| 10 ++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Documentation/git-mergetool.txt b/Documentation/git-mergetool.txt ind

[PATCH v3] Allow the user to change the temporary file name for mergetool

2014-08-19 Thread Robin Rosenberg
h does not cause confusion. Signed-off-by: Robin Rosenberg --- Documentation/config.txt| 5 + Documentation/git-mergetool.txt | 7 +++ git-mergetool.sh| 10 ++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Documentation/config.txt b/Doc

Re: [PATCH v3] Allow the user to change the temporary file name for mergetool

2014-08-20 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "Junio C Hamano" > Till: "Johannes Sixt" > Kopia: "Robin Rosenberg" , git@vger.kernel.org > Skickat: onsdag, 20 aug 2014 0:14:21 > Ämne: Re: [PATCH v3] Allow the user to change the temporary file nam

[PATCH v4] Allow the user to change the temporary file name for mergetool

2014-08-21 Thread Robin Rosenberg
h does not cause confusion. Signed-off-by: Robin Rosenberg --- Documentation/config.txt| 5 + Documentation/git-mergetool.txt | 7 +++ git-mergetool.sh| 10 ++ 3 files changed, 18 insertions(+), 4 deletions(-) Fixed a spelling error. -- robin di

Re: [PATCH] mergetool: add an option for writing to a temporary directory

2014-10-15 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "David Aguilar" > Till: "Junio C Hamano" > Kopia: "Robin Rosenberg" , git@vger.kernel.org, > "Charles Bailey" > Skickat: onsdag, 15 okt 2014 8:38:49 > Ämne: Re: [PATCH] mergetool: add an

Re: GIT Plug-in for PowerBuilder

2013-09-20 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "Ram Kunchur" > Till: git@vger.kernel.org > Kopia: "Daren Scott" , "Rajen Shah" > , "Sagar Keluskar" > > Skickat: fredag, 20 sep 2013 16:17:38 > Ämne: GIT Plug-in for PowerBuilder > > Hello Team, >   We wish to use GITSCC plug-in with PowerBu

Re: suspected bug(s) in git-cvsexportcommit.perl

2013-09-22 Thread Robin Rosenberg
- Ursprungligt meddelande - > Från: "David Loyall" > Till: git@vger.kernel.org > Skickat: onsdag, 18 sep 2013 21:00:46 > Ämne: suspected bug(s) in git-cvsexportcommit.perl > > Hello. > > I don't believe that git-cvsexportcommit.perl is working properly. > > First off, invocations of "

[PATCH] Documentation: finding $(prefix)/etc/gitconfig when prefix = /usr

2013-07-07 Thread Robin Rosenberg
Signed-off-by: Robin Rosenberg --- Documentation/git-config.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 9ae2508..3198d52 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git

Re: [PATCH] Documentation: finding $(prefix)/etc/gitconfig when prefix = /usr

2013-07-07 Thread Robin Rosenberg
I guess this isn't true either. Anyone has a better way of specifiying where the system wide config file is read from, or a user-parseable definition of $(prefix) ? -- robin - Ursprungligt meddelande - > Signed-off-by: Robin Rosenberg > --- > Documentation/git-

Re: [PATCH] Documentation: finding $(prefix)/etc/gitconfig when prefix = /usr

2013-07-07 Thread Robin Rosenberg
- Ursprungligt meddelande - > On Mon, Jul 08, 2013 at 12:00:02AM +0200, Robin Rosenberg wrote: > > Signed-off-by: Robin Rosenberg > > --- > > Documentation/git-config.txt | 6 -- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > di

Re: [PATCH] deprecate core.statinfo at Git 2.0 boundary

2013-05-07 Thread Robin Rosenberg
This looks ok with me, though I can manage without backward compatibility. -- robin -- 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