On Thu, Jun 05, 2014 at 07:48:33PM +1200, Chris Packham wrote:
> On 05/06/14 07:42, Heiko Voigt wrote:
> > I like this idea of specifying different "views" by giving tags. But
> > does it rule out a boolean clone.recursesubmodules? For the simple case
> > some people might not want to worry about s
Change lock_ref_sha1_basic to return an error instead of dying when
we fail to lock a file during a transaction.
Signed-off-by: Ronnie Sahlberg
---
refs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/refs.c b/refs.c
index e3a0383..ab0b629 100644
--- a/refs.c
+++ b/refs.c
@
On Thu, Jun 05, 2014 at 11:18:28AM -0700, Junio C Hamano wrote:
> Jens Lehmann writes:
> > We had two settings in mind,...
> > So what if clone would just do an "git submodule init" for now when
> > "submodule.autoinit" is set but "submodule.autoupdate" isn't [?]
> > ... and a single "submodule.au
On Thu, Jun 05, 2014 at 10:46:10AM -0700, W. Trevor King wrote:
> On Thu, Jun 05, 2014 at 08:07:50AM +0200, Heiko Voigt wrote:
> > +The caller can look up information about submodules by using the
> > +`submodule_from_path()` or `submodule_from_name()` functions.
>
> That's for an already-known su
On Fri, 2014-06-06 at 08:37 +0700, Duy Nguyen wrote:
> On Fri, Jun 6, 2014 at 7:52 AM, David Turner wrote:
> > Create the option receive.denycaseclonerefs, which checks pushed
> > refs to ensure that they are not case clones of an existing
> > ref. This setting is turned on by default if core.ign
On Fri, Jun 6, 2014 at 7:52 AM, David Turner wrote:
> Create the option receive.denycaseclonerefs, which checks pushed
> refs to ensure that they are not case clones of an existing
> ref. This setting is turned on by default if core.ignorecase is
> set, but not otherwise.
Just thinking out loud
On 2014-06-05 17:11, Junio C Hamano wrote:
> Richard Hansen writes:
>
>> Because test_eval_ is defined while zsh is in sh emulation mode, the
>> shell code passed as an argument to test_expect_success would normally
>> be evaluated in sh emulation mode. However, with this change, it is
>> now po
It is possible to have two refs which are the same but for case.
This works great on the case-sensitive filesystems, but not so well on
case-insensitive filesystems. It is fairly typical to have
case-insensitive clients (Macs, say) with a case-sensitive server
(GNU/Linux).
Should a user attempt t
Since Junio has picked up the first patch from previous versions of
this series, I'm just going to send the second (SSE) one. I decided
not to s/NO_SSE42/!HAVE_SSE42/ because it looks like git mostly uses
the former convention (for instance, that's what GIT_PARSE_WITH
generates).
Thanks for all o
Optimize check_refname_component using SSE4.2, where available.
git rev-parse HEAD is a good test-case for this, since it does almost
nothing except parse refs. For one particular repo with about 60k
refs, almost all packed, the timings are:
Look up table: 29 ms
SSE4.2:25 ms
This is abo
This patch adds support to the transaction system to update all non-refs as
packed refs instead of loose refs.
This series can also be found at
https://github.com/rsahlberg/git/tree/ref-transactions-req-packed-refs
This series adds support to have transaction write updates to packed refs
instead
In many places in the code we do not have access to the individual fields
in the committer data. Instead we might only have access to prebaked data
such as what is returned by git_committer_info() containing a string
that consists of email, timestamp, zone etc.
This makes it inconvenient to use tr
We no longer need to expose the lock/add/commit/rollback functions
for packed refs anymore so make them static and remove them from the api.
Signed-off-by: Ronnie Sahlberg
---
refs.c | 8
refs.h | 28
2 files changed, 4 insertions(+), 32 deletions(-)
diff
When we are updating more than one single ref, i.e. not a commit, then
write the updated refs directly to the packed refs file instead of writing
them as loose refs.
Change clone to use a transaction instead of using the pacekd refs api.
Signed-off-by: Ronnie Sahlberg
---
builtin/clone.c | 16 +
Change refs.c to use a single transaction to copy/rename both the refs and
its reflog. Since we are no longer using rename() to move the reflog file
we no longer need to disallow rename_ref for refs with a symlink for its reflog
so we can remove that test from the testsuite.
Signed-off-by: Ronnie
Make the deletion of refs during a transaction more atomic.
Start by first copying all loose refs we will be deleting to the packed
refs file and then commit the packed refs file. Then re-lock the packed refs
file to avoid anyone else from modifying the refs we are to delete during this
transaction
This series is based on ref-transactions-reflog
It is also available at
https://github.com/rsahlberg/git/tree/ref-transactions-rename
This series adds support to perform rename_ref as a single transaction for
both deleting/re-creating the ref and updating the reflog.
Since we no longer use rename
Steve Hoelzer writes:
> There is consensus that the default should change because it will
> benefit nearly all users (some just a little, but some a lot).
> See [1] and replies.
>
> [1]:
> http://git.661346.n2.nabble.com/git-status-takes-30-seconds-on-Windows-7-Why-tp7580816p7580853.html
>
> Sig
Sup Yut Sum writes:
> async is in C# 5.0
> foreach is in C# 1.0
> instanceof is in Java. The similar keywords are typeof, is, as in C# 1.0
This one made me read it twice, until I realized you meant
instanceof() is listed as keywords, but there is no such thing
(it is in Java, though);
Am 05.06.2014 17:13, schrieb Stepan Kasal:
> Hello Karsten,
>
> On Thu, Jun 05, 2014 at 04:51:39PM +0200, Karsten Blees wrote:
>> In the current msysgit HEAD, most of these #undef's can simply be
>> removed or have already been removed [...]
>
> not "most of." According to my quick count, 6 of 2
Marc Branchaud writes:
> This patch applies atop your 8/9. I feel strongly that some kind of
> reference should accompany this description, and your new CONFIGURED
> REMOTE-TRACKING BRANCHES section seems like a good one for the fetch
> variant, but since pull's variant doesn't have that section
On Thu, 2014-06-05 at 23:42 +0200, Torsten Bögershausen wrote:
> On 2014-06-05 21.26, David Turner wrote:
> > On Thu, 2014-06-05 at 14:30 +0200, Torsten Bögershausen wrote:
> >> On 2014-06-04 23.16, David Turner wrote:
> >>>
> >>> Sure! I actually went with > 120k to make measurement easier:
> >>>
Am 05.06.2014 18:56, schrieb Johannes Sixt:
> Am 05.06.2014 10:05, schrieb Stepan Kasal:
>> mingw.c defines several wrapper functionsi, like mingw_unlink().
>> These wrappers are deployed by macros like this:
>> #define unlink mingw_unlink
>> The function itself is preceded by #undef, leaving
Christian Couder writes:
> diff --git a/contrib/convert-grafts-to-replace-refs.sh
> b/contrib/convert-grafts-to-replace-refs.sh
> new file mode 100755
> index 000..8472879
> --- /dev/null
> +++ b/contrib/convert-grafts-to-replace-refs.sh
> @@ -0,0 +1,29 @@
> +#!/bin/sh
> +
> +# You should ex
Christian Couder writes:
> +static int create_graft(int argc, const char **argv, int force)
> +{
> + unsigned char old[20], new[20];
> + const char *old_ref = argv[0];
> + struct commit *commit;
> + struct strbuf buf = STRBUF_INIT;
> + struct strbuf new_parents = STRBUF_INIT;
Am 05.06.2014 11:58, schrieb Erik Faye-Lund:
> On Thu, Jun 5, 2014 at 11:40 AM, Karsten Blees
> wrote:
>> Am 05.06.2014 10:03, schrieb Stepan Kasal:
>>> From: Johannes Schindelin
>>> Date: Wed, 2 Jun 2010 00:41:33 +0200
>>>
>>> If HOME is not set, use $HOMEDRIVE$HOMEPATH
>>>
>>> Signed-off-by: J
On 2014-06-05 21.26, David Turner wrote:
> On Thu, 2014-06-05 at 14:30 +0200, Torsten Bögershausen wrote:
>> On 2014-06-04 23.16, David Turner wrote:
>>>
>>> Sure! I actually went with > 120k to make measurement easier:
>>> https://github.com/dturner-tw/many-refs
>> Hm, I didn't get so man
>>
>> g
The first version of test 23 did simply check that no output was send
to stderr.
Commit 5e2c7cd2 verified that the expected tags were actually cloned.
Since the day "git clone" printed "Cloning into 'too-many-refs'" to stderr,
the test failed because stderr was not empty.
Remove the check for st
Richard Hansen writes:
> Because test_eval_ is defined while zsh is in sh emulation mode, the
> shell code passed as an argument to test_expect_success would normally
> be evaluated in sh emulation mode. However, with this change, it is
> now possible to evaluate the test code in zsh mode by add
Robert Dailey writes:
> I've never contributed to the Git project before. I'm a Windows user,
> so I use msysgit, but I'd be happy to install linux just so I can help
> implement this feature if everyone feels it would be useful.
>
> Right now AFAIK, there is no way to prune tags through Git. The
Am 05.06.2014 15:39, schrieb Johannes Schindelin:
> And in particular with your changes to Unicodify the complete environment,
> I am *highly* doubtful that child processes will be able to handle
> themselves properly, unless we spend a whole lot of time converting back
> and forth the environment
On Wed, 2014-06-04 at 14:46 -0700, Junio C Hamano wrote:
> David Turner writes:
>
> > On Wed, 2014-06-04 at 10:04 +0200, Torsten Bögershausen wrote:
> > [snip discussion of compiler flags; I'll look into a cpuid approach]
>
> H, I am not sure if the complexity is really worth it.
>
> In any
On Thu, 2014-06-05 at 14:30 +0200, Torsten Bögershausen wrote:
> On 2014-06-04 23.16, David Turner wrote:
> >
> > Sure! I actually went with > 120k to make measurement easier:
> > https://github.com/dturner-tw/many-refs
> Hm, I didn't get so man
>
> git remote -v
> origin https://github.com/dtu
On Thu, Jun 05, 2014 at 12:00:33PM -0700, W. Trevor King wrote:
> On Thu, Jun 05, 2014 at 01:31:39PM -0500, Robert Dailey wrote:
> > Instead of just creating my branch and starting to make commits, I
> > now have to setup my submodule branch first. Also pull requests
> > won't show the changes to t
On Thu, Jun 05, 2014 at 01:31:39PM -0500, Robert Dailey wrote:
> On Thu, Jun 5, 2014 at 11:23 AM, W. Trevor King wrote:
> > 3rd party libraries sound loosely-coupled to me ;). In one of my more
> > mature projects I did a similar thing, and just used relative URLs [1]
> > and sibling mirrors/forks
On Thu, Jun 05, 2014 at 11:18:28AM -0700, Junio C Hamano wrote:
> Jens Lehmann writes:
> > We had two settings in mind,...
> > So what if clone would just do an "git submodule init" for now when
> > "submodule.autoinit" is set but "submodule.autoupdate" isn't [?]
> > ... and a single "submodule.au
Marc Branchaud writes:
> I don't have any objection to the option per se. But I do wonder if there's
> a need to add yet another knob to git just for completeness. Has anyone ever
> needed this?
It is not a good yardstick, as everybody has survived without it
since Git's inception. The right
On Thu, Jun 5, 2014 at 11:23 AM, W. Trevor King wrote:
> 3rd party libraries sound loosely-coupled to me ;). In one of my more
> mature projects I did a similar thing, and just used relative URLs [1]
> and sibling mirrors/forks [2,3,4].
>
> Cheers,
> Trevor
>
> [1]: https://github.com/wking/pygra
Jens Lehmann writes:
> ... I believe we
> should have one or two switches telling Git "I want my submodules be
> updated without having to use the 'git submodule' command". And
> after that submodule specific overrides can kick in, e.g. when
> "submodule..update" is set to "none" the submodule wo
On Thu, Jun 05, 2014 at 08:07:50AM +0200, Heiko Voigt wrote:
> +The caller can look up information about submodules by using the
> +`submodule_from_path()` or `submodule_from_name()` functions.
That's for an already-known submodule. Do we need a way to list
submodules (e.g. for 'submodule foreach
Am 05.06.2014 10:05, schrieb Stepan Kasal:
> mingw.c defines several wrapper functionsi, like mingw_unlink().
> These wrappers are deployed by macros like this:
> #define unlink mingw_unlink
> The function itself is preceded by #undef, leaving the wrapper out
> of the game for the rest of min
On Thu, Jun 5, 2014 at 4:10 PM, Thomas Koch wrote:
> On Tuesday, May 27, 2014 03:49:24 PM Johan Herland wrote:
>> Search the mailing list archives for git-interpret-trailers. It's coming.
> Nice!
>
> I started a table to collect how different projects or tools use trailers:
> https://git.wiki.kern
On Thu, Jun 05, 2014 at 10:57:17AM -0500, Robert Dailey wrote:
> I was planning on creating a submodule for our third party libs and
> store them extracted in there.
3rd party libraries sound loosely-coupled to me ;). In one of my more
mature projects I did a similar thing, and just used relative
On Thu, Jun 5, 2014 at 10:15 AM, W. Trevor King wrote:
> So you have:
>
> On the trunk host: On your public host: Locally:
> superproject superproject superproject
> submodulesubmodule `-- submodule
>
> In that case, a corresponding feature bran
On 14-06-04 06:28 PM, Junio C Hamano wrote:
> Marc Branchaud writes:
>
>>> Teach the command to pay attention to the --refmap=:
>>> command-line options that can be used to override the use of
>>> configured remote.*.fetch as the refmap.
>>
>> (Your 0/9 message merely said "The new patches at the
Signed-off-by: Marc Branchaud
---
Documentation/git-fetch.txt| 4 ++--
Documentation/pull-fetch-param.txt | 17 ++---
2 files changed, 16 insertions(+), 5 deletions(-)
On 14-06-04 06:17 PM, Junio C Hamano wrote:
>
> Perhaps
>
> ... `remote..fetch` values are used as th
On 14-06-04 06:17 PM, Junio C Hamano wrote:
> Marc Branchaud writes:
>
> [jc: omitted good suggestions I'll use in amending]
>
>>> + the refspecs to be used to fetch. The example above will fetch
>>
>> /to be used//
>
> I have a problem with that change, actually, because you do not
> "fetch"
On Thu, Jun 05, 2014 at 09:03:25AM -0500, Robert Dailey wrote:
> When I work on a feature, I normally create a feature branch. If I
> happen to make changes to the submodule that only work with the
> changes introduced in my feature branch, that seems to complicate
> things. For the purposes of the
Hello Karsten,
On Thu, Jun 05, 2014 at 04:51:39PM +0200, Karsten Blees wrote:
> In the current msysgit HEAD, most of these #undef's can simply be
> removed or have already been removed [...]
not "most of." According to my quick count, 6 of 20 have been removed,
2 more can be removed. The remain
I've never contributed to the Git project before. I'm a Windows user,
so I use msysgit, but I'd be happy to install linux just so I can help
implement this feature if everyone feels it would be useful.
Right now AFAIK, there is no way to prune tags through Git. The way I
currently do it is like so
Am 05.06.2014 10:05, schrieb Stepan Kasal:
> mingw.c defines several wrapper functionsi, like mingw_unlink().
> These wrappers are deployed by macros like this:
> #define unlink mingw_unlink
> The function itself is preceded by #undef, leaving the wrapper out
> of the game for the rest of min
Am 05.06.2014 14:03, schrieb Johannes Schindelin:
> Hi Karsten,
>
> On Thu, 5 Jun 2014, Karsten Blees wrote:
>
>> After a bit of digging in the history and the old googlegroups issue
>> tracker, I think this patch is completely unrelated to the non-ASCII
>> problems.
>
> Actually, the non-ASCII
On Tuesday, May 27, 2014 03:49:24 PM Johan Herland wrote:
> Search the mailing list archives for git-interpret-trailers. It's coming.
Nice!
I started a table to collect how different projects or tools use trailers:
https://git.wiki.kernel.org/index.php/CommitMessageConventions#Trailers
It would b
I have a question regarding submodules and their applicability given
our workflow at the place I work.
When I work on a feature, I normally create a feature branch. If I
happen to make changes to the submodule that only work with the
changes introduced in my feature branch, that seems to complicat
Hi,
My name is Fran, we are a development team who uses git. We have our
Development Environment in the server office (Windows 2008 R2) where everything
runs without problems. We are planning to move to Windows Azure so we bought a
virtual server to try our Development Environment and check the
Hi Karsten,
On Thu, 5 Jun 2014, Karsten Blees wrote:
> Am 05.06.2014 10:03, schrieb Stepan Kasal:
>
> * even if $HOME was empty, git should setenv("HOME") so that child
> processes can benefit from it (similar to TMPDIR and TERM in current
> msysgit's mingw_startup()). Not setting $HOME becau
On Thu, Jun 05, 2014 at 02:30:17PM +0200, Torsten Bögershausen wrote:
> On 2014-06-04 23.16, David Turner wrote:
> >
> > Sure! I actually went with > 120k to make measurement easier:
> > https://github.com/dturner-tw/many-refs
> Hm, I didn't get so man
>
> git remote -v
> origin https://github.
On 2014-06-04 23.16, David Turner wrote:
>
> Sure! I actually went with > 120k to make measurement easier:
> https://github.com/dturner-tw/many-refs
Hm, I didn't get so man
git remote -v
origin https://github.com/dturner-tw/many-refs
wc .git/packed-refs
7501130 38868 .git/packed-
Hi,
On Thu, Jun 05, 2014 at 02:03:39PM +0200, Johannes Schindelin wrote:
> Render me even more convinced that the API call is the cleanest way to go,
But not me.
In a paralel post, Duy Nguyen wrote:
> Thank you for working on pushing msysgit patches upstream. I don't use
> git on windows, but
Dear Friend,
I am Song Chen I have a Business Proposal of $12.8m USD for you to handle
with me from
my bank contact me for more information (song_chen.2...@foxmail.com)
Regards,
Mr Song Chen
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord..
Hi Karsten,
On Thu, 5 Jun 2014, Karsten Blees wrote:
> After a bit of digging in the history and the old googlegroups issue
> tracker, I think this patch is completely unrelated to the non-ASCII
> problems.
Actually, the non-ASCII problems were the trigger for my patch.
> In summary, this patch
Hello,
On Thu, Jun 05, 2014 at 11:40:50AM +0200, Karsten Blees wrote:
> Am 05.06.2014 10:03, schrieb Stepan Kasal:
> > I hope you can ack this patch as a step forward.
>
> No, not really. It's sure better than introducing a special
> get_home_directory(), but it still increases the diff between
>
From: Johannes Schindelin
Date: Wed, 2 Jun 2010 00:41:33 +0200
If HOME is not set, use $HOMEDRIVE$HOMEPATH
Signed-off-by: Johannes Schindelin
Signed-off-by: Stepan Kasal
---
On Thu, Jun 05, 2014 at 10:32:44AM +0200, Torsten Bögershausen wrote:
> > + strbuf_addf(&buf, "%s%s", getenv_
On Thu, Jun 5, 2014 at 11:40 AM, Karsten Blees wrote:
> Am 05.06.2014 10:03, schrieb Stepan Kasal:
>> From: Johannes Schindelin
>> Date: Wed, 2 Jun 2010 00:41:33 +0200
>>
>> If HOME is not set, use $HOMEDRIVE$HOMEPATH
>>
>> Signed-off-by: Johannes Schindelin
>> Signed-off-by: Stepan Kasal
>> --
Am 05.06.2014 10:03, schrieb Stepan Kasal:
> From: Johannes Schindelin
> Date: Wed, 2 Jun 2010 00:41:33 +0200
>
> If HOME is not set, use $HOMEDRIVE$HOMEPATH
>
> Signed-off-by: Johannes Schindelin
> Signed-off-by: Stepan Kasal
> ---
>
> Hello Karsten,
> thanks for your explanation. There are
Kedves felhasználók e-mailben;
Túllépte 23432 box set
Web Service / Admin, és akkor nem lesz probléma a küldő és
fogadhat e-maileket, amíg újra ellenőrizni. Kérjük, frissítse kattintva
linkre, és töltse ki az adatokat, hogy ellenőrizze a számla
Kérjük, kövesse az alábbi linkre, és majd másolja és
On 2014-06-05 10.03, Stepan Kasal wrote:
> From: Johannes Schindelin
> Date: Wed, 2 Jun 2010 00:41:33 +0200
>
> If HOME is not set, use $HOMEDRIVE$HOMEPATH
>
> Signed-off-by: Johannes Schindelin
> Signed-off-by: Stepan Kasal
> ---
>
> Hello Karsten,
> thanks for your explanation. There are m
On Thu, 2014-06-05 at 13:29 +0700, Duy Nguyen wrote:
> On Thu, Jun 5, 2014 at 10:49 AM, David Turner
> wrote:
> > fatal: internal error: work tree has already been set
> > Current worktree: /home/dturner/git
> > New worktree: /home/dturner/git/foo
>
> This is the part you complain about, right?
mingw.c defines several wrapper functionsi, like mingw_unlink().
These wrappers are deployed by macros like this:
#define unlink mingw_unlink
The function itself is preceded by #undef, leaving the wrapper out
of the game for the rest of mingw.c.
This was not probably intentional; for examp
From: Johannes Schindelin
Date: Wed, 2 Jun 2010 00:41:33 +0200
If HOME is not set, use $HOMEDRIVE$HOMEPATH
Signed-off-by: Johannes Schindelin
Signed-off-by: Stepan Kasal
---
Hello Karsten,
thanks for your explanation. There are more things to be done, but
I hope you can ack this patch as a s
On 05/06/14 07:42, Heiko Voigt wrote:
> On Wed, Jun 04, 2014 at 10:24:06AM -0700, Junio C Hamano wrote:
>> Chris Packham writes:
>>
>>> On 04/06/14 09:05, Junio C Hamano wrote:
> Also, going --recursive when the user did not want is a lot more
> expensive mistake to fix than not being --re
Hello,
How to you uninstall properly Git on a Mac? Unfortunately, it seems to not be
documented on your website…
Thanks for your help!
Romain
--
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://v
72 matches
Mail list logo