Updating linux build.
[Widgit.git] / Git / Tag.cs
blob5b8994b27f9c02ef8b0ebf5d0b7306c915bdfbb4
1 //Widgit is free software; you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation; either version 2 of the License, or
4 //(at your option) any later version.
6 //Widgit is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
11 //You should have received a copy of the GNU General Public License
12 //along with Widgit; if not, write to the Free Software
13 //Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USAusing System;
15 using System;
16 using System.Collections.Generic;
17 using System.Text;
19 namespace Git
21 public class Tag : Treeish
23 protected string m_name;
24 public override string Name { get { return m_name; } internal set { m_name = value; } }
26 protected string m_hash;
27 public override string ID { get { return m_hash; } internal set { m_hash = value; } }
29 public Tag(string name, string path) : base(path)
31 m_name = name;
34 public override string ToString()
36 return Name;