Commit Graph

3 Commits

Author SHA1 Message Date
Victor Agababov 7e6f1f48c9 Some cleanups to the changeset code (#577) 2019-08-15 11:22:08 -07:00
Matt Moore 426561fd09 Add support for resolving refs, when linked. (#576)
With https://github.com/google/ko/pull/73 we can link the Git ref information
into images with:
```
ln -r -s .git/refs ./cmd/foo/kodata
```

If the changeset package gets a `ref: <ref>` entry, it attempts to read that
file from `KO_DATA_PATH` next, which lets the changeset work much more effectively.
2019-08-15 10:01:08 -07:00
Yanwei Guo 088e3f7faf Add the commit ID key as constant for log label (#158)
* add the commit id constant

* add changeset lib

* add doc.go with explanation
2018-11-06 14:59:36 -08:00