mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 09:06:43 +08:00
Only Print repository Info in Android
It's only to diagnose a specific bug in Android.
This commit is contained in:
@ -91,6 +91,7 @@ class Repository with ChangeNotifier {
|
||||
//
|
||||
// Debugging Info for https://github.com/GitJournal/GitJournal/issues/347
|
||||
//
|
||||
if (Platform.isAndroid) {
|
||||
var foundDotGit = false;
|
||||
await for (var file in repoDir.list()) {
|
||||
if (p.basename(file.path) == '.git') {
|
||||
@ -108,6 +109,7 @@ class Repository with ChangeNotifier {
|
||||
Log.i("What is this: ${file.path}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var gitRepo = await GitRepository.load(repoPath);
|
||||
remotes = gitRepo.config.remotes;
|
||||
|
Reference in New Issue
Block a user