Load fetches the latest git diff for the full branch.
()
| 41 | |
| 42 | // Load fetches the latest git diff for the full branch. |
| 43 | func (d *DiffViewer) Load() { |
| 44 | d.storyID = "" |
| 45 | d.noCommit = false |
| 46 | d.loadDiff("", "") |
| 47 | } |
| 48 | |
| 49 | // LoadForStory fetches the git diff for a specific story's commit. |
| 50 | // If no commit is found, it shows a "not committed yet" message. |