From 9e1557750812760326dd8f79c34b2dc83fe0f838 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Fri, 4 Mar 2011 00:01:27 +0100 Subject: [PATCH] Do not show "Diff with previous" for added files Signed-off-by: Sven Strickroth --- src/Changelog.txt | 1 + src/TortoiseShell/MenuInfo.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Changelog.txt b/src/Changelog.txt index 31c695a36..354425e06 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -21,6 +21,7 @@ * Fixed issue #732: Synch-dialog layout broken * Fixed issue #734: git not found: Fixed possible problems with folders containing spaces * Fixed issue #735: Log generates file stats from shown parent instead of actual parent + * Do not show "Diff with previous" for added files = Release 1.6.5.0 = == Bug Fix == diff --git a/src/TortoiseShell/MenuInfo.cpp b/src/TortoiseShell/MenuInfo.cpp index 099c4b6aa..7c8319b46 100644 --- a/src/TortoiseShell/MenuInfo.cpp +++ b/src/TortoiseShell/MenuInfo.cpp @@ -65,7 +65,7 @@ MenuInfo menuInfo[] = ITEMIS_INSVN|ITEMIS_ONLYONE, 0, ITEMIS_TWO, 0, 0, 0, 0, 0 }, { ShellMenuPrevDiff, MENUPREVDIFF, IDI_DIFF, IDS_MENUPREVDIFF, IDS_MENUDESCPREVDIFF, - ITEMIS_INSVN|ITEMIS_ONLYONE, 0, 0, 0, 0, 0, 0, 0 }, + ITEMIS_INSVN|ITEMIS_ONLYONE, ITEMIS_ADDED, 0, 0, 0, 0, 0, 0 }, { ShellSeparator, 0, 0, 0, 0, 0, 0, 0, 0}, // { ShellMenuUrlDiff, MENUURLDIFF, IDI_DIFF, IDS_MENUURLDIFF, IDS_MENUDESCURLDIFF, -- 2.11.4.GIT