Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ziglang/zig
base: 887c97742f86
Choose a base ref
...
head repository: ziglang/zig
compare: 3f4b77f56132
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 30, 2018

  1. Fix version detection for out-of-source builds

    Git was called in the build directory and not the source directory.
    This works fine when the build directory resides within the source
    repository, but doesn't work for out-of-source builds. Example:
    
    ```
    ~/zigbuild$ cmake ../zig
    fatal: not a git repository (or any of the parent directories): .git
    Configuring zig version 0.2.0+
    ```
    
    Use Git's `-C <path>` flag to always point to the source directory so
    that it doesn't matter where the build directory lives.
    jayschwa committed Jun 30, 2018
    Copy the full SHA
    25bbb1a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1177 from jayschwa/fix-out-of-src-builds

    Fix version detection for out-of-source builds
    andrewrk committed Jun 30, 2018
    Copy the full SHA
    3f4b77f View commit details
    Browse the repository at this point in the history