ssc-oscar / lookup

A mirror of bitbucket.org/swcs/lookup
1 stars 4 forks source link

Is c2f and c2b supposed to be 1-1? #3

Closed k----n closed 3 years ago

k----n commented 3 years ago

I run echo 62355f7076fe3a8a7e40880957f3c1fef9d7e35c | ~/lookup/getValues c2f and get 14 values

I run echo 62355f7076fe3a8a7e40880957f3c1fef9d7e35c | ~/lookup/getValues c2b and get 8 values

It seems like most c2f and c2b have the same amount of values, but sometimes they are not the same.

I imagine that the amount of blobs and files should be the same for a commit.

k----n commented 3 years ago

Commit that I am looking up: https://github.com/gephi/gephi/commit/62355f7076fe3a8a7e40880957f3c1fef9d7e35c

Looks like there are 13 files.

audrism commented 3 years ago

b is blob: two distinct files may share it (have the same content). nfiles >= nblobs

k----n commented 3 years ago

b is blob: two distinct files may share it (have the same content). nfiles >= nblobs

Thanks! Really appreciate it.