this mode to offer more information.
Just like we do elsewhere in Git's source code, we now interpret
multiple `--verbose` flags accumulatively, and show substantially more
information in porcelain mode at verbosity level 2.
Signed-off-by: Jeff Hostetler
---
Documentation/git-status
lines and see how it looks.
Thank again,
Jeff
On 07/12/2016 11:07 AM, Jeff King wrote:
On Thu, Jul 07, 2016 at 03:26:28PM -0400, Jeff Hostetler wrote:
Tools interacting with Git repositories may need to know the complete
state of the working directory. For efficiency, it would be good to
.
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 5
wt-status.c | 89
wt-status.h | 2 ++
3 files changed, 96 insertions(+)
diff --git a/builtin/commit.c b/builtin/commit.c
index b5ec9b9..830f688 100644
--- a/builtin
Update the --porcelain argument to take an optional
version number. This will allow us to define new
porcelain formats in the future.
This default to 1 and represents the existing porcelain
format.
Signed-off-by: Jeff Hostetler
---
Documentation/git-commit.txt | 2 +-
Documentation/git
This commit updates the status manpage to include
information about porcelain format V2.
Signed-off-by: Jeff Hostetler
---
Documentation/git-status.txt | 62 +---
1 file changed, 59 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-status.txt
values reflect
the stage 1, 2, and 3 values.
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 9 ++
wt-status.c | 398 ++-
wt-status.h | 13 ++
3 files changed, 419 insertions(+), 1 deletion(-)
diff --git a/builtin/commit.c b
could be added to both formats.
Jeff Hostetler (6):
Allow --porcelain[=] in status and commit commands
Status and checkout unit tests for --porcelain[=]
Per-file output for Porcelain Status V2
Expanded branch header for Porcelain Status V2
Add porcelain V2 documentation to status manpage
Unit
This commit contains unit tests to exercise
the V2 porcelain status format.
Signed-off-by: Jeff Hostetler
---
t/t7064-wtstatus-pv2.sh | 461
t/t7501-commit.sh | 9 +
2 files changed, 470 insertions(+)
create mode 100755 t/t7064-wtstatus
Simple unit tests to validate the argument parsing.
Signed-off-by: Jeff Hostetler
---
t/t7060-wtstatus.sh | 21 +
t/t7501-commit.sh | 14 ++
2 files changed, 35 insertions(+)
diff --git a/t/t7060-wtstatus.sh b/t/t7060-wtstatus.sh
index 44bf1d8..a39b0e2 100755
On 07/20/2016 11:08 AM, Johannes Schindelin wrote:
On Tue, 19 Jul 2016, Jeff Hostetler wrote:
diff --git a/builtin/commit.c b/builtin/commit.c
+ } else if (arg) {
+ int n = strtol(arg, NULL, 10);
+ if (n == 1)
+ *value
On 07/20/2016 11:29 AM, Jakub Narębski wrote:
W dniu 2016-07-20 o 00:10, Jeff Hostetler pisze:
+Porcelain Format Version 2
+~~
+
+
+If `--branch` is given, a header line showing branch tracking information
+is printed. This line begins with "### branch: "
On 07/20/2016 11:30 AM, Jakub Narębski wrote:
W dniu 2016-07-20 o 00:10, Jeff Hostetler pisze:
+test_expect_success pre_initial_commit_0 '
+ printf "## branch: (initial) master\n" >expected &&
+ printf "?? actual\n" >>expected
On 07/20/2016 11:19 AM, Johannes Schindelin wrote:
Hi Jeff,
On Tue, 19 Jul 2016, Jeff Hostetler wrote:
Simple unit tests to validate the argument parsing.
Signed-off-by: Jeff Hostetler
They are simple alright, but do we really need so many of them? I would
like to keep the ones in t7060
On 07/20/2016 11:58 AM, Jeff King wrote:
On Tue, Jul 19, 2016 at 06:10:53PM -0400, Jeff Hostetler wrote:
+static int opt_parse_porcelain(const struct option *opt, const char *arg, int
unset)
+{
+ enum wt_status_format *value = (enum wt_status_format *)opt->value;
+ if (un
On 07/20/2016 12:00 PM, Jeff King wrote:
On Tue, Jul 19, 2016 at 06:10:54PM -0400, Jeff Hostetler wrote:
+test_expect_failure '--porcelain=bogus with stuff to commit returns ok' '
+ echo bongo bongo bongo >>file &&
+ git commit -m next -a --porcela
On 07/20/2016 12:03 PM, Jeff King wrote:
On Wed, Jul 20, 2016 at 10:00:07AM -0600, Jeff King wrote:
On Tue, Jul 19, 2016 at 06:10:54PM -0400, Jeff Hostetler wrote:
+test_expect_failure '--porcelain=bogus with stuff to commit returns ok' '
+ echo bongo bon
On 07/20/2016 12:06 PM, Jeff King wrote:
On Tue, Jul 19, 2016 at 06:10:56PM -0400, Jeff Hostetler wrote:
+ } else {
+ /*
+* TODO All of various print routines allow for s->branch to be
null.
+* TODO When can this happen and what should
On 07/20/2016 12:15 PM, Jeff King wrote:
One final bit of food for thought.
Just yesterday somebody asked me about renewing the old idea of using a
more standardized format for machine-readable output, like --json.
That's obviously something that would exist alongside the existing
formats for
On 07/20/2016 05:31 PM, Junio C Hamano wrote:
The code seems to assume that d->porcelain_v2.* fields are
initialized earlier in the callchain to reasonable values
(e.g. STATUS_ADDED case does not clear .mode_head to "missing"); I
am not sure if that is easier to read or fill in all the values
On 07/21/2016 11:46 AM, Johannes Schindelin wrote:
On Wed, 20 Jul 2016, Jeff King wrote:
On Wed, Jul 20, 2016 at 02:20:24PM -0400, Jeff Hostetler wrote:
IIRC, it happens when HEAD points to a broken ref. So something like:
git init
echo broken >.git/refs/heads/master
would ca
es are now completely separate and have
a unique prefix key (and are grouped by type). The
unit tests have been converted to use heredoc's.
I removed the v2 argument from git commit --porcelain
since it didn't really fit here.
Jeff Hostetler (8):
status: rename long-format print routines
st
Update status manpage to include information about
porcelain v2 format.
Signed-off-by: Jeff Hostetler
---
Documentation/git-status.txt | 83 ++--
1 file changed, 80 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-status.txt b/Documentation
Expand porcelain v2 output to include branch and tracking
branch information. This includes the commit SHA, the branch,
the upstream branch, and the ahead and behind counts.
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 5
wt-status.c | 86
, a GUI IDE might
need the file mode to display the correct icon for a changed item.
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 3 ++
wt-status.c | 114 ++-
wt-status.h | 17 +
3 files changed, 133 insertions(+), 1
formats
and isolate that within wt-status.c
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 51 +--
wt-status.c | 25 ++---
wt-status.h | 16
3 files changed, 43 insertions(+), 49 deletions(-)
diff
Update --porcelain argument to take optional version parameter
to allow multiple porcelain formats to be supported in the future.
The token "v1" is the default value and indicates the traditional
porcelain format.
Signed-off-by: Jeff Hostetler
---
Documentation/git-statu
Unit tests for porcelain v2 status format.
Signed-off-by: Jeff Hostetler
---
t/t7064-wtstatus-pv2.sh | 542
1 file changed, 542 insertions(+)
create mode 100755 t/t7064-wtstatus-pv2.sh
diff --git a/t/t7064-wtstatus-pv2.sh b/t/t7064-wtstatus-pv2
Print per-file information in porcelain v2 format.
Signed-off-by: Jeff Hostetler
---
wt-status.c | 285 +++-
1 file changed, 284 insertions(+), 1 deletion(-)
diff --git a/wt-status.c b/wt-status.c
index 54aedc1..ffdfe11 100644
--- a/wt
Renamed the various wt_status_print*() routines to be
wt_longstatus_print*() to make it clear that these
routines are only concerned with the normal/long
status output.
This will hopefully reduce confusion as other status
formats are added in the future.
Signed-off-by: Jeff Hostetler
On 07/25/2016 04:14 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
+static void aux_updated_entry_porcelain_v2(
+ struct wt_status *s,
+ struct wt_status_change_data *d,
+ struct diff_filepair *p)
+{
+ switch (p->status) {
+ case DIFF_STATUS_AD
On 07/25/2016 04:23 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
+static void wt_porcelain_v2_print(struct wt_status *s);
+
There is no point in this forward declaration, if you just place the
implementation of these functions here, no?
Right. I just did it that way to make the
On 07/25/2016 06:43 PM, Jakub Narębski wrote:
W dniu 2016-07-25 o 21:25, Jeff Hostetler pisze:
+Porcelain Format Version 2
+~~
+
+Version 2 format adds more detailed information about the state of
+the worktree and the changed items.
I think it should be &quo
From: Jeff Hostetler
Update --porcelain argument to take optional version parameter
to allow multiple porcelain formats to be supported in the future.
The token "v1" is the default value and indicates the traditional
porcelain format. (The token "1" is an alias for that.)
, but silently also allow --porcelain=2.
Jeff Hostetler (8):
status: rename long-format print routines
status: cleanup API to wt_status_print
status: support --porcelain[=]
status: per-file data collection for --porcelain=v2
status: print per-file porcelain v2 status data
status: print branch
From: Jeff Hostetler
Refactor the API between builtin/commit.c and wt-status.[ch].
Hide details of the various wt_*status_print() routines inside
wt-status.c behind a single (new) wt_status_print() routine
and eliminate the switch statements from builtin/commit.c
This will allow us to more
From: Jeff Hostetler
Renamed the various wt_status_print*() routines to be
wt_longstatus_print*() to make it clear that these
routines are only concerned with the normal/long
status output.
This will hopefully reduce confusion as other status
formats are added in the future.
Signed-off-by
From: Jeff Hostetler
Print per-file information in porcelain v2 format.
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
wt-status.c | 283 +++-
1 file changed, 282 insertions(+), 1 deletion(-)
diff --git a/wt-status.c b
From: Jeff Hostetler
Update status manpage to include information about
porcelain v2 format.
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
Documentation/git-status.txt | 93 ++--
1 file changed, 90 insertions(+), 3 deletions(-)
diff
From: Jeff Hostetler
Unit tests for porcelain v2 status format.
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
t/t7064-wtstatus-pv2.sh | 585
1 file changed, 585 insertions(+)
create mode 100755 t/t7064-wtstatus-pv2.sh
diff
From: Jeff Hostetler
Expand porcelain v2 output to include branch and tracking
branch information. This includes the commit SHA, the branch,
the upstream branch, and the ahead and behind counts.
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 5
wt
From: Jeff Hostetler
The output of `git status --porcelain` leaves out many details
about the current status that clients might like to have. This
can force them to be less efficient as they may need to launch
secondary commands (and try to match the logic within git) to
accumulate this extra
On 07/30/2016 01:22 PM, Jakub Narębski wrote:
W dniu 26.07.2016 o 23:11, Jeff Hostetler pisze:
This is a nice change, available because of lack of backward
compatibility with v1. The porcelain v2 format branch-related
information could be enhanced without risk of breaking parsers,
or having
From: Jeff Hostetler
Unit tests for porcelain v2 status format.
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
t/t7064-wtstatus-pv2.sh | 585
1 file changed, 585 insertions(+)
create mode 100755 t/t7064-wtstatus-pv2.sh
diff
ation/git-status.txt for clarity.
Jeff Hostetler (8):
status: rename long-format print routines
status: cleanup API to wt_status_print
status: support --porcelain[=]
status: per-file data collection for --porcelain=v2
status: print per-file porcelain v2 status data
status: print branch
From: Jeff Hostetler
Refactor the API between builtin/commit.c and wt-status.[ch].
Hide details of the various wt_*status_print() routines inside
wt-status.c behind a single (new) wt_status_print() routine
and eliminate the switch statements from builtin/commit.c
This will allow us to more
From: Jeff Hostetler
Update status manpage to include information about
porcelain V2 format.
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
Documentation/git-status.txt | 123 +--
1 file changed, 119 insertions(+), 4 deletions(-)
diff
From: Jeff Hostetler
Update --porcelain argument to take optional version parameter
to allow multiple porcelain formats to be supported in the future.
The token "v1" is the default value and indicates the traditional
porcelain format. (The token "1" is an alias for that.)
From: Jeff Hostetler
Renamed the various wt_status_print*() routines to be
wt_longstatus_print*() to make it clear that these
routines are only concerned with the normal/long
status output.
This will hopefully reduce confusion as other status
formats are added in the future.
Signed-off-by
From: Jeff Hostetler
Print per-file information in porcelain v2 format.
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
wt-status.c | 283 +++-
1 file changed, 282 insertions(+), 1 deletion(-)
diff --git a/wt-status.c b
From: Jeff Hostetler
Expand porcelain v2 output to include branch and tracking
branch information. This includes the commit SHA, the branch,
the upstream branch, and the ahead and behind counts.
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 5
wt
From: Jeff Hostetler
The output of `git status --porcelain` leaves out many details
about the current status that clients might like to have. This
can force them to be less efficient as they may need to launch
secondary commands (and try to match the logic within git) to
accumulate this extra
On 08/02/2016 11:19 AM, Jakub Narębski wrote:
W dniu 01.08.2016 o 17:39, Jeff Hostetler pisze:
On 07/30/2016 01:22 PM, Jakub Narębski wrote:
W dniu 26.07.2016 o 23:11, Jeff Hostetler pisze:
This is a nice change, available because of lack of backward
compatibility with v1. The porcelain v2
On 08/03/2016 05:28 PM, Junio C Hamano wrote:
Signed-off-by: Jeff Hostetler
Signed-off-by: Jeff Hostetler
Hmm, are these physically the same people? If so, which one do you
want to be known as?
Yes, these are both my addresses. Still struggling a little
with some SMTP issues. Please
On 08/03/2016 05:36 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
From: Jeff Hostetler
diff --git a/wt-status.h b/wt-status.h
index 2023a3c..a859a12 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -43,6 +43,15 @@ struct wt_status_change_data {
unsigned new_submodule_commits : 1
On 08/05/2016 01:01 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
/*
+ * Print branch information for porcelain v2 output. These lines
+ * are printed when the '--branch' parameter is given.
+ *
+ *# branch.oid
+ *# branch.head
Just bikeshedding, but ...
+
On 08/05/2016 01:50 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
+Porcelain Format Version 2
+~~
+
+Version 2 format adds more detailed information about the state of
+the worktree and changed items. Version 2 also defines an extensible
+set of easy to parse
On 08/05/2016 02:12 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
+##
+## Confirm output prior to initial commit.
+##
+
+test_expect_success
On 08/05/2016 04:55 PM, Ramsay Jones wrote:
Signed-off-by: Ramsay Jones
---
Hi Jeff,
If you need to re-roll your 'jh/status-v2-porcelain' branch, could
you please squash this into the relevant patch (37f7104f, "status:
print per-file porcelain v2 status data", 02-08-2016).
Thanks!
ATB,
Ra
On 08/05/2016 05:02 PM, Jeff King wrote:
On Tue, Aug 02, 2016 at 10:12:14AM -0400, Jeff Hostetler wrote:
+static void wt_porcelain_v2_print_unmerged_entry(
+ struct string_list_item *it,
+ struct wt_status *s)
+{
+ struct wt_status_change_data *d = it->util;
+ co
From: Jeff Hostetler
Refactor the API between builtin/commit.c and wt-status.[ch].
Hide the details of the various wt_*status_print() routines inside
wt-status.c behind a single (new) wt_status_print() routine.
Eliminate the switch statements from builtin/commit.c.
Allow details of new status
From: Jeff Hostetler
Expand porcelain v2 output to include branch and tracking
branch information. This includes the commit id, the branch,
the upstream branch, and the ahead and behind counts.
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 5
wt-status.c | 90
From: Jeff Hostetler
Test porcelain v2 status format.
Signed-off-by: Jeff Hostetler
---
t/t7064-wtstatus-pv2.sh | 597
1 file changed, 597 insertions(+)
create mode 100755 t/t7064-wtstatus-pv2.sh
diff --git a/t/t7064-wtstatus-pv2.sh b/t/t7064
From: Jeff Hostetler
This patch series adds porcelain V2 format to status.
This provides detailed information about file changes
and about the current branch.
The new output is accessed via:
git status --porcelain=v2 [--branch]
This v5 patch series addresses all comments received
today
From: Jeff Hostetler
Add lf_to_nul() function to test-lib-functions.
Signed-off-by: Jeff Hostetler
---
t/test-lib-functions.sh | 4
1 file changed, 4 insertions(+)
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 4f7eadb..fdaeb3a 100644
--- a/t/test-lib-functions.sh
From: Jeff Hostetler
Print per-file information in porcelain v2 format.
Signed-off-by: Jeff Hostetler
---
wt-status.c | 285 +++-
1 file changed, 284 insertions(+), 1 deletion(-)
diff --git a/wt-status.c b/wt-status.c
index ca8023e
From: Jeff Hostetler
Rename the various wt_status_print*() routines to be
wt_longstatus_print*() to make it clear that these
routines are only concerned with the normal/long
status output and reduce developer confusion as other
status formats are added in the future.
Signed-off-by: Jeff
From: Jeff Hostetler
Update --porcelain argument to take optional version parameter
to allow multiple porcelain formats to be supported in the future.
The token "v1" is the default value and indicates the traditional
porcelain format. (The token "1" is an alias for that.)
From: Jeff Hostetler
Collect extra per-file data for porcelain V2 format.
The output of `git status --porcelain` leaves out many
details about the current status that clients might like
to have. This can force them to be less efficient as they
may need to launch secondary commands (and try to
From: Jeff Hostetler
Update status manpage to include information about
porcelain v2 format.
Signed-off-by: Jeff Hostetler
---
Documentation/git-status.txt | 126 +--
1 file changed, 122 insertions(+), 4 deletions(-)
diff --git a/Documentation/git
On 08/08/2016 01:07 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
+test_expect_success pre_initial_commit_0 '
+ ...
+ git status --porcelain=v2 --branch --untracked-files=normal >actual &&
+ test_cmp expect actual
+'
+
+
+test_expect_success
On 08/10/2016 06:41 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
Having said all that, it is OK to fix their titles after the current
9-patch series lands on 'next'; incremental refinements are easier
on reviewers than having to review too many rerolls.
I'll change the
a9b8a09c3c30886c79133da9f48ef9f98c21c3b2 is the first bad commit
commit a9b8a09c3c30886c79133da9f48ef9f98c21c3b2
Author: Jeff Hostetler
Date: Thu Dec 22 18:09:23 2016 +0100
mingw: replace isatty() hack
Git for Windows has carried a patch that depended on internals
of MSVC runtime, but it does
On 2/14/2017 5:03 PM, Jeff King wrote:
On Tue, Feb 14, 2017 at 12:31:46PM +0100, Johannes Schindelin wrote:
On Windows, calls to memihash() and maintaining the istate.name_hash and
istate.dir_hash HashMaps take significant time on very large
repositories. This series of changes reduces the ov
> Jeff King writes:
>
>> On Fri, Feb 17, 2017 at 09:58:21PM -0800, Junio C Hamano wrote:
>>
>>> Jeff Hostetler writes:
>>>
>>> > I'll try to put together a before/after perf-test to better
>>> > demonstrate this.
>>
From: Junio C Hamano [mailto:jch2...@gmail.com] On Behalf Of Junio C Hamano
> Jeff King writes:
>> On Wed, Feb 15, 2017 at 09:27:53AM -0500, Jeff Hostetler wrote:
>>
>>> I have some informal numbers in a spreadsheet. I was seeing
>>> a 8-9% speed u
From: Junio C Hamano [mailto:jch2...@gmail.com] On Behalf Of Junio C Hamano
>
> The fact that each preload_thread() still walks the index in-order
> makes me wonder if it may allow us to further optimize the "dir"
> part of the hash by passing the previous ce for which we already
> precomputed h
From: Jeff Hostetler
Update --porcelain argument to take optional version parameter
to allow multiple porcelain formats to be supported in the future.
The token "v1" is the default value and indicates the traditional
porcelain format. (The token "1" is an alias for that.)
From: Jeff Hostetler
This patch series adds porcelain V2 format to status.
This provides detailed information about file changes
and about the current branch.
The new output is accessed via:
git status --porcelain=v2 [--branch]
This v6 patch series addresses the unit test discussion
from
From: Jeff Hostetler
Expand porcelain v2 output to include branch and tracking
branch information. This includes the commit id, the branch,
the upstream branch, and the ahead and behind counts.
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 5
wt-status.c | 90
From: Jeff Hostetler
Refactor the API between builtin/commit.c and wt-status.[ch].
Hide the details of the various wt_*status_print() routines inside
wt-status.c behind a single (new) wt_status_print() routine.
Eliminate the switch statements from builtin/commit.c.
Allow details of new status
From: Jeff Hostetler
Test porcelain v2 status format.
Signed-off-by: Jeff Hostetler
---
t/t7064-wtstatus-pv2.sh | 576
1 file changed, 576 insertions(+)
create mode 100755 t/t7064-wtstatus-pv2.sh
diff --git a/t/t7064-wtstatus-pv2.sh b/t/t7064
From: Jeff Hostetler
Add lf_to_nul() function to test-lib-functions.
Signed-off-by: Jeff Hostetler
---
t/test-lib-functions.sh | 4
1 file changed, 4 insertions(+)
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 4f7eadb..fdaeb3a 100644
--- a/t/test-lib-functions.sh
From: Jeff Hostetler
Update status manpage to include information about
porcelain v2 format.
Signed-off-by: Jeff Hostetler
---
Documentation/git-status.txt | 126 +--
1 file changed, 122 insertions(+), 4 deletions(-)
diff --git a/Documentation/git
From: Jeff Hostetler
Collect extra per-file data for porcelain V2 format.
The output of `git status --porcelain` leaves out many
details about the current status that clients might like
to have. This can force them to be less efficient as they
may need to launch secondary commands (and try to
From: Jeff Hostetler
Print per-file information in porcelain v2 format.
Signed-off-by: Jeff Hostetler
---
wt-status.c | 285 +++-
1 file changed, 284 insertions(+), 1 deletion(-)
diff --git a/wt-status.c b/wt-status.c
index 904b5c2
From: Jeff Hostetler
Rename the various wt_status_print*() routines to be
wt_longstatus_print*() to make it clear that these
routines are only concerned with the normal/long
status output and reduce developer confusion as other
status formats are added in the future.
Signed-off-by: Jeff
From: Jeff Hostetler
This patch series adds porcelain V2 format to status.
This provides detailed information about file changes
and about the current branch.
The new output is accessed via:
git status --porcelain=v2 [--branch]
This v7 patch series address the most recent feedback
on the
From: Jeff Hostetler
Add lf_to_nul() function to test-lib-functions.
Signed-off-by: Jeff Hostetler
---
t/test-lib-functions.sh | 4
1 file changed, 4 insertions(+)
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 4f7eadb..fdaeb3a 100644
--- a/t/test-lib-functions.sh
From: Jeff Hostetler
Refactor the API between builtin/commit.c and wt-status.[ch].
Hide the details of the various wt_*status_print() routines inside
wt-status.c behind a single (new) wt_status_print() routine.
Eliminate the switch statements from builtin/commit.c.
Allow details of new status
From: Jeff Hostetler
Test porcelain v2 status format.
Signed-off-by: Jeff Hostetler
---
t/t7064-wtstatus-pv2.sh | 592
1 file changed, 592 insertions(+)
create mode 100755 t/t7064-wtstatus-pv2.sh
diff --git a/t/t7064-wtstatus-pv2.sh b/t/t7064
From: Jeff Hostetler
Collect extra per-file data for porcelain V2 format.
The output of `git status --porcelain` leaves out many
details about the current status that clients might like
to have. This can force them to be less efficient as they
may need to launch secondary commands (and try to
From: Jeff Hostetler
Expand porcelain v2 output to include branch and tracking
branch information. This includes the commit id, the branch,
the upstream branch, and the ahead and behind counts.
Signed-off-by: Jeff Hostetler
---
builtin/commit.c | 5
wt-status.c | 90
From: Jeff Hostetler
Print per-file information in porcelain v2 format.
Signed-off-by: Jeff Hostetler
---
wt-status.c | 285 +++-
1 file changed, 284 insertions(+), 1 deletion(-)
diff --git a/wt-status.c b/wt-status.c
index aa804b5
From: Jeff Hostetler
Update status manpage to include information about
porcelain v2 format.
Signed-off-by: Jeff Hostetler
---
Documentation/git-status.txt | 126 +--
1 file changed, 122 insertions(+), 4 deletions(-)
diff --git a/Documentation/git
From: Jeff Hostetler
Update --porcelain argument to take optional version parameter
to allow multiple porcelain formats to be supported in the future.
The token "v1" is the default value and indicates the traditional
porcelain format. (The token "1" is an alias for that.)
From: Jeff Hostetler
Rename the various wt_status_print*() routines to be
wt_longstatus_print*() to make it clear that these
routines are only concerned with the normal/long
status output and reduce developer confusion as other
status formats are added in the future.
Signed-off-by: Jeff
On 08/11/2016 02:36 PM, Junio C Hamano wrote:
Jeff Hostetler writes:
From: Jeff Hostetler
+. ./test-lib.sh
+
+OID_EMPTY=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
It seems that test-lib.sh these days has EMPTY_BLOB defined for your
use. You can remove this and replace its use (just two
From: Jeff Hostetler
Add lf_to_nul() function to test-lib-functions.
Signed-off-by: Jeff Hostetler
---
t/test-lib-functions.sh | 4
1 file changed, 4 insertions(+)
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 4f7eadb..fdaeb3a 100644
--- a/t/test-lib-functions.sh
From: Jeff Hostetler
Update --porcelain argument to take optional version parameter
to allow multiple porcelain formats to be supported in the future.
The token "v1" is the default value and indicates the traditional
porcelain format. (The token "1" is an alias for that.)
From: Jeff Hostetler
Refactor the API between builtin/commit.c and wt-status.[ch].
Hide the details of the various wt_*status_print() routines inside
wt-status.c behind a single (new) wt_status_print() routine.
Eliminate the switch statements from builtin/commit.c.
Allow details of new status
1 - 100 of 1018 matches
Mail list logo