summaryrefslogtreecommitdiff
path: root/Documentation/gitworkflows.txt
diff options
context:
space:
mode:
authorLibravatar Alexander Kuleshov <kuleshovmail@gmail.com>2016-02-19 14:44:48 +0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-19 13:26:38 -0800
commitf45982337aab3b3d289692027ce00b130b967ffa (patch)
tree399e9a7fb899d839a1ea52ae6932341d2fbbf048 /Documentation/gitworkflows.txt
parentGit 2.4.10 (diff)
downloadtgif-f45982337aab3b3d289692027ce00b130b967ffa.tar.xz
exec_cmd.c: use find_last_dir_sep() for code simplification
We are trying to extract dirname from argv0 in the git_extract_argv0_path(). But in the same time, the <git-compat-util.h> provides find_last_dir_sep() to get dirname from a given path. Let's use it instead of loop for the code simplification. Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitworkflows.txt')
0 files changed, 0 insertions, 0 deletions