mirror of
https://github.com/github/codeql.git
synced 2026-01-22 19:02:59 +01:00
14 lines
253 B
Plaintext
14 lines
253 B
Plaintext
/**
|
|
* @name Source links of commits
|
|
* @kind source-link
|
|
* @id py/commit-source-links
|
|
* @metricType commit
|
|
*/
|
|
|
|
import python
|
|
import external.VCS
|
|
|
|
from Commit c, File f
|
|
where f.fromSource() and f = c.getAnAffectedFile()
|
|
select c.getRevisionName(), f
|