diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-07-01 17:05:58 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-01 09:29:59 -0700 |
commit | 28c7b1f7b7b70013c2f380c2d720d0c918d3d83a (patch) | |
tree | 29c3eac7402f612bb43573b987a036315cdbec2d /ident.c | |
parent | Git 2.4 (diff) | |
download | tgif-28c7b1f7b7b70013c2f380c2d720d0c918d3d83a.tar.xz |
fast-import: add a get-mark command
It is sometimes useful for importers to be able to read the SHA-1
corresponding to a mark that they have created via fast-import. For
example, they might want to embed the SHA-1 into the commit message of
a later commit. Or it might be useful for internal bookkeeping uses,
or for logging.
Add a "get-mark" command to "git fast-import" that allows the importer
to ask for the value of a mark that has been created earlier.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ident.c')
0 files changed, 0 insertions, 0 deletions