Permalink
Browse files

[test] add folder/file to test repo

  • Loading branch information...
tmpvar committed Nov 9, 2012
1 parent a2ba56b commit a0ca9ceee6d567cdf3d8d576e57e7f1a4996384f
@@ -0,0 +1,19 @@
+ The signature for this extension is { 'T', 'R', 'E', 'E' }.
+
+ A series of entries fill the entire extension; each of which
+ consists of:
+
+ - NUL-terminated path component (relative to its parent directory);
+
+ - ASCII decimal number of entries in the index that is covered by the
+ tree this entry represents (entry_count);
+
+ - A space (ASCII 32);
+
+ - ASCII decimal number that represents the number of subtrees this
+ tree has;
+
+ - A newline (ASCII 10); and
+
+ - 160-bit object name for the object that would result from writing
+ this span of index as a tree.
View
@@ -67,6 +67,7 @@ module.exports.getPackFile = function(fn) {
// cleanup
//rimraf(packRepoPath, function() {
fn(null, {
+ repoDirectory: packRepoPath + '.git/',
packFile: packFile,
totalObjects: count,
buffer: packFileBuffer,

0 comments on commit a0ca9ce

Please sign in to comment.