Working out weird git issue