Skip to content

Commit 2fcd6f4

Browse files
msohngerritforge-inc
authored andcommitted
Merge "Make the PackParser.needNewObjectIds method public"
2 parents f305963 + d89e45b commit 2fcd6f4

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,13 @@ public void setNeedNewObjectIds(boolean b) {
254254
newObjectIds = null;
255255
}
256256

257-
private boolean needNewObjectIds() {
257+
/**
258+
* Whether the parser is configured to keep track of new objects.
259+
*
260+
* @return {@code true} if new objects are tracked, {@code false} otherwise.
261+
* @since 7.7
262+
*/
263+
public boolean needNewObjectIds() {
258264
return newObjectIds != null;
259265
}
260266

0 commit comments

Comments
 (0)