diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-10-01 12:28:39 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-10-01 13:53:54 -0700 |
| commit | ec38b4e482e96e62762452cab5714e55abdb48c3 (patch) | |
| tree | 7b9e0268013d641289da53c9630ebd7af5aba8d7 /builtin/commit.c | |
| parent | lockfile.c: rename static functions (diff) | |
| download | git-ec38b4e482e96e62762452cab5714e55abdb48c3.tar.gz git-ec38b4e482e96e62762452cab5714e55abdb48c3.zip | |
get_locked_file_path(): new function
Add a function to return the path of the file that is locked by a
lock_file object. This reduces the knowledge that callers have to have
about the lock_file layout.
Suggested-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
