On Sat, Jun 21, 2014 at 4:00 AM, brian m. carlson
sand...@crustytoothpaste.net wrote:
On Thu, Jun 19, 2014 at 04:18:22PM +0530, Jagan Teki wrote:
Hi,
I have a single repo with different kinds of branches say 4 branches.
Developers will send a patches wrt to specific branch.
I presume here
On Wed, Jun 18, 2014 at 07:53:14PM -0700, David Aguilar wrote:
105b5d3fbb1c00bb0aeaf9d3e0fbe26a7b1993fc introduced a dependency
on mkdtemp, which is not available on Windows.
Use the original temporary directory behavior when mkdtemp fails.
This makes the code use mkdtemp when available and
On Thu, Jun 26, 2014 at 01:47:36PM -0700, Junio C Hamano wrote:
David Aguilar dav...@gmail.com writes:
105b5d3fbb1c00bb0aeaf9d3e0fbe26a7b1993fc introduced a dependency
on mkdtemp, which is not available on Windows.
Use the original temporary directory behavior when mkdtemp fails.
This
Junio C Hamano gits...@pobox.com writes:
But then in order to learn what tags the remote has, you need to
talk to the remote and it won't be complately a local operation
anymore, no?
Just like for every other remote ref. If you need to know the
ultimative truth the only way is to ask the
Robin Rosenberg robin.rosenb...@dewire.com writes:
$ TZ=CET date
Fre 27 Jun 2014 00:08:05 CEST
That only works because CET is a special zone name (POSIX time zones
require at least a number to denote the standard offset), similar to
Europe/Berlin but without the history.
Andreas.
--
Andreas
From: Kazumasa Shigeta shig...@kanamei.co.jp
The --include-untracked option acts like the normal git stash save
--include-untracked --all but it does not change anything in working directory.
It is inconvenient stash create does not have --include-untracked option
however stash save has
Hello,
As a software developer I've used git for years and have found it the
perfect solution for source control.
Lately I have found myself using git in a unique use-case - modifying
DNA/RNA sequences and storing them in git, which are essentially
software/source code for cells/life. For
- Ursprungligt meddelande -
Från: Alan Franzoni mail...@franzoni.eu
Till: Robin Rosenberg robin.rosenb...@dewire.com
Kopia: git@vger.kernel.org, Alan Franzoni usern...@franzoni.eu,
sch...@linux-m68k.org
Skickat: fredag, 27 jun 2014 10:24:23
Ämne: Re: [PATCH] Fix: wrong offset for
When reading a symbolic ref via resolve_gitlink_ref_recursive(), check
that the reference name that is pointed at is formatted correctly,
using the same check as resolve_ref_unsafe() uses for non-gitlink
references. This prevents bogosity like
ref: ../../other/file
from causing problems.
Karsten Blees karsten.bl...@gmail.com writes:
If for some reason a config string is accessed after config_cache_free()
(which would be a bug), you won't notice if strings are xstrdup()ed (i.e. git
will continue to run with some invalid configuration). This is IMO much worse
than failing with
Use the ARRAY_SIZE macro to get the number
of elements in an array.
Signed-off-by: Elia Pinto gitter.spi...@gmail.com
---
submodule.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/submodule.c b/submodule.c
index b80ecac..48e3b44 100644
--- a/submodule.c
+++ b/submodule.c
Jeff King venit, vidit, dixit 16.06.2014 22:39:
On Mon, Jun 16, 2014 at 01:34:20PM -0700, Junio C Hamano wrote:
Your middle example above did make me think of one other thing, though.
As you noted, we actually have _three_ signature types:
1. signed tags
2. signed commits
3.
Michael J Gruber venit, vidit, dixit 27.06.2014 14:31:
Jeff King venit, vidit, dixit 16.06.2014 22:39:
On Mon, Jun 16, 2014 at 01:34:20PM -0700, Junio C Hamano wrote:
Your middle example above did make me think of one other thing, though.
As you noted, we actually have _three_ signature
Michael J Gruber venit, vidit, dixit 27.06.2014 14:49:
Michael J Gruber venit, vidit, dixit 27.06.2014 14:31:
Jeff King venit, vidit, dixit 16.06.2014 22:39:
On Mon, Jun 16, 2014 at 01:34:20PM -0700, Junio C Hamano wrote:
Your middle example above did make me think of one other thing, though.
A wrong '}' made our code record the results of mergetag signature
verification incorrectly.
Fix it.
Signed-off-by: Michael J Gruber g...@drmicha.warpmail.net
---
This is the color fix...
log-tree.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/log-tree.c b/log-tree.c
Michael J Gruber venit, vidit, dixit 27.06.2014 14:49:
Michael J Gruber venit, vidit, dixit 27.06.2014 14:31:
Jeff King venit, vidit, dixit 16.06.2014 22:39:
On Mon, Jun 16, 2014 at 01:34:20PM -0700, Junio C Hamano wrote:
Your middle example above did make me think of one other thing, though.
This is v3 rebased on current next (the %G works by Jeff Junio).
Open questions:
- Should one of git verify-{commit,tag} learn how to verify mergetags?
(Probably no, it differs from both other cases.)
- Should we do this now or go for generic git verify right away?
That depends on whether
In contrast to tag signatures, commit signatures are put into the
header, that is between the other header parts and commit messages.
Provide access to the commit content sans the signature, which is the
payload that is actually signed. Commit signature verification does the
parsing anyways, and
Commit signatures can be verified using git show -s --show-signature
or the %G? pretty format and parsing the output, which is well suited
for user inspection, but not for scripting.
Provide a command verify-commit which is analogous to verify-tag: It
returns 0 for good signatures and non-zero
The struct has been growing members whose malloced memory needs to be
freed. Do this with one helper function so that no malloced memory shall
be left unfreed.
Signed-off-by: Michael J Gruber g...@drmicha.warpmail.net
---
builtin/merge.c | 5 +
gpg-interface.c | 12
On Thu, Jun 26, 2014 at 10:50 PM, Christian Halstrick
christian.halstr...@gmail.com wrote:
Imagine git does a recursive merge between A and B and finds multiple
common ancestors X1,X2 for these commits.
- Does git try to create an implicit/temporary common ancestor X3 by
merging X1 and X2?
On Fri, Jun 27, 2014 at 1:45 AM, Jarrad Hope m...@jarradhope.com wrote:
As a software developer I've used git for years and have found it the
perfect solution for source control.
Lately I have found myself using git in a unique use-case - modifying
DNA/RNA sequences and storing them in git,
Hey.
When trying to rewrite svn revisions in commit messages to corresponding
git commit hashes, I came across the following problem (using git
1.9.1):
$ git filter-branch --msg-filter svnrev2git.py -- --date-order --all
fatal: options not supported in --stdin mode
Could not get the
Am 27.06.2014 13:55, schrieb Matthieu Moy:
Karsten Blees karsten.bl...@gmail.com writes:
If for some reason a config string is accessed after config_cache_free()
(which would be a bug), you won't notice if strings are xstrdup()ed (i.e. git
will continue to run with some invalid
Matthieu Moy matthieu@grenoble-inp.fr writes:
Isn't that a bit overkill? Why not just let the caller manage a hashmap
directly instead of a config_set?
Because I had an experience under my belt of a painful refactoring
of the_index which turned out to be not just a single array, I
Paul Mackerras pau...@samba.org writes:
On Thu, Jun 26, 2014 at 01:47:36PM -0700, Junio C Hamano wrote:
In the meantime, I've fetched from you and merged up to your
master~2 aka 17f9836c (gitk: Show staged submodules regardless of
ignore config, 2014-04-08).
I have applied and pushed out
shig...@kanamei.co.jp writes:
From: Kazumasa Shigeta shig...@kanamei.co.jp
The --include-untracked option acts like the normal git stash save
--include-untracked --all but it does not change anything in working
directory.
It is inconvenient stash create does not have --include-untracked
Shawn Pearce spea...@spearce.org writes:
Git does source code well. I don't know enough to judge if DNA/RNA
sequence storage is similar enough to source code to benefit from
things like `git log -p` showing deltas over time, or if some other
algorithm would be more effective.
From my
Michael Haggerty mhag...@alum.mit.edu writes:
When reading a symbolic ref via resolve_gitlink_ref_recursive(), check
that the reference name that is pointed at is formatted correctly,
using the same check as resolve_ref_unsafe() uses for non-gitlink
references. This prevents bogosity like
Junio C Hamano gits...@pobox.com writes:
Michael Haggerty mhag...@alum.mit.edu writes:
When reading a symbolic ref via resolve_gitlink_ref_recursive(), check
that the reference name that is pointed at is formatted correctly,
using the same check as resolve_ref_unsafe() uses for non-gitlink
Add a hash table to cache all key-value pairs read from config files
(repo specific .git/config, user wide ~/.gitconfig and the global
/etc/gitconfig). Add two external functions `git_config_get_string` and
`git_config_get_string_multi` for querying in a non-callback manner from the
hash table.
Felix Eckhofer fe...@tribut.de writes:
When trying to rewrite svn revisions in commit messages to
corresponding git commit hashes, I came across the following problem
(using git 1.9.1):
$ git filter-branch --msg-filter svnrev2git.py -- --date-order --all
fatal: options not supported in
Michael J Gruber g...@drmicha.warpmail.net writes:
A merge commit with embedded signed tag it is, then.
The commit could carry it's own commit signature, couldn't it?
Yes, an integrator can choose to sign a merge he creates, merging
the work by a contributor who gave him a pull-request for a
Michael J Gruber g...@drmicha.warpmail.net writes:
... or an extension ref^{mergetag} to our machinery, defaulting to the
tag object containing the mergetag for the 2nd parent, with an optional
version ref^{mergetag}n?
One thing you should not forget is that with mergetag, the original
tag
Am 26.06.2014 19:55, schrieb Junio C Hamano:
Nguyễn Thái Ngọc Duy pclo...@gmail.com writes:
Too large files may lead to failure to allocate memory. If it happens
here, it could impact quite a few commands that involve
diff. Moreover, too large files are inefficient to compare anyway (and
Michael J Gruber g...@drmicha.warpmail.net writes:
This is v3 rebased on current next (the %G works by Jeff Junio).
Open questions:
- Should one of git verify-{commit,tag} learn how to verify mergetags?
(Probably no, it differs from both other cases.)
If we were to teach one of them,
Karsten Blees karsten.bl...@gmail.com writes:
Am 27.06.2014 13:55, schrieb Matthieu Moy:
Karsten Blees karsten.bl...@gmail.com writes:
If for some reason a config string is accessed after config_cache_free()
(which would be a bug), you won't notice if strings are xstrdup()ed (i.e.
git
Michael J Gruber g...@drmicha.warpmail.net writes:
sed -e s/seventh/7th forged/ raw forged1
git hash-object -w -t commit forged1 forged1.commit
+ ! git verify-commit $(cat forged1.commit)
test_must_fail git verify-commit ...
git show --pretty=short --show-signature
On Fri, Jun 27, 2014 at 10:48 AM, Junio C Hamano gits...@pobox.com wrote:
Even though the original question mentioned delta discovery, I
think what was being asked is not delta in the Git sense (which
your answer is about) but is can we diff two long sequences of text
(that happens to consist
On Fri, Jun 27, 2014 at 12:38 PM, Linus Torvalds
torva...@linux-foundation.org wrote:
I think it might be possible to just specify a special diff algorithm
(git already supports that, obviously), and just introduce a new use
binary diffs with a textual representation model.
Another model
-Original Message-
From: Linus Torvalds
Sent: Friday, June 27, 2014 15:39
On Fri, Jun 27, 2014 at 10:48 AM, Junio C Hamano
gits...@pobox.com wrote:
Even though the original question mentioned delta discovery, I
think what was being asked is not delta in the Git sense (which
On Fri, Jun 27, 2014 at 12:55 PM, Jason Pyeron jpye...@pdinc.us wrote:
The issue will be, if we talk about changes other than same length
substitutions
(e.g. Down's Syndrome where it has an insertion of code) would require one
code
per line for the diffs to work nicely.
Not my area of
On 27. Juni 2014 21:32:30 MESZ, Junio C Hamano gits...@pobox.com wrote:
Michael J Gruber g...@drmicha.warpmail.net writes:
sed -e s/seventh/7th forged/ raw forged1
git hash-object -w -t commit forged1 forged1.commit
+! git verify-commit $(cat forged1.commit)
test_must_fail
There are two identical files from the same original parent, but both were
renamed in their own branches. One branch moved the file to a new folder, the
other renamed the file in the same folder.
Steps to reproduce the issue:
git init
git fetch https://github.com/pdinc-oss/CipherShed.git
git
Tanay Abhra tanay...@gmail.com writes:
API functions:
1. int git_config_get_value(char *k, char **v): The most generic function,
traverses
the usual config functions for values. (internally uses the the_config_set
struct)
This may also want to be accompanied by a set of more
List,
One of my ref transaction aims is to make define a stable public API
for accessing refs.
Once this is done I want to make it possible to replace the current
.git/refs/* model with a
different type of backend.
In my case I want to add support to store all refs and reflogs in a TDB database
On Fri, Jun 27, 2014 at 4:47 PM, Jason Pyeron jpye...@pdinc.us wrote:
There are two identical files from the same original parent, but both were
renamed in their own branches. One branch moved the file to a new folder, the
other renamed the file in the same folder.
You have not stated what you
Junio C Hamano gits...@pobox.com writes:
Felix Eckhofer fe...@tribut.de writes:
This seems to have been caused by 3361a548db. After reverting this
commit, using --date-order appears to work again.
Hmph, unfortunate.
3361a548 (Allow git-filter-branch to process large repositories with
-Original Message-
From: Phil Hord [mailto:phil.h...@gmail.com]
Sent: Friday, June 27, 2014 17:46
To: Jason Pyeron
Cc: git
Subject: Re: Trouble merging renamed but identical files -
CONFLICT (rename/rename)
On Fri, Jun 27, 2014 at 4:47 PM, Jason Pyeron
jpye...@pdinc.us wrote:
During the commit process, the cache-tree is updated. We need to write
this updated cache-tree so that it's ready for subsequent commands.
Add test code which demonstrates that git commit now writes the cache
tree. Also demonstrate that cache-tree invalidation is correct.
Signed-off-by: David
Make test-dump-cache-tree more useful for testing. Do not treat known
invalid trees as errors (and do not produce non-zero exit code),
because we can fall back to the non-cache-tree codepath.
Signed-off-by: David Turner dtur...@twitter.com
---
t/t0090-cache-tree.sh | 28
When git checkout checks out a branch, create or update the
cache-tree so that subsequent operations are faster.
Signed-off-by: David Turner dtur...@twitter.com
---
builtin/checkout.c| 4
cache-tree.c | 22 --
cache-tree.h | 1 +
On Fri, Jun 27, 2014 at 11:36:47AM -0700, Junio C Hamano wrote:
Michael J Gruber g...@drmicha.warpmail.net writes:
A merge commit with embedded signed tag it is, then.
The commit could carry it's own commit signature, couldn't it?
Yes, an integrator can choose to sign a merge he
On Fri, Jun 27, 2014 at 2:30 PM, Ronnie Sahlberg sahlb...@google.com wrote:
List,
One of my ref transaction aims is to make define a stable public API
for accessing refs.
Once this is done I want to make it possible to replace the current
.git/refs/* model with a
different type of backend.
-Original Message-
From: Jason Pyeron
Sent: Friday, June 27, 2014 18:39
-Original Message-
From: Phil Hord [mailto:phil.h...@gmail.com]
Sent: Friday, June 27, 2014 17:46
To: Jason Pyeron
Cc: git
Subject: Re: Trouble merging renamed but identical files -
On Fri, Jun 27, 2014 at 03:18:36PM +0200, Michael J Gruber wrote:
A wrong '}' made our code record the results of mergetag signature
verification incorrectly.
Fix it.
I think this is the right thing to do, but we went from:
if (...)
if (...) {
if (...)
On Fri, Jun 27, 2014 at 12:07:35PM -0700, Junio C Hamano wrote:
- Should we do this now or go for generic git verify right away?
I do not think we are ready to do git verify yet.
If there is one thing that this discussion have convinced me of, it is
this. :)
-Peff
--
To unsubscribe from
On Fri, Jun 27, 2014 at 04:13:22PM +0200, Michael J Gruber wrote:
This is v3 rebased on current next (the %G works by Jeff Junio).
Aside from the minor test issues Junio pointed out, I think this version
looks OK.
For a general command which allows different verification policies,
I'm still
Am 27.06.2014 21:19, schrieb Matthieu Moy:
The reason for which setting any config value invalidates the cache is
that it is _much_ simpler to implement. Less complexity, less
corner-cases, less bugs.
I think I see what you mean. E.g. in cmd_clone we have:
write_config(option_config);
This commit adds a mention to the '--subject-prefix' option in
git-send-email's documentation. This option is already described in
git-format-patch's docs (because it belongs to this command, actually),
but it is very useful when you are submitting patches using
git-send-email too, for obvious
On 06/27/2014 07:59 PM, Junio C Hamano wrote:
Junio C Hamano gits...@pobox.com writes:
Michael Haggerty mhag...@alum.mit.edu writes:
When reading a symbolic ref via resolve_gitlink_ref_recursive(), check
that the reference name that is pointed at is formatted correctly,
using the same
61 matches
Mail list logo