When after editing I get this:
mdi.Application= this;
mdi.Class.TApplication.baseConstructor.apply( this, arguments );
git diff shows:
mdi.Application= this;
- mdi.Class.TApplication.baseConstructor.apply( this, arguments );
- //We must not create/show application node because of this is
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 Fri, Apr 3, 2015 at 9:21 PM, Koosha Khajehmoogahi wrote:
> From: Junio C Hamano
>
> [kk: wrote commit message]
>
> Helped-by: Eris Sunshine
s/Eris/Eric/
> Signed-off-by: Koosha Khajehmoogahi
> ---
> builtin/log.c | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/builtin/log.c
On Fri, Apr 3, 2015 at 9:21 PM, Koosha Khajehmoogahi wrote:
> From: Junio C Hamano
>
> 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. The value 'show'
> is the d
On Mon, Apr 6, 2015 at 10:03 PM, Shawn Landden 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 git-daemon to not be spa
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=git&m=142364715001983
http://marc.inf
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
---
Re
On Fri, 2015-04-03 at 15:01 -0700, Junio C Hamano wrote:
> David Turner 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 remove them from t
On Fri, Apr 3, 2015 at 11:22 PM, Shawn Landden 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 the commit message is
On Mon, Apr 6, 2015 at 7:48 AM, Erik Elfström 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 linear search throug
On Mon, Apr 6, 2015 at 4:40 PM, Torsten Bögershausen wrote:
> On 2015-04-06 13.48, Erik Elfström wrote:
>> Signed-off-by: Erik Elfström
>> ---
>> diff --git a/t/perf/p7300-clean.sh b/t/perf/p7300-clean.sh
>> new file mode 100755
>> index 000..3f56fb2
>> --- /dev/null
>> +++ b/t/perf/p7300-cle
On Mon, Apr 6, 2015 at 7:48 AM, Erik Elfström wrote:
> Signed-off-by: Erik Elfström
> ---
> 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 @@ test_expect_success 'nested git work tree' '
>
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
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote:
> Signed-off-by: Nguyễn Thái Ngọc Duy
> ---
> diff --git a/Documentation/git-list-files.txt
> b/Documentation/git-list-files.txt
> new file mode 100644
> index 000..9b9edce
> --- /dev/null
> +++ b/Documentation/git-list-files.txt
>
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy 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 improved to noti
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy 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 display " foo".
> The new function d
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote:
> Signed-off-by: Nguyễn Thái Ngọc Duy
> ---
> 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 wt_status_collect_changes_index(struct
> wt_
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote:
> Signed-off-by: Nguyễn Thái Ngọc Duy
> ---
> 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 +229,46 @@ static void populate
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote:
> Signed-off-by: Nguyễn Thái Ngọc Duy
> ---
> 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 @@ static int show_dirs;
>
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy wrote:
> Signed-off-by: Nguyễn Thái Ngọc Duy
> ---
> 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 +110,48 @@ test_expect_succe
On Mon, Apr 6, 2015 at 9:52 AM, Nguyễn Thái Ngọc Duy 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 entry.
>
> S
On 2015-04-06 13.48, Erik Elfström wrote:
> Signed-off-by: Erik Elfström
> ---
> 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 f
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
wrote:
> On Mon, Apr 6, 2015 at 12:48 AM, Thomas Ferris
On Mon, Apr 6, 2015 at 12:48 AM, Thomas Ferris Nicolaisen
wrote:
> On Tue, Feb 24, 2015 at 11:09 PM, Jeff King 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 announcement. Specifically
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 pa
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 writes:
> >>
> >>> Why is it impossible to free struct lock_files? I understand that they
> >>> become part of a
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 r
-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 wou
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
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
On Mon, Apr 6, 2015 at 8:52 PM, Nguyễn Thái Ngọc Duy 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 last round [1] bu
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 T
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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 fc9c8d4..c85bb55 10
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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 b/Documentation/git-list-files.txt
new file
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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 +88,13 @@ static void p
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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
--- a/builtin/list-files.c
++
If no filter options are specified, --cached is the default.
Signed-off-by: Nguyễn Thái Ngọc Duy
---
builtin/list-files.c | 79 ++-
t/t7013-list-files.sh | 38 -
2 files changed, 115 insertions(+), 2 deletions(-)
diff --gi
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..
Signe
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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
+++ b/builtin/list-files.c
@@ -221
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
---
builtin/list-files.
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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;
+static const cha
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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
--- a/builtin/list-files
Signed-off-by: Nguyễn Thái Ngọc Duy
---
builtin/list-files.c | 73 ---
t/t7013-list-files.sh | 62 +++
wt-status.c | 8 +++---
wt-status.h | 1 +
4 files changed, 137 insertions(+), 7 de
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 display " foo".
The new function does that.
Helped-by: Eric Sunshine
Signed-off-by: Nguyễn Thái Ngọc
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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 b/builtin/list-files.c
index
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
---
builtin/list-files.c | 64 ++
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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
index a60ab98..02a
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
Helped-by: Junio C Hamano
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
Signed-off-by: Junio C Hamano
---
color.h | 2 ++
ls_colors.c | 66 +
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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 100644
--- a/builti
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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 100644
--- a/builtin
Signed-off-by: Nguyễn Thái Ngọc Duy
---
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
--- a/builtin/list-files.c
++
Signed-off-by: Nguyễn Thái Ngọc Duy
Signed-off-by: Junio C Hamano
---
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
index 2090866..2290c47 100644
--- a/Do
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
---
.gitignore | 1 +
Makefile | 1 +
builtin.h | 1 +
bu
This is the second (and preferred) source for color information. This
will override $LS_COLORS.
Helped-by: Michael Blume
Signed-off-by: Nguyễn Thái Ngọc Duy
Signed-off-by: Junio C Hamano
---
Documentation/config.txt | 11 +++
ls_colors.c | 30 +-
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
if
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
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 pr
$ 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 d
Signed-off-by: Erik Elfström
---
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 success later in the series.
Signed-off-by: Erik Elfström
---
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 000..3f56fb2
--- /dev/null
+++ b
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 larg
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
Hallo, Mr. Hamano.
Thank you for your quick and detailed response.
On 5 April 2015 at 23:12, Junio C Hamano 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 from "rev-list
64 matches
Mail list logo