Commit dc05924
committed
added GitRepo::git_directory_path()
the new git_directory_path method returns the path to the ".git" directory in the case of a normal directory, or the repo path in the case of a bare repo.
also changed the get_description() and set_description() methods to use this new method.1 parent 9b24305 commit dc05924
1 file changed
+12
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
231 | 241 | | |
232 | 242 | | |
233 | 243 | | |
| |||
640 | 650 | | |
641 | 651 | | |
642 | 652 | | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
| 653 | + | |
648 | 654 | | |
649 | 655 | | |
650 | 656 | | |
| |||
654 | 660 | | |
655 | 661 | | |
656 | 662 | | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
| 663 | + | |
662 | 664 | | |
663 | 665 | | |
664 | 666 | | |
| |||
0 commit comments