diff --git a/SparkleShare/SparklePlugin.cs b/SparkleShare/SparklePlugin.cs index dc32ed60..34277b78 100644 --- a/SparkleShare/SparklePlugin.cs +++ b/SparkleShare/SparklePlugin.cs @@ -94,6 +94,15 @@ namespace SparkleShare { return GetValue ("info", "announcements_url"); } } + + public Boolean LowerCasePath { + get { + if (GetValue ("info", "lower_case_path").Equals ("true")) + return true; + else + return false; + } + } private XmlDocument xml = new XmlDocument (); diff --git a/SparkleShare/SparkleSetupController.cs b/SparkleShare/SparkleSetupController.cs index 45e429ee..da7500ac 100755 --- a/SparkleShare/SparkleSetupController.cs +++ b/SparkleShare/SparkleSetupController.cs @@ -315,6 +315,9 @@ namespace SparkleShare { address = address.Trim (); remote_path = remote_path.Trim (); remote_path = remote_path.TrimEnd ("/".ToCharArray ()); + + if (SelectedPlugin.LowerCasePath) + remote_path = remote_path.ToLower (); SyncingFolder = Path.GetFileNameWithoutExtension (remote_path); PreviousAddress = address; diff --git a/data/plugins/bitbucket.xml.in b/data/plugins/bitbucket.xml.in index 800b8bcb..302a39aa 100644 --- a/data/plugins/bitbucket.xml.in +++ b/data/plugins/bitbucket.xml.in @@ -6,6 +6,7 @@ <_description>Free code hosting for Git and Mercurial bitbucket.png Git + true
ssh://git@bitbucket.org/