I believe They mean that if you type clone --branch mister, it
should ask if you meant to clone --branch master instead, or
something.
Basically if you type a non existent branch name, calculate edit
distance for each branch name, probably either using a timeout or edit
distance to stop if
On Fri, Jul 3, 2015 at 10:31 AM, Junio C Hamano gits...@pobox.com wrote:
John Keeping j...@keeping.me.uk writes:
On Tue, Jun 30, 2015 at 02:10:49PM +0200, Johannes Schindelin wrote:
On 2015-06-29 18:46, Lawrence Siebert wrote:
I appreciate your help. Okay, That all makes sense.
I would
Mattieu,
Understood. I don't suppose there is any commonly code formatting tool
to automate formatting in the git style, is there?
Thanks,
Lawrence
On Fri, Jul 3, 2015 at 12:24 AM, Matthieu Moy
matthieu@grenoble-inp.fr wrote:
Lawrence Siebert lawrencesieb...@gmail.com writes:
+void
a single value, a numeric count.
I think walking the entire list is necessary to get the final value,
which is what we want with --count.
Thanks,
Lawrence Siebert
On Fri, Jul 3, 2015 at 12:29 AM, Matthieu Moy
matthieu@grenoble-inp.fr wrote:
Lawrence Siebert lawrencesieb...@gmail.com writes
clarification.
Thank you for your time,
Lawrence Siebert
On Fri, Jul 3, 2015 at 12:34 AM, Matthieu Moy
matthieu@grenoble-inp.fr wrote:
Lawrence Siebert lawrencesieb...@gmail.com writes:
added test comparing output between git log --count HEAD and
git rev-list --count HEAD
Unless
Thanks. I've modified my vim config to avoid this happening again,
and i'll submit a fixed version of these patches.
I'd love if there was a precommit hook to test for this.
Lawrence
On Thu, Jul 2, 2015 at 2:14 AM, Remi Galan Alfonso
remi.galan-alfo...@ensimag.grenoble-inp.fr wrote:
Lawrence
I'm not altogether sure the best way to update the internal usage
from git-log -h, but this at least updates the man page.
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
Documentation/git-log.txt | 2 ++
Documentation/rev-list-options.txt | 2 +-
2 files changed, 3
This should fix the whitespace issues this had previously.
Lawrence Siebert (4):
list-object: add get_commit_count function
log: add --count option to git log
log --count: added test
git-log: update man documentation for --count
Documentation/git-log.txt | 2
adds --count from git rev-list to git log, without --use-bitmap-index
for the moment.
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
builtin/log.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/builtin/log.c b/builtin/log.c
index 8781049
added test comparing output between git log --count HEAD and
git rev-list --count HEAD
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
t/t4202-log.sh | 7 +++
1 file changed, 7 insertions(+)
diff --git a/t/t4202-log.sh b/t/t4202-log.sh
index 1b2e981..35f8d82 100755
--- a/t
Moving commit counting from rev-list into list-object which is a step
toward letting git log do counting as well.
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
builtin/rev-list.c | 12 ++--
list-objects.c | 14 ++
list-objects.h | 1 +
3 files changed
--count should be mentioned in the usage guide, this updates code and
documentation.
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
Documentation/git-rev-list.txt | 1 +
builtin/rev-list.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/Documentation/git-rev
Moving commit counting from rev-list into list-object which is a step
toward letting git log do counting as well.
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
builtin/rev-list.c | 12 ++--
list-objects.c | 14 ++
list-objects.h | 1 +
3 files changed
adds --count from git rev-list to git log, without --use-bitmap-index
for the moment.
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
builtin/log.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/builtin/log.c b/builtin/log.c
index 8781049
I'm not altogether sure the best way to update the internal usage
from git-log -h, but this at least updates the man page.
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
Documentation/git-log.txt | 2 ++
Documentation/rev-list-options.txt | 2 +-
2 files changed, 3
added test comparing output between git log --count HEAD and
git rev-list --count HEAD
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
t/t4202-log.sh | 7 +++
1 file changed, 7 insertions(+)
diff --git a/t/t4202-log.sh b/t/t4202-log.sh
index 1b2e981..077952b 100755
--- a/t
?
Thanks,
Lawrence Siebert
http://www.github.com/gryftir
On Tue, Jun 30, 2015 at 5:23 AM, John Keeping j...@keeping.me.uk wrote:
On Tue, Jun 30, 2015 at 02:10:49PM +0200, Johannes Schindelin wrote:
On 2015-06-29 18:46, Lawrence Siebert wrote:
I appreciate your help. Okay, That all makes sense
files
by commit count when provided a list of files, which git rev-list
doesn't really work for.
Anyway I can try and put it in log proper, if you think that's the best place.
Thank you,
Lawrence Siebert
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message
My apologies, I misunderstood and thought rev-list didn't take filenames.
Lawrence Siebert
On Mon, Jun 29, 2015 at 10:04 AM, Junio C Hamano gits...@pobox.com wrote:
Lawrence Siebert lawrencesieb...@gmail.com writes:
I was using it to sort files
by commit count when provided a list of files
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
t/t4201-shortlog.sh | 5 +
1 file changed, 5 insertions(+)
diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh
index 7600a3e..33ecb4a 100755
--- a/t/t4201-shortlog.sh
+++ b/t/t4201-shortlog.sh
@@ -194,4 +194,9
--summary is per author --count counts all
Signed-off-by: Lawrence Siebert lawrencesieb...@gmail.com
---
builtin/shortlog.c | 14 +-
shortlog.h | 1 +
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/builtin/shortlog.c b/builtin/shortlog.c
index c0bab6a
for this purpose. I also created
a test. It's not a great test, but it works.
I'm sure I've make a beginner mistake in some part of the process;
I've done my best to follow documentation, so please be explicit
when you tell me I've done something wrong.
Thanks,
Lawrence Siebert
Lawrence Siebert (2
22 matches
Mail list logo