- Корректный вывод пути файла/директории при вызове status
- Добавлен вывод секунд при вызове info
This commit is contained in:
		
							parent
							
								
									8a64320214
								
							
						
					
					
						commit
						552b635b59
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -131,7 +131,7 @@ class Snag {
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		writeln("The following list of files requires backup:");
 | 
							writeln("The following list of files requires backup:");
 | 
				
			||||||
		result.output.split('\n')[0..$-1].map!(e =>
 | 
							result.output.split('\n')[0..$-1].map!(e =>
 | 
				
			||||||
			e.strip.split
 | 
								e.strip.splitByFirstSpace
 | 
				
			||||||
		).each!(e =>
 | 
							).each!(e =>
 | 
				
			||||||
			writefln("\t%s\t/%s", gitStatus(e[0], true), e[1])
 | 
								writefln("\t%s\t/%s", gitStatus(e[0], true), e[1])
 | 
				
			||||||
		);
 | 
							);
 | 
				
			||||||
| 
						 | 
					@ -250,7 +250,7 @@ class Snag {
 | 
				
			||||||
			[
 | 
								[
 | 
				
			||||||
				"log",
 | 
									"log",
 | 
				
			||||||
				"--all",
 | 
									"--all",
 | 
				
			||||||
				"--date=format:%Y.%m.%d %H:%M",
 | 
									"--date=format:%Y.%m.%d %H:%M:%S",
 | 
				
			||||||
				"--pretty=" ~ format
 | 
									"--pretty=" ~ format
 | 
				
			||||||
			],
 | 
								],
 | 
				
			||||||
			"Failed to retrieve the list of snapshots"
 | 
								"Failed to retrieve the list of snapshots"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue