MCPcopy Create free account
hub / github.com/git/git / score_missing

Function score_missing

match-trees.c:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "repository.h"
12
13static int score_missing(unsigned mode)
14{
15 int score;
16
17 if (S_ISDIR(mode))
18 score = -1000;
19 else if (S_ISLNK(mode))
20 score = -500;
21 else
22 score = -50;
23 return score;
24}
25
26static int score_differs(unsigned mode1, unsigned mode2)
27{

Callers 1

score_treesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected