On 10/11/2015 19:55, larsxschnei...@gmail.com wrote:
+ sudo apt-get update -qq
+ sudo apt-get install -y apt-transport-https
+ sudo apt-get install perforce-server git-lfs
Why no "-y" also in this line, or append these to the previous line?
Or maybe even better, like [1] does,
Hi all!
I'm sorry if the letter came twice. I have troubles with my post client.
I want to organize my repository so its submodules would be located at the root
of repository. I'm trying to create .gitignore to ignore all files and don't
ignore directories at the same time:
$ cat .gitignore
*
On 10/4/2015 19:46, Junio C Hamano wrote:
The very nice thing with Travis-CI is that it does not only test the
repository's branches, but also all pull-requests.
OK, that is the first real argument I heard for enabling it on
git/git that is worth listening to.
I was mentioning that very
Looks good to me, Ack.
On 11 October 2015 at 18:55, wrote:
> From: Lars Schneider
>
> Windows and OS X file systems are case insensitive by default.
> Consequently the "git-p4-case-folding" test case does not apply to
> them.
>
>
Christian Gagneraud venit, vidit, dixit 12.10.2015 05:32:
> Hi git hackers,
>
> I have been scratching my head since quite a few weeks to see if and how
> I could hack git to manage non-software-source-code files. Theses files
> might be text-based (XML, JSON, custom format, ...) but are not
I updated Russian translation for gitk.
Please feel free to add any sugessions on Git Russian Localization Project:
https://www.transifex.com/djm00n/git-po-ru/language/ru/
Patch is against current git://ozlabs.org/~paulus/gitk master branch.
Dimitriy Ryazantcev (1):
gitk: Update Russian
Hi Junio,
On 2015-10-09 20:36, Junio C Hamano wrote:
> Johannes Schindelin writes:
>
>> When calling `git pull --rebase`, things can go wrong. In such a case,
>> we want to tell the user about the most common ways out of this fix:
>> ...
>> builtin/am.c | 1 +
>> 1
Hi Junio,
On 2015-10-09 20:40, Junio C Hamano wrote:
> Junio C Hamano writes:
>
>>> Instead, stepping back a bit, I wonder if we can extend coverage of
>>> the helpful message to all die() calls when running git-am. We could
>>> just install a die routine with
On Tue, 2015-10-06 at 14:09 -0400, David Turner wrote:
> On Mon, 2015-10-05 at 21:58 -0400, Jeff King wrote:
> > On Mon, Oct 05, 2015 at 09:29:37PM -0400, David Turner wrote:
> >
> > > > Therefore, I don't think this can be merged without a bump to
> > > > core.repositoryformatversion. Such a
Hi Junio,
On 2015-10-09 20:55, Junio C Hamano wrote:
> Junio C Hamano writes:
>
> I would prefer the endgame to be an efficient implementation of
> merge_recursive_generic(), a function that you can call without you
> having to worry about it dying.
>
> But the patch in this
Hi Torsten,
On 2015-10-10 18:05, Torsten Bögershausen wrote:
> On 09.10.15 12:11, Johannes Schindelin wrote:
>> Me again,
>>
>> On 2015-10-09 11:50, Johannes Schindelin wrote:
>>>
>>> On 2015-10-09 03:40, Paul Tan wrote:
On Fri, Oct 9, 2015 at 8:52 AM, Junio C Hamano
Signed-off-by: Dimitriy Ryazantcev
---
po/ru.po | 401 +--
1 file changed, 161 insertions(+), 240 deletions(-)
diff --git a/po/ru.po b/po/ru.po
index f1bac87..4bec810 100644
--- a/po/ru.po
+++ b/po/ru.po
Victor Leschuk writes:
> I think that no one tried it for a long time but I needed a
> single-threaded git version for debug purpose. I tried to build
> with -DNO_PTHREADS and thread-utils.c failed to compile.
>
> In brief the situation is the following:
>
> in header
Junio C Hamano venit, vidit, dixit 09.10.2015 19:53:
> Michael J Gruber writes:
>
>>> Set IFS to an empty string for the “read” call, thus disabling the word
>>> splitting, which causes $header_line to be set to the non-empty value '
>>> '. This allows the loop to
Sebastian Schuberth writes:
> Semantically, it does not seem correct to me that configuarion goes to
> the install step. As "make test" will build git anyway, I'd instead
> propose to get rid of "install" and just say:
>
> before_script: make configure && ./configure
>
>
Matthieu Moy writes:
> The changes are described in CHANGES.
>
> Contributions-by: Matthieu Moy
> Contributions-by: Elijah Newren
> Contributions-by: Edward d'Auvergne
> Contributions-by: Vadim Zeitlin
>> + brew_force_set_latest_binary_hash () {
>> +FORUMULA=$1
>
> Is this spelling intentional or is it a misspelling of "formula"?
This is a misspelling. I will fix it.
Thanks,
Lars
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
Michael J Gruber writes:
> Yep, I'm fine with "mini-mentoring", and just to be safe, the 7 new
> characters in git-filter-branch.sh are (also)
>
> Signed-off-by: Michael J Gruber
>
> in case that is needed or preferred.
I was wondering if
larsxschnei...@gmail.com writes:
> Lars Schneider (3):
> Add Travis CI support
> git-p4: Improve test case portability for t9815 git-p4-submit-fail
> git-p4: Skip t9819 test case on case insensitive file systems
Can you make this two separate series? It seems Luke is happy with
the p4
larsxschnei...@gmail.com writes:
> Lars Schneider (3):
> Add Travis CI support
> git-p4: Improve test case portability for t9815 git-p4-submit-fail
> git-p4: Skip t9819 test case on case insensitive file systems
Can you split this into two separate series?
It seems Luke is happy with the
I updated Russian translation for git-gui.
Please feel free to add any sugessions on Git Russian Localization Project:
https://www.transifex.com/djm00n/git-po-ru/language/ru/
Patch is against current git://repo.or.cz/git-gui.git master branch.
Dimitriy Ryazantcev (1):
git-gui: Update Russian
Junio C Hamano writes:
> Victor Leschuk writes:
>
>> I think that no one tried it for a long time but I needed a
>> single-threaded git version for debug purpose. I tried to build
>> with -DNO_PTHREADS and thread-utils.c failed to compile.
>>
>> In
On 12 Oct 2015, at 01:05, Sebastian Schuberth wrote:
> On 10/11/2015 19:55, larsxschnei...@gmail.com wrote:
>
>> + sudo apt-get update -qq
>> + sudo apt-get install -y apt-transport-https
>> + sudo apt-get install perforce-server git-lfs
>
> Why no "-y"
This improves readability of the parse_config logic by making it more concise.
CC: Eric Sunshine
CC: Heiko Voigt
Signed-off-by: Stefan Beller
---
Eric commented on this during the long series for parallelizing
fetching
From: Lars Schneider
Windows and OS X file systems are case insensitive by default.
Consequently the "git-p4-case-folding" test case does not apply to
them.
Signed-off-by: Lars Schneider
Acked-by: Luke Diamand
---
From: Lars Schneider
I extracted this patch series from "[PATCH v3 0/3] Add Travis CI support" as
suggested by Junio.
Thanks,
Lars
Lars Schneider (2):
git-p4: Improve test case portability for t9815 git-p4-submit-fail
git-p4: Skip t9819 test case on case
From: Lars Schneider
Replace the stats command with the ls command to check file mode bits.
The stats command is not available on Windows and has different
command line options on OS X.
Signed-off-by: Lars Schneider
---
Matthieu Moy writes:
> The char buf[40] is safe (at least while the strings are not
> translated), but I'd rather avoid magic numbers like this 40 in the
> code, and use a construct that does not have this size limitation.
> Especially if it makes the code shorter.
>
>
On Mon, Oct 12, 2015 at 11:15 PM, Junio C Hamano wrote:
> Matthieu Moy writes:
>
>> The char buf[40] is safe (at least while the strings are not
>> translated), but I'd rather avoid magic numbers like this 40 in the
>> code, and use a construct that does
On Mon, Oct 12, 2015 at 6:06 AM, Junio C Hamano wrote:
> Karthik Nayak writes:
>
>> On Fri, Oct 9, 2015 at 11:59 PM, Junio C Hamano wrote:
>> ...
>> Also does it make sense to integrate these changes here? Or would you like to
>> have
Karthik Nayak writes:
> On Mon, Oct 12, 2015 at 6:06 AM, Junio C Hamano wrote:
>> Karthik Nayak writes:
>>
>>> On Fri, Oct 9, 2015 at 11:59 PM, Junio C Hamano wrote:
>>> ...
>>> Also does it make sense to
On Mon, Oct 12, 2015 at 6:02 PM, Junio C Hamano wrote:
>> Semantically, it does not seem correct to me that configuarion goes to
>> the install step. As "make test" will build git anyway, I'd instead
>> propose to get rid of "install" and just say:
>>
>> before_script: make
Junio C Hamano writes:
> If you design a new infrastructure to help refactoring early
> (i.e. before adding many copies of code that need to be cleaned up
> later), it would make the work of reviewing of the design of the
> helper and refactoring using that helper smaller, not
>From the man page:
EAGAIN The file descriptor fd refers to a file other than a socket
and has been marked nonblocking (O_NONBLOCK), and the read
would block.
EAGAIN or EWOULDBLOCK
The file descriptor fd refers to a socket and has been marked
nonblocking (O_NONBLOCK),
This allows to run external commands in parallel with ordered output
on stderr.
If we run external commands in parallel we cannot pipe the output directly
to the our stdout/err as it would mix up. So each process's output will
flow through a pipe, which we buffer. One subprocess can be directly
From: Jonathan Nieder
The "Pushing submodule " progress output correctly goes to
stderr, but "Fetching submodule " is going to stdout by
mistake. Fix it to write to stderr.
Noticed while trying to implement a parallel submodule fetch. When
this particular output line went
The new method removes all common signal handlers that were installed
by sigchain_push.
CC: Jeff King
Signed-off-by: Stefan Beller
Signed-off-by: Junio C Hamano
---
sigchain.c | 9 +
sigchain.h | 1 +
2 files changed, 10
In a later patch we enable parallel processing of submodules, this
only adds the possibility for it. So this change should not change
any user facing behavior.
Signed-off-by: Stefan Beller
---
submodule.c | 145 ++--
1
This enables the work of the previous patches.
Signed-off-by: Stefan Beller
---
Documentation/fetch-options.txt | 7 +++
builtin/fetch.c | 6 +-
builtin/pull.c | 6 ++
submodule.c | 3 +--
submodule.h
Provide a wrapper to read(), similar to xread(), that restarts on
EINTR but not EAGAIN (or EWOULDBLOCK). This enables the caller to
handle polling itself, possibly polling multiple sockets or performing
some other action.
Helped-by: Jacob Keller
Helped-by: Jeff King
fixing two smaller nits noticed by Ramsay
* make struct parallel_processes static
* omit the forward declaration of get_next_submodule by reordering.
Jonathan Nieder (1):
submodule.c: write "Fetching submodule " to stderr
Stefan Beller (7):
xread: poll on non blocking fds
xread_nonblock:
The new call will read from a file descriptor into a strbuf once. The
underlying call xread_nonblock is meant to execute without blocking if
the file descriptor is set to O_NONBLOCK. It is a bug to call
strbuf_read_once on a file descriptor which would block.
Signed-off-by: Stefan Beller
Stefan Beller writes:
> This improves readability of the parse_config logic by making it more concise.
This does make it shorter, but "improve readability" is highly
subjective and "untangle logic" is content-free without explaining
what aspect of the logic is being
On 12 Oct 2015, at 12:37, Sebastian Schuberth wrote:
> On Mon, Oct 12, 2015 at 7:12 PM, Lars Schneider
> wrote:
>
+install: make configure && ./configure
+
+before_script: make
+
+script: make --quiet test
>>>
>>>
On Mon, Oct 12, 2015 at 9:43 PM, Lars Schneider
wrote:
>> Reading through Travis' docs [3] again, "before_script" is documented
>> to "return a non-zero exit code, the build is errored and stops
>> immediately", while "script" is documented as "returns a non-zero exit
Hello,
[I try some search engines without success, perhaps I have missed something].
For example, if I rebase the following commits, I would want that if
the commit hash 222... become 777...,
the message
"Update test output for "
become
"Update
larsxschnei...@gmail.com writes:
> --- /dev/null
> +++ b/.travis.yml
> @@ -0,0 +1,46 @@
> +language: c
> +
> +os:
> + - linux
> + - osx
> +
> +compiler:
> + - clang
> + - gcc
> +
> +before_install:
> + - >
> +export GIT_TEST_OPTS=" --quiet";
> +case "${TRAVIS_OS_NAME:-linux}" in
> +
Francois-Xavier Le Bail writes:
> Hello,
>
> [I try some search engines without success, perhaps I have missed something].
>
> For example, if I rebase the following commits, I would want that if
> the commit hash 222... become 777...,
> the message
> "Update
Johannes Schindelin writes:
>> I think the most sensible regression fix as the first step at this
>> point is to call it as a separate process, just like the code calls
>> "apply" as a separate process for each patch. Optimization can come
>> later when it is shown
Johannes Schindelin writes:
> Hi Junio,
>
> On 2015-10-09 20:36, Junio C Hamano wrote:
>> Johannes Schindelin writes:
>>
>>> When calling `git pull --rebase`, things can go wrong. In such a case,
>>> we want to tell the user about the
Thanks; will replace.
--
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, Oct 12, 2015 at 7:12 PM, Lars Schneider
wrote:
>>> +install: make configure && ./configure
>>> +
>>> +before_script: make
>>> +
>>> +script: make --quiet test
>>
>> Semantically, it does not seem correct to me that configuarion goes to the
>> install step. As
On 12 Oct 2015, at 09:02, Junio C Hamano wrote:
> Sebastian Schuberth writes:
>
>> Semantically, it does not seem correct to me that configuarion goes to
>> the install step. As "make test" will build git anyway, I'd instead
>> propose to get rid of
For example, I can do:
git clone --depth 1 --branch devel g...@gitlab.com:memeplex/bash.git
But if I try:
git submodule add --depth 1 -b devel g...@gitlab.com:memeplex/bash.git
I get:
fatal: Cannot update paths and switch to branch 'devel' at the same time.
Did you intend to checkout
Lars Schneider writes:
> {Linux | OSX} * {gcc | clang} * {Default, NO_PTHREAD, NO_CURL, NO_OPENSSL,
> NO_MMAP, NO_IPV6, NO_PERL}
Another option would be to have a single "NO_*" build, that would
activate all NO_PTHREAD, NO_CURL, NO_OPENSSL, NO_MMAP, NO_IPV6, NO_PERL
On Mon, Oct 12, 2015 at 4:14 PM, Junio C Hamano wrote:
> Stefan Beller writes:
>
>> This allows to configure fetching in parallel without having the annoying
>> command line option.
>
> s/annoying//;
>
> I think this is a sane thing to do, but the name of
Instead of tracking the submodule at the specified branch, using a shallow
clone, we get the following error:
fatal: Cannot update paths and switch to branch 'anotherbranch' at the same
time.
Did you intend to checkout 'origin/anotherbranch' which can not be resolved as
commit?
Unable to
From: Ronnie Sahlberg
Create a public version of verify_refname_available that backends can
provide.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs.c | 65
From: Ronnie Sahlberg
Move update_ref() to the refs.c file since this function does not
contain any backend specific code. Move the ref classifier functions
as well, since update_ref depends on them.
Based on Ronnie Sahlberg's patch
Signed-off-by: Ronnie Sahlberg
From: Ronnie Sahlberg
These functions do not use any backend specific code so we move
them to the common code.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 52
The common ref code will build up a ref transaction. Backends will
then commit it. So the transaction creation and update functions should
be in the common code. We also need to move the ref structs into
the common code so that alternate backends can access them.
Later, we will modify struct
From: Ronnie Sahlberg
Add ref backend methods for:
resolve_ref_unsafe, verify_refname_available, pack_refs, peel_ref,
create_symref, resolve_gitlink_ref.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
In a moment, we'll create initdb functions for ref backends, and code
from initdb that calls this function needs to move into the files
backend. So this function needs to be public.
Signed-off-by: David Turner
---
builtin/init-db.c | 12
cache.h
Rename copy_msg to copy_reflog_msg and make it public.
Signed-off-by: David Turner
---
refs-be-files.c | 28 +---
refs.c | 26 ++
refs.h | 2 ++
3 files changed, 29 insertions(+), 27 deletions(-)
diff
From: Ronnie Sahlberg
Move delete_pseudoref, delete_ref() and delete_refs() to the refs.c
file since these functions do not contain any backend specific code.
Based on a patch by Ronnie Sahlberg.
Signed-off-by: David Turner
Signed-off-by: Ronnie
From: Ronnie Sahlberg
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 41 --
refs.c | 69 ++---
From: Ronnie Sahlberg
Add a ref structure for backend methods. Start by adding a method pointer
for the transaction commit function.
Add a function set_refs_backend to switch between backends. The files
based backend is the default.
Signed-off-by: Ronnie Sahlberg
From: Ronnie Sahlberg
Rename refs.c to refs-be-files.c to indicate that this file now
holds the implementation for the files based refs backend.
A smaller portion of the code in this file is backend agnostic and will
be moved to a a new refs.c file that will hold all the
From: Ronnie Sahlberg
Add a ref structure for backend methods. Start by adding a method pointer
for the transaction commit function.
Add a function set_refs_backend to switch between backends. The files
based backend is the default.
Signed-off-by: Ronnie Sahlberg
From: Ronnie Sahlberg
Move read_ref_at() to the refs.c file since this function does not
contain any backend specific code.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 118
Alternate refs backends might still use files to store per-worktree
refs. So the files backend's ref-loading infrastructure should be
available to those backends, just for use on per-worktree refs. Add
do_for_each_per_worktree_ref, which iterates over per-worktree refs.
Signed-off-by: David
Signed-off-by: David Turner
---
refs-be-files.c | 10 --
refs.c | 10 ++
refs.h | 2 ++
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/refs-be-files.c b/refs-be-files.c
index bf2fd7a..73111e7 100644
---
In the file-based backend, the reflog piggybacks on the ref lock.
Since other backends won't have the same sort of ref lock, ref backends
must also handle reflogs.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c |
This function does not contain any backend specific code so we
move it to the common code.
Signed-off-by: David Turner
---
refs-be-files.c | 53 -
refs.c | 31 +++
refs.h
We also have to make rename_ref_available public, since alternate
backends for rename_ref will need it.
Signed-off-by: David Turner
---
refs-be-files.c | 20 +++-
refs.c | 21 +
refs.h | 7 ++-
3 files changed,
From: Ronnie Sahlberg
These functions do not depend on the backend implementation so we
move them to the common code.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 18 --
From: Ronnie Sahlberg
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 5 -
refs.c | 5 +
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/refs-be-files.c
Please disregard this one; I rewrorded the commit message and forgot to
delete this patch.
On Mon, 2015-10-12 at 17:51 -0400, David Turner wrote:
> From: Ronnie Sahlberg
>
> Add a ref structure for backend methods. Start by adding a method pointer
> for the transaction
From: Ronnie Sahlberg
This function does not contain any backend specific code so we
move it to the common code.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 109
From: Ronnie Sahlberg
Move the hidden refs functions to the refs.c file since these
functions do not contain any backend specific code.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 51
From: Ronnie Sahlberg
Create a new refs.c file that will be used to hold all the refs
code that is backend agnostic and will be shared across all backends.
Signed-off-by: Ronnie Sahlberg
---
Makefile | 1 +
refs.c | 3 +++
2 files changed, 4
From: Ronnie Sahlberg
Signed-off-by: Ronnie Sahlberg
---
refs-be-files.c | 9 -
refs.c | 9 +
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/refs-be-files.c b/refs-be-files.c
index 1214d9e..ecf2b33 100644
---
From: Ronnie Sahlberg
Signed-off-by: Ronnie Sahlberg
---
refs-be-files.c | 15 ---
refs.c | 15 +++
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/refs-be-files.c b/refs-be-files.c
index
This version of the patch set includes the following changes:
1. Numerous formatting and style updates. Thanks for Michael Haggerty to
pointing these out; remaining errors are of course my own.
2. Fixed warnings. Thanks to Michael Haggerty, Michael Blume, and
Torsten Bögershausen for pointing
From: Ronnie Sahlberg
Signed-off-by: Ronnie Sahlberg
---
refs-be-files.c | 82 -
refs.c | 81
2 files changed, 81 insertions(+),
is_branch was already non-static, but this patch declares it in the
header.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs.c | 9 +
refs.h | 13 +
2 files changed, 14 insertions(+), 8 deletions(-)
diff
Stefan Beller writes:
> This allows to configure fetching in parallel without having the annoying
> command line option.
s/annoying//;
I think this is a sane thing to do, but the name of the variable may
want to be bikeshedded a bit.
> This moved the responsibility to
This makes the parsing more concise by removing the forward goto as well
as unifying the structure of parsing the {ignore, url, path} options.
By unifying we introduce subtle changes in the error cases. We notice
non-boolean variables before noticing duplicate variables now.
CC: Eric Sunshine
Add a database backend for refs using LMDB. This backend runs git
for-each-ref about 30% faster than the files backend with fully-packed
refs on a repo with ~120k refs. It's also about 4x faster than using
fully-unpacked refs. In addition, and perhaps more importantly , it
avoids case-conflict
Add method for for_each_reftype_fullpath.
Signed-off-by: David Turner
---
refs-be-files.c | 11 +++
refs.c | 7 +++
refs.h | 3 +++
3 files changed, 21 insertions(+)
diff --git a/refs-be-files.c b/refs-be-files.c
index 2e2399e..c99319f
Because HEAD and stash are per-worktree, refs.c needs to go through
the files backend to write these refs.
In this patch, we make one files backend internal functions
public. Later, we will use this to handle reflog updates for
per-worktree symbolic refs (HEAD).
Signed-off-by: David Turner
The file backend doesn't need this function, but other backends might.
Signed-off-by: David Turner
Signed-off-by: Ronnie Sahlberg
---
refs-be-files.c | 6 ++
refs.c | 3 ++-
refs.h | 4 +++-
3 files changed, 11
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 5 +++--
refs.c | 6 ++
refs.h | 1 +
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/refs-be-files.c b/refs-be-files.c
index
Add a new option, --refs-backend-type, to allow the ref backend type to
be set on new clones.
Submodules must use the same ref backend as the parent repository, so
we also pass the --refs-backend-type option option when cloning
submodules.
Signed-off-by: David Turner
Add tests for the database backend.
Signed-off-by: David Turner
Helped-by: Dennis Kaarsemaker
---
t/t1460-refs-be-db.sh| 1109 ++
t/t1470-refs-be-db-reflog.sh | 359 ++
t/test-lib.sh
This function does not contain any backend specific code so we
move it to the common code.
Signed-off-by: Ronnie Sahlberg
Signed-off-by: David Turner
---
refs-be-files.c | 33 -
refs.c | 24
The check for duplicate refnames in a transaction is needed for
all backends, so move it to the common code.
ref_transaction_commit_fn gains a new argument, the sorted
string_list of affected refnames.
Signed-off-by: David Turner
---
refs-be-files.c | 57
Always handle non-normal (per-worktree or pseudo) refs in the files
backend instead of alternate backends.
Sometimes a ref transaction will update both a per-worktree ref and a
normal ref. For instance, an ordinary commit might update
refs/heads/master and HEAD (or at least HEAD's reflog).
We
Add register_refs_backend, to allow refs backends to be registered.
Signed-off-by: David Turner
---
refs.c | 6 ++
refs.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/refs.c b/refs.c
index 901558d..534d12e 100644
--- a/refs.c
+++ b/refs.c
@@ -23,6 +23,12
From: Jeff King
Normally we try to avoid bumps of the whole-repository
core.repositoryformatversion field. However, it is
unavoidable if we want to safely change certain aspects of
git in a backwards-incompatible way (e.g., modifying the set
of ref tips that we must traverse to
1 - 100 of 114 matches
Mail list logo