Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Skip calling f.read for `overwrite: true`-only cases | Takashi Kokubun | 2022-12-13 | 1 | -2/+4 |
| | | | | We only need to set outpath for that case. | ||||
* | Make sure f.read is not called twice | Takashi Kokubun | 2022-12-13 | 1 | -2/+5 |
| | | | | | | | --revision.h and --if-change are not used simultaneously, but they might be in the future. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> | ||||
* | Avoid overwriting revision.h when .git doesn't exist (#6915) | Takashi Kokubun | 2022-12-12 | 1 | -3/+3 |
| | | | | | * Avoid overwriting revision.h when .git doesn't exist * Overwrite revision.h if it's blank | ||||
* | Try to overwrite the file in VPATH if possible | Nobuyoshi Nakada | 2022-11-13 | 1 | -1/+2 |
| | |||||
* | file2lastrev.rb: try to overwrite the found revision.h as before | Nobuyoshi Nakada | 2022-11-02 | 1 | -5/+8 |
| | |||||
* | file2lastrev.rb: separate options for `Output` and `VPath` | Nobuyoshi Nakada | 2022-11-02 | 1 | -0/+1 |
| | | | | | So the `--srcdir` option in this file can override the same option in `VPath`. | ||||
* | output.rb: extract from generic_erb.rb | Nobuyoshi Nakada | 2022-11-01 | 1 | -0/+47 |
- writing to a file or stdout - touching timestamp files - overwriting only if changed - colorizing |