Skip to content

Commit

Permalink
Merge branch 'handle_00_shas' of https://github.com/ciaranj/node-git
Browse files Browse the repository at this point in the history
…into ciaranj-handle_00_shas
  • Loading branch information
christkv committed Jan 10, 2011
2 parents 3313dec + 39fa14a commit 03399cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git/pack_storage.js
Expand Up @@ -246,7 +246,7 @@ var unpack_compressed = function(pack, offset, destsize) {
var find_object_in_index = function(pack, idx, sha1) {
// Parse the first value of the sha as an index
var slot = sha1.charCodeAt(0);
if(!slot) return null;
if(slot == NaN) return null;

// Unpack the variables
var first = pack.offsets[slot];
Expand Down

0 comments on commit 03399cf

Please sign in to comment.