• Duy Nguyen's avatar
    am: move advice.amWorkDir parsing back to advice.c · 431bb23a
    Duy Nguyen authored
    The only benefit from this move (apart from cleaner code) is that
    advice.amWorkDir should now show up in `git help --config`. There
    should be no regression since advice config is always read by the
    While at there, use advise() like other code. We now get "hint: "
    prefix and the output is stderr instead of stdout (which is also the
    reason for the test update because stderr is checked in a following
    test and the extra advice can fail it).
    Signed-off-by: Duy Nguyen's avatarNguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
advice.h 1.12 KB