We can look at the PushCommits object to see how many commits were included in a commit, and add some template logic to only show the comparison link when there are at least 2 commits in a push. We also correct the link to display the number of commits. |
||
|---|---|---|
| .. | ||
| gitignore | ||
| license | ||
| locale | ||
| readme | ||
| app.ini | ||
| README.md | ||
Execute following command in ROOT directory when anything is changed:
$ go-bindata -o=modules/bindata/bindata.go -ignore="\.DS_Store|README.md" -pkg=bindata conf/...
Add -debug flag to make life easier in development(somehow isn't working):
$ go-bindata -debug -o=modules/bindata/bindata.go -ignore="\.DS_Store|README.md" -pkg=bindata conf/...