[cmake-developers] [CMake 0015722]: ExternalProject.cmake calls 'git stash save --all' even if git doesn't support --all option
Mantis Bug Tracker
mantis at public.kitware.com
Mon Aug 31 15:49:35 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15722
======================================================================
Reported By: Kevin Godby
Assigned To:
======================================================================
Project: CMake
Issue ID: 15722
Category: Modules
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-08-31 15:49 EDT
Last Modified: 2015-08-31 15:49 EDT
======================================================================
Summary: ExternalProject.cmake calls 'git stash save --all'
even if git doesn't support --all option
Description:
The --all option for git-stash wasn't introduced until git version 1.7.6. If you
use ExternalProject_Add with a git repository and have an old version of git
installed, cmake will fail when it tries to call 'git stash save --all --quiet'.
Steps to Reproduce:
* Install a old version of git (<= 1.7.5).
* Use recent version of cmake.
* Try to download a git repository using ExternalProject_Add.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-08-31 15:49 Kevin Godby New Issue
======================================================================
More information about the cmake-developers
mailing list