Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Johannes Schindelin
Hi Duy, On 2015-02-25 11:02, Duy Nguyen wrote: On Wed, Feb 25, 2015 at 6:56 AM, Matthieu Moy matthieu@grenoble-inp.fr wrote: To get an idea, I counted the lines of code written by the student I mentored last year: $ git log --author tanay...@gmail.com -p | diffstat -s 43 files

feature request: excluding files/paths from git grep

2015-02-25 Thread Noel Grandin
Hi In our repo (LibreOffice) we have various test files which tend to show up on 'grit grep', which just generate noise because (a) they have lots of common keywords that one might search for in them and (b) they have very little in the way of linebreaks So they tend to generate a lot of noise

Re: feature request: excluding files/paths from git grep

2015-02-25 Thread Jeff King
On Wed, Feb 25, 2015 at 08:46:37PM +0700, Duy Nguyen wrote: On Wed, Feb 25, 2015 at 7:23 PM, Noel Grandin n...@peralex.com wrote: What would be nice is a per-user/repo config setting that excludes certain files and paths from the 'git grep' search. Does this sound reasonable/acceptable?

Re: sparse checkout syntax does not work in git version 1.9.5.msysgit.0

2015-02-25 Thread Duy Nguyen
On Tue, Feb 24, 2015 at 5:41 AM, samt sam7...@gmail.com wrote: The platform is Windows server 2008 Git version is 1.9.5.msysgit.0 I have a repository and I want EVERYTHING in the repository to be checked out into the workspace EXCEPT one directory. I have a machine with git version

Re: Git Scaling: What factors most affect Git performance for a large repo?

2015-02-25 Thread Duy Nguyen
On Sat, Feb 21, 2015 at 11:01 AM, Duy Nguyen pclo...@gmail.com wrote: I wonder how efficient rsync is for transferring these refs: the client generates a file containing all refs, the server does the same with their refs, then the client rsync their file to the server.. The changes between the

Re: [RFC/PATCH 0/3] protocol v2

2015-02-25 Thread Duy Nguyen
On Wed, Feb 25, 2015 at 6:37 AM, Stefan Beller sbel...@google.com wrote: I can understand, that we maybe want to just provide one generic version 2 of the protocol which is an allrounder not doing bad in all of these aspects, but I can see usecases of having the desire to replace the wire

Loan Offer

2015-02-25 Thread stanley Clarke
I am stanley Clarke a private lender located in USA.I can help you with a loan you are looking for @ 3% interest rate,For Urgent Response Email: stanleyclarkel...@gmail.com stanley Clarke. Email: stanleyclarkel...@gmail.com Telephone:(781)-369-5127 -- To unsubscribe from this list: send the

Re: feature request: excluding files/paths from git grep

2015-02-25 Thread Duy Nguyen
On Wed, Feb 25, 2015 at 7:23 PM, Noel Grandin n...@peralex.com wrote: What would be nice is a per-user/repo config setting that excludes certain files and paths from the 'git grep' search. Does this sound reasonable/acceptable? There is no config setting to do that, but since v1.9.5 you can

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Johannes Schindelin
Hi Matthieu, On 2015-02-25 11:25, Matthieu Moy wrote: - Original Message - On 2015-02-24 13:28, Jeff King wrote: On Tue, Feb 24, 2015 at 01:25:32PM +0100, Johannes Schindelin wrote: Thanks! No rush, as we are not even accepted yet, but you can create a profile at:

Re: [PATCH] sequencer: preserve commit messages

2015-02-25 Thread Christoph Anton Mitterer
On Tue, 2015-02-24 at 10:29 -0800, Junio C Hamano wrote: Hmm, but if it does not, wouldn't that countermand the wish of the user who explicitly asked to clean crufty messages up by setting their own commit.cleanup configuration? IMHO it's just wrong behaviour if the commit messages of people

[PATCH] git-svn: fix localtime=true on non-glibc environments

2015-02-25 Thread Ryuichi Kokubo
git svn uses POSIX::strftime('%s', $sec, $min, ...) to make unix epoch time. But lowercase %s formatting character is a GNU extention. This causes problem in git svn fetch --localtime on non-glibc systems, such as msys or cygwin. Using Time::Local::timelocal($sec, $min, ...) fixes it.

Re: [RFC/PATCH 0/3] protocol v2

2015-02-25 Thread Junio C Hamano
Duy Nguyen pclo...@gmail.com writes: On Wed, Feb 25, 2015 at 6:37 AM, Stefan Beller sbel...@google.com wrote: I can understand, that we maybe want to just provide one generic version 2 of the protocol which is an allrounder not doing bad in all of these aspects, but I can see usecases of

Re: [PATCH] git-svn: fix localtime=true on non-glibc environments

2015-02-25 Thread Eric Wong
Junio C Hamano gits...@pobox.com wrote: Ryuichi Kokubo ryu1...@gmail.com writes: git svn uses POSIX::strftime('%s', $sec, $min, ...) to make unix epoch time. But lowercase %s formatting character is a GNU extention. This causes problem in git svn fetch --localtime on non-glibc systems,

Re: [PATCH 1/2] sha1_file: Add sha1_object_type_literally and export it.

2015-02-25 Thread David Turner
On Thu, 2015-02-26 at 01:29 +0530, karthik nayak wrote: On 02/25/2015 11:52 PM, David Turner wrote: On Wed, 2015-02-25 at 16:37 +0530, Karthik Nayak wrote: + unsigned long mapsize; ... + map = map_sha1_file(sha1, mapsize); I know this is a pre-existing issue, but I'm not sure

Re: About checkout with untracked files on remote.

2015-02-25 Thread Eugene Fedorov
I have specific case which you can use to improve git. My example: I have 2 branches - master, implement_button. Branch implement_button add some button with few style.css and fonts files. Both branches have same git ignore file where all fonts and css folders with files ignored. The point: Now

Re: feature request: excluding files/paths from git grep

2015-02-25 Thread Jeff King
On Wed, Feb 25, 2015 at 10:33:53AM -0800, Junio C Hamano wrote: Jeff King p...@peff.net writes: If it's an attribute of the file, and not the request, maybe gitattributes would be a better fit. You can already do this with: *.foo -diff in your .gitattributes file, though that

Re: [PATCH 1/2] sha1_file: Add sha1_object_type_literally and export it.

2015-02-25 Thread karthik nayak
On 02/25/2015 11:52 PM, David Turner wrote: On Wed, 2015-02-25 at 16:37 +0530, Karthik Nayak wrote: + unsigned long mapsize; ... + map = map_sha1_file(sha1, mapsize); I know this is a pre-existing issue, but I'm not sure unsigned long is the right type here. Shouldn't it be a

Re: git svn import failure : write .git/Git_svn_hash_BmjclS: Bad file descriptor

2015-02-25 Thread Eric Wong
Nico Schlömer nico.schloe...@gmail.com wrote: Thanks Kyle for the patch! I applied it and ran ``` git svn clone https://geuz.org/svn/gmsh/trunk ``` Unfortunately, I'm still getting ``` [...] r100 = e2a9b5baa2cebb18591ecb04ff350410d52f36de (refs/remotes/git-svn) error closing pipe: Bad

Re: [PATCH] sequencer: preserve commit messages

2015-02-25 Thread Junio C Hamano
Michael J Gruber g...@drmicha.warpmail.net writes: Junio C Hamano venit, vidit, dixit 24.02.2015 19:29: Michael J Gruber g...@drmicha.warpmail.net writes: Hmm, wouldn't it introduce a grave regression for users who explicitly ask to clean crufty messages up (by setting their own

Re: feature request: excluding files/paths from git grep

2015-02-25 Thread Junio C Hamano
Jeff King p...@peff.net writes: If it's an attribute of the file, and not the request, maybe gitattributes would be a better fit. You can already do this with: *.foo -diff in your .gitattributes file, though that _also_ marks the files as not for diffing, which may not be desired.

Re: question about resume support.

2015-02-25 Thread drathir87
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thanks a lot good to know that and that's true little hard to do bc even if track always the latest version some repositories change so fast and will be needed some kind od eg. snapshot of user repository by auto script eg once at 12-24h and that

Re: feature request: excluding files/paths from git grep

2015-02-25 Thread Junio C Hamano
Jeff King p...@peff.net writes: So I think _if_ using diff attributes is enough for this purpose, then there is no code to be written. But if somebody wants to draw a distinction between the uses (I want to diff foo files, but never see them in grep) then we could introduce a grep attribute

Re: [PATCH] git-svn: fix localtime=true on non-glibc environments

2015-02-25 Thread Junio C Hamano
Ryuichi Kokubo ryu1...@gmail.com writes: git svn uses POSIX::strftime('%s', $sec, $min, ...) to make unix epoch time. But lowercase %s formatting character is a GNU extention. This causes problem in git svn fetch --localtime on non-glibc systems, such as msys or cygwin. Using

new screencast demo: git-deps facilitating porting between branches

2015-02-25 Thread Adam Spiers
Hi again, On 19 January 2015 at 00:11, Adam Spiers g...@adamspiers.org wrote: I'm pleased to announce this is ready for testing; here are more details along with a short screencast demonstration: http://blog.adamspiers.org/2015/01/19/git-deps/ I just quickly made another screencast demo

Re: feature request: excluding files/paths from git grep

2015-02-25 Thread Jeff King
On Wed, Feb 25, 2015 at 11:01:22AM -0800, Junio C Hamano wrote: Jeff King p...@peff.net writes: So I think _if_ using diff attributes is enough for this purpose, then there is no code to be written. But if somebody wants to draw a distinction between the uses (I want to diff foo files,

Re: [PATCH 1/2] sha1_file: Add sha1_object_type_literally and export it.

2015-02-25 Thread David Turner
On Wed, 2015-02-25 at 16:37 +0530, Karthik Nayak wrote: + unsigned long mapsize; ... + map = map_sha1_file(sha1, mapsize); I know this is a pre-existing issue, but I'm not sure unsigned long is the right type here. Shouldn't it be a size_t? + if (!map) + return

Re: [ANNOUNCE] Git v2.3.1

2015-02-25 Thread Peter van der Does
On 02/25/2015 02:02 AM, Junio C Hamano wrote: The latest maintenance release Git v2.3.1 is now available at the usual places. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the 'v2.3.1' tag and the

Re: git svn import failure : write .git/Git_svn_hash_BmjclS: Bad file descriptor

2015-02-25 Thread Kyle J. McKay
On Feb 25, 2015, at 07:07, Nico Schlömer wrote: Thanks Kyle for the patch! I applied it and ran ``` git svn clone https://geuz.org/svn/gmsh/trunk ``` Unfortunately, I'm still getting ``` [...] r100 = e2a9b5baa2cebb18591ecb04ff350410d52f36de (refs/remotes/git-svn) error closing pipe: Bad file

Re: [PATCH v3] remote-curl: fall back to Basic auth if Negotiate fails

2015-02-25 Thread Dan Langille (dalangil)
On Feb 24, 2015, at 4:03 PM, Dan Langille (dalangil) dalan...@cisco.com wrote: On Feb 19, 2015, at 3:35 PM, brian m. carlson sand...@crustytoothpaste.net wrote: On Wed, Feb 18, 2015 at 04:17:46PM +, Dan Langille (dalangil) wrote: I just built from ‘master’, on FreeBSD 9.3: cd

Re: [BUG] diffcore-rename with duplicate tree entries can segfault

2015-02-25 Thread Jeff King
On Tue, Feb 24, 2015 at 09:00:20PM -0800, Junio C Hamano wrote: Jeff King p...@peff.net writes: 3. The sort order check is wrong. :-/ It needs to take into account git's magic if it's a tree, pretend it has '/' after it rule. That's not too hard for a single tree

Re: [BUG] diffcore-rename with duplicate tree entries can segfault

2015-02-25 Thread Junio C Hamano
Jeff King p...@peff.net writes: But we can also do that with a hash table, or an auxiliary sorted array. And sure enough, that's exactly what the rename_dst array is. ... which I think is a pretty simple and sane fix. Yeah, good observation. So to go forward, I'm happy to prepare a patch,

Re: [PATCH 1/2] sha1_file: Add sha1_object_type_literally and export it.

2015-02-25 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com writes: +int sha1_object_type_literally(const unsigned char *sha1, char *type) +{ + int status = 0; + unsigned long mapsize; + void *map; + git_zstream stream; + char hdr[32]; + int i; + + map = map_sha1_file(sha1,

Re: [PATCH 1/2] sha1_file: Add sha1_object_type_literally and export it.

2015-02-25 Thread Eric Sunshine
I had written a longer review but was interrupted for a several hours, and upon returning found that David and Junio covered many of the same issues or overrode comments I was making, so the below review is pared down quite a bit. Junio's proposed approach negates all of the below review comments,

Re: [PATCH 2/2] cat-file: add --literally option.

2015-02-25 Thread Eric Sunshine
On Wed, Feb 25, 2015 at 6:08 AM, Karthik Nayak karthik@gmail.com wrote: cat-file: add --literally option. Style: drop terminating period. Add --literally option which when used with -t option gives the type of the object given, irrelevant of the type and its contents. Confusing: gives

Re: [PATCH v9 1/1] http: Add Accept-Language header if possible

2015-02-25 Thread Jeff King
On Wed, Feb 25, 2015 at 02:52:26PM -0800, Junio C Hamano wrote: This is now in 'master', but I wonder if people are getting compilation errors because of this change. I do. I usually compile with NO_GETTEXT, but if I stop doing so, I see the problem, too. I really do not like a conditional

Re: [PATCH 1/2] sha1_file: Add sha1_object_type_literally and export it.

2015-02-25 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Looking at how we collect information on normal objects, it may make more sense to model this after sha1_loose_object_info(), with a tweak to struct object_info datatype, and integrate it into sha1_object_info_extended() may make more sense, perhaps

Re: [PATCH v9 1/1] http: Add Accept-Language header if possible

2015-02-25 Thread Junio C Hamano
Yi EungJun semtlen...@gmail.com writes: From: Yi EungJun eungjun...@navercorp.com Add an Accept-Language header which indicates the user's preferred languages defined by $LANGUAGE, $LC_ALL, $LC_MESSAGES and $LANG. ... Signed-off-by: Yi EungJun eungjun...@navercorp.com --- Yikes. This is

Re: [RFC/PATCH 0/3] protocol v2

2015-02-25 Thread Stefan Beller
On Wed, Feb 25, 2015 at 10:04 AM, Junio C Hamano gits...@pobox.com wrote: Duy Nguyen pclo...@gmail.com writes: On Wed, Feb 25, 2015 at 6:37 AM, Stefan Beller sbel...@google.com wrote: I can understand, that we maybe want to just provide one generic version 2 of the protocol which is an

Re: Any chance for a Git v2.1.5 release?

2015-02-25 Thread Kyle J. McKay
On Feb 24, 2015, at 21:13, Junio C Hamano wrote: Kyle J. McKay mack...@gmail.com writes: I can designate ;-), but I do not think I'd be the right person to maintain or long-term-support it. Are you volunteering to oversee the LTS team? I could not promise a team of more than one member.

Re: git svn import failure : write .git/Git_svn_hash_BmjclS: Bad file descriptor

2015-02-25 Thread Kyle J. McKay
I believe I have been able to track down this problem and implement a fix. Please report back if this patch fixes the problem for you. -Kyle -- 8 -- Subject: [PATCH] Git::SVN::Fetcher: avoid premature 'svn_hash' temp file closure Since b19138b (git-svn: Make it incrementally faster by

Re: What's cooking in git.git (Feb 2015, #06; Sun, 22)

2015-02-25 Thread Duy Nguyen
On Mon, Feb 23, 2015 at 8:53 PM, Michael J Gruber g...@drmicha.warpmail.net wrote: Junio C Hamano venit, vidit, dixit 22.02.2015 22:41: [Stalled] * nd/list-files (2015-02-09) 21 commits . t3080: tests for git-list-files . list-files: -M aka diff-cached . list-files -F: show submodules

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Matthieu Moy
- Original Message - Hi Peff, On 2015-02-24 13:28, Jeff King wrote: On Tue, Feb 24, 2015 at 01:25:32PM +0100, Johannes Schindelin wrote: Thanks! No rush, as we are not even accepted yet, but you can create a profile at: http://google-melange.com and ask to join

Re: Build error with current source release

2015-02-25 Thread John Szakmeister
On Tue, Feb 24, 2015 at 9:23 AM, J. R. Westmoreland j...@jrw.org wrote: Hi I hope it is okay to ask such a question here. I cloned the current source tree and tried to build it and I get the following error. Could someone tell me why and if there is an easy way to fix it? If you aren't

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Matthieu Moy
Johannes Schindelin johannes.schinde...@gmx.de writes: Done: https://github.com/git/git.github.io/pull/12 Thanks, merged. I opened another PR, based on Mathieu's advice. Thanks, merged. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line

Re: Internationalization and yes/no prompts

2015-02-25 Thread Jean-Noël Avila
Le 24/02/2015 21:32, Junio C Hamano a écrit : - explicitly put y/n in the message. Translaters should be warned to let y/n, This may be suboptimal from the end-user's point of view, but it is the least risky of breaking anything. And it is way better than the status quo. I can push a

Re: [PATCH] sequencer: preserve commit messages

2015-02-25 Thread Michael J Gruber
Junio C Hamano venit, vidit, dixit 24.02.2015 19:29: Michael J Gruber g...@drmicha.warpmail.net writes: Hmm, wouldn't it introduce a grave regression for users who explicitly ask to clean crufty messages up (by setting their own commit.cleanup configuration) if you unconditionally force

[no subject]

2015-02-25 Thread stefan leijen
-- 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

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Christian Couder
On Wed, Feb 25, 2015 at 9:44 AM, Johannes Schindelin johannes.schinde...@gmx.de wrote: Hi Matthieu, On 2015-02-25 00:56, Matthieu Moy wrote: Johannes Schindelin johannes.schinde...@gmx.de writes: On 2015-02-24 19:25, Junio C Hamano wrote: On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Duy Nguyen
On Wed, Feb 25, 2015 at 6:56 AM, Matthieu Moy matthieu@grenoble-inp.fr wrote: To get an idea, I counted the lines of code written by the student I mentored last year: $ git log --author tanay...@gmail.com -p | diffstat -s 43 files changed, 1225 insertions(+), 367 deletions(-) I would

Re: [ANNOUNCE] Git Merge Contributors Summit, April 8th, Paris

2015-02-25 Thread Sebastian Schuberth
On 25.02.2015 01:47, Stefan Beller wrote: 2. Get people thinking about what they would like to talk about. In past GitTogethers, it's been a mix of people with prepared things to talk about, group discussions of areas, and general kibitzing. We can be spontaneous on the

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Michael J Gruber
Stefan Beller venit, vidit, dixit 25.02.2015 01:34: On Tue, Feb 24, 2015 at 3:56 PM, Matthieu Moy matthieu@grenoble-inp.fr wrote: Johannes Schindelin johannes.schinde...@gmx.de writes: Hi Junio, On 2015-02-24 19:25, Junio C Hamano wrote: On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Johannes Schindelin
Hi Peff, On 2015-02-24 13:28, Jeff King wrote: On Tue, Feb 24, 2015 at 01:25:32PM +0100, Johannes Schindelin wrote: Thanks! No rush, as we are not even accepted yet, but you can create a profile at: http://google-melange.com and ask to join the git project as a mentor. I guess

Re: [msysGit] Re: [RFH] GSoC 2015 application

2015-02-25 Thread Johannes Schindelin
Hi Matthieu, On 2015-02-25 00:56, Matthieu Moy wrote: Johannes Schindelin johannes.schinde...@gmx.de writes: On 2015-02-24 19:25, Junio C Hamano wrote: On Tue, Feb 24, 2015 at 9:32 AM, Matthieu Moy matthieu@grenoble-inp.fr wrote: About the proposal: The idea of this project is to

[PATCH 1/2] sha1_file: Add sha1_object_type_literally and export it.

2015-02-25 Thread Karthik Nayak
sha1_object_type_literally takes a sha value and gives the type of the given loose object, used by git cat-file -t --literally. Signed-off-by: Karthik Nayak karthik@gmail.com --- cache.h | 1 + sha1_file.c | 27 +++ 2 files changed, 28 insertions(+) diff --git

[PATCH 0/2] cat-file --literally

2015-02-25 Thread karthik nayak
These changes introduce a --literally option to cat-file to allow us to read the type of any loose object, mostly the ones created using the --literally option of hash-object. For now it works with the -t option as : git cat-object -t --literally object_sha Can be made to work with -e and

[PATCH 2/2] cat-file: add --literally option.

2015-02-25 Thread Karthik Nayak
Add --literally option which when used with -t option gives the type of the object given, irrelevant of the type and its contents. Signed-off-by: Karthik Nayak karthik@gmail.com --- builtin/cat-file.c | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-)