FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #672 from nodegit/statusfile-isconflicted · 19h/nodegit@93d7e57 · GitHub

Repository navigation

Commit 93d7e57

Browse files
committed
Merge pull request nodegit#672 from nodegit/statusfile-isconflicted
add statusFile.isConflicted
2 parents 0f73bf1 + fd21610 commit 93d7e57

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎lib/status_file.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ var StatusFile = function(args) {
8181
status & codes.INDEX_RENAMED;
8282
},
8383
isIgnored: function() {
84-
return data.statusBit & codes.IGNORED;
84+
return status & codes.IGNORED;
85+
},
86+
isConflicted: function() {
87+
return status & codes.CONFLICTED;
8588
},
8689
inWorkingTree: function() {
8790
return status & codes.WT_NEW ||

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL