javagit/src/main/java/edu/nyu/cs/javagit/api/GitFile.java
public List<Commit> getLog() throws JavaGitException, IOException {
		GitLog gitLog = new GitLog();
		GitLogOptions options = new GitLogOptions();
		options.setOptRelative(true,this.relativePath.toString());
		return gitLog.log(this.file);
	}
public List<Commit> getLog() throws JavaGitException, IOException {
		GitLog gitLog = new GitLog();
		GitLogOptions options = new GitLogOptions();
		options.setOptRelative(true,this.relativePath.toString());
		return gitLog.log(this.file);
	}
Show commit logs

@return List of commits for the working directory
@throws IOException
@throws JavaGitException