Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: git/git
base: 1002f28a527d33893f7dab068dbac7011f84af65
Choose a base ref
...
head repository: git/git
compare: 178401dc25cf8c3f1a716b852b14dafa79367646
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 15, 2024

  1. diff: add diff.srcPrefix and diff.dstPrefix configuration variables

    Allow the default prefixes "a/" and "b/" to be tweaked by the
    diff.srcPrefix and diff.dstPrefix configuration variables.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    whot authored and gitster committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    7fdc265 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. diff.*Prefix: use camelCase in the doc and test titles

    We added documentation for diff.srcPrefix and diff.dstPrefix with
    their names properly camelCased, but the diff.noPrefix is listed
    there in all lowercase.  Also these configuration variables, both
    existing ones and the {src,dst}Prefix we recently added, were
    spelled in all lowercase in the tests in t4013.
    
    Now we are done with the main change, clean these up.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    gitster committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    178401d View commit details
    Browse the repository at this point in the history