teach config --blob option to parse config from database
[gitweb.git] / Documentation / git-config.txt
index 9ae2508f3fb79b9da5fb4481a4fe2120f4a082b1..f0e179e38d8ea50f113e39ab97c430a572335d4e 100644 (file)
@@ -118,6 +118,13 @@ See also <<FILES>>.
 --file config-file::
        Use the given config file instead of the one specified by GIT_CONFIG.
 
+--blob blob::
+       Similar to '--file' but use the given blob instead of a file. E.g.
+       you can use 'master:.gitmodules' to read values from the file
+       '.gitmodules' in the master branch. See "SPECIFYING REVISIONS"
+       section in linkgit:gitrevisions[7] for a more complete list of
+       ways to spell blob names.
+
 --remove-section::
        Remove the given section from the configuration file.