On Sun, 15 Mar 2015, Junio C Hamano wrote:
Christian Couder christian.cou...@gmail.com writes:
I wrote something about a potential Git Rev News news letter:
I read it. Sounds promising.
Just one suggestion on the name and half a comment.
How would Git Review (or Git Monthly Review, or
On Mon, Mar 16, 2015 at 05:38:06PM +0900, Mike Hommey wrote:
git show-branch --topics rev revs... displays ancestry graph, only
considering commits that are in all given revs, except the first one.
git show-branch displays ancestry graph for all local branches.
Unfortunately, git
On Mon, Mar 09, 2015 at 09:37:25PM -0400, Stephen Morton wrote:
3. Not sure how long this part takes. It takes 1/3 - 1/2 of the time
when straced, but I think it's much less, as little as 10s when not
straced.
It then reads a bunch of what look like objects from filehandle 0
(presumably
On Tue, Mar 17, 2015 at 7:22 AM, Paul Tan pyoka...@gmail.com wrote:
Hi,
On Tue, Mar 17, 2015 at 12:49 AM, Yurii Shevtsov unge...@gmail.com wrote:
I'm going to write for this idea. As I know good proposal should
contain timeline and Todo estimations. What should I write in my
proposal, since
Hi,
On Tue, Mar 17, 2015 at 12:49 AM, Yurii Shevtsov unge...@gmail.com wrote:
I'm going to write for this idea. As I know good proposal should
contain timeline and Todo estimations. What should I write in my
proposal, since there is no clear plan for converting scripts to
builtins. Thanks in
[+cc Michael for get_ref_cache wisdom]
On Mon, Mar 16, 2015 at 07:40:40PM +0100, Andreas Krey wrote:
I am guessing that the repository has tons
of submodules?
Not a single one. Thats's thie interesting thing that
makes me think I'm not actually solving the right problem.
This repo has
From: Junio C Hamano gits...@pobox.com
Kevin Daudt m...@ikke.info writes:
So this ref changes to the bad commit.
For refs/bisect/good-*, I could only find an example snippet:
GOOD=$(git for-each-ref --format=%(objectname) refs/bisect/good-*)
But it's not really clear what * might be
On Mon, Mar 16, 2015 at 05:13:25PM +0700, Duy Nguyen wrote:
On Mon, Mar 16, 2015 at 3:05 PM, Mike Hommey m...@glandium.org wrote:
Hi,
git-verify-pack's man page says the following about --stat-only:
Do not verify the pack contents; only show the histogram of delta
chain length.
Just to close the loop on this, I wasn't able to get git-svn to deal with
this remote repository the way I wanted, so what I did is write some perl
scripts to mirror the remote subversion repository locally and then use
git-svn on that local fixed svn mirror.
The hard part was mirroring the svn
On Mon, Mar 16, 2015 at 3:05 PM, Mike Hommey m...@glandium.org wrote:
Hi,
git-verify-pack's man page says the following about --stat-only:
Do not verify the pack contents; only show the histogram of delta
chain length. With --verbose, list of objects is also shown.
However, there is
Thank you all for your reviews and feedback. I will try and submit
this patch by taking my time to think about the various solutions and
coming up with the best one. I will also try and see if I can assist
Junio with his JFF patch.
I have learned a lot during the process of implementing this
Entries added by git add -N are reminder for the user so that they
don't forget to add them before committing. These entries appear in
the index even though they are not real. Their presence in the index
leads to a confusing git status like this:
On branch master
Changes to be committed:
Hi,
This proposal is just for discussion. If there is any interest I
will implement the feature and send some patches.
Currently it is hard to properly remove submodules. That is when
a submodule is deinitialized and removed from a repository the
directory '.git/modules/SM_NAME' will still be
Hi Duy,
Sorry for my late response.
we need to make sure that upload-pack barf if some client sends both deepen
and
depth.
Actually, in my current design, when client just wants depth, it
sends depth N;
when it want deepen, it sends depth N as well as depth_deepen.
For the latter
case, it
This patch adds a 'showmerges' config. option for git-log.
This option determines whether the log should contain merge
commits or not. In essence, if this option is set to false,
git-log will be run as 'git-log --no-merges'.
To force git-log to show merges even if 'log.showmerges' is
set, we use
Hi Junio,
Sorry for my late response.
As this operation is not about moving _any_ refs, whether local
branches or remote-tracking branches, any ref that used to point at
commit B before you executed fetch --deepen would point at the
same commit after the command finishes.
Thanks for
Matthieu Moy matthieu@grenoble-inp.fr writes:
--- a/diff-no-index.c
+++ b/diff-no-index.c
@@ -97,8 +97,25 @@ static int queue_diff(struct diff_options *o,
if (get_mode(name1, mode1) || get_mode(name2, mode2))
return -1;
- if (mode1 mode2 S_ISDIR(mode1)
Hi Eric,
Sorry for my late response. Thank you for your suggestions! I will try
to use them in my next patch version.
Best Regards,
Dongcan
2015-03-14 3:42 GMT+08:00 Eric Sunshine sunsh...@sunshineco.com:
On Fri, Mar 13, 2015 at 9:04 AM, Dongcan Jiang dongcan.ji...@gmail.com
wrote:
This
Michael J Gruber g...@drmicha.warpmail.net writes:
Nguyễn Thái Ngọc Duy venit, vidit, dixit 16.03.2015 14:56:
The test cache-tree invalidates i-t-a paths is marked failure
because I don't think removing --cached from git diff is the right
fix. This test relies on diff --cached behavior but
On Wed, Mar 11, 2015 at 01:13:48PM -0700, Junio C Hamano wrote:
Kevin Daudt m...@ikke.info writes:
On Tue, Mar 10, 2015 at 04:12:18PM -0700, Junio C Hamano wrote:
Step back and think why git bisect --first-parent is sometimes
desired in the first place.
It is because in the regular
I'm going to write for this idea. As I know good proposal should
contain timeline and Todo estimations. What should I write in my
proposal, since there is no clear plan for converting scripts to
builtins. Thanks in advance!
--
To unsubscribe from this list: send the line unsubscribe git in
the
Nguyễn Thái Ngọc Duy venit, vidit, dixit 16.03.2015 14:56:
Entries added by git add -N are reminder for the user so that they
don't forget to add them before committing. These entries appear in
the index even though they are not real. Their presence in the index
leads to a confusing git status
This patch adds a 'showmerges' config. option for git-log.
This option determines whether the log should contain merge
commits or not. In essence, if this option is set to false,
git-log will be run as 'git-log --no-merges'.
To force git-log to show merges even if 'log.showmerges' is
set, we use
This is an attempt at a microproject for GSoC
An attempt to add revision range support to Junio's JFF patch sent a few days
ago. The first patch is the a copy of the one he posted.
I was wondering if it was a good idea to add support for commands like
rev..-. Files that starts with - requires
From: Junio C Hamano gits...@pobox.com
JFF stands for just for fun.
This is not meant to give out a model answer and is known to be
incomplete, but I was wondering if it would be a better direction to
allow - as a stand-in for @{-1} everywhere we allow a branch
name, losing workarounds at the
Currently it is not be possible to do something like git checkout
master git checkout next git log -.. to see what master has on
top of master.
Allows use of the revision range such as rev..- or -..rev to see
what HEAD has on top of rev or vice versa, respectively.
Also allows use of symmetric
get_ref_cache used a linear list, which obviously is O(n^2).
Use a fixed bucket hash which just takes a factor of 10
(~ 317^2) out of the n^2 - which is enough.
Signed-off-by: Andreas Krey a.k...@gmx.de
---
This brings 'git clean -ndx' times down from 17 minutes
to 11 seconds on one of our
Patrick Steinhardt p...@pks.im writes:
I think there should be a command that is able to remove those
dangling repositories if the following conditions are met:
- the submodule should not be initialized
- the submodule should not have an entry in .gitmodules in the
currently checked out
This patch adds a 'showmerges' config. option for git-log.
This option determines whether the log should contain merge
commits or not. In essence, if this option is set to false,
git-log will be run as 'git-log --no-merges'.
To force git-log to show merges even if 'log.showmerges' is
set, we use
Yurii Shevtsov unge...@gmail.com writes:
I'm going to write for this idea. As I know good proposal should
contain timeline and Todo estimations. What should I write in my
proposal, since there is no clear plan for converting scripts to
builtins. Thanks in advance!
The fact that there is no
On Mon, Mar 16, 2015 at 2:20 AM, David Kastrup d...@gnu.org wrote:
Git Annotate?
Git Praise as opposed to blame?
Git Who as a pun on the subcommand structure which doesn't always
follows grammar?
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to
Hi.
I was converting some very old svn repos of mine into git using git svn,
and since I didn't fully trust the conversion process I wrote a small
tool which goes through all commits/revisions (there were no branches or
non-linear stuff involved in these svn repos) and compares the author
names,
Yes, I have red what you wrote several times and tried your example.
I'm really sorry if I sound like I just ignored it. I just got a
little bit lost about which procedure needs patching. You're
absolutely right, queue_diff() is wrong place for it. So do you agree
that append the name of the file
Andreas Krey a.k...@gmx.de writes:
get_ref_cache used a linear list, which obviously is O(n^2).
Use a fixed bucket hash which just takes a factor of 10
(~ 317^2) out of the n^2 - which is enough.
Signed-off-by: Andreas Krey a.k...@gmx.de
---
This brings 'git clean -ndx' times down
Yurii Shevtsov unge...@gmail.com writes:
... As it stands now, even before we think about dwimming
diff D/ F into diff D/F F, a simple formulation like this will
error out.
$ mkdir -p a/sub b
$ touch a/file b/file b/sub a/sub/file
$ git diff --no-index a b
error:
Hi,
On 03/16, Andreas Krey wrote:
get_ref_cache used a linear list, which obviously is O(n^2).
Use a fixed bucket hash which just takes a factor of 10
(~ 317^2) out of the n^2 - which is enough.
Signed-off-by: Andreas Krey a.k...@gmx.de
---
This brings 'git clean -ndx' times down from
Koosha Khajehmoogahi koo...@posteo.de writes:
This patch adds a 'showmerges' config. option for git-log.
This option determines whether the log should contain merge
commits or not. In essence, if this option is set to false,
git-log will be run as 'git-log --no-merges'.
To force git-log to
David Lang da...@lang.hm writes:
On Sun, 15 Mar 2015, Junio C Hamano wrote:
Christian Couder christian.cou...@gmail.com writes:
I wrote something about a potential Git Rev News news letter:
I read it. Sounds promising.
Just one suggestion on the name and half a comment.
How would Git
Jeff King p...@peff.net writes:
The get_ref_cache code was designed to scale to the actual number of
submodules. I do not mind seeing it become a hash if people really do
have a large number of submodules, but that is not what is happening
here.
...
So git-clean speculatively asks what is
Modify sha1_loose_object_info() to support 'cat-file --literally'
by accepting flags and also make changes to copy the type to
object_info::typename.
Add parse_sha1_header_extended() which acts as a wrapper around
parse_sha1_header() allowing for more information to be obtained
based on the given
Currently 'git cat-file' throws an error while trying to
print the type or size of a broken/corrupt object which is
created using 'git hash-object --literally'. This is
because these objects are usually of unknown types.
Teach git cat-file a '--literally' option where it prints
the type or size
On Mon, 16 Mar 2015, Junio C Hamano wrote:
David Lang da...@lang.hm writes:
On Sun, 15 Mar 2015, Junio C Hamano wrote:
Christian Couder christian.cou...@gmail.com writes:
I wrote something about a potential Git Rev News news letter:
I read it. Sounds promising.
Just one suggestion on
Based on Junios and Erics suggestion I have made various
changes over the previous iteration of the patch[1].
Changes in this version :
* Add a object_info::typename to hold all the typenames.
* Add a wrapper around parse_sha1_header() to get type and
size of broken/corrupt objects without
On Mon, Mar 16, 2015 at 10:35:18PM -0700, Junio C Hamano wrote:
It looks like we don't even really care about the value of HEAD. We just
want to know is it a git directory?. I think in other places (like
git add), we just do an existence check for $dir/.git. That would
not catch a bare
On 03/16/2015 09:50 PM, Junio C Hamano wrote:
The command line overrides the config, no? If you set up what the
command line defaults to from the config, let the command line
parser do whatever it wants to do, and do nothing else after the
command line parser returns, wouldn't that be
Koosha Khajehmoogahi koo...@posteo.de writes:
On 03/16/2015 09:50 PM, Junio C Hamano wrote:
The command line overrides the config, no? If you set up what the
command line defaults to from the config, let the command line
parser do whatever it wants to do, and do nothing else after the
Philip Oakley philipoak...@iee.org writes:
From: Junio C Hamano gits...@pobox.com
Hence, if you have a history that looks like this:
G...1---2---3---4---6---8---B
\
5---7---B
it follows that 4 must also be bad. It used to be good long time
ago
Isn't the problem one of how are users to discover such magic.
Yes it was main reason.
--
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
One little question, how to better resend it? Just send v2 for the 1/3
or resend all with v2? Or maybe will be better to make one patch from
these 3 pathes?
Thank you.
My personal suggestion would be:
Please wait 24 hours to collect feedback from the different time-zones
in the world, where
Hi,
On Sat, Mar 14, 2015 at 2:40 AM, Eric Sunshine sunsh...@sunshineco.com wrote:
On Fri, Mar 13, 2015 at 2:18 PM, Sudhanshu Shekhar
sudshekha...@gmail.com wrote:
Add following test cases:
1) Confirm error message when git reset is used with no previous branch
2) Confirm git reset - works
Kenny Lee Sin Cheong kenny.le...@gmail.com writes:
diff --git a/revision.c b/revision.c
index 7778bbd..a79b443 100644
--- a/revision.c
+++ b/revision.c
@@ -1490,6 +1490,7 @@ int handle_revision_arg(const char *arg_, struct
rev_info *revs, int flags, unsi
int symmetric =
On Mon, 16 Mar 2015 10:23:05 +, Junio C Hamano wrote:
Andreas Krey a.k...@gmx.de writes:
...
say a lot of ignored directories, but do you mean directories in
the working tree (which I suppose do not have much to do with the
submodule_ref_caches[])?
Apparently, they do.
I am guessing
Kevin Daudt m...@ikke.info writes:
So this ref changes to the bad commit.
For refs/bisect/good-*, I could only find an example snippet:
GOOD=$(git for-each-ref --format=%(objectname) refs/bisect/good-*)
But it's not really clear what * might be expanded to, nor what they
mean. I guess
On 03/15/2015 03:39 AM, Dongcan Jiang wrote:
Because revs-no_walk gets set when it comes to git show.
So basically rewriting t4052-stat-output.sh to exclude git show --graph
cases (or similar) is not enough. If rewriting git-show code is what is
needed, is that in the scope of a microproject?
--
Manos Pitsidianakis epi...@norn.io writes:
On 03/15/2015 03:39 AM, Dongcan Jiang wrote:
Because revs-no_walk gets set when it comes to git show.
So basically rewriting t4052-stat-output.sh to exclude git show --graph
cases (or similar) is not enough. If rewriting git-show code is what is
On 03/16/2015 09:08 PM, Junio C Hamano wrote:
Perhaps 13b25381 (revision: forbid combining --graph and --no-walk,
2015-03-11) that is queued on 'pu' would be a good answer to this
question?
Didn't notice a patch was queued on 'pu', thanks.
--
To unsubscribe from this list: send the line
Yurii Shevtsov unge...@gmail.com writes:
Yes, I have red what you wrote several times and tried your example.
I'm really sorry if I sound like I just ignored it. I just got a
little bit lost about which procedure needs patching. You're
absolutely right, queue_diff() is wrong place for it. So
On Sun, Mar 15, 2015 at 6:37 PM, Robert Dailey rcdailey.li...@gmail.com
wrote:
My understanding is that git reads the priority of configuration as follows:
1. local_repo/.git/config
2. $HOME/.gitconfig
3. $XDG_CONFIG_HOME/git/config
$HOME/.gitconfig is the traditional Unix location for
On 03/16/2015 06:53 PM, Junio C Hamano wrote:
Koosha Khajehmoogahi koo...@posteo.de writes:
This patch adds a 'showmerges' config. option for git-log.
This option determines whether the log should contain merge
commits or not. In essence, if this option is set to false,
git-log will be run
(+cc: Jens and Heiko, submodule experts)
Hi,
Patrick Steinhardt wrote:
This proposal is just for discussion. If there is any interest I
will implement the feature and send some patches.
Currently it is hard to properly remove submodules. That is when
a submodule is deinitialized and removed
git show-branch --topics rev revs... displays ancestry graph, only
considering commits that are in all given revs, except the first one.
git show-branch displays ancestry graph for all local branches.
Unfortunately, git show-branch --topics rev only prints out the rev
info for the given rev, and
On Sun, Mar 15, 2015 at 11:43 PM, Randall S. Becker
rsbec...@nexbridge.com wrote:
On March 15, 2015 6:19 PM Christian Couder wrote:
snip
Just one suggestion on the name and half a comment.
How would Git Review (or Git Monthly Review, or replace your favourite
how-often-per-period-ly in its
Christian Couder christian.cou...@gmail.com writes:
On Sun, Mar 15, 2015 at 11:43 PM, Randall S. Becker
rsbec...@nexbridge.com wrote:
On March 15, 2015 6:19 PM Christian Couder wrote:
snip
Just one suggestion on the name and half a comment.
How would Git Review (or Git Monthly Review, or
63 matches
Mail list logo