For git > 2.1, pass --date=now when amending commit with author date reset
[TortoiseGit.git] / src / TortoiseProc / RequestPullDlg.h
blob46f17e09d9f620f6be31988ec23e09a7b00c3afc
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2011-2013 - TortoiseGit
4 // Copyright (C) 2011,2013 Sven Strickroth, <email@cs-ware.de>
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #pragma once
23 #include "HorizontalResizableStandAloneDialog.h"
24 #include "HistoryCombo.h"
25 #include "registry.h"
27 class CRequestPullDlg : public CHorizontalResizableStandAloneDialog
29 DECLARE_DYNAMIC(CRequestPullDlg)
31 public:
32 CRequestPullDlg(CWnd* pParent = NULL); // standard constructor
33 virtual ~CRequestPullDlg();
35 // Dialog Data
36 enum { IDD = IDD_REQUESTPULL };
38 protected:
39 virtual BOOL OnInitDialog();
41 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
43 DECLARE_MESSAGE_MAP()
45 afx_msg void OnBnClickedOk();
46 afx_msg void OnBnClickedButtonLocalBranch();
48 CHistoryCombo m_cStartRevision;
49 CHistoryCombo m_cRepositoryURL;
50 CEdit m_cEndRevision;
51 CRegString m_RegStartRevision;
52 CRegString m_RegRepositoryURL;
53 CRegString m_RegEndRevision;
54 CRegDWORD m_regSendMail;
56 public:
57 BOOL m_bSendMail;
58 CString m_StartRevision;
59 CString m_RepositoryURL;
60 CString m_EndRevision;