git: openjdk/mobile: 2 new changesets

duke duke at openjdk.org
Fri Aug 18 07:52:31 UTC 2023


Changeset: 33d5dfda
Author:    Andrei Rybak <rybak.a.v at gmail.com>
Committer: Koichi Sakata <ksakata at openjdk.org>
Date:      2023-08-18 07:48:50 +0000
URL:       https://git.openjdk.org/mobile/commit/33d5dfdab3098549366088c43797bdcaebe02cd6

8314543: gitattributes: make diffs easier to read

Git supports special hunk headers for several languages in diff output,
which make it easier to read diffs of files in that language, generated
by Git (git-diff, git-show, `git log -p`, etc).  For details, see
`git help gitattributes` or the online documentation.[1]

Add entries to the root .gitattributes file to support showing the hunk
headers for Java, C, C++, Markdown, Shell script, HTML, and CSS.  This
makes it easier to read diffs generated by Git.

[1] https://git-scm.com/docs/gitattributes

Reviewed-by: erikj, ksakata

! .gitattributes

Changeset: 6cb1802a
Author:    duke <duke at openjdk.org>
Date:      2023-08-18 07:49:48 +0000
URL:       https://git.openjdk.org/mobile/commit/6cb1802adacf32a7db2ce1200fa7556a91252aca

Automatic merge of jdk:master into master




More information about the mobile-changes mailing list