 	lines = _.str.lines out
 	lines.map (l) ->
 		status = l.substr(0, 2)
-		file = l.substr(2).trim()
+		path = l.substr(2).trim()
 		return {
-			status: fullStatus(status)
-			file: file
+		path: path
+		status: fullStatus(status)
 		}
 
 fullStatus = (s) ->

		when 'R' then 'renamed'
		when 'C' then 'copied'
		when 'U' then 'updated'
		else return ''

# normal output parser
parseNormal = (out) ->
	return [] if not out

	lines = _.str.lines out
	lines = lines.map (l) -> _.str.ltrim(l, '#').trim()

	statuses = [
		['new file:', 'new'],

	# todo support untracked files

	files = lines.map (l) ->
		st = _.find statuses, (s) ->
			_.str(l).startsWith(s[0])
		if st
			path = l.substr(st[0].length).trim()
			return {path: path, status: st[1]}
		return null

	return files.filter (f) -> f?
