Commit e4e3b32
gitweb: Modularized git_get_project_description to be more generic
Introduce a git_get_file_or_project_config utility function to
retrieve a repository variable either from a plain text file in the
$GIT_DIR or else from 'gitweb.$variable' in the repository config
(e.g. 'description').
This would be used in next commit to retrieve category for a project,
which is to be stored in the same way as project description.
Signed-off-by: Sebastien Cevey <[email protected]>
Signed-off-by: Jakub Narebski <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 0fa920c commit e4e3b32
1 file changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2562 | 2562 | | |
2563 | 2563 | | |
2564 | 2564 | | |
2565 | | - | |
2566 | | - | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
2567 | 2570 | | |
2568 | 2571 | | |
2569 | | - | |
2570 | | - | |
2571 | | - | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
2572 | 2575 | | |
2573 | | - | |
2574 | | - | |
| 2576 | + | |
| 2577 | + | |
2575 | 2578 | | |
2576 | | - | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
2577 | 2585 | | |
2578 | 2586 | | |
2579 | 2587 | | |
| |||
0 commit comments