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 robb...@gentoo.org 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

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 t...@thomasrast.ch 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

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 t...@thomasrast.ch 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

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

2014-02-23 Thread Christian Couder
From: Junio C Hamano gits...@pobox.com Junio C Hamano gits...@pobox.com 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

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

2014-02-23 Thread Thomas Rast
Eric Sunshine sunsh...@sunshineco.com writes: On Sat, Feb 22, 2014 at 4:17 AM, Thomas Rast t...@thomasrast.ch 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

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

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

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

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 t...@thomasrast.ch wrote: Eric Sunshine sunsh...@sunshineco.com writes: On Sat, Feb 22, 2014 at 4:17 AM, Thomas Rast t...@thomasrast.ch wrote: Using the new no_worktree flag from the previous commit, we can teach merge-recursive to leave the

Re: Cygwin + git log = no pager!

2014-02-23 Thread Robert Dailey
On Sat, Feb 22, 2014 at 1:39 AM, Chris Packham judge.pack...@gmail.com 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

[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.

[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 t.gumme...@gmail.com --- Documentation/config.txt | 4

[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

[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.

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 robb...@gentoo.org wrote: This patch implements easily accessible sparse checkouts during clone, in the --sparse-checkout option. $ git clone REPO --sparse-checkout PATH Or

[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

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

2014-02-23 Thread Johan Herland
On Wed, Feb 19, 2014 at 12:10 AM, Duy Nguyen pclo...@gmail.com wrote: On Tue, Feb 18, 2014 at 9:46 PM, Johan Herland jo...@herland.net wrote: On Mon, Feb 17, 2014 at 11:48 AM, yann.dir...@bertin.fr wrote: The recent git-note -C changes commit type? thread

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

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 p...@peff.net 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

[BUG] remote.pushdefault and branch.name.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.name.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

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 http://www.skobilligt2014.com/nike-free hvis du går til nike gratis køre folk sko eller støvler online shop, at de du kan reservere en masse

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

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 http://www.nikefemmepascher.fr/nike-air-max chaque dernier nike jordan chaussures ou des bottes eux-mêmes très

Nike Air Max 90 Femme

2014-02-23 Thread Shliver
Nike Air Max 90 Femme http://www.nikefemmepascher.fr/nike-air-max 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

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 http://www.trainersuk.uk.com/nike-free maximizing the joy of barefoot working.Try using aspirin water for fighting plant diseases. 1 and

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 http://www.trainersuk.uk.com/nike-free maximizing the joy of barefoot working.Try using aspirin water for fighting plant diseases. 1 and

[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

[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 email- 1234 -, because that simulates an

[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 is

[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

[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

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 judge.pack...@gmail.com 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

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 http://www.femmefootlocker.fr/nike-air-max ce qui est fantastique à propos de la Nike Air Max 90 est la