Skip to content

Commit

Permalink
Add basic diff command file
Browse files Browse the repository at this point in the history
  • Loading branch information
mkchoi212 committed Jan 1, 2018
1 parent a17f24e commit 8f4df34
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions conflict/diff.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package conflict

func (c *Conflict) Diff() []string {
dummyPath := "/Users/mikechoi/src/CSCE-313/"
stdout, _, _ := RunCommand("git", dummyPath, "--no-pager", "diff", "--color")
return []string{stdout}
}

0 comments on commit 8f4df34

Please sign in to comment.