On Tue, Feb 20, 2018 at 08:42:26AM -0500, Matt McCutchen wrote:
> I noticed that if a file subject to a safecrlf warning is added to the
> index in the same second that it is created, resulting in a "racily
> clean" index entry, then a subsequent "git add" command prints another
> safecrlf warning.
Get rid of goto command in ref-filter for better readability.
Signed-off-by: Olga Telezhnaia
Mentored-by: Christian Couder
Mentored by: Jeff King
---
ref-filter.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ref-filter.c b/ref-filter.c
index 83ffd84affe52..35359818
Make one function from 2 duplicate pieces and invoke it twice.
Signed-off-by: Olga Telezhnaia
Mentored-by: Christian Couder
Mentored by: Jeff King
---
ref-filter.c | 45 +
1 file changed, 21 insertions(+), 24 deletions(-)
diff --git a/ref-filter.c b
Get rid of goto command in ref-filter for better readability.
Signed-off-by: Olga Telezhnaia
Mentored-by: Christian Couder
Mentored by: Jeff King
---
ref-filter.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ref-filter.c b/ref-filter.c
index 83ffd84affe52..28df6e21
Make one function from 2 duplicate pieces and invoke it twice.
Signed-off-by: Olga Telezhnaia
Mentored-by: Christian Couder
Mentored by: Jeff King
---
ref-filter.c | 45 +
1 file changed, 21 insertions(+), 24 deletions(-)
diff --git a/ref-filter.c b
See previous patch for explanation.
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
sha1_file.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index 6edcc3d3a7..a0e9116318 100644
--- a/sha1_file.c
+++ b/sha1_fil
From: Jonathan Nieder
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
sha1_file.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index a20f811a07..36282acb1a 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -1156,10 +1156,
Signed-off-by: Stefan Beller
---
builtin/am.c | 2 +-
builtin/clone.c| 2 +-
builtin/fetch.c| 2 +-
builtin/merge.c| 2 +-
builtin/receive-pack.c | 2 +-
object.c | 6 ++
packfile.c | 4 ++--
packfile.h | 2 +-
8 files ch
Add a repository argument to allow the stat_sha1_file caller to be
more specific about which repository to act on. This is a small
mechanical change; it doesn't change the implementation to handle
repositories other than the_repository yet.
As with the previous commits, use a macro to catch caller
In a process with multiple repositories open, alternates should be
associated to a single repository and not shared globally. Move
alt_odb_list and alt_odb_tail into the_repository and adjust callers
to reflect this.
Now that the alternative object data base is per repository, we're
leaking its me
Add a repository argument to allow sha1_file_name callers to be more
specific about which repository to handle. This is a small mechanical
change; it doesn't change the implementation to handle repositories
other than the_repository yet.
As with the previous commits, use a macro to catch callers p
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
object-store.h | 3 +--
sha1_file.c| 5 +++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/object-store.h b/object-store.h
index 146358fe33..5d93677783 100644
--- a/object-store.h
+++ b/object-store.h
@@ -129,7
Each repository's object store can be initialized independently, so
they must not share a run_once variable.
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
object-store.h | 8 +++-
packfile.c | 7 +++
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/o
Add a repository argument to allow the sha1_loose_object_info caller
to be more specific about which repository to act on. This is a small
mechanical change; it doesn't change the implementation to handle
repositories other than the_repository yet.
As with the previous commits, use a macro to catc
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
sha1_file.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index 8fad523d85..6879af8993 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -874,23 +874,22 @@ int git_open_cloexec
From: Jonathan Nieder
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
sha1_file.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index 598acc5410..522804d9f0 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -936,10 +936,8 @@ s
Free the memory and reset alt_odb_{list, tail} to NULL.
Signed-off-by: Stefan Beller
---
object.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/object.c b/object.c
index 11d904c033..17b1da6d6b 100644
--- a/object.c
+++ b/object.c
@@ -446,7 +446,24 @@ void clear_commit_ma
Add a repository argument to allow map_sha1_file callers to be more
specific about which repository to handle. This is a small mechanical
change; it doesn't change the implementation to handle repositories
other than the_repository yet.
As with the previous commits, use a macro to catch callers pa
Add a repository argument to allow the open_sha1_file caller to be
more specific about which repository to act on. This is a small
mechanical change; it doesn't change the implementation to handle
repositories other than the_repository yet.
As with the previous commits, use a macro to catch caller
The approximate_object_count() function maintains a rough count of
objects in a repository to estimate how long object name abbreviates
should be. Object names are scoped to a repository and the
appropriate length may differ by repository, so the object count
should not be global.
Signed-off-by:
Add a repository argument to allow the map_sha1_file_1 caller to be
more specific about which repository to act on. This is a small
mechanical change; it doesn't change the implementation to handle
repositories other than the_repository yet.
As with the previous commits, use a macro to catch calle
See previous patch for explanation.
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
sha1_file.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index aaa6276211..6edcc3d3a7 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -3
See previous patch for explanation.
While at it, move the declaration to object-store.h,
where it should be easier to find.
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
builtin/fsck.c | 2 +-
object-store.h | 3 ++-
packfile.c | 2 +-
sha1_file.c| 13 +++--
Actually this also allows read_info_alternates and link_alt_odb_entry to
handle arbitrary repositories, but link_alt_odb_entries is the most
interesting function in this set of functions, hence the commit subject.
These functions span a strongly connected component in the function
graph, i.e. the
In a process with multiple repositories open, packfile accessors
should be associated to a single repository and not shared globally.
Move packed_git and packed_git_mru into the_repository and adjust
callers to reflect this.
Patch generated by
1. Moving the struct packed_git declaration to objec
The raw object store field will contain any objects needed for
access to objects in a given repository.
This patch introduces the raw object store and populates it with the
`objectdir`, which used to be part of the repository struct.
As the struct gains members, we'll also populate the function t
Signed-off-by: Stefan Beller
---
object-store.h | 3 +--
sha1_file.c| 21 +++--
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/object-store.h b/object-store.h
index f283fbdba9..873b341774 100644
--- a/object-store.h
+++ b/object-store.h
@@ -24,8 +24,7 @@ str
Add a repository argument to allow the link_alt_odb_entry caller to be
more specific about which repository to act on. This is a small
mechanical change; it doesn't change the implementation to handle
repositories other than the_repository yet.
Since the implementation does not yet work with other
Add a raw_object_store to alt_odb_usable to be more specific about which
repository to act on. The choice of the repository is delegated to its
only caller link_alt_odb_entry.
Signed-off-by: Stefan Beller
---
sha1_file.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
object-store.h | 3 +--
sha1_file.c| 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/object-store.h b/object-store.h
index a37d74a0c5..146358fe33 100644
--- a/object-store.h
+++ b/object-store.h
@@ -127,8
Signed-off-by: Stefan Beller
Signed-off-by: Jonathan Nieder
---
sha1_file.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index 6879af8993..598acc5410 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -902,9 +902,8 @@ static int stat_sha1_f
Migrate the struct alternate_object_database and all its related
functions to the object store as these functions are easier found in
that header. The migration is just a verbatim copy, no need to
include the object store header at any C file, because cache.h includes
repository.h which in turn inc
v3:
* reverted back to use the repository for most of the functions
(including unduplicating 'ignore_env')
* rebased on master again (I lost that state when doing v2, as
I did both rebase as well as conversion to object store in one go)
* one additional patch, that moves the alternates related
Jeff King writes:
> Modification times are a subset of the total metadata you might care
> about, so they are solving a much more general problem. Which may also
> partially answer your question about why this isn't built into git. The
> general problem gets much bigger when you start wanting to
Stefan Beller writes:
>> diff --git a/t/t7013-tag-contains.sh b/t/t7013-tag-contains.sh
>> new file mode 100755
>> index 0..65119dada
>> --- /dev/null
>> +++ b/t/t7013-tag-contains.sh
>
> Thanks for adding the tests into a new file instead of putting it somewhere
> where it is already con
On February 20, 2018 5:22 PM Eric Sunshine wrote:
> On Tue, Feb 20, 2018 at 3:36 PM, Randall S. Becker
> wrote:
> > I’m a bit confused about this, as I thought I understood worktrees :(.
> >
> > /home/randall/nsgit/test/test dir.mytest: rm -rf dest.wt
> > /home/randall/nsgit/test/test dir.mytest/d
Derrick Stolee writes:
> +#define GRAPH_OID_VERSION_SHA1 1
> +#define GRAPH_OID_LEN_SHA1 20
This hardcoded 20 on the right hand side of this #define is probably
problematic. Unless you are planning to possibly store truncated
hash value for some future hash algorithm, GRAPH_OID_LEN_$HASH shoul
On Tue, Feb 20, 2018 at 05:12:50PM -0500, Derrick Stolee wrote:
> In rev-list, the "--header" option outputs a value and expects the buffer to
> be cached. It outputs the header info only if get_cached_commit_buffer()
> returns a non-null buffer, giving incorrect output. If it called
> get_commit_
On Tue, Feb 20, 2018 at 11:32:23PM +0100, Johannes Schindelin wrote:
> Hi Peter,
>
> On Tue, 20 Feb 2018, Peter Backes wrote:
>
> > On Tue, Feb 20, 2018 at 11:46:38AM +0100, Johannes Schindelin wrote:
> >
> > > I would probably invent a file format (``)
> >
> > I'm stuck there because of being
On Tue, Feb 20, 2018 at 12:56 PM, Jeff King wrote:
> On Tue, Feb 20, 2018 at 12:44:51PM +0100, Johannes Schindelin wrote:
>
>> > It might be even possible to design a new subcommand for the interactive
>> > rebase to facilitate a variation of this strategy (possibly even making
>> > use of the fac
Welcome to the Git mailing list!
On Mon, Feb 19, 2018 at 1:21 PM, Paul-Sebastian Ungureanu
wrote:
> git tag --contains prints the whole help text if is
> invalid. It should only show the error message instead.
Makes sense.
>
> This bug was a side effect of looking up the commit in option
> pa
Hi Peter,
On Tue, 20 Feb 2018, Peter Backes wrote:
> On Tue, Feb 20, 2018 at 11:46:38AM +0100, Johannes Schindelin wrote:
>
> > I would probably invent a file format (``)
>
> I'm stuck there because of being munged.
>From which command do you want to get it? If you are looking at `git
diff`,
Hi Stefan,
On Tue, 20 Feb 2018, Stefan Beller wrote:
> On Tue, Feb 20, 2018 at 8:20 AM, Johannes Schindelin
> wrote:
> > Hi Stefan (and other submodule wizards),
> >
> > Igor Melnichenko reported a submodule problem in a Git for Windows ticket:
> >
> > https://github.com/git-for-windows/
On Tue, Feb 20, 2018 at 3:36 PM, Randall S. Becker
wrote:
> I’m a bit confused about this, as I thought I understood worktrees :(.
>
> /home/randall/nsgit/test/test dir.mytest: rm -rf dest.wt
> /home/randall/nsgit/test/test dir.mytest/dest: git worktree prune -v
> Removing worktrees/dest.wt: gitdi
On Tue, Feb 20, 2018 at 5:00 PM, Julius Musseau wrote:
> I was hoping to concoct a situation where "git pull --rebase" makes a
> mess of things.
It breaks quite easily with some workflows. They are all in the "don't
do that" territory.
Open a long-lived feature-dev branch, work on it. Other folk
While working on my commit-graph patch [1] and using a local build in my
usual workflows, I found a bug in my branch.
Essentially, when calling `git rev-list --header`, the header
information is actually missing for many commits except the first. This
was not caught in my testing since t6000-r
On Tue, Feb 20, 2018 at 2:00 PM, Julius Musseau wrote:
> Hi, Git Developers,
>
> I'm currently writing a blog post about "git pull --rebase". The
> point of the blog post is to examine scenarios where two people are
> working together on a short-lived feature branch, where history
> rewrites are
Hi Jeff,
On Tue, Feb 20, 2018 at 04:16:34PM -0500, Jeff King wrote:
> I think there are some references buried somewhere in that wiki, but did
> you look at any of the third-party tools that store file metadata
> alongside the files in the repository? E.g.:
>
> https://etckeeper.branchable.com/
Hi, Git Developers,
I'm currently writing a blog post about "git pull --rebase". The
point of the blog post is to examine scenarios where two people are
working together on a short-lived feature branch, where history
rewrites are allowed, and where both are using "git pull --rebase" to
stay in s
Derrick Stolee writes:
> +int cmd_commit_graph(int argc, const char **argv, const char *prefix)
> +{
> + static struct option builtin_commit_graph_options[] = {
> + { OPTION_STRING, 'p', "object-dir", &opts.obj_dir,
> + N_("dir"),
> + N_("Th
Derrick Stolee writes:
> +2. Walking the entire graph to avoid topological order mistakes.
You have at least one more mention of "topological order mistakes"
below, but we commonly refer to this issue and blame it for "clock
skew". Using the word highlights that there is no "mistake" in topo
or
On 02/20/2018 08:42 AM, Jeff King wrote:>> [...]
>>
>> Is there a way for “pre-receive” to individually filter [refs]? I was
>> under the impression that the only way to do that was to use the
>> “update” hook, which was the reason I wanted to model it after “update”
>> rather than “pre-receive” (m
On Mon, Feb 19, 2018 at 10:22:36PM +0100, Peter Backes wrote:
> please ensure to CC me if you reply as I am not subscribed to the list.
>
> https://git.wiki.kernel.org/index.php/Git_FAQ#Why_isn.27t_Git_preserving_modification_time_on_files.3F
>
> argues that git isn't preserving modification ti
On Tue, Feb 20, 2018 at 09:44:51PM +0100, Martin Ågren wrote:
> For finding this sort of low-hanging fruit (windfall?) any local
> scripting and greping will do. I sort of hesitate wasting community CPU
> cycles on something which might be appreciated, in theory, but that
> doesn't have enough att
Hi Johannes,
On Tue, Feb 20, 2018 at 11:46:38AM +0100, Johannes Schindelin wrote:
> If I were you [...]
It seems all pretty straight forward, except for
> I would probably invent a file format (``)
I'm stuck there because of being munged.
To obtain or set the mtime of the file, I need the unm
On Tue, Feb 20, 2018 at 12:44:51PM +0100, Johannes Schindelin wrote:
> > It might be even possible to design a new subcommand for the interactive
> > rebase to facilitate a variation of this strategy (possibly even making
> > use of the fact that the interactive rebase accumulates mappings between
Derrick Stolee writes:
> Documentation/technical/commit-graph-format.txt | 90
> +
> 1 file changed, 90 insertions(+)
> create mode 100644 Documentation/technical/commit-graph-format.txt
Hopefully just a few remaining nits. Overall I find this written
really clearly.
On 19 February 2018 at 22:29, Jeff King wrote:
> On Wed, Feb 14, 2018 at 10:56:37PM +0100, Martin Ågren wrote:
>
>> Here's what a list of known leaks might look like. It feels a bit
>> awkward to post a known-incomplete list (I don't run all tests). Duy
>> offered to pick up the ball if I gave up,
On Tue, Feb 20, 2018 at 8:20 AM, Johannes Schindelin
wrote:
> Hi Stefan (and other submodule wizards),
>
> Igor Melnichenko reported a submodule problem in a Git for Windows ticket:
>
> https://github.com/git-for-windows/git/issues/1469
>
Thanks for bringing this up. Is it better to discu
Im a bit confused about this, as I thought I understood worktrees :(.
/home/randall/nsgit/test/test dir.mytest/dest git worktree list
/home/randall/nsgit/test/test dir.mytest/dest: git worktree list
/home/randall/nsgit/test/test dir.mytest/dest 4e901ca [master]
/home/randall/nsgit/test/test d
Update the documentation for the 'submodule.recurse' config to identify
that the clone command does not respect it.
Signed-off-by: Brandon Williams
---
Documentation/config.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/config.txt b/Documentation/config.t
On Tue, Feb 20, 2018 at 11:55 AM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>> The step to take an object store would just add expressiveness
>> to the code, which may help in understanding what part of the code is
>> related to what other part of the code, so it may be a readability gain
>
Todd Zullinger writes:
> If replacing the non-ASCI apostrophes is the goal, aren't
> there a number of others in the same file worth cleaning up
> at the same time?
>
> $ grep '’' Documentation/gitsubmodules.txt
> the submodule’s working directory pointing to (i).
> superproject expects the submo
Stefan Beller writes:
> The step to take an object store would just add expressiveness
> to the code, which may help in understanding what part of the code is
> related to what other part of the code, so it may be a readability gain
> on its own?
It certainly would allow you to have a standalone
On Tue, Feb 20, 2018 at 11:36 AM, Kaartic Sivaraam
wrote:
> Hi,
>
> On Wednesday 21 February 2018 12:20 AM, Stefan Beller wrote:
>> Kaartic was the last to touch that file,
>> (as found via git log origin/master -- Documentation/gitsubmodules.txt),
>> sorry I did not find this in the review.
>>
>
On Tue, Feb 20, 2018 at 4:49 AM, chenzero wrote:
> Hello,
> First, I am a user of git for about 2 years, I really appreciated you all to
> create this great useful software!
Hi, welcome to the mailing list!
> My encountered problem is:
> sometimes, the repo is big and because my networking is no
Hi,
marmot1123 wrote:
> In the 2nd and 4th paragraph of DESCRIPTION, there ware misconversions
> `submodule’s`.
> It seems non-ASCII apostrophes, so I rewrite ASCII apostrophes.
If replacing the non-ASCI apostrophes is the goal, aren't
there a number of others in the same file worth cleaning up
Hi,
On Wednesday 21 February 2018 12:20 AM, Stefan Beller wrote:
> Kaartic was the last to touch that file,
> (as found via git log origin/master -- Documentation/gitsubmodules.txt),
> sorry I did not find this in the review.
>
"Non-ASCII characters" made me dig into to this a little deeper as I
Junio C Hamano writes:
> - map(lambda ..., collection) is not liked; use list comprehension.
> ...
> I am not sure about the change from map(lambda ...) to list
> comprehension, though. Not that I have a preference for or against
> (I am not a Python person), but I do not know if this is a c
Hervé Beraud writes:
> Signed-off-by: Hervé Beraud
> ---
> contrib/hg-to-git/hg-to-git.py | 52
> +-
> 1 file changed, 26 insertions(+), 26 deletions(-)
I think you shrunk the scope of the change, but I feel that it is
still a bit under-explained. Let
On Tue, Feb 20, 2018 at 11:03 AM, Junio C Hamano wrote:
> Jonathan Nieder writes:
>
>> For what it's worth, I think I prefer v1. I put some comments on why
>> on patch 0 of v1 and would be interested in your thoughts on them
>> (e.g. as a reply to that). I also think that even if we want to
>>
On 02/19, Jeff King wrote:
> The transport-helper protocol c-style quotes the value of
> any options passed to the helper via the "option "
> directive. However, remote-curl doesn't actually unquote the
> push-option values, meaning that we will send the quoted
> version to the other side (whereas
On Tue, Feb 20, 2018 at 11:00 AM, Brandon Williams wrote:
> On 02/20, Stefan Beller wrote:
>> On Fri, Feb 16, 2018 at 2:34 PM, Jonathan Nieder wrote:
>> > Hi,
>> >
>> > Stefan Beller wrote:
>> >
>> >> v2:
>> >> * duplicated the 'ignore_env' bit into the object store as well
>> >> * the #define tr
Jonathan Nieder writes:
> For what it's worth, I think I prefer v1. I put some comments on why
> on patch 0 of v1 and would be interested in your thoughts on them
> (e.g. as a reply to that). I also think that even if we want to
> switch to a style that passes around object_store separately fro
On 02/20, Stefan Beller wrote:
> On Fri, Feb 16, 2018 at 2:34 PM, Jonathan Nieder wrote:
> > Hi,
> >
> > Stefan Beller wrote:
> >
> >> v2:
> >> * duplicated the 'ignore_env' bit into the object store as well
> >> * the #define trick no longer works as we do not have a "the_objectstore"
> >> globa
On Fri, Feb 16, 2018 at 2:34 PM, Jonathan Nieder wrote:
> Hi,
>
> Stefan Beller wrote:
>
>> v2:
>> * duplicated the 'ignore_env' bit into the object store as well
>> * the #define trick no longer works as we do not have a "the_objectstore"
>> global,
>> which means there is just one patch per f
Kaartic was the last to touch that file,
(as found via git log origin/master -- Documentation/gitsubmodules.txt),
sorry I did not find this in the review.
Thanks for the patch!
Stefan
On Tue, Feb 20, 2018 at 3:48 AM, marmot1123 wrote:
> In the 2nd and 4th paragraph of DESCRIPTION, there ware mi
Phillip Wood writes:
> From: Phillip Wood
>
> Now that add -p counts patches properly it should be possible to turn
> off the '--recount' option when invoking 'git apply'
>
> Signed-off-by: Phillip Wood
> ---
>
> Notes:
> I can't think of a reason why this shouldn't be OK but I can't help
>
Phillip Wood writes:
> From: Phillip Wood
>
> This code is duplicated in a couple of places so make it into a
> function as we're going to add some more callers shortly.
>
> Signed-off-by: Phillip Wood
> ---
> git-add--interactive.perl | 21 +++--
> 1 file changed, 11 insertion
Von: Joy Kone
Ich habe Ihnen diese E-Mail geschickt, weil Sie mit Ihnen diskutieren
müssen. Ich möchte nicht, dass Sie dieses Angebot in irgendeiner
Hinsicht missverstehen ... wenn es Ihnen recht ist, bitte ich um Ihre
volle Mitarbeit. Ich habe mit Ihnen Kontakt aufgenommen, um eine
Investition in
Phillip Wood writes:
> ... I'm worried though that
> someone out there is scripting with a non-interactive editor which may
> break if we start verifying the message ...
This is a very valid concern. Making sure that 'revert' pays
attention to the --verify option when given from the command lin
Phillip Wood writes:
> From: Phillip Wood
>
> Purge the index lines from diffs so we're not hard coding sha1 hash
> values in the expected output.
The motivation of this patch is clear, but all-zero object name for
missing side of deletion or creation patch should not change when we
transition
Eric Sunshine writes:
>> test_expect_success 'setup fake editor' '
>> - echo "#!$SHELL_PATH" >fake_editor.sh &&
>> - cat >>fake_editor.sh <<-\EOF &&
>> + FAKE_EDITOR="$(pwd)/fake-editor.sh" &&
>> + write_script "$FAKE_EDITOR" <<-\EOF &&
>> mv -f "$1" oldpatch &&
>
Signed-off-by: Hervé Beraud
---
contrib/hg-to-git/hg-to-git.py | 52 +-
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/contrib/hg-to-git/hg-to-git.py b/contrib/hg-to-git/hg-to-git.py
index de3f81667ed97..8fa7698df5c20 100755
--- a/contrib/h
On Mon, Feb 19, 2018 at 3:22 PM, Hilco Wijbenga
wrote:
> Aside from exactly which modification times should be used (which I
> would love to have a bit more control over as well), something else
> I'd like to see is that, when switching between branches, files that
> are the same on both branches
On Thu, Jan 25, 2018 at 6:21 PM, Isaac Hier wrote:
> Hi Jeff,
>
> I have been looking at the build generator, which looks promising, but
> I have one concern. Assuming I can generate a CMakeLists.txt that
> appropriately updates the library sources, etc. how do you suggest I
> handle new portabili
"G. Sylvie Davies" writes:
> On Mon, Feb 5, 2018 at 3:46 AM, Sergey Organov wrote:
>> Hello,
>>
>> $ git help cherry-pick
>>
>> -m parent-number, --mainline parent-number
>>Usually you cannot cherry-pick a merge because you do not
>>know which side of the merge should be
Hi Stefan (and other submodule wizards),
Igor Melnichenko reported a submodule problem in a Git for Windows ticket:
https://github.com/git-for-windows/git/issues/1469
Part of it is due to Windows' behavior where you cannot read the same file
in one process while you write it in another p
Hi Tim,
On Tue, 20 Feb 2018, Tim Mayo wrote:
> As of yesterday, stash save stopped working on my Windows 10 box - I get:
>
>> git stash save
>Cannot save the current worktree state
>
> and a stackdump file (see below). This is with the 64-bit version of 2.16.1.
> Switching to
System: Ubuntu 17.10 Gnome
When opening git-gui from a directory which is a repository, minimize
and maximize buttons are showing and functional in git-gui.
However, if I open git-gui in a non-repo directory, git-gui opens a
dialog where I can "Create New Repository", "Clone Existing
Repository",
I noticed that if a file subject to a safecrlf warning is added to the
index in the same second that it is created, resulting in a "racily
clean" index entry, then a subsequent "git add" command prints another
safecrlf warning. I reproduced this on the current "next"
(499d7c4f91). The procedure:
To fully use git-gui with keyboard-only, a few more hotkeys are
needed. I am missing hotkeys to change focus between the "Unstanged
Changes", "Staged Changes", diff viewer and "Commit Message" widgets.
I would like to be able to stage, browse, unstage and commit in
git-gui, all without using the mo
Hello,
First, I am a user of git for about 2 years, I really appreciated you
all to create this great useful software!
My encountered problem is:
sometimes, the repo is big and because my networking is not stable(or my
network proxy has
some limitations), so, the clone will always fail.
I trie
Hi Igor,
Igor Djordjevic writes:
> Hi Sergey,
>
[...]
>
> Even though this behavior is known and documented, it still left some
> to be desired.
>
> Might be I`m missing something, but so far I like how described
> approach just "feels right" (to me, for now), being really simple,
> yet rob
Dear Git users,
It is my pleasure to announce that Git for Windows 2.16.2 is available from:
https://gitforwindows.org/
Changes since Git for Windows v2.16.1(4) (February 7th 2018)
New Features
* Comes with Git v2.16.2.
* For every new Git for Windows version, .zip archives contain
Hello Johannes,
On Tue, Feb 20, 2018 at 11:46:38AM +0100, Johannes Schindelin wrote:
> Oh, sorry. I understood your mail as if you had told the core Git
> developers that they should implement the feature you desire. I did not
> understand that you hinted at a discussion first, and that you would
In the 2nd and 4th paragraph of DESCRIPTION, there ware misconversions
`submodule’s`.
It seems non-ASCII apostrophes, so I rewrite ASCII apostrophes.
Signed-off-by: Motoki Seki
---
Documentation/gitsubmodules.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentat
Hi Hilco,
On Tue, 20 Feb 2018, Johannes Schindelin wrote:
> When I am particularly tired and overworked (and therefore know that my
> working memory is less useful than usual), I therefore resort to my
> second-favorite strategy: U use the `done` file.
>
> I literally copy parts of $GIT_DIR/reba
On Tue, Feb 20, 2018 at 08:51:46AM +, marmot1123 wrote:
> In the 2nd and 4th paragraph of DESCRIPTION, there ware misconversions
> `submodule’s`.
> It seems non-ASCII apostrophes, so I rewrite ASCII apostrophes.
While I agree consistency is good, does this have any effect on the
output? I th
Hi
As of yesterday, stash save stopped working on my Windows 10 box - I get:
> git stash save
Cannot save the current worktree state
and a stackdump file (see below). This is with the 64-bit version of 2.16.1.
Switching to the 32-bit version resolved the problem for me.
Cheers
1 - 100 of 106 matches
Mail list logo