Re: [PATCH] clone: allow initial sparse checkouts

2014-02-23 Thread Duy Nguyen
On Sun, Feb 23, 2014 at 2:32 PM, Robin H. Johnson wrote: >> > This patch implements easily accessible sparse checkouts during clone, >> > in the --sparse-checkout option. >> > >> > $ git clone REPO --sparse-checkout PATH >> Or take a file as input if there are lots of paths/rules. > How much deman

Re: [PATCH v2 3/8] merge-recursive: -Xindex-only to leave worktree unchanged

2014-02-23 Thread Eric Sunshine
On Sat, Feb 22, 2014 at 4:17 AM, Thomas Rast wrote: > Using the new no_worktree flag from the previous commit, we can teach > merge-recursive to leave the worktree untouched. Expose this with a > new strategy option so that scripts can use it. > > Signed-off-by: Junio C Hamano > --- > diff --git

Re: [PATCH v2 7/8] name-hash: allow dir hashing even when !ignore_case

2014-02-23 Thread Eric Sunshine
On Sat, Feb 22, 2014 at 4:17 AM, Thomas Rast wrote: > The directory hash (for fast checks if the index already has a > directory) was only used in ignore_case mode and so depended on that > flag. > > Make it generally available on request. > > Signed-off-by: Thomas Rast > --- > diff --git a/name-

Re: [PATCH v5 02/14] trailer: process trailers from file and arguments

2014-02-23 Thread Christian Couder
From: Junio C Hamano > > Junio C Hamano writes: > > Having said all that, it appears that nobody seems to be able to > come up with a saner arrangement that would not paint us into a > tough corner that we would not be able to later escape from without > being backward incompatible---I certainly

Re: [PATCH v2 3/8] merge-recursive: -Xindex-only to leave worktree unchanged

2014-02-23 Thread Thomas Rast
Eric Sunshine writes: > On Sat, Feb 22, 2014 at 4:17 AM, Thomas Rast wrote: >> Using the new no_worktree flag from the previous commit, we can teach >> merge-recursive to leave the worktree untouched. Expose this with a >> new strategy option so that scripts can use it. >> >> Signed-off-by: Jun

Re: [PATCH] diff: do not reuse_worktree_file for submodules

2014-02-23 Thread Thomas Rast
Thomas Rast writes: > Junio C Hamano writes: > >> Thomas Rast writes: >> >>> @@ -2845,8 +2845,9 @@ static struct diff_tempfile *prepare_temp_file(const >>> char *name, >>> remove_tempfile_installed = 1; >>> } >>> >>> - if (!one->sha1_valid || >>> - reuse_worktree_file

Re: Fwd: git p4: feature request - branch check filtering

2014-02-23 Thread Pete Wyckoff
dpr...@gmail.com wrote on Tue, 18 Feb 2014 12:42 +: > I work at a company that has recently moved all CVS, SVN, and git > repositories to Perforce. Depots have not been setup correctly in > every case, and there is one depot that contains literally hundreds of > projects under commercial devel

Re: [PATCH v2 3/8] merge-recursive: -Xindex-only to leave worktree unchanged

2014-02-23 Thread Eric Sunshine
On Sun, Feb 23, 2014 at 6:57 AM, Thomas Rast wrote: > Eric Sunshine writes: > >> On Sat, Feb 22, 2014 at 4:17 AM, Thomas Rast wrote: >>> Using the new no_worktree flag from the previous commit, we can teach >>> merge-recursive to leave the worktree untouched. Expose this with a >>> new strategy

Re: Cygwin + git log = no pager!

2014-02-23 Thread Robert Dailey
On Sat, Feb 22, 2014 at 1:39 AM, Chris Packham wrote: > On 22/02/14 18:18, Robert Dailey wrote: >> So it seems that the pager doesn't work by default when running `git >> log` from Cygwin like it does in msysgit for Windows. >> >> I know I can pipe to `less` but that requires the additional typing

[PATCH v2 0/3] Easier access to index-v4

2014-02-23 Thread Thomas Gummerer
Hi, previous round was at $gmane/242198. Thanks to Junio, Eric and Duy for comments on the previous round. Since then I've squashed the fixes suggested by Junio, added a test showing what should happen if an index file is present and GIT_INDEX_VERSION is set and fixed the typo found by Eric. Th

[PATCH v2 3/3] read-cache: add index.version config variable

2014-02-23 Thread Thomas Gummerer
Add a config variable that allows setting the default index version when initializing a new index file. Similar to the GIT_INDEX_VERSION environment variable this only affects new index files. Signed-off-by: Thomas Gummerer --- Documentation/config.txt | 4 read-cache.c | 35 +

[PATCH v2 2/3] test-lib: allow setting the index format version

2014-02-23 Thread Thomas Gummerer
Allow adding a TEST_GIT_INDEX_VERSION variable to config.mak to set the index version with which the test suite should be run. If it isn't set, the default version given in the source code is used (currently version 3). To avoid breakages with index versions other than [23], also set the index ve

[PATCH v2 1/3] introduce GIT_INDEX_VERSION environment variable

2014-02-23 Thread Thomas Gummerer
Respect a GIT_INDEX_VERSION environment variable, when a new index is initialized. Setting the environment variable will not cause existing index files to be converted to another format, but will only affect newly written index files. This can be used to initialize repositories with index-v4. He

Re: [PATCH] clone: allow initial sparse checkouts

2014-02-23 Thread Robin H. Johnson
On Sun, Feb 23, 2014 at 03:43:47PM +0700, Duy Nguyen wrote: > On Sun, Feb 23, 2014 at 2:32 PM, Robin H. Johnson wrote: > >> > This patch implements easily accessible sparse checkouts during clone, > >> > in the --sparse-checkout option. > >> > > >> > $ git clone REPO --sparse-checkout PATH > >> O

[PATCH] diffcore.h: be explicit about the signedness of is_binary

2014-02-23 Thread Richard Lowe
Bitfields need to specify their signedness explicitly or the compiler is free to default as it sees fit. With compilers that default 'unsigned' (SUNWspro 12 seems to do this) the tri-state nature of is_binary vanishes and all files are treated as binary. Signed-off-by: Richard Lowe --- diffcore

Re: [RFC/PATCH] Supporting non-blob notes

2014-02-23 Thread Johan Herland
On Wed, Feb 19, 2014 at 12:10 AM, Duy Nguyen wrote: > On Tue, Feb 18, 2014 at 9:46 PM, Johan Herland wrote: >> On Mon, Feb 17, 2014 at 11:48 AM, wrote: >>> The recent "git-note -C changes commit type?" thread >>> (http://thread.gmane.org/gmane.comp.version-control.git/241950) looks >>> like a g

Re: [PATCH] diffcore.h: be explicit about the signedness of is_binary

2014-02-23 Thread Jeff King
On Sun, Feb 23, 2014 at 07:54:47PM -0500, Richard Lowe wrote: > Bitfields need to specify their signedness explicitly or the compiler is > free to default as it sees fit. With compilers that default 'unsigned' > (SUNWspro 12 seems to do this) the tri-state nature of is_binary > vanishes and all f

Re: [Bug report] too many open files while cvsimport

2014-02-23 Thread 郑向昕
Hi git reports "Unknown: error Too many open files" when importing cvs repository using cvsimport. The repository is kind of middle size one, around 5000 files, thousands commits. Command line is: # git cvsimport -k -L 2 current ulimit: # ulimit -a -t: cpu time (seconds) unlimited

[PATCH] difftool: support repositories with .git-files

2014-02-23 Thread David Aguilar
Modern versions of "git submodule" use .git-files to setup the submodule directory. When run in a "git submodule"-created repository "git difftool --dir-diff" dies with the following error: $ git difftool -d HEAD~ fatal: This operation must be run in a work tree diff --raw

Re: [PATCH 3/3] make commit --verbose work with --no-status

2014-02-23 Thread Tay Ray Chuan
On Sat, Feb 22, 2014 at 4:31 PM, Jeff King wrote: > On Sat, Feb 22, 2014 at 03:09:22AM +0800, Tay Ray Chuan wrote: > >> @@ -1141,7 +1146,12 @@ static int parse_and_validate_options(int argc, const >> char *argv[], >> if (all && argc > 0) >> die(_("Paths with -a does not make s

[BUG] remote.pushdefault and branch..pushremote definition order

2014-02-23 Thread Jack Nagel
There seems to be a difference in the behavior of "git push" depending on whether remote.pushdefault is defined before or after branch..pushremote in .git/config. If remote.pushdefault is defined to be "origin", and later in the file, branch.master.pushremote is defined to be "upstream", then a pl

Nike Air Max 90 Dame Tilbud

2014-02-23 Thread Shliver
Hver bit af nike jordan 12 sko eller støvler diskonteret får pæne og måske de er generelt bare en egnet prisniveau. Selvfølgelig, Nike Free 3.0 V5 Dame hvis du går til nike gratis køre folk sko eller støvler online shop, at de du kan reservere en masse k

Re: Nike Air Max 90 Dame Tilbud

2014-02-23 Thread Shliver
Dies ist wirklich nicht auf den Läufer zusammen mit den Abschluss übertragen schließen Ergebnis ist tatsächlich ein Schuh, der ein gemütliches Erlebnis bietet. & Nbsp der Schuh entspricht auch effektiv viele aufgrund der großen Schnürung-Strategie als ordnungsgemäß eine obere, die für Läufer produz

Nike Air Max 90 Femme

2014-02-23 Thread Shliver
Probablement tué. personnes, mi air Nike jordan chaussures ou des bottes est simplement base deux personnes aujourd'hui, néanmoins pour les supporters de gens, Nike Air Max 90 Femme chaque dernier nike jordan chaussures ou des bottes eux-mêmes très g

Nike Air Max 90 Femme

2014-02-23 Thread Shliver
Nike Air Max 90 Femme chaque dernier nike jordan chaussures ou des bottes eux-mêmes très grave ce qui veut dire. Par conséquent ne va pas tarder, cheap jordan chaussures à vendre Assurez-vous qu'ils peuvent être dans le site et aussi accumuler le rais

Re: Nike Air Max 90 Femme

2014-02-23 Thread Shliver
hat is far more, a foam arch along with a toe bumper have been created to dexterously support the soles as well as the whole entire body, Nike Free 5.0 UK maximizing the joy of barefoot working.Try using aspirin water for fighting plant diseases. 1 and ha

Re: Nike Air Max 90 Femme

2014-02-23 Thread Shliver
hat is far more, a foam arch along with a toe bumper have been created to dexterously support the soles as well as the whole entire body, Nike Free 5.0 UK maximizing the joy of barefoot working.Try using aspirin water for fighting plant diseases. 1 and ha

[PATCH 0/5] handle bogus commit dates

2014-02-23 Thread Jeff King
This series improves our handling of commit dates that are numbers, but are ridiculously large. The most critical one is the final commit, which fixes a segfault, but the others clean up various corner cases. [1/5]: t4212: test bogus timestamps with git-log [2/5]: fsck: report integer overflow

[PATCH 1/5] t4212: test bogus timestamps with git-log

2014-02-23 Thread Jeff King
When t4212 was originally added by 9dbe7c3d (pretty: handle broken commit headers gracefully, 2013-04-17), it tested our handling of commits with broken ident lines in which the timestamps could not be parsed. It does so using a bogus line like "Name -<> 1234 -", because that simulates an error

[PATCH 2/5] fsck: report integer overflow in author timestamps

2014-02-23 Thread Jeff King
When we check commit objects, we complain if commit->date is ULONG_MAX, which is an indication that we saw integer overflow when parsing it. However, we do not do any check at all for author lines, which also contain a timestamp. Let's actually check the timestamps on each ident line with strtoul.

[PATCH 3/5] date: check date overflow against time_t

2014-02-23 Thread Jeff King
When we check whether a timestamp has overflowed, we check only against ULONG_MAX, meaning that strtoul has overflowed. However, we also feed these timestamps to system functions like gmtime, which expect a time_t. On many systems, time_t is actually smaller than "unsigned long" (e.g., because it i

[PATCH 4/5] log: handle integer overflow in timestamps

2014-02-23 Thread Jeff King
If an ident line has a ridiculous date value like (2^64)+1, we currently just pass ULONG_MAX along to the date code, which can produce nonsensical dates. On systems with a signed long time_t (e.g., 64-bit glibc systems), this actually doesn't end up too bad. The ULONG_MAX is converted to -1, we ap

[PATCH 5/5] log: do not segfault on gmtime errors

2014-02-23 Thread Jeff King
Many code paths assume that show_date and show_ident_date cannot return NULL. For the most part, we handle missing or corrupt timestamps by showing the epoch time t=0. However, we might still return NULL if gmtime rejects the time_t we feed it, resulting in a segfault. Let's catch this case and ju

Re: Cygwin + git log = no pager!

2014-02-23 Thread Chris Packham
On 24/02/14 09:33, Robert Dailey wrote: > On Sat, Feb 22, 2014 at 1:39 AM, Chris Packham > wrote: >> On 22/02/14 18:18, Robert Dailey wrote: >>> So it seems that the pager doesn't work by default when running `git >>> log` from Cygwin like it does in msysgit for Windows. >>> >>> I know I can pipe

Nike Air Max TN

2014-02-23 Thread Shliver
nbsp la chaussure correspond également à correctement beaucoup à cause de la stratégie de grand laçage comme correctement un dessus qui est conçu pour les coureurs.Aussi, Nike Air Max TN ce qui est fantastique à propos de la Nike Air Max 90 est la réa