git-annex/Git
Joey Hess 4d786ebe4a Check git version at runtime, rather than assuming it will be the same as the git version used at build time when running git-checkattr and git-branch remove.
It's ok to probe every time for git-branch remove because that's
run quite rarely. For git-checkattr, it's run only once, when
starting the --batch mode, and so again the overhead is pretty minimal.

This leaves 2 places where the build version is still used.
git merge might be interactive or fail if one skews, and --no-gpg-sign
might not be pased, or might be passed to a git that doesn't understand it
if the other skews. It seems a little expensive to check the git version
each time these are used.

This doesn't seem likely to cause many problems, at least compared with
check-attr hanging on skew.
2015-01-05 15:54:52 -04:00
..
Command reorg 2014-07-04 12:18:49 -04:00
Remote Check git version at runtime, rather than assuming it will be the same as the git version used at build time when running git-checkattr and git-branch remove. 2015-01-05 15:54:52 -04:00
AutoCorrect.hs Fix handing of autocorrection when running outside a git repository. 2014-08-23 16:51:33 -07:00
Branch.hs simplify 2014-11-12 15:57:38 -04:00
BuildVersion.hs better git version checking 2013-08-02 18:32:26 -04:00
CatFile.hs fix some mixed space+tab indentation 2014-10-09 15:09:11 -04:00
CheckAttr.hs Check git version at runtime, rather than assuming it will be the same as the git version used at build time when running git-checkattr and git-branch remove. 2015-01-05 15:54:52 -04:00
CheckIgnore.hs gitignore support for the assistant and watcher 2013-08-02 20:37:03 -04:00
Command.hs fix some mixed space+tab indentation 2014-10-09 15:09:11 -04:00
Config.hs fix some mixed space+tab indentation 2014-10-09 15:09:11 -04:00
Construct.hs Windows: Fix handling of absolute unix-style git repository paths. 2014-02-08 15:39:04 -04:00
CurrentRepo.hs Use haskell setenv library to clean up several ugly workarounds for inability to manipulate the environment on windows. 2014-10-15 20:33:52 -04:00
DiffTree.hs split out DiffTreeItem 2014-12-22 15:32:51 -04:00
DiffTreeItem.hs split out DiffTreeItem 2014-12-22 15:32:51 -04:00
FileMode.hs more completely solve catKey memory leak 2013-09-19 16:41:21 -04:00
Filename.hs
FilePath.hs Windows: Fix handling of absolute unix-style git repository paths. 2014-02-08 15:39:04 -04:00
Fsck.hs export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
GCrypt.hs fix some mixed space+tab indentation 2014-10-09 15:09:11 -04:00
HashObject.hs add git annex view command 2014-02-18 18:22:20 -04:00
Hook.hs pre-commit-annex hook script to automatically extract metadata from lots of types of files 2014-03-02 20:11:58 -04:00
Index.hs comment typo 2014-11-10 15:38:31 -04:00
LsFiles.hs export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
LsTree.hs fix some mixed space+tab indentation 2014-10-09 15:09:11 -04:00
Merge.hs support commit.gpgsign 2014-07-04 11:53:51 -04:00
Objects.hs New annex.hardlink setting. Closes: #758593 2014-09-05 13:44:09 -04:00
Queue.hs Fix bug in annex.queuesize calculation that caused much more queue flushing than necessary. 2014-06-18 17:23:36 -04:00
Ref.hs remove Read instance for Ref 2014-02-19 01:19:57 -04:00
RefLog.hs remove Read instance for Ref 2014-02-19 01:19:57 -04:00
Remote.hs move remote removal into separate module 2014-10-27 11:28:58 -04:00
Repair.hs repair: Prevent auto gc from happening when fetching from a remote. 2014-10-12 14:27:46 -04:00
Sha.hs filter branches (incomplete) 2014-02-16 17:39:54 -04:00
SharedRepository.hs
Types.hs adjust to not use cpp in modules used by configure 2014-04-14 13:37:12 -04:00
UnionMerge.hs union merge bugfix 2013-01-16 21:31:06 -04:00
UpdateIndex.hs split out DiffTreeItem 2014-12-22 15:32:51 -04:00
Url.hs map: Work when there are gcrypt remotes. 2013-11-04 14:14:44 -04:00
Version.hs Check git version at runtime, rather than assuming it will be the same as the git version used at build time when running git-checkattr and git-branch remove. 2015-01-05 15:54:52 -04:00