eclipse-jgit / jgit

JGit, the Java implementation of git
https://www.eclipse.org/jgit/
Other
127 stars 37 forks source link

use jgit impl "git show commitId --name-only" #63

Closed lpf4254302 closed 1 month ago

lpf4254302 commented 3 months ago

Description

use jgit impl "git show commitId --name-only"

Motivation

give a commitId then return commit files

Alternatives considered

No response

Additional context

No response

msohn commented 1 month ago

The jgit command line application supports this command, see https://github.com/eclipse-jgit/jgit/blob/master/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Show.java#L97