git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Use the diff.rename configuration for git status
@ 2018-04-30  9:34 Eckhard S. Maaß
  2018-04-30  9:34 ` [PATCH 1/1] wt-status: use rename settings from init_diff_ui_defaults Eckhard S. Maaß
  0 siblings, 1 reply; 3+ messages in thread
From: Eckhard S. Maaß @ 2018-04-30  9:34 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Matthieu Moy, Jeff King, Eckhard S. Maaß

Hello,

I have been irritated that the output of git status does not adhere to
the same diff settings than the other commands like git show. I think it
is more of an oversight and git status is also intended to show the same
kind of rename detection (without any more options passed a long the
command line) than other similar commands do. This patch should fix that
issue.

I am aware that this change would also change how the porcelain
variations of git status behave for rename detection. However, I could
not find any hints that the rename detection should be fixed. As the
default would not change (50% rename threshold), this still seems
reasonable to me.

As for documentation, I am unsure what and where to add: for me it seems
like git status should already behave that way, but it is a change and
so far none else seemed to have brought it up.

Greetings,
Eckhard

Eckhard S. Maaß (1):
  wt-status: use rename settings from init_diff_ui_defaults

 builtin/commit.c       |  2 +-
 t/t4001-diff-rename.sh | 12 ++++++++++++
 wt-status.c            |  4 ----
 3 files changed, 13 insertions(+), 5 deletions(-)

-- 
2.17.0.252.gfe0a9eaf31


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-30 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-30  9:34 [PATCH 0/1] Use the diff.rename configuration for git status Eckhard S. Maaß
2018-04-30  9:34 ` [PATCH 1/1] wt-status: use rename settings from init_diff_ui_defaults Eckhard S. Maaß
2018-04-30 19:27   ` Elijah Newren

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).