>> I think the best way to move forward with this is a new patch that uses
>> `awk` instead of `sed`: I tested several `awk` variants and the command
>> was portable without requiring any changes to LANG or LC_ALL.
>>
>> Does that sound like a good plan?
>
> No ;)
> Could you please give the
On Thu, Apr 12, 2018 at 2:14 PM, Linus Torvalds
wrote:
> So I just had an interesting experience that has happened before too,
> but this time I decided to try to figure out *why* it happened.
>
> include/linux/mm.h
>
> and yeah, that rather core header file
> I did a little more digging into this issue today.
> The issue isn't actually caused by `sed`: it's caused by the way that
> the `set` builtin outputs characters in the Unicode Private Use Area
> (PUA) in the build of Bash 3.2.57 that macOS Sierra ships with.
>
> Powerline uses several PUA
[ Still talking to myself. Very soothing. ]
On Thu, Apr 12, 2018 at 4:55 PM, Linus Torvalds
wrote:
> [ Talking to myself ]
>
> Did it perhaps mean to say
>
> path_renamed_outside_HEAD = path2 && !strcmp(path, path2);
>
> instead?
Probably not
Hi Antonio,
the subject line could also be
fetch: fix custom submodule location
as I was not expecting this patch from the subject line.
On Thu, Apr 12, 2018 at 3:20 PM, Antonio Ospite wrote:
> Import the default git configuration before accessing the gitmodules
> file.
>
> This
[ Talking to myself ]
On Thu, Apr 12, 2018 at 4:41 PM, Linus Torvalds
wrote:
>
> Oddly, that *already* has the check:
>
> if (mfi.clean && !df_conflict_remains &&
> oid_eq(, a_oid) && mfi.mode == a_mode) {
> int
Hi Antonio,
On Thu, Apr 12, 2018 at 3:20 PM, Antonio Ospite wrote:
> When multiple repositories with detached work-trees take turns using the
> same directory as their work-tree, and more than one of them want to use
> submodules, there will be conflicts about the '.gitmodules'
On Thu, Apr 12, 2018 at 4:35 PM, Linus Torvalds
wrote:
>
> in process_entry(), and I think we could just there add a test for if
> o_old,o_mod == a_oid,a_mode or something?
Actually, not process_entry, but merge_content().
Oddly, that *already* has the check:
Hi Antonio,
On Thu, Apr 12, 2018 at 3:20 PM, Antonio Ospite wrote:
> Hi,
>
> vcsh[1] uses bare git repositories and detached work-trees to manage
> *distinct* sets of configuration files directly into $HOME.
>
> In general, submodules have worked perfectly fine with detached
>
On Thu, Apr 12, 2018 at 4:17 PM, Junio C Hamano wrote:
>
> A bit of detour. "Change in side branch happened to be a subset of
> the change in trunk and gets subsumed, but we end up writing the
> same result" happens also with the simpler resolve strategy.
>
> Here is a fix.
On Thu, Apr 12, 2018 at 2:46 PM, Junio C Hamano wrote:
>
> Thanks for a clear description of the issue. It does sound
> interesting.
I decided to show it with a simpler case that could be scripted and
doesn't need the kernel.
NOTE! This obviously doesn't happen for files
Junio C Hamano writes:
> Linus Torvalds writes:
>
>> Now, the reason it was marked as changed is that the xfs branch _had_
>> in fact changed it, but the changes were already upstream and got
>> merged away. But the file still got written out
Import the default git configuration before accessing the gitmodules
file.
This is important when a value different from the default one is set via
the 'core.submodulesfile' config.
Signed-off-by: Antonio Ospite
---
builtin/fetch.c | 2 +-
1 file changed, 1 insertion(+), 1
The gitmodules file path can be customized by setting the
'core.submodulesFile' config option.
Use the 'submodules_file' variable instead of the hardcoded
'.gitmodules' in output messages, to reflect the actual path of the
gitmodules file.
NOTE: the default git configuration has to be
Hi,
vcsh[1] uses bare git repositories and detached work-trees to manage
*distinct* sets of configuration files directly into $HOME.
In general, submodules have worked perfectly fine with detached
work-trees for some time[2,3,4].
However when multiple repositories take turns using the same
The gitmodules file location can be overridden by setting the
'core.submodulesFile' config option.
Document this new option and reflect the new behavior in the
documentation by using the more generic formula "gitmodules file"
instead of the hardcoded '.gitmodules' file path.
Signed-off-by:
Signed-off-by: Antonio Ospite
---
contrib/completion/git-completion.bash | 1 +
1 file changed, 1 insertion(+)
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index a75707394..19beb6735 100644
---
When multiple repositories with detached work-trees take turns using the
same directory as their work-tree, and more than one of them want to use
submodules, there will be conflicts about the '.gitmodules' file.
git hardcodes this path so it's not possible to override its location on
a
In the comments refer to a more generic "gitmodules file" instead of
using the '.gitmodules' file name directly.
Signed-off-by: Antonio Ospite
---
builtin/submodule--helper.c | 2 +-
config.c| 7 +++
config.h| 7 +++
I did a little more digging into this issue today.
> On Apr 11, 2018, at 4:42 PM, Matt Coleman wrote:
>
> I found another (possibly better) way to fix this:
>
>> On Apr 10, 2018, at 3:18 AM, Matt Coleman wrote:
>>
>>> 1) What platform OS /
Hi,
I use git blame sometimes to blame against specific revisions, i.e.
"git blame -- " and it would be nice if blame could
figure out how to complete the or revision reference..
I tried to take a stab at adding support for this, but I couldn't
figure out which completion function to use...
I
On Thu, Apr 12, 2018 at 3:02 PM, Johannes Schindelin
wrote:
> Hi Jake,
>
> On Thu, 12 Apr 2018, Jacob Keller wrote:
>
>> On Wed, Apr 11, 2018 at 10:42 PM, Sergey Organov wrote:
>> >
>> > Jacob Keller writes:
>> >> On Wed,
Hi Jake,
On Thu, 12 Apr 2018, Jacob Keller wrote:
> On Wed, Apr 11, 2018 at 10:42 PM, Sergey Organov wrote:
> >
> > Jacob Keller writes:
> >> On Wed, Apr 11, 2018 at 6:13 AM, Sergey Organov wrote:
> >>> It was rather
Linus Torvalds writes:
> Now, the reason it was marked as changed is that the xfs branch _had_
> in fact changed it, but the changes were already upstream and got
> merged away. But the file still got written out (with the same
> contents it had before the merge),
The poll provided in compat/poll.c is not interrupted by receiving
SIGCHLD. Use a timeout for cleaning up dead children in a timely manner.
Signed-off-by: Kim Gybels
---
daemon.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/daemon.c
It has been reported [1] that cloning from a Git-for-Windows daemon would
sometimes fail with an early EOF error:
$ git clone git://server/test
Cloning into 'test'...
remote: Counting objects: 36, done.
remote: Compressing objects: 100% (24/24), done.
fatal: read error: Invalid argument
On Windows, a connection is shutdown when the last open handle to it is
closed. When that last open handle is stdout of our child process, an
abortive shutdown is triggered when said process exits. Ensure a
graceful shutdown of the client connection by keeping an open handle
until we detect our
On 12. april 2018 23:07, Rafael Ascensao wrote:
Would initiating a repo with a empty root commit, tag it with 'base' then
use $ git rebase --onto base master@{30 days ago} master;
be viable?
No... my question was confused from the beginning. With such large files
I _shouldn't_ have history
So I just had an interesting experience that has happened before too,
but this time I decided to try to figure out *why* it happened.
I'm obviously in the latter part of the kernel merge window, and
things are slowly calming down. I do the second XFS merge during this
window, and it brings in
Would initiating a repo with a empty root commit, tag it with 'base' then
use $ git rebase --onto base master@{30 days ago} master;
be viable?
The --orphan & tag is perhaps more robust, since it's "harder" to move
tags around.
--
Rafael Ascensão
On Thu, Apr 12 2018, Hallvard Breien Furuseth wrote:
> On 12. april 2018 20:47, Ævar Arnfjörð Bjarmason wrote:
>> 1. Create a backup.git repo
>> 2. Each time you make a backup, checkout a new orphan branch, see "git
>> checkout --orphan"
>> 3. You copy the files over, commit them, "git log"
On 12. april 2018 20:47, Ævar Arnfjörð Bjarmason wrote:
1. Create a backup.git repo
2. Each time you make a backup, checkout a new orphan branch, see "git
checkout --orphan"
3. You copy the files over, commit them, "git log" at this point shows
one commit no matter if you've done this
On 11 April 2018 at 23:08, Andreas Heiduk wrote:
> - reflow some paragraphs
> ---
> Documentation/githooks.txt | 14 +++---
> 1 file changed, 7 insertions(+), 7 deletions(-)
I have reviewed the resulting githooks.txt. See the diff below for two
more instances that I
On Thu, Apr 12 2018, Hallvard Breien Furuseth wrote:
> Can I use a shallow Git repo for file versioning, and regularly purge
> history older than e.g. 2 weeks? Purged data MUST NOT be recoverable.
>
> Or is there a backup tool based on shallow Git cloning which does this?
> Push/pull to another
On Thu, Apr 12, 2018 at 2:30 AM, Johannes Schindelin
wrote:
>> I think it would be worthwhile to point out that unlike the other commands
>> this will not preserve untracked files. Maybe something like
>> "Note that unlike the `pick` or `merge` commands or initial
Can I use a shallow Git repo for file versioning, and regularly purge
history older than e.g. 2 weeks? Purged data MUST NOT be recoverable.
Or is there a backup tool based on shallow Git cloning which does this?
Push/pull to another shallow repo would be nice but is not required.
The files are
On Wed, Apr 11, 2018 at 10:42 PM, Sergey Organov wrote:
> Hi Jacob,
>
> Jacob Keller writes:
>> On Wed, Apr 11, 2018 at 6:13 AM, Sergey Organov wrote:
>>> It was rather --recreate-merges just a few weeks ago, and I've seen
>>>
Hello
In my search for a business partner i got your contact in google
search. My client is willing to invest $10 Million to $500
million but my client said he need a trusted partner who he can
have a meeting at the point of releasing his funds.
I told my client that you have a good profile
I'm having a bug with git gui. Please help me find the right place to report it.
version stats:
$ git gui version
git-gui version 0.21.GITGUI
$ git version
git version 2.16.2
how the issue is produced:
using
Git Gui
preferences
Additional Diff Parameters set to
Hi Sergey,
On Thu, 12 Apr 2018, Sergey Organov wrote:
> Johannes Schindelin writes:
>
> > On Wed, 11 Apr 2018, Sergey Organov wrote:
> >
> >> The RFC v2 and Phillip's strategy are essentially the same, as has been
> >> already shown multiple times, both theoretically
On Thu, Apr 12, 2018 at 12:53 PM, Johannes Schindelin
wrote:
> Hi Tiago,
>
> On Thu, 12 Apr 2018, Tiago Botelho wrote:
>
>> On Thu, Apr 12, 2018 at 9:58 AM, Christian Couder
>> wrote:
>> > On Thu, Apr 12, 2018 at 9:49 AM, Harald Nordgren
>>
Hi Tiago,
On Thu, 12 Apr 2018, Tiago Botelho wrote:
> On Thu, Apr 12, 2018 at 9:58 AM, Christian Couder
> wrote:
> > On Thu, Apr 12, 2018 at 9:49 AM, Harald Nordgren
> > wrote:
> >> I think it looks similar. But if I'm reading that thread
Johannes Schindelin writes:
> +
> +* Merge branch 'report-a-bug'
> +|\
> +| * Add the feedback button
> +* | Merge branch 'refactor-button'
> +|\ \
> +| |/
> +| * Use the Button class for all buttons
> +| * Extract a generic Button class from the
On 4/11/2018 8:21 PM, Stefan Beller wrote:
v3:
* interdiff below,
the only changes are renaming the variable
- struct ref_store *main_ref_store;
+ struct ref_store *refs;
in struct repository.
as well as dropping the file rename patch.
* improved commit messages from
Hi Stefan,
On Wed, 11 Apr 2018, Stefan Beller wrote:
> On Wed, Apr 11, 2018 at 3:55 PM, Harald Nordgren
> wrote:
> > When ran with '--merges-only', git bisect will only look at merge commits
> > -- commits with 2 or more parents or the initial commit.
>
> There has
On 4/12/2018 5:12 AM, Junio C Hamano wrote:
Derrick Stolee writes:
+Here is a diagram to visualize the shape of the full commit graph, and
+how different generation numbers relate:
+
++-+
+| GENERATION_NUMBER_INFINITY =
Hi Harald,
Thank you for working on this.
On Thu, 12 Apr 2018, Harald Nordgren wrote:
> When ran with '--merges-only', git bisect will only look at merge
> commits -- commits with 2 or more parents or the initial commit.
This is an excellent idea!
> Proof of concept of a feature that I
Johannes Schindelin writes:
[...]
> ++
> +By default, or when `no-rebase-cousins` was specified, commits which do not
> +have `` as direct ancestor will keep their original branch point.
sans quotes, <...> are used without them throughout the manual page.
> +If
On 4/11/2018 4:58 PM, Jakub Narebski wrote:
Derrick Stolee writes:
+CHUNK DATA:
+
+ OID Fanout (ID: {'O', 'I', 'D', 'F'}) (256 * 4 bytes)
+ The ith entry, F[i], stores the number of OIDs with first
+ byte at most i. Thus F[255] stores the total
+ number of
Hi Phillip,
On Wed, 11 Apr 2018, Phillip Wood wrote:
> On 10/04/18 13:30, Johannes Schindelin wrote:
>
> Firstly let me say that I think expanding the documentation and having an
> example is an excellent idea.
Thanks! At first, I meant to leave this for others to contribute, but I
think it
On Thu, Apr 12, 2018 at 9:58 AM, Christian Couder
wrote:
> On Thu, Apr 12, 2018 at 9:49 AM, Harald Nordgren
> wrote:
>> I think it looks similar. But if I'm reading that thread correctly
>> then there was never a patch created, right?
>
> (It
Ævar Arnfjörð Bjarmason writes:
>> On the other hand, the 6-lines of e-lisp you wrote for git.el
>> replacement is something the packagers could have written for their
>> users, so (1) if we really want to go extra mile without trusting
>> that distro packagers are less
Derrick Stolee writes:
> +Here is a diagram to visualize the shape of the full commit graph, and
> +how different generation numbers relate:
> +
> ++-+
> +| GENERATION_NUMBER_INFINITY = 0x |
> +
Hi Eric & Phillip,
On Wed, 11 Apr 2018, Eric Sunshine wrote:
> On Wed, Apr 11, 2018 at 11:35 AM, Phillip Wood
> wrote:
> > On 10/04/18 13:30, Johannes Schindelin wrote:
> >> +The `reset` command is essentially a `git reset --hard` to the specified
> >> +revision
On Thu, Apr 12, 2018 at 9:49 AM, Harald Nordgren
wrote:
> I think it looks similar. But if I'm reading that thread correctly
> then there was never a patch created, right?
(It is customary on this mailing list to reply after the sentences we
reply to. We don't "top
Hi Johannes,
Johannes Schindelin writes:
> Hi Sergey,
>
> On Wed, 11 Apr 2018, Sergey Organov wrote:
>
>> The RFC v2 and Phillip's strategy are essentially the same, as has been
>> already shown multiple times, both theoretically and by testing.
>
> No, they are not.
I think it looks similar. But if I'm reading that thread correctly
then there was never a patch created, right?
On Thu, Apr 12, 2018 at 1:33 AM, Stefan Beller wrote:
> On Wed, Apr 11, 2018 at 3:55 PM, Harald Nordgren
> wrote:
>> When ran with
Good Day,
How are u doing today ? Apologies! I am a military woman ,seeking
your kind assistance to move the sum of ($7M USD) to you, as far
as i can be assured that my money will be safe in your care until
i complete my service here in Afghanistan and come over next
month.
This is legitimate, and
On Thu, Apr 12 2018, Junio C. Hamano wrote:
> Ævar Arnfjörð Bjarmason writes:
>
>> However, since downstream packagers such as Debian are packaging this
>> as git-el it's less disruptive to still carry these files as Elisp
>> code that'll error out with a message suggesting
59 matches
Mail list logo