Add very verbose porcelain output to status
PATCH 1/1 Add very verbose porcelain output to status
Tools interacting with Git repositories may need to know the complete state of the working directory. For efficiency, it would be good to have a single command to obtain this information.
We already have a --porcelain mode intended for tools' consumption, and it only makes sense to enhance 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.
--- Documentation/git-status.txt | 83 ++++++ builtin/commit.c | 15 + t/t7064-wtstatus-vvp.sh | 150 ++++++++++ wt-status.c | 676 ++++++++++++++++++++++++++++++++++++++++++- wt-status.h | 10 + 5 files changed, 932 insertions(+), 2 deletions(-) create mode 100755 t/t7064-wtstatus-vvp.sh
Documentation/git-status.txt +83 -0
@@ -49,6 +49,9 @@ OPTIONS twice, then also show the changes in the working tree that have not yet been staged (i.e., like the output of `git diff`). + When given twice with `--porcelain`, additional output is enabled. + See the section entitled "Very Verbose Porcelain Format" for details. + -u[<mode>]:: --untracked-files[=<mode>]:: Show untracked files.
@@ -207,6 +210,86 @@ field from the first filename). Third, filenames containing special characters are not specially formatted; no quoting or backslash-escaping is performed. +Very Verbose Porcelain Format +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +When --verbose is given twice along with --porcelain, additional output +is provided. + +If --branch is given, the first line shows a summary of the current +operation in progress. This line begins with "### state: ", the name +of the operation in progress, and then operation-specific information. +Fields are separated by a single space. + + Operation Fields Explanation + ------------------------------------------------------------------ + clean + ------------------------------------------------------------------ + merge <nr> Number unmerged + ------------------------------------------------------------------ + am [E] Present if the current patch + is empty + ------------------------------------------------------------------ + rebase <nr> Number unmerged + [S] Present if split commit in + progress during rebase + [E] Present if editing a commit + during rebase + [I(<done>/<total>)] Present if in an interactive + rebase. Step counts are given. + [<current>:<onto>] Rebase branches + ------------------------------------------------------------------ + cherrypick <sha> + <nr> Number unmerged + ------------------------------------------------------------------ + revert <sha> + <nr> Number unmerged + ------------------------------------------------------------------ + bisect [<branch>] + ------------------------------------------------------------------ + +If --branch is given, the second line shows branch tracking information. +This line begins with "### track: ". Fields are separated by a single +space, unless otherwise indicated. + + Field Meaning + -------------------------------------------------------- + <sha> | "(initial)" Current commit + <branch> | "(detached)" Current branch + ":"<upstream> Upstream branch, if set + "+"<ahead> Ahead count, if upstream present + "-"<behind> Behind count, if upstream present + -------------------------------------------------------- + +A series of lines are then displayed for the tracked entries. +Lines have one of the following formats: + + XYS mH mI mW shaH shaI PATH + XYS mH mI mW shaH shaI score OLD_PATH\tPATH + XYS m1 m2 m3 mW sha1 sha2 sha3 PATH + +* X and Y were described in the short format section. +* S is a one character summary of the submodule status with values '0'..'7' + representing the sum of: 4 when submodule has a new commit, 2 when the + submodule is modified, and 1 when the submodule contains untracked changes. + The value is ' ' if the entry is not a submodule. +* mH, mI, and mW are the 6 digit octal modes for the head, index, and worktree + versions of the entry. +* m1, m2, and m3 are the modes for the stage 1, 2, and 3 versions of the entry + when in an unmerged state. +* shaH and shaI are the 40 character hashes for the head and index version. +* sha1, sha2, and sha3 are the hashes for the stage 1, 2, and 3 versions of + the entry when in an unmerged state. +* score is the rename percentage score. +* PATH is the current path. +* OLD_PATH is the source path for a staged rename. + +A series of lines are then displayed for untracked and ignored entries. + + XXX PATH + +* XXX is "???" for untracked entries and "!!!" for ignored entries. + CONFIGURATION -------------
builtin/commit.c +15 -0
@@ -500,6 +500,8 @@ static int run_status(FILE *fp, const char *index_file, const char *prefix, int s->fp = fp; s->nowarn = nowarn; s->is_initial =get_sha1 (s->reference, sha1) ?1 :0 ; +if (!s->is_initial) +hashcpy (s->sha_commit, sha1);wt_status_collect (s);
@@ -1380,7 +1382,20 @@ int cmd_status(int argc, const char **argv, const char *prefix) fd =hold_locked_index (&index_lock,0 ); s.is_initial =get_sha1 (s.reference, sha1) ?1 :0 ; +if (!s.is_initial) +hashcpy (s.sha_commit, sha1); + s.ignore_submodule_arg = ignore_submodule_arg; +if (verbose >1 && status_format ==STATUS_FORMAT_PORCELAIN ) { +/* Capture extra data for very verbose porcelain output. */ + s.verbose = verbose; + +/* Force safe_crlf off to prevent normal LF/CRLF warning +* message from being printed on stderr for each new file. +*/ + safe_crlf =SAFE_CRLF_FALSE ; + } +wt_status_collect (&s);if (0 <= fd)
t/t7064-wtstatus-vvp.sh new file +150 -0
150 lines not on this page · raw message
wt-status.c +674 -2
705 lines not on this page · raw message
wt-status.h +10 -0
@@ -39,6 +39,14 @@ struct wt_status_change_data {int index_status;int stagemask;char *head_path; + +struct + { +int rename_score; +int mode_head, mode_index, mode_worktree; +unsigned char sha1_head[20 ], sha1_index[20 ]; + } vvp; + unsigned dirty_submodule : 2; unsigned new_submodule_commits : 1; };
@@ -65,6 +73,7 @@ struct wt_status {int null_termination;int show_branch;int hints; +unsigned char sha_commit[GIT_SHA1_RAWSZ ];/* Commit SHA (when not Initial) */ /* These are computed during processing of the individual sections */ int commitable;
@@ -109,6 +118,7 @@ int wt_status_check_bisect(const struct worktree *wt,void wt_shortstatus_print (struct wt_status *s);void wt_porcelain_print (struct wt_status *s); +void wt_porcelain_very_verbose_print (struct wt_status *s); __attribute__((format (printf,3 ,4 )))void status_printf_ln (struct wt_status *s,const char *color,const char *fmt, ...);
Signature · 1 line
2.8.0.rc4.17.gac42084.dirty
Hi,
Quoted 7 lines · Jeff Hostetler
Tools interacting with Git repositories may need to know the complete state of the working directory. For efficiency, it would be good to have a single command to obtain this information.
We already have a
--porcelainmode intended for tools' consumption, and it only makes sense to enhance this mode to offer more information.
Quoted 6 lines
Just like we do elsewhere in Git's source code, we now interpret multiple
--verboseflags accumulatively, and show substantially more information in porcelain mode at verbosity level 2.Signed-off-by Jeff Hostetler <[email protected]>---
For the record: I reviewed this patch (and an earlier revision) at
https://github.com/git-for-windows/git/pull/812
I think it is in a good shape, and it is definitely an improvement for third-party tools that want to interact with a Git worktree.
Ciao,
Dscho
Quoted 10 lines · Jeff Hostetler
Tools interacting with Git repositories may need to know the complete state of the working directory. For efficiency, it would be good to have a single command to obtain this information.
We already have a
--porcelainmode intended for tools' consumption, and it only makes sense to enhance this mode to offer more information.Just like we do elsewhere in Git's source code, we now interpret multiple
--verboseflags accumulatively, and show substantially more information in porcelain mode at verbosity level 2.
Using "--verbose" to change the stable output feels a little funny to me. Usually --verbose is about increasing the human-readable output to stderr. Of course "--verbose" for git-status is already a little weird. A single "-v" seems to do nothing, but two will turn on a diff for the long-format output.
But it seems to me this just confuses things more. Why does "git status --porcelain -v" do nothing, for example? What happens when we want to add more information to the porcelain output later? Do we have to require "-vvv" to trigger it, and if so, is there a way to get that information without the "-vv" information?
I think the existing example for adding to the --porcelain format is the --branch option. Could we have "--state" or something to trigger the extra lines?
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 222
Quoted 4 lines
Documentation/git-status.txt +4
-0+If --branch is given, the first line shows a summary of the current +operation in progress. This line begins with "### state: ", the name +of the operation in progress, and then operation-specific information. +Fields are separated by a single space.
This seems like a good bit of information to have, and AFAIK we don't expose the state information in a machine-readable way. A few nits:
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 226
Quoted 3 lines
Documentation/git-status.txt +3
-0+ Operation Fields Explanation + ------------------------------------------------------------------ + clean
Using "clean" here seems weird, as that term is usually meant to mean the opposite of dirty (i.e., there is something in your working tree that can be committed). But there is no "dirty" here. Would "normal" or "none" be a good description?
Review
Quoted 2 lines
(quoted diff) +2
-0+ ------------------------------------------------------------------ + merge <nr> Number unmerged
This <nr> (and others below) is redundant with the rest of the output, right (i.e., you could count up the "U" entries yourself)? I don't mind it as a convenience, but I'm kind of curious of why it's useful.
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 237
Quoted 9 lines
Documentation/git-status.txt +9
-0+ ------------------------------------------------------------------ + am [E] Present if the current patch + is empty + ------------------------------------------------------------------ + rebase <nr> Number unmerged + [S] Present if split commit in + progress during rebase + [E] Present if editing a commit + during rebase
Can a rebased commit be empty? If so, should that state get "E" to match "am"?
Does editing differentiate between "stopped because of a conflict that needs addressing" versus "stopped because the interactive insn sheet told us to"?
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 240
Quoted 3 lines
Documentation/git-status.txt +3
-0+ [I(<done>/<total>)] Present if in an interactive + rebase. Step counts are given. + [<current>:<onto>] Rebase branches
I wonder if we ought to just use "<current> <onto>" here, as separate arguments. A ":" between refs usually signifies a refspec, but that is not what this is.
I note this is optional, though. Is there a case where we might have one but not the other? That would make things more difficult syntactically.
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 262
Quoted 12 lines
Documentation/git-status.txt +12
-0+If --branch is given, the second line shows branch tracking information. +This line begins with "### track: ". Fields are separated by a single +space, unless otherwise indicated. + + Field Meaning + -------------------------------------------------------- + <sha> | "(initial)" Current commit + <branch> | "(detached)" Current branch + ":"<upstream> Upstream branch, if set + "+"<ahead> Ahead count, if upstream present + "-"<behind> Behind count, if upstream present + --------------------------------------------------------
This really _ought_ to have been how --branch worked in the first place with --porcelain. But unfortunately the existing format has been in the wild for a long time. To top it off, the existing format is translated! So you cannot even match "Initial commit on (.*)". Yech.
So this looks like a big improvement. And I see now why you wanted something like "-vv" to implement this, instead of "--state". In addition to adding new lines, this is fixing mistakes made in the prior format.
I'm still not convinced that it makes sense to trigger this more-sane format with a "verbose" option, though. It's not more verbose. It's just less crappy. It would make more sense to me if this was "porcelain v2", and triggered with "--porcelain=2" or similar.
Ditto with the new per-file format you introduce (which at least _is_ more verbose).
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 269
Quoted 6 lines
Documentation/git-status.txt +6
-0+A series of lines are then displayed for the tracked entries. +Lines have one of the following formats: + + XYS mH mI mW shaH shaI PATH + XYS mH mI mW shaH shaI score OLD_PATH\tPATH + XYS m1 m2 m3 mW sha1 sha2 sha3 PATH
So this is sort of like a --raw diff, but covering the 3 states. That makes some sense to me.
I notice in the middle one that there is room for only one rename (between the index and HEAD). I guess we cannot have a rename between the working tree and the index, because the dst file would have to be a new file, which by definition is untracked, and not eligible.
One of the nasty points of the current format is that it is context-sensitive. You don't know if you have "PATH" with a space, or "score OLD_PATH" until you see whether "X" tells you if you have a rename or not. So simple parsing with things like "cut" doesn't work.
Can we collapse these into a single line format where some entries just end up with some nil state (e.g., "0" for the score of something that isn't a rename)?
While I'm thinking about it, have you looked at how this all works with "-z"?
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 274
Quoted 4 lines
Documentation/git-status.txt +4
-0+* X and Y were described in the short format section. +* S is a one character summary of the submodule status with values '0'..'7' + representing the sum of: 4 when submodule has a new commit, 2 when the + submodule is modified, and 1 when the submodule contains untracked changes.
Is there any reason not to give these non-numeric constants? I.e., to treat it as a sequence of flags, which can be present or not?
Quoted 1 line
+ The value is ' ' if the entry is not a submodule.
So would it be:
XY 100644 ...
with two spaces in that case?
I wonder if it would be less mysterious if the submodule data got its own bitfield, like:
N - not a submodule
S[C][M][U] - is a submodule, with one or more of:
- commits (C)
- modifications (M)
- untracked files (U)
builtin/commit.c int cmd_status(int argc, const char **argv, const char *prefix) · line 1391
Quoted 11 lines
builtin/commit.c +6
-0@@ -1380,7 +1382,20 @@ int cmd_status(int argc, const char **argv, const char *prefix) fd =hold_locked_index (&index_lock,0 ); s.is_initial =get_sha1 (s.reference, sha1) ?1 :0 ; +if (!s.is_initial) +hashcpy (s.sha_commit, sha1); + s.ignore_submodule_arg = ignore_submodule_arg; +if (verbose >1 && status_format ==STATUS_FORMAT_PORCELAIN ) { +/* Capture extra data for very verbose porcelain output. */ + s.verbose = verbose;
The existing s.verbose setup happens in the big format-specific switch statement below. Should this go there, too? (Though if you have read the rest of my email, you know I'd prefer this actually end up as a new format).
builtin/commit.c int cmd_status(int argc, const char **argv, const char *prefix) · line 1397
Quoted 5 lines
builtin/commit.c +5
-0+/* Force safe_crlf off to prevent normal LF/CRLF warning +* message from being printed on stderr for each new file. +*/ + safe_crlf =SAFE_CRLF_FALSE ; + }
Hmm, this seems like something that would be useful for all formats. It comes from doing a diff at all, right?
Quoted 1 line
[...]
I gave only a brief skim over the rest of the code, as I think the design issues are more interesting at this stage.
Please don't let the length of my comments discourage you; I think this is a good direction to be going. I did find I had to piece together the rationale a bit from looking at the patch itself. I think it would be easier to understand as a few patches:
- add infrastructure and rules for a new v2 porcelain format; the format is still in flux for the next few patches, but will be cemented at release time (in your world-view this is the "more verbose format", but I'm taking the liberty of pretending you agree with everything I wrote above ;) ).
- add v2 per-file format; the rationale is that the existing format leaves out some details. And also that it's hard to parse (if you agree that we should clean up those cases).
- convert "--branch" output in v2 to what you have here; the rationale is that the existing format is horribly unstable
- add "--state"; the rationale is that there isn't a machine-readable way to get this data right now. This can be independent of the v1/v2 flag, since we output it only when asked for, and v1-era git didn't have it at all.
- the SAFE_CRLF_FALSE tweak above; this seems orthogonal to the rest of it, but offhand seems like a reasonable idea to me.
-Peff
Thanks for the feedback. I like the overall direction of your suggestions. Going for a porcelain V2 feels better than piling onto verbose. I think that would also give us a little more license to address some of the line format issues that you point out. Let me retool what I have along these lines and see how it looks.
Thank again,
Jeff
Quoted 223 lines · Jeff King
Quoted 10 lines · Jeff Hostetler
Tools interacting with Git repositories may need to know the complete state of the working directory. For efficiency, it would be good to have a single command to obtain this information.
We already have a
--porcelainmode intended for tools' consumption, and it only makes sense to enhance this mode to offer more information.Just like we do elsewhere in Git's source code, we now interpret multiple
--verboseflags accumulatively, and show substantially more information in porcelain mode at verbosity level 2.Using "--verbose" to change the stable output feels a little funny to me. Usually --verbose is about increasing the human-readable output to stderr. Of course "--verbose" for git-status is already a little weird. A single "-v" seems to do nothing, but two will turn on a diff for the long-format output.
But it seems to me this just confuses things more. Why does "git status --porcelain -v" do nothing, for example? What happens when we want to add more information to the porcelain output later? Do we have to require "-vvv" to trigger it, and if so, is there a way to get that information without the "-vv" information?
I think the existing example for adding to the --porcelain format is the --branch option. Could we have "--state" or something to trigger the extra lines?
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 222
Quoted 4 lines
Documentation/git-status.txt +4
-0+If --branch is given, the first line shows a summary of the current +operation in progress. This line begins with "### state: ", the name +of the operation in progress, and then operation-specific information. +Fields are separated by a single space.This seems like a good bit of information to have, and AFAIK we don't expose the state information in a machine-readable way. A few nits:
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 226
Quoted 3 lines
Documentation/git-status.txt +3
-0+ Operation Fields Explanation + ------------------------------------------------------------------ + cleanUsing "clean" here seems weird, as that term is usually meant to mean the opposite of dirty (i.e., there is something in your working tree that can be committed). But there is no "dirty" here. Would "normal" or "none" be a good description?
Review
Quoted 2 lines
(quoted diff) +2
-0+ ------------------------------------------------------------------ + merge <nr> Number unmergedThis <nr> (and others below) is redundant with the rest of the output, right (i.e., you could count up the "U" entries yourself)? I don't mind it as a convenience, but I'm kind of curious of why it's useful.
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 237
Quoted 9 lines
Documentation/git-status.txt +9
-0+ ------------------------------------------------------------------ + am [E] Present if the current patch + is empty + ------------------------------------------------------------------ + rebase <nr> Number unmerged + [S] Present if split commit in + progress during rebase + [E] Present if editing a commit + during rebaseCan a rebased commit be empty? If so, should that state get "E" to match "am"?
Does editing differentiate between "stopped because of a conflict that needs addressing" versus "stopped because the interactive insn sheet told us to"?
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 240
Quoted 3 lines
Documentation/git-status.txt +3
-0+ [I(<done>/<total>)] Present if in an interactive + rebase. Step counts are given. + [<current>:<onto>] Rebase branchesI wonder if we ought to just use "<current> <onto>" here, as separate arguments. A ":" between refs usually signifies a refspec, but that is not what this is.
I note this is optional, though. Is there a case where we might have one but not the other? That would make things more difficult syntactically.
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 262
Quoted 12 lines
Documentation/git-status.txt +12
-0+If --branch is given, the second line shows branch tracking information. +This line begins with "### track: ". Fields are separated by a single +space, unless otherwise indicated. + + Field Meaning + -------------------------------------------------------- + <sha> | "(initial)" Current commit + <branch> | "(detached)" Current branch + ":"<upstream> Upstream branch, if set + "+"<ahead> Ahead count, if upstream present + "-"<behind> Behind count, if upstream present + --------------------------------------------------------This really _ought_ to have been how --branch worked in the first place with --porcelain. But unfortunately the existing format has been in the wild for a long time. To top it off, the existing format is translated! So you cannot even match "Initial commit on (.*)". Yech.
So this looks like a big improvement. And I see now why you wanted something like "-vv" to implement this, instead of "--state". In addition to adding new lines, this is fixing mistakes made in the prior format.
I'm still not convinced that it makes sense to trigger this more-sane format with a "verbose" option, though. It's not more verbose. It's just less crappy. It would make more sense to me if this was "porcelain v2", and triggered with "--porcelain=2" or similar.
Ditto with the new per-file format you introduce (which at least _is_ more verbose).
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 269
Quoted 6 lines
Documentation/git-status.txt +6
-0+A series of lines are then displayed for the tracked entries. +Lines have one of the following formats: + + XYS mH mI mW shaH shaI PATH + XYS mH mI mW shaH shaI score OLD_PATH\tPATH + XYS m1 m2 m3 mW sha1 sha2 sha3 PATHSo this is sort of like a --raw diff, but covering the 3 states. That makes some sense to me.
I notice in the middle one that there is room for only one rename (between the index and HEAD). I guess we cannot have a rename between the working tree and the index, because the dst file would have to be a new file, which by definition is untracked, and not eligible.
One of the nasty points of the current format is that it is context-sensitive. You don't know if you have "PATH" with a space, or "score
OLD_PATH" until you see whether "X" tells you if you have a rename or not. So simple parsing with things like "cut" doesn't work.Can we collapse these into a single line format where some entries just end up with some nil state (e.g., "0" for the score of something that isn't a rename)?
While I'm thinking about it, have you looked at how this all works with "-z"?
Documentation/git-status.txt field from the first filename). Third, filenames containing special · line 274
Quoted 4 lines
Documentation/git-status.txt +4
-0+* X and Y were described in the short format section. +* S is a one character summary of the submodule status with values '0'..'7' + representing the sum of: 4 when submodule has a new commit, 2 when the + submodule is modified, and 1 when the submodule contains untracked changes.Is there any reason not to give these non-numeric constants? I.e., to treat it as a sequence of flags, which can be present or not?
Quoted 1 line
+ The value is ' ' if the entry is not a submodule.
So would it be:
XY 100644 ...with two spaces in that case?
I wonder if it would be less mysterious if the submodule data got its own bitfield, like:
N - not a submodule
S[C][M][U] - is a submodule, with one or more of:
- commits (C)
- modifications (M)
- untracked files (U)builtin/commit.c int cmd_status(int argc, const char **argv, const char *prefix) · line 1391
Quoted 11 lines
builtin/commit.c +6
-0@@ -1380,7 +1382,20 @@ int cmd_status(int argc, const char **argv, const char *prefix) fd =hold_locked_index (&index_lock,0 ); s.is_initial =get_sha1 (s.reference, sha1) ?1 :0 ; +if (!s.is_initial) +hashcpy (s.sha_commit, sha1); + s.ignore_submodule_arg = ignore_submodule_arg; +if (verbose >1 && status_format ==STATUS_FORMAT_PORCELAIN ) { +/* Capture extra data for very verbose porcelain output. */ + s.verbose = verbose;The existing s.verbose setup happens in the big format-specific switch statement below. Should this go there, too? (Though if you have read the rest of my email, you know I'd prefer this actually end up as a new format).
builtin/commit.c int cmd_status(int argc, const char **argv, const char *prefix) · line 1397
Quoted 5 lines
builtin/commit.c +5
-0+/* Force safe_crlf off to prevent normal LF/CRLF warning +* message from being printed on stderr for each new file. +*/ + safe_crlf =SAFE_CRLF_FALSE ; + }Hmm, this seems like something that would be useful for all formats. It comes from doing a diff at all, right?
Quoted 1 line
[...]
I gave only a brief skim over the rest of the code, as I think the design issues are more interesting at this stage.
Please don't let the length of my comments discourage you; I think this is a good direction to be going. I did find I had to piece together the rationale a bit from looking at the patch itself. I think it would be easier to understand as a few patches:
- add infrastructure and rules for a new v2 porcelain format; the format is still in flux for the next few patches, but will be cemented at release time (in your world-view this is the "more verbose format", but I'm taking the liberty of pretending you agree with everything I wrote above ;) ).
- add v2 per-file format; the rationale is that the existing format leaves out some details. And also that it's hard to parse (if you agree that we should clean up those cases).
- convert "--branch" output in v2 to what you have here; the rationale is that the existing format is horribly unstable
- add "--state"; the rationale is that there isn't a machine-readable way to get this data right now. This can be independent of the v1/v2 flag, since we output it only when asked for, and v1-era git didn't have it at all.
- the
SAFE_CRLF_FALSEtweak above; this seems orthogonal to the rest of it, but offhand seems like a reasonable idea to me.-Peff
Hi Jeff,
[please note that top-posting is discouraged on this mailing list]
Quoted 5 lines · Jeff Hostetler
Thanks for the feedback. I like the overall direction of your suggestions. Going for a porcelain V2 feels better than piling onto verbose. I think that would also give us a little more license to address some of the line format issues that you point out. Let me retool what I have along these lines and see how it looks.
Thank you for working on this. I will hold off from releasing Git for Windows v2.9.1 until this is sorted out, as I already merged v1 into our master and do not want to end up with a bogus release.
Ciao,
Dscho