summaryrefslogtreecommitdiff
path: root/builtin/var.c
diff options
context:
space:
mode:
authorLibravatar Michal Nazarewicz <mina86@mina86.com>2013-02-07 15:01:17 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-07 10:37:13 -0800
commit1bc760aeb784701a702c0a306d464834e96b1f3d (patch)
treed10f9dc288b4b162c2e8710ca4ec1335261d8db0 /builtin/var.c
parentUpdate draft release notes to 1.8.2 (diff)
downloadtgif-1bc760aeb784701a702c0a306d464834e96b1f3d.tar.xz
Git.pm: allow command_close_bidi_pipe to be called as method
The documentation of command_close_bidi_pipe() claims that it can be called as a method, but it does not check whether the first argument is $self or not assuming the latter. Using _maybe_self() fixes this. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/var.c')
0 files changed, 0 insertions, 0 deletions