Skip to content

whitslar/darcs-log-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

darcs-log-utils

Utility methods for parsing darcs changes output

Installation

  npm install git-log-utils
  

Usage

DarcsLogUtils = require('darcs-log-utils')

DarcsLogUtils.getFileCommitHistory(fileName)

Returns an array of javascript objects representing the commits that effected the requested file with line stats, that looks like this:

[{
  "hash": "84b7bd17809b9dd805af7228787acfa194d0da08",
  "authorName": "[email protected]",
  "authorDate": 1450881433,
  "message": "docs all work again after refactoring to bumble-build",
  "body": "",
  "linesAdded": 2,
  "linesDeleted": 2
}, {
  ...
}]

About

Utility for parsing git log entries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 100.0%