summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/utils/JGitUtils.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-01-15 19:07:34 -0500
committerJames Moger <james.moger@gitblit.com>2012-01-15 19:07:34 -0500
commit69a55934079b299740fa4679fbbd9faeb8319726 (patch)
treedecf6a8f296cd08b2ee87c6aace5db9757888b94 /src/com/gitblit/utils/JGitUtils.java
parentc508386dba5dd84de1f83fef8781b06acf903f15 (diff)
downloadgitblit-69a55934079b299740fa4679fbbd9faeb8319726.tar.gz
gitblit-69a55934079b299740fa4679fbbd9faeb8319726.zip
More functional issues.
Diffstat (limited to 'src/com/gitblit/utils/JGitUtils.java')
-rw-r--r--src/com/gitblit/utils/JGitUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/gitblit/utils/JGitUtils.java b/src/com/gitblit/utils/JGitUtils.java
index 5d6011a2..96e6bf10 100644
--- a/src/com/gitblit/utils/JGitUtils.java
+++ b/src/com/gitblit/utils/JGitUtils.java
@@ -1408,7 +1408,7 @@ public class JGitUtils {
// Create a tree object to reference from a commit
TreeFormatter tree = new TreeFormatter();
- tree.append("NEWBRANCH", FileMode.REGULAR_FILE, blobId);
+ tree.append(".branch", FileMode.REGULAR_FILE, blobId);
ObjectId treeId = odi.insert(tree);
// Create a commit object