From 90e8d35dd04a350fbfbf326ec92556318c382134 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Mon, 23 Jan 2017 20:49:24 +0100 Subject: [PATCH] Move GIT_REV_ZERO to GitHash.h Signed-off-by: Sven Strickroth --- src/Git/GitHash.h | 4 +++- src/Git/GitStatus.h | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Git/GitHash.h b/src/Git/GitHash.h index 3ac9c1006..6cef413cc 100644 --- a/src/Git/GitHash.h +++ b/src/Git/GitHash.h @@ -1,6 +1,6 @@ // TortoiseGit - a Windows shell extension for easy version control -// Copyright (C) 2008-2014, 2016 - TortoiseGit +// Copyright (C) 2008-2017 - TortoiseGit // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -20,6 +20,8 @@ #pragma once #define GIT_HASH_SIZE 20 +#define GIT_REV_ZERO L"0000000000000000000000000000000000000000" + class CGitHash { public: diff --git a/src/Git/GitStatus.h b/src/Git/GitStatus.h index 879852252..0d03e04a5 100644 --- a/src/Git/GitStatus.h +++ b/src/Git/GitStatus.h @@ -53,8 +53,6 @@ typedef enum git_depth_immediates, }git_depth_t; -#define GIT_REV_ZERO L"0000000000000000000000000000000000000000" - typedef struct git_wc_status2_t { /** The status of the entries text. */ -- 2.11.4.GIT