On Sat, 2015-04-04 at 09:16 +0200, Torsten Bögershausen wrote:
On 2015-04-04 02.24, David Turner wrote:
On Fri, 2015-04-03 at 15:01 -0700, Junio C Hamano wrote:
David Turner dtur...@twopensource.com writes:
Why is it impossible to free struct lock_files? I understand that they
become
Hi,
I'd like to propose a new behavior around EOL normalization / forcing
using gitattributes.
My use case is this: I want to ensure that LF line endings are used in
the repo *and* in all working directories, on all platforms (in our
case, the text files MUST be LF even on Windows).
The first
Am 06.04.2015 um 04:15 schrieb Shane da Silva:
I’m having trouble understanding why I cannot stash changes to a submodule.
When adding a submodule to a repository (`git submodule add
./sub-repo`), I can then run `git stash` and `git stash pop` with
expected results—the submodule disappears and
I am interested in discussing the git pack protocol v2.
(I have been thinking about that for a while now,
though not sharing a lot on the mailing list, so feedback is
somewhat limited. :( )
On Mon, Apr 6, 2015 at 12:08 PM, Christian Couder
christian.cou...@gmail.com wrote:
On Mon, Apr 6, 2015
On Mon, Apr 6, 2015 at 12:48 AM, Thomas Ferris Nicolaisen
tfn...@gmail.com wrote:
On Tue, Feb 24, 2015 at 11:09 PM, Jeff King p...@peff.net wrote:
I wanted to make one more announcement about this, since a few more
details have been posted at:
http://git-merge.com/
since my last
On 2015-04-06 13.48, Erik Elfström wrote:
Signed-off-by: Erik Elfström erik.elfst...@gmail.com
---
t/perf/p7300-clean.sh | 37 +
1 file changed, 37 insertions(+)
create mode 100755 t/perf/p7300-clean.sh
diff --git a/t/perf/p7300-clean.sh
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
All entries have a two-letter tag. If all entries have the same tags,
tags are not displayed.
The outcome before and after this patch is the same. But it will be
useful in future when there are more than one type of
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
Try to reduce refresh time. Note that we still need another
read_cache() at top top, before parse_pathspec() because this
s/top top/the/top/
*_SLASH_CHEAP needs the index loaded.
One day read_index() should be
On Mon, Apr 6, 2015 at 7:48 AM, Erik Elfström erik.elfst...@gmail.com wrote:
Signed-off-by: Erik Elfström erik.elfst...@gmail.com
---
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh
index 99be5d9..cfdf6d4 100755
--- a/t/t7300-clean.sh
+++ b/t/t7300-clean.sh
@@ -455,6 +455,88 @@
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
diff --git a/wt-status.c b/wt-status.c
index cdbc8d7..ba9b56c 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -537,9 +537,11 @@ static void
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
When both --cached and one of -amdAMD is used together we may have two
entries of the same path, e.g. foo and MM foo. In this case it's
pretty clear that foo must be tracked, no need to displayfoo.
The new
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
diff --git a/builtin/list-files.c b/builtin/list-files.c
index 31991a4..fe15417 100644
--- a/builtin/list-files.c
+++ b/builtin/list-files.c
@@ -225,12
On Mon, Apr 6, 2015 at 4:40 PM, Torsten Bögershausen tbo...@web.de wrote:
On 2015-04-06 13.48, Erik Elfström wrote:
Signed-off-by: Erik Elfström erik.elfst...@gmail.com
---
diff --git a/t/perf/p7300-clean.sh b/t/perf/p7300-clean.sh
new file mode 100755
index 000..3f56fb2
--- /dev/null
On Mon, Apr 6, 2015 at 7:48 AM, Erik Elfström erik.elfst...@gmail.com wrote:
Before this change, clean used resolve_gitlink_ref to check for the
presence of nested git repositories. This had the drawback of creating
a ref_cache entry for every directory that should potentially be
cleaned. The
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
diff --git a/builtin/list-files.c b/builtin/list-files.c
index 3cbd30d..31991a4 100644
--- a/builtin/list-files.c
+++ b/builtin/list-files.c
@@ -39,6 +39,7
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
diff --git a/t/t7013-list-files.sh b/t/t7013-list-files.sh
index a4916d8..cdbc34a 100755
--- a/t/t7013-list-files.sh
+++ b/t/t7013-list-files.sh
@@ -110,4
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
diff --git a/Documentation/git-list-files.txt
b/Documentation/git-list-files.txt
new file mode 100644
index 000..9b9edce
--- /dev/null
+++
On Fri, Apr 3, 2015 at 11:22 PM, Shawn Landden sh...@churchofgit.com wrote:
[RFCv5 PATCH] daemon: add systemd support
Now that you've included a documentation update and made the example
systemd configuration files more accessible, this feels like a more
properly fleshed-out submission (though
du vandt 900.000, sende navn, land og tel
--
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
Git-cinnabar is a git remote helper to interact with mercurial
repositories. It allows to clone, pull and push from/to mercurial remote
repositories, using git.
Code on https://github.com/glandium/git-cinnabar
[ Previous announcements:
http://marc.info/?l=gitm=142364715001983
On Fri, 2015-04-03 at 15:01 -0700, Junio C Hamano wrote:
David Turner dtur...@twopensource.com writes:
Why is it impossible to free struct lock_files? I understand that they
become part of a linked list, and that there's an atexit handler that
goes over that list. But couldn't we just
systemd supports git-daemon's existing --inetd mode as well.
--systemd allows git-daemon has the advantage of allowing one git-daemon
to listen to multiple interfaces as well as the system one(s),
and more allow git-daemon to not be spawned on every connection.
Signed-off-by: Shawn Landden
On Fri, Apr 3, 2015 at 9:21 PM, Koosha Khajehmoogahi koo...@posteo.de wrote:
From: Junio C Hamano gits...@pobox.com
[kk: wrote commit message]
Helped-by: Eris Sunshine sunsh...@sunshineco.com
s/Eris/Eric/
Signed-off-by: Koosha Khajehmoogahi koo...@posteo.de
---
builtin/log.c | 6 ++
Thanks for your responses, all.
Jens: yes, only the index is updated by the stash. The subdirectory
remains and won't be removed (you will actually receive a warning
about `git` not being able to remove it).
I think the core of my misunderstanding is I was used to the idea that
when `git status`
On Mon, Apr 6, 2015 at 10:03 PM, Shawn Landden sh...@churchofgit.com wrote:
systemd supports git-daemon's existing --inetd mode as well.
--systemd allows git-daemon has the advantage of allowing one git-daemon
to listen to multiple interfaces as well as the system one(s),
and more allow
On Fri, Apr 3, 2015 at 9:21 PM, Koosha Khajehmoogahi koo...@posteo.de wrote:
From: Junio C Hamano gits...@pobox.com
revision: add a new option 'merges=' with
possible values of 'only', 'show' and 'hide'.
The option is used when showing the list of commits.
The value 'only' lists only merges.
Hallo, Mr. Hamano.
Thank you for your quick and detailed response.
On 5 April 2015 at 23:12, Junio C Hamano gits...@pobox.com wrote:
This is very much the designed behaviour, I would think. IIRC, the
user-format support of rev-list was designed so that the scripts
can customize the output
WESTERN UNION MONEY TRANSFER: $ 350,000 LODGED IN YOUR NAME. REPLY BACK.
Kind Regards,
Stephen Casswell
--
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
$ pwd
/data/mdi2/classes
$ git blame -L22,+1 -- utils.js
99b7a802 mdi2/utils.js (user 2015-03-26 21:54:57 +0200 22) #comment
$ git blame -L22,+1 99b7a802^ -- utils.js
fatal: no such path mdi2/classes/utils.js in 99b7a802^
As you have noticed, the file were in different
list-files is supposed to be the user friendly version of ls-files, or
an alternative to git-status. Nothing fancy in this patch yet.
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
.gitignore | 1 +
Makefile | 1 +
builtin.h
Reusing color settings from $LS_COLORS could give a native look and
feel on file coloring.
This code is basically from coreutils.git [1], rewritten to fit Git.
As this is from GNU ls, the environment variable CLICOLOR is not
tested. It is to be decided later whether we should ignore $LS_COLORS
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
Signed-off-by: Junio C Hamano gits...@pobox.com
---
Documentation/config.txt | 3 ++-
ls_colors.c | 8 +++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 22 +-
t/t7013-list-files.sh | 27 +++
2 files changed, 48 insertions(+), 1 deletion(-)
diff --git a/builtin/list-files.c b/builtin/list-files.c
index ec9ca17..8913770
This is the second (and preferred) source for color information. This
will override $LS_COLORS.
Helped-by: Michael Blume blume.m...@gmail.com
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
Signed-off-by: Junio C Hamano gits...@pobox.com
---
Documentation/config.txt | 11 +++
Before this change, clean used resolve_gitlink_ref to check for the
presence of nested git repositories. This had the drawback of creating
a ref_cache entry for every directory that should potentially be
cleaned. The linear search through the ref_cache list caused a massive
performance hit for
Signed-off-by: Erik Elfström erik.elfst...@gmail.com
---
These tests were added so that I could understand the corner case
behaviors of clean and nested repositories and document the changes in
behavior that this series will cause. The ones marked as expect
failure will be changed to expect
Signed-off-by: Erik Elfström erik.elfst...@gmail.com
---
t/perf/p7300-clean.sh | 37 +
1 file changed, 37 insertions(+)
create mode 100755 t/perf/p7300-clean.sh
diff --git a/t/perf/p7300-clean.sh b/t/perf/p7300-clean.sh
new file mode 100755
index
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
pathspec.c | 55 +++
1 file changed, 27 insertions(+), 28 deletions(-)
diff --git a/pathspec.c b/pathspec.c
index 9304ee3..5573127 100644
--- a/pathspec.c
+++ b/pathspec.c
@@ -88,6
match_pathspec() is expensive and the loop of match_pathspec() in
add_directory() is even more so. Luckily the output string list is
usually sorted so if we add a directory builtin, chances are
builtin/foo follows right after. Perform a cheaper strncasecmp() in
this case.
Signed-off-by: Nguyễn
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 1 +
pathspec.c| 4
pathspec.h| 1 +
t/t7013-list-files.sh | 7 ++-
4 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/builtin/list-files.c b/builtin/list-files.c
index
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
Documentation/git-list-files.txt (new) | 115 +
1 file changed, 115 insertions(+)
create mode 100644 Documentation/git-list-files.txt
diff --git a/Documentation/git-list-files.txt
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 12
wt-status.c | 8
wt-status.h | 2 ++
3 files changed, 22 insertions(+)
diff --git a/builtin/list-files.c b/builtin/list-files.c
index 228c39b..fc9c8d4 100644
---
The UI part is the same (or nearly the same) with the last round. The
internal data structure is reorignized to avoid abusing string_list.
Tests and documentation are added back.
Nguyễn Thái Ngọc Duy (25):
ls_colors.c: add $LS_COLORS parsing code
ls_colors.c: parse color.ls.* from config file
This series addresses a performance issue of git clean previously
discussed here:
http://thread.gmane.org/gmane.comp.version-control.git/265560/focus=265560
and here:
http://thread.gmane.org/gmane.comp.version-control.git/266777/focus=266777
The issue manifests when trying to clean a large number
Hi,
We know git uses cURL to grab https repositories from the Internet. Nowadays
the SSL-enabled git repos are getting more and more, especially self-hosted
ones.
Some of the websites including those enabled by CloudFlare, however, does
not support common encryption ciphers
This appends an indicator after the file name if it's executable, a
directory and so on, like in GNU ls. In fact append_indicator() is a
rewrite from get_type_indicator() in coreutils.git commit
7326d1f1a67edf21947ae98194f98c38b6e9e527.
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
config.c | 8
1 file changed, 8 insertions(+)
diff --git a/config.c b/config.c
index 15a2983..16209c6 100644
--- a/config.c
+++ b/config.c
@@ -40,6 +40,10 @@ static struct config_source *cf;
static int zlib_compression_seen;
If no filter options are specified, --cached is the default.
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 79 ++-
t/t7013-list-files.sh | 38 -
2 files changed, 115 insertions(+), 2
All entries have a two-letter tag. If all entries have the same tags,
tags are not displayed.
The outcome before and after this patch is the same. But it will be
useful in future when there are more than one type of entry.
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 30 +-
t/t7013-list-files.sh | 44
2 files changed, 73 insertions(+), 1 deletion(-)
diff --git a/builtin/list-files.c b/builtin/list-files.c
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 9 -
t/t7013-list-files.sh | 24
2 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/builtin/list-files.c b/builtin/list-files.c
index 8b74d79..51ff19d 100644
---
The index does not store directories explicitly (except submodules) so
we have to figure them out from file list when output lis depth-limited.
The function add_directory() can generate duplicate entries, which is
cleaned up before displaying.
Helped-by: Eric Sunshine sunsh...@sunshineco.com
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 9 -
t/t7013-list-files.sh | 40
2 files changed, 40 insertions(+), 9 deletions(-)
diff --git a/builtin/list-files.c b/builtin/list-files.c
index 8913770..4599cf0
The new function is based on print_color_indicator() from commit
7326d1f1a67edf21947ae98194f98c38b6e9e527 in coreutils.git.
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
Signed-off-by: Junio C Hamano gits...@pobox.com
---
color.h | 2 ++
ls_colors.c | 66
Try to reduce refresh time. Note that we still need another
read_cache() at top top, before parse_pathspec() because this
*_SLASH_CHEAP needs the index loaded.
One day read_index() should be improved to notice that the on-disk
version is the same as the one in memory and skip I/O entirely..
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 73 ---
t/t7013-list-files.sh | 62 +++
wt-status.c | 8 +++---
wt-status.h | 1 +
4 files changed, 137
When both --cached and one of -amdAMD is used together we may have two
entries of the same path, e.g. foo and MM foo. In this case it's
pretty clear that foo must be tracked, no need to displayfoo.
The new function does that.
Helped-by: Eric Sunshine sunsh...@sunshineco.com
Signed-off-by:
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 50 +-
t/t7013-list-files.sh | 35 +++
2 files changed, 80 insertions(+), 5 deletions(-)
diff --git a/builtin/list-files.c
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 22 --
t/t7013-list-files.sh | 15 +++
2 files changed, 31 insertions(+), 6 deletions(-)
diff --git a/builtin/list-files.c b/builtin/list-files.c
index 3cbd30d..31991a4 100644
---
Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com
---
builtin/list-files.c | 2 ++
t/t7013-list-files.sh | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/builtin/list-files.c b/builtin/list-files.c
index 31f1f25..7c18848 100644
--- a/builtin/list-files.c
+++
On Mon, Apr 6, 2015 at 8:52 PM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote:
The UI part is the same (or nearly the same) with the last round. The
internal data structure is reorignized to avoid abusing string_list.
Tests and documentation are added back.
It's supposed to be a reply to the
I'm a beginner.
Please tell me the log of git commit is exist forever or 90 days
--
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 4/5/2015 10:15 PM, Shane da Silva wrote:
I’m trying to wrap my head around why this is the current behavior,
as I suspect this is intentional but it seems unexpected. If anyone
can shed any light on this, I would really appreciate it!
Why would
63 matches
Mail list logo